LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error by AI Buffer Read.vi

Hello!

I have problem with the PCI-Card(Modell CB-68LP) PCI-MIO-16XE-50 .

I think the settings for the card are right, because it can get the
datas by the AI Sample Channels.vi with AI Read one Scan.vi. But I need
at least 1000 times
to measure in one second, so I use the Data Reader.vi to do it. For
test I set:
buffer size:2000
# of Scans to Write at a time :5000
Max # of cans to write to file:4000
scan rate: 2000
and the Channels are same as they by AI Samle Channels.

I could not get any datas but the date and actuell time, so I checked
the
sub-VIs and found the error is " AI Buffer Read" and the code is 10800.
By this sub-VI it showed the same error too even when I input 1 to the

control number to read.

I don't understand it and
I can not see any more
details by the sub-VI either. I have tried what I know, but there is
still the same
problem, could someone give me some help? And where can I find some
LabView
samples for the PCI Card?

Thanks a lot!

Le
0 Kudos
Message 1 of 3
(2,473 Views)
I can not find this Data Reader VI that you mention. Can you tell me where to find it?

Mark
0 Kudos
Message 2 of 3
(2,473 Views)
Le Wang;

The better approach for you is to open one of the Labview examples named "Continuous Acquisition and Chart Buffered.vi" to see if your board is doing buffered operation properly.
You can find that example at: Search Examples->I/O Interfaces->Data Acquisition->Analog Input->Continuous Analog Input.
If you are interested in reading one channel only, just set the Scan Rate to 1000 Scans/sec; in case you have more than one channel, your Scan Rate must be 1000 x Number of channels.
That should take care of you.
Hope this helps.
Filipe
0 Kudos
Message 3 of 3
(2,472 Views)