From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

[LabVIEW] NI USB 8452 Streaming API for continuous read

Hi,
 
We are using NI USB 8452 and LabVIEW 2014 for communicating with a slave device using SPI interface. One of our use cases is to send a set of register read commands repeatedly at regular interval. 
 
Example: Once I click START, I want to read the registers 0x01,0x02..0x05 and get the response continuously (looping) until I do STOP. 
 
1. I would like to know if the SPI streaming API's can be used for this?
Inline image 1
2. What does the "Number of Sample" and "Number of bits per sample" mean here?
Inline image 2
3. Is it possible to change the stream configuration after starting the streaming?
4. Is it possible to send Basi SPI command while streaming is running in parallel?
5. Is it possible to configure the time interval between packets?
0 Kudos
Message 1 of 2
(2,280 Views)

Hi,

Are there any solutions for this topic?

 

0 Kudos
Message 2 of 2
(1,936 Views)