11-02-2007 07:24 AM
11-05-2007 06:42 AM
Hi Cas
I've attached a VI that acquires from 2x 6251's simulated devices at 80kHz per channel (AI0 to 10 on each device). It runs fine on my computer
without giving me any errors. It updates the screen every 0.5 seconds. Does it work on your computer?
Regards,
KostasB
NI Applications Engineer
11-05-2007 07:40 AM
11-05-2007 08:24 AM
Hi Cheryl
512 RAM should be OK with LabVIEW 8.20. If you set the Samples to Read to '-1' does it solve the problem? If you set Samples to Read to '-1', the program
will read all the available samples from the buffer. In this case, you may get uneven chunks of samples but you will be reading them as fast as possible..
Regards,
KostasB
NI Applications Engineering
11-05-2007 09:14 AM
0.19 10854 10854 10854 0.45 15375 26229
0.55 15375 26229 26229 0.61 0 26229
0.92 0 26229 26229 0.95 0 26229
0.95 0 26229 26229 0.95 0 51652
1.50 25423 51652 51652 1.58 0 51652
1.86 0 51652 51652 1.89 0 51652
2.83 0 156175 51652 2.86 0 156175
Similarly for Task 2 Channel 0.
As you can see, although new samples have been acquired between loops (as indicated by the 'total points acquired' increasing), the number of points available for transfer is set to 0. Is this the problem? And if so why is this occurring? And why does so much time pass without the number of points acquired increasing? Am I interpreting the use of the property node correctly? I am assuming that it gives me the current state of the input buffer.
If you can get my software to report the error on your PC then you will see this debug information appear on the screen. (N.B. I normally set the 'Task 1 Buffer Size' = 'Task 2 Buffer Size' = 0 to use the default buffer.)
Any ideas?
Cheryl
11-05-2007 10:56 AM
Could the problem be that the simulated device isn't simulating accurately? ...
-Kevin P.
11-05-2007 04:59 PM - edited 11-05-2007 05:02 PM
11-06-2007 04:23 AM
11-07-2007 11:36 AM