02-13-2025 10:49 AM
Hi! I want to create an RT VI with a cRIO9055. The program is simple; it just generates a sine wave with an NI9264 (AO) module and reads this wave using an NI9205 (AI) module. This is just to understand how everything works. The issue is that I need to run this application on a computer that does not have the LabVIEW environment installed, and therefore, I understand that I should create an application with its respective installer.
The normal VI is made and relatively also with the global variables, but I am having some problems when generating an application and its corresponding installer.
The first problem and thing I don't understand is how do I make the RIO recognized on the new device? I tried to include a "RIO device" selector, but when I run the application, it gives me the message "the RIO server could not be found on the specified remote system," and I can't use the application.
The second problem/question is: How do I make my AO module (NI9264) controllable from the global variables? The input module is easily recognized, but I can't get the output module to be recognized.
Finally... I am most likely generating both the application and the VI and the installer incorrectly and simply don't know how to proceed. If you could help me with at least one of the questions, I would be grateful.
Solved! Go to Solution.
02-14-2025 04:28 AM
RIO server allows you to access the FPGA resource. You are using a DAQmx mode here, hence you cannot use a RIO server. (RIO stands for reconfigurable I/O, or FPGA specifically.)
The modules reside on the cRIO and can only be accessed through the RT VI. When you run the RT VI with the LabVIEW Development environment, you can access its front panel and debug it. However, when you build it into an RTEXE, you can no longer access the front panel and must communicate with the RT VI from another application. A global variable only exists within the same application instance and cannot be used to exchange data between targets. Understanding Communication Options Between the Windows HMI, RT Processor, and FPGA should give you a better idea of how the communication between targets works. To get started, I would recommend you start from a cRIO template available from the LabVIEW splash screen.
02-14-2025 08:54 AM
This is just a theory that I haven't tested, but if you are looking to be able to "hot swap" rtexes, it may be possible to have some sort of configuration host application that FTP or webdav the correct rtexe to the startup folder then restarts the cRIO. An easier way might be to have all of the possible rtexes on the cRIO constantly and have the configuration app simply move around the files so that everything is happy