LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Splitting Channels from DAQ Assistant + Real Time Data

I'm running LabVIEW 8.0, and I'm using a National Instruments USB-6008 DAQ device.

I've used DAQ assistant to grab N samples from the DAQ device, and they are easily displayed on a waveform graph.  How can I separate these signals and use them to do arithmetic?  The voltages are from thermocouples and pressure transducers, and need to be multiplied by one another, as well as differentiated with respect to time.

Also, the graph displays only after the data is taken.  Can I accomplish all of this in real-time?  For instance, I'm looking to plot Y(t) vs. dY(t)/dt, where Y=AI1*AI3.
0 Kudos
Message 1 of 9
(8,775 Views)
I've tried "Split Signal" before, but the graphic doesn't splay into multiple lines, so I deduced that it has no idea what I'm telling it to do.
0 Kudos
Message 2 of 9
(8,774 Views)
I could index the array if I knew how:

a) DAQ Assistant forms the array

b) to write an index
0 Kudos
Message 3 of 9
(8,777 Views)

The split signal function will allow you to get any channel you want. Then you can just use the multiply function on the selected signals. If you want multiple plots, you would then have to use the merge signals function. In the example below, the second and fourth channels are multiplied together and the other channels are plotted as they were acquired. A chart will display signals as they are acquired.

Message Edited by Dennis Knutson on 04-09-2007 09:19 PM

Message 4 of 9
(8,771 Views)
Ok, LabVIEW nuance: Stretching the Split Signal graphic reveals multiple signals.

Let's say I wanted to display a pretty XY waveform graph in real time, and then ask the user if he or she wants to save the data once the graph is finished, could I do that?
0 Kudos
Message 5 of 9
(8,764 Views)
Of course. There are numerous options for saving to file. Just look at the File I/O palette.. One of the easiest is the Write LabVIEW Measurement File Express VI.
0 Kudos
Message 6 of 9
(8,759 Views)
Okay, I'm trying to do the same thing. Whenever I expand the split signals, It displays the multiple outputs.  However, I can only get one output node to connect to.  What's the appropriate way of doing this?
0 Kudos
Message 7 of 9
(8,456 Views)

Hi NT_Engine,

 

Were you able to build the example displayed above by Dennis?

 

When you say that you can only connect to one of the signal outputs, which one is it - the first one?  What do you connect to it?

 

Kevin S.

Applications Engineer

National Instruments

0 Kudos
Message 8 of 9
(8,437 Views)

Looks like this discussion has 'Split' up into 2 different threads. Now we need to 'Merge' them here:

 

http://forums.ni.com/ni/board/message?board.id=170&thread.id=353249

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 9 of 9
(8,432 Views)