03-08-2012 09:40 AM
Using DAQpilot from Adlink
in Labview 2010 / windows 7
I want to do n-channels, n-scans, single shot in a while loop
The configuration is as follows: (see also attached task)
-installed device: DAQ/PXI-2204:0
-n-chs: 0-31 differential
-10.000 Hz
-30.000 scans
-scaled data in 2D array
The DAQ pilot runs once and continously in a sub vi:
It also works when I place the task in a loop.
But when I use it in a sub vi which is called from another vi in a loop it work the first cycle and the second not, third ok, fourth not. see diagram below:
following error message:
05-02-2012 09:10 AM
Hello!!!
You do not need to put the "Configuration Parameters Setting" inside a loop.
These configuration are needed just one time.
If you want to change these parameters for other acquistion, you can put these steps inside a case structure and when you need to change those configurations values you've just to call the "Configuration Case" and do it before the new acquisition starts.
The acquisition need to be continuous, not the configuration.
You can found code examples on this link below:
Hope this helps,
Regards.