Invoking the Tools->Compare VI's functionality from my LV program

2004-03-14 Thread andyboy26
Hi, my application requires that I invoke the 'Compare VI's'
functionality of LabView from my LabView 7 program. Can someone tell
me if and how this is possible.



Re: electret microphone array ----> cheap daq card ?

2004-03-14 Thread Me
Last time I did that I had to allow 0.7mS settling time after each mux
changeover.  (1.4KHz effective sample rate)  Luckily I was only reading an
array of tone/volume potentiometers.

Jim A.



Webserver with Direcway

2004-03-14 Thread digger
I am having problems with being able to remotely connect to my
webserver (snapshot)which is launched on Direcway 2-way system.
Sometimes it hooks up fine, and other times it can't find the
webserver. Is there anything specific to Direcway and Labview 7.0
webserver, as far as settings that cause this.  Thx for any help.



Problem with simultaneous DIO with PCI-6024E

2004-03-14 Thread DavidT
Hello All,

I am having a problem with performing simultanous DIO tasks with my
6024 card. I need to write to a DIO line a high signal, whilst at the
same time, reading from 2 DIO lines. When I perform these two tasks on
the same VI, the write DIO will change from the required high state to
a low state. (I need this to stay high as it enables a drive).
Im using high level VI's (Read and Write to digital line VI's) since
im a relatively new user and I think this might be the problem, as the
port is being reconfigured each time I do an loop iteration.
Any suggestions on what I can do to overcome this, or any examples on
how to use high level vi's?

thanks all in advance,
David



display last 10 results

2004-03-14 Thread tomsch1
I would like to display the last 10 results as a fifo array. any ideas
how to do this??



fuel cell test

2004-03-14 Thread Irene
Hi
I am a LabVIEW programmer who would get an interview with a company
making fuel cell. So I would like to get some idea about what kind of
test do they ususally do on fuel cell and what NI's hardware or
instrument they usually use to test fuel cell (eg. DAQ?). I just want
to get some idea about what topic in LabVIEW,  hardware, and
instrument I should specailly focus on.



Re: I read data from RS232 port in bits format 0 &1.How i can convert these inputs to useful data?

2004-03-14 Thread DD
You should be able to realize the protocol using the serial, string, and
integer functions of LabVIEW.

"tasos" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I am using Labview 5.1 to communicate through the RS232 port with the
> CPU of an aircraft engine.I take data in bytes which i want to convert
> in useful data.I have informatio about the serial protocol.I think
> that i have to write a program in C++. How can i solve my problem?





I read data from RS232 port in bits format 0 &1.How i can convert these inputs to useful data?

2004-03-14 Thread tasos
I am using Labview 5.1 to communicate through the RS232 port with the
CPU of an aircraft engine.I take data in bytes which i want to convert
in useful data.I have informatio about the serial protocol.I think
that i have to write a program in C++. How can i solve my problem?



How can I insert a C++ programm in labview 5.1;

2004-03-14 Thread tasos
I am using Labview 5.1 to read data from sensors (analog input), but I
would like to read data from a serial RS232 port. How I can do this;If
I write a C++ program, how can I insert this in labview;



Re: Who can I build music equalizer in LabView?

2004-03-14 Thread Conseils
The sample is based on a NI example and as such has been extremely
well tested.

The sample code requires audio input from the sound card. The mixer on
your sound card should allow you to effectively feed the audio output
back as an input. This tested fine with my audio card. It's a very old
Soundblaster.

Other wise you will need to connect a signal from the earphone socket
to the audio input socket. I should say I have never tried this and
don't know if the signals on your card would be suitable for
connection in this fashion but the principle is correct.

Test just you Microphone and speak into the system first.

The band selection can be improved for the output but if I remember
correctly you have lots more bands in your design. For me it would be
an engineering approach rather than an asthetic decision.

Anyway to the dulcet tones of Howard Jones 'Like to get to know you
well' it looks fantastic!



Select printer when printing panel

2004-03-14 Thread Steve Hope
I am trying to find a way to print a front panel (graph with data) and
be able to select the printer that it is going to.  I have find in the
library "print panel to printer.vi" which is great, BUT I can not find
a way to send the data for the graph into that vi.  How do I pass data
for the vi to be printer to this function?



Re: Question about communication between labview programs on separate

2004-03-14 Thread Ben
I ma not sure if you have to use TCP/IP.

What if Bob had a seperate loop that just used UDP to repeatedly
broadcast a count that is incremented each time a read completes.

Alice could listen for the broadcast and and act depending on if it
saw Bob count change in a resonable amount of time.

The next variation I would concider is using to use VI server (based
on TCP/IP but the low level stuff is done for you). Bob could invoke a
VI on Alice that told her to start. If she does not hear from Bob to
stop she just keep blasting away.

Otherwise the approach you have outlined MAY work. I can not say the
will not be complications becuase I ussaully write my code to avoid
errors so I can not speak from experience. I seem to remember people
having some trouble with restarting/reopening TCP sessions over
extended periods of time. That may have been some time ago, not sure
on that.

I hope this help. Fire away if you have follow-ups.

Ben


http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=261&HRedirected=True&HUserId=101_3529&RFORMNUMBER=6";>Ben
Rayner
http://volt.ni.com/niwc/common.jsp?page=products_certification_cld&node=10638";>
Certified LabVIEW Developer 
www.DSAutomation.com



Re: How to close TCP port in LV 4.1?

2004-03-14 Thread Ben
Could you post an IMAGE (LV 4.1 is getting scarce these days) of your
code so we can take a look?

It sounds as if the listen is being invoked again.

There have been some changes and fixes implemented since LV 4.1 so I
can not say that I have seen this issue previously.

Trying to offer what little help I can,

Ben


http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=261&HRedirected=True&HUserId=101_3529&RFORMNUMBER=6";>Ben
Rayner
http://volt.ni.com/niwc/common.jsp?page=products_certification_cld&node=10638";>
Certified LabVIEW Developer 
www.DSAutomation.com



Re: Need help on labview

2004-03-14 Thread Ben
Nirmal discussed the hardware interface in his reply to your other
posting.

Look at the example that can be found under

Help>>>Find Examples>>>Hardware Input and Output>>>DAQ>>>Analog
Input>>>General>>>Cont Acq&Graph (buffered).vi

That should get you started.

Ben


http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=261&HRedirected=True&HUserId=101_3529&RFORMNUMBER=6";>Ben
Rayner
http://volt.ni.com/niwc/common.jsp?page=products_certification_cld&node=10638";>
Certified LabVIEW Developer 
www.DSAutomation.com



Re: Who can I build music equalizer in LabView?

2004-03-14 Thread [EMAIL PROTECTED]
Hi,
It's still not going by the music..



Re: memory eaten up - guilty: Datasocket or References?

2004-03-14 Thread Ben
DR VI discussed that here

http://www.ni.com/devzone/lvzone/dr_vi_archived4.htm

The one additional note I should stress is that once system resourse
are allocated for references, they do not get free'd up until LV
exits.

Ben



Re: copy graph to word using EMF(WMF) format

2004-03-14 Thread Greg McKaskle
> Hi I am using Labview 7.0 and I want to copy a graph to buffer so I
> can paste it to word/powerpoint in a vector graph format. Is there an
> easy way to achieve this?

Actually, LV does do this, and it can do it at runtime.

To copy any control at runtime, right click and choose Copy Data.  On 
the internal clipboard, LV places the object and raw binary data ready 
to be pasted on an empty panel or into an existing compatible object, 
like another graph.  On the external clipboard, it places an image of 
the control.

The image will be bitmap if the object uses complex drawing operations, 
in otherwords if it uses the 3D style, and probably the dialog style of 
controls.  If the object is the classic control, it will create an EMF. 
  LV gave up on WMF years ago since it is so limiting and incomplete.

If you are copying from a 3D, paste onto a new panel, replace with 
classic -- it should preserve the data -- then copy data again and paste 
into Excel, word, etc.

By the way, once you have it in one of those packages, when you select 
Edit graphic I think it is, they convert it from EMF to their own 
internal format.  This typically goes OK, but sometimes the appearance 
will change.  I think that is an MS issue.  Once in the other format, 
you can restyle the lines, delete elements, change fonts, change colors, 
etc.

Greg McKaskle




Re: Freezing Tab Control/State Machine

2004-03-14 Thread Greg McKaskle
> "National Instruments recommends that you place only one Event
> structure in a loop. When an event occurs in this configuration, the
> Event structure handles the event, the loop reiterates, and the Event
> structure waits for the next event to occur. If you place two Event
> structures in a single loop, the loop cannot reiterate until both
> Event structures handle an event. If you have enabled front panel
> locking for the Event structures, the user interface of the VI can
> become unresponsive depending on how the user interacts with the front
> panel."
> 
> There are other details in the help listing including a deadlock
> condition caused by a double-click.

These caveats should be updated to more specifically warn against this 
for statically registered event structures.  An event structure working 
with dynamically registered events can reside anywhere you want, even 
beside another one.  You can even place them inside one another, but you 
had better know what you are doing there.

The problem with statically registered events is that any and all event 
structures on the diagram are always registered, even before they run 
the first time and after they run the last time.  This feature means 
that you don't miss events.  The problem is that when the panel locks 
waiting for an event to be processed, and your diagram isn't going to 
process the event, what happens then.  Fortunately, the Abort button 
should always work, even on locked panels.

Greg McKaskle