07-06-2023 01:48 PM
Hello:
I am using a cRIO with an FPGA VI, but i don't know how to call this VI from Teststand in order to write and read values.
I was reading about the topic in this forum but the responses has not many details about the solution. I undertstand i have to add a "Run Asynchronous VI" in my Tststand sequence and configure it as "Run VI on Remote Computer", but when i tried to set the VI path in the Module option it uploaded the VI as a broken VI.
Do you know where can i found information or a manual?
07-06-2023 02:49 PM
Using Run VI on Remote Computer is not a good idea for cRIO. cRIO does not run Windows and hence you might need to stick with the development environment all the time or keep a compiled library for cRIO, which is pretty troublesome.
The recommended way is to create an RTEXE that calls the FPGA VI, then you call a host VI from TestStand to communicate with the RTEXE. See Understanding Communication Options Between the Windows HMI, RT Processor, and FPGA
You can bypass the RT VI and communicate with the FPGA VI directly from a host VI, but you will waste the deterministic computation capability of RT controller. Simply specify the IP address of the RT target when calling Open FPGA VI Ref. See Can I Access My FPGA Target from LabVIEW 64-bit? as an example.