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.

Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

SPI myrio

Hello, I am trying to rewrite the hx711 library to LabVIEW recently, but I have encountered the following problems

There is software in Arduino to simulate SPI communication, and the related functions are as follows:

shiftOut();

shiftIn();

I would like to ask you whether the same functions of the above functions can also be realized through LabVIEW for myrio, and if so, how to program. If not, is there a better way to replace the function

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

myRIO should have SPI libraries that you can directly use instead of shiftIn and shiftOut which are in a way bit-bang the SPI port

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 2
(1,086 Views)