LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital IO buffering

I need to read from my 6533 card for a specific amount of time and then be able to use the data that is read from it in the rest of my vi. The problem I have is that the data reading vi's only return the data once the specified number of points have been put into the buffer. Is there any way to make the vi read whatever is in the buffer regardless of whether or not the data that is trailing fills the buffer completely or not? I need the data after a specific amount of time, thus I cannot wait for the buffer to fill again, and I have no way to push dummy data into the buffer to fill it up and complete the read. My current plan is to read the buffer inside a loop keeping track of each read, and then exiting the loop after a specific amount of time.
However, I need some way for the last iteration of the loop to kick out and append just the data it has in the buffer currently, because my time limit has been reached.

Thanks!
0 Kudos
Message 1 of 2
(2,627 Views)
Hello;

Unfortunately, you can't access the SCARAB on board memory of the 6533 board by address. That would be the solution for your problem.
Labview will always wait for the buffer to be ready to be read until it executes the reading task.

Regards
Filipe A.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,627 Views)