07-18-2006 05:36 PM
07-19-2006 01:02 AM
Could u post the Pic of the block diagram of those VI's??
Also refer Examples shipped with LabVIEW, find examples>>Hardware input output>>DAQmx>>Analog measurements>>Voltage
Here, open any relevant DAQmx Measure voltage vi and try to understand how Continous acquisition is done in DAQmx ( refer to its documentation too)
07-19-2006 09:15 AM - edited 07-19-2006 09:15 AM
Here are the BD pics.
I did look at several of the examples included with LabVIEW. None seem to be exactly what I want, but some are close. I don't see what is different with my attempt that would make it behave so oddly.
Another weird thing... One example that is close to what I want is the Cont Acq&Graph Voltage-Int Clk.vi . When I run this, the FP indicators and my probes only update once every 51 times through the loop. I've never seen something like this. Is my LabVIEW installation haunted?
Message Edited by Melissa Niesen on 07-19-2006 09:17 AM
07-19-2006 10:19 AM
Hi there
i just ran the vi you posted and the example "Cont Acq&Graph Voltage-Int Clk.vi". both work as expected. i get the data continously and without any gaps.
"When I run this, the FP indicators and my probes only update once every 51 times through the loop." please place a breakpoint on the graphs wire to check if the problem is the loop execution or the data.
my setup:
LabVIEW 8.0 PDS
DAQmx 8.1.0f1
Simulated NI-PCI6036E
i'd suggest to repeat your tests with a simulated NI-PCI6036E card (go to MAX and right click on DAQmx devices, then create simulated device) and do some tests with your real 6036 card in MAX testpanels (mark device in the tree and then select "Testpanel"). if you still have problems i'd do a clean re-install of LV WITHOUT traditional DAQ support.
07-19-2006 11:09 AM - edited 07-19-2006 11:09 AM
Thanks for the replies.
If I use a simulated device both VIs (mine and the example) run fine, too. The test panel also seems to work fine with my actual board. I'm not surprised, though. If I run "Cont Acq&Graph Voltage-Int Clk-Timed Loop.vi" with my actual card, it also looks fine, however when I use property nodes to see what is going on, I'm also seeing this 256 sample data chunk buffer. In that example, it waits until 256 samples are there and then starts reading them down as more chunks of 256 scans are added at a time. I see this by looking at the scans available. With my settings (scan rate=100, read 10 scans at a time) this means that all of my data is delayed by 2.56 seconds, which is not acceptable for my application.
I also don't see why the weird display update rate problem with "Cont Acq&Graph Voltage-Int Clk.vi" would be depend on whether a simulated or actual device were being used.
I'll first try updating DAQmx. I'm using 8.0.0f0 right now. I'm leary of spending hours reinstalling LV when I still need Traditional DAQ anyway. But I'll probably end up there in the end.
Melissa
Message Edited by Melissa Niesen on 07-19-2006 11:12 AM
07-19-2006 03:57 PM