LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error 10401....but only for high scan rate

When doing an AI Continuous Scan, I get error 10401 from AI Buffer Read, but only for scan rates of 37003 scans/s or larger. For scan rates of 37002 scans/s or less, the VI works perfectly, so I am puzzled to receive an error implying that the board is not configured.
I have a PXI-6031E board capable of handling 100k single-channel scans/s or 50k multi-channel scans/s. I have verified the scanning ability using several other VI's (though no others which read continuously) without encountering any similar errors.
0 Kudos
Message 1 of 4
(2,804 Views)
Are you using an NI example VI when doing this continuous acquisition?

I'm wondering if it sets up the acquisition correctly, but when it gets to the AI Read, the taskID that goes to the AI Read is bad for some reason. That would be the error you would get in that case.

Mark
0 Kudos
Message 2 of 4
(2,804 Views)
Hello;

This problem can most likely be due to two causes:
1) There is something wrong on your VI
2) The board is presenting some sort of hardware failure

To test each one of those two the real reason is, you can run one of the Labview shipping examples. The one I suggest you is named Continuous Acquisition and Chart (buffered).vi.

Hope this helps.
Filipe A.
Applications Engineer
National Instruments
0 Kudos
Message 3 of 4
(2,804 Views)
I think it is unlikely that the board is experiencing a failure since, as mentioned above, the board is capable of scanning at rates greater than 37003 with other LabView VI's, just not with this one.

And, ironically, the problematic VI is actually based around the Continuous Acquisition and Chart (buffered) VI, and it seems to be that VI (specifically the AI C-Scan VI in it) which is causing the problem.

Can you think of a reason the hardware would fail under the AI C-Scan VI but not under the AI Mult. Pt. VI?
0 Kudos
Message 4 of 4
(2,804 Views)