I am having a lot of trouble using labview to read a thermocouple temperature through my arduino uno board. The setup is fine, I am just having trouble with the inferface. I started out with LIFA and it didn't work, now I am trying LINX. Is there some file or command I need to include in my arduino code? Ive tried the pre-built firmware under "tools", along with my custom code. Shouldn't a digitalread command display the temperature?
Thanks for the guide. I was wondering if there was a way to not recreate the whole SPI in labview since it is already created and working in the arduino code. Basically, can i add my code for the thermocouple SPI in this arduino file and then upload that to the board? That should allow for LINX compatibility right?
You can add your custom Arduino code implemented as a custom command if you don't want to use the LINX implementation or have large or significantly complex Arduino library/code that you don't want to re-implement. Another good reason to use a custom command is for speed if your code requires reliable short delays.
That means that the code inside of the custom command is taking too long to execute (or longer than the timeout you specified for the custom command VI). Without the INO file, that's all that we can say.