Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Can NI-USB8452 be programmed to run a predefined script in a timely fashion?

Hi all, 

 

We are working on a data acquisition application via SPI, and we already achieved reading from our sensors with NI-USB8452 from a C++ program. However, we have to manually ("polling") issue writing+reading commands to read each measurement, which imposes some delay. 

 

Is there any way to tell the USB board to perform some SPI script automatically at a fixed rate? In that case, how are the reading data retrieved from the C++ program?

 

Best,

Jose Luis

0 Kudos
Message 1 of 2
(5,548 Views)

Do you wish to do SPI stream? An API reference is available in chapter 16 of http://www.ni.com/pdf/manuals/371746e.pdf.

0 Kudos
Message 2 of 2
(5,402 Views)