02-26-2021 07:31 AM
Hello good day, I'm trying to implement SPI communication with my DAQ USB 6210 as a master are there any VI example already out there?
Solved! Go to Solution.
02-26-2021 09:31 AM
I think there is no example. Moreover, the DAQ DIO is static, in the sense you could only write one digital state for the pins at a time using API. So, you would have to build the application such that it will write/read appropriate digital levels to the DIO in a timed sequence. One other catch is generating the CLK, you can proceed with static DIO if the CLK duty-cycle is not critical for the SPI slave performance.
Alternatively, you can try the USB-845x series of devices for easy SPI implementation.
03-01-2021 01:57 AM
Hi,
Thank you for the reply.
I will be testing this today,
as soon as I am able to make this work i will mark this reply as an solution thank you.
Regards,
m.solo
03-09-2021 05:10 AM
Hi, Unfortunately i am not able to go into the lab due to sickness and have to wait until this pass to continue testing.
regards,
M. Solo
04-28-2021 02:47 AM
I managed to sedn data to my microcontroller using this Solution.
put https://forums.ni.com/t5/Multifunction-DAQ/Sending-a-byte-to-a-digital-output-using-a-VI/td-p/356996....
for the moment i am using this to send byte and also reading it.