From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
11-08-2006 05:26 PM
11-08-2006 10:31 PM
Look at example vi's shipped with LabVIEW.
Find Examples>>hardware input output>>DAQmx>>Analog measurement >>Voltage and look at availible continuous acquisition program to start off.
Ther are 2 factors
1.Set sampling rate in DAQmx Timing.vi ( will select number of scans / sec)
2. Set samples to read in DAQmx read .vi ( will select number of acquired samples to read/give at output of this function, per iteration of the loop)
setting these two optimally will see to it that your scan rate will remain fixed
Any doubts, do ask
Regards,
Dev
11-17-2006 05:21 PM
11-18-2006 09:10 AM
11-18-2006 09:43 AM
11-18-2006 02:10 PM
Ayam,
Property nodes change the levels or properties of what has already been explicitly stated. In your instance, by creating a task dynamically, there is no timing explicitly stated and therefore will produce uncertain behavoir. I think labview defaults all unexplicitly stated timing to 1000hz and 100 samples, which explains your graphs. Essentially the property nodes on your block diagram are decorations that will do nothing for you, (except, interestingly enough, is change number of samples). Get used to using timing nodes and wiring error clusters, this will eliminate avoidable errors. Also in the labview help, there is mountains of resources, one of which being the fundamentals section that I find myself occasionally refering to for specific questions. However, I do think you have stumbled on to a problem that is not mentioned in the help files.
Chris
11-20-2006 12:06 PM