LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveform data not displaying correctly

Hello,
 
I am having some trouble displaying some waveform data. 

I have a DAQCard-6036E card, and I am bringing in 16 analog signals.  The task is set up through MAX, and right now is generic.  All I am reading is random noise in an attempt to see if my VI even works.  The acquisition mode is set to continuous, with a rate of 1k, and number of samples set to 100.
 
The problem is that I get very intermittent data on the front panel indicators.  Only several of the indicators work, and its choppy at best.  What am I doing wrong here?  Is it a problem with my acquisition mode?   
 
Thanks,
Alex
Download All
0 Kudos
Message 1 of 4
(2,693 Views)

Alex,

I am not sure why you have the loop in your two sub-VIs.  This will prevent the data from updating on your main VI until you manually stop the sub-VIs.  There is really no need for that loop.  I think you find your values updating much more consistently after you take that loop out of both of your sub-VIs.  Let m eknow if that helps.

Regards,

LA

0 Kudos
Message 2 of 4
(2,659 Views)

Oops.  Sorry, but I attached an older version of the program.  The program I am working with is exactly the same, except does not have the while loops in the sub-VI's.  So I do have values displaying on the front panel, but it is very choppy.  Sometimes the values look like a constant stream, other times a value flashes but resets to 0, then another value.  For such a simple program, I'm really not sure why it would be doing this. 

Alex

 

0 Kudos
Message 3 of 4
(2,645 Views)
Hi Alex,

I just tried the your VI with the while loops deleted out of the subVI's and as far as I could see the indicators in the first two columns of the front panel were updated as expected. The other indicators are not wired so they will not update.  It might look like some of the wired indicators are not updating each time if the value doesn't change - ie the potential on the line is the same as the last read.  You might try putting a known signal on each of your test lines instead of using noise to test your system to verify that the voltage is changing each time.

If you are still having trouble, post again.  I've attached a copy of the VI I used for test.

Regards,
Micaela N
National Instruments
0 Kudos
Message 4 of 4
(2,620 Views)