LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Express DAQ data output to two numerical indicators

Hi,

I'm a complete Labview newbie, so apologies if this is a really obvious question, but after reading through pages of documentation I still can't get anywhere.

I'm using a PCI 6220 data acquisition card, and want to measure 2 independant currents, outputting each value on a seperate numeric indicator.

I used the DAQ assistant, and set up the two signals without too much trouble in the box that appears when you double click the assistant. If I connect the data output on the box diagram to a graph indicator, I can see both signals fine, but I would much prefer a numeric indicator for each signal. I can connect one, and that works fine: displaying the first current measurement I defined, but I can't see any way to get the second current measurement displayed in the same manner.

All help welcome!

Thank you




0 Kudos
Message 1 of 8
(3,907 Views)

hi ad_c

can you add your vi?

Mike

0 Kudos
Message 2 of 8
(3,906 Views)
Hi Mike,

VI is attached - as you can see there's not much to it! Hope it helps
0 Kudos
Message 3 of 8
(3,903 Views)

Hi again,

i can´t open the vi now sorry, i think i have not the right version for it, but the data you receive is an array, or? So you can select the channels, you want display on an indicator.

Mike

0 Kudos
Message 4 of 8
(3,900 Views)

hi

can you add a screenshot of your vi? 🙂 thanks

Mike

0 Kudos
Message 5 of 8
(3,896 Views)
I've attached a screenshot of the VI and the DAQ assistant configuration window thing - hopefully this helps explain what I mean(!)

I don't seem to be able to choose a channel for the numeric indicator?
Download All
0 Kudos
Message 6 of 8
(3,889 Views)
A graph will automatically display as many channels are contained in the dynamic data. To use numeric indicators, you will have to use the Split Signal function. You will need as many outputs of the Split Signal as you have channels. You can then wire up the separate numerics. One thing you need to know is that you are taking 1000 samples of each channel and then displaying a single numeric. I have no idea what is actually being displayed in the indicator - is it the first value in the array, the last, etc. After doing a split, you might want to do something like take an average of the signal and then display that.
0 Kudos
Message 7 of 8
(3,887 Views)
That's perfect - thank you.

I thought it would be something as obvious as that; I found the Split Signal function, but how to expand it to more than one signal passed me by. It works now 🙂

One other quick question though, how do I know which channel is which? Will it come out in the order it was put in? (i.e. the signal after it is split is in the same order form the top down as the order it's in within the DAQ assistant)

thanks again!
0 Kudos
Message 8 of 8
(3,879 Views)