LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

The data needs to be outputted continuously

Hi,
I'm using the HP34401A Getting Started.vi provided by LabVIEW 5.0. I'm using it to collect data(around 1000 samples) from a HP 34401A Mulitmeter. The problem is that it dumps the reading of 1000 samples in 5 minutes. Is it possible to get each sample as it is collected, i.e the data should be displayed as soon as it has be collected and not wait for all the readings to be collected and then be displayed.
I'm very sure that this is possible in LabVIEW 5.0, I would really appreciate if anyone can help me.

Thanks,
Kunal.
0 Kudos
Message 1 of 2
(2,528 Views)
If you study the block diagram, you see that only after all the samples (1000 in your case) have been collected, will the resultant array of data output.
To view each single sampling of data in realtime (or near realtime), you need to keep the samples value set to 1, and then perform this collection of single-sampling about 1000 times. Do this by putting the collection vi (HP34401A App. Example.vi), Error Query & Error Message VIs, and the Output Array in a For loop where the N is set to 1000 or wired to a control from the front panel.
Good luck with it, Doug
0 Kudos
Message 2 of 2
(2,528 Views)