10-02-2019 07:38 AM - edited 10-02-2019 07:39 AM
Hi, I developed an application for cRIO-9053. It consists of real-time part, which is loaded in cRIO and controlling application in PC. I tried to use the application on another PC without all the software which is required for cRIO programming (LabVIEW, FPGA...), with only 2018 LabVIEW run-time. My understanding was that whilst i needed all the required software for development, I will only need run-time engine for application, if the real-time code is already loaded in cRIO. However, I cannot communicate with cRIO device, therefore I suppose that my assumption was wrong. I would like to ask, what are the software requirements for PC, which attempts to connect to cRIO device using application, where the communication between PC and cRIO is handled through network streams.
10-02-2019 03:04 PM
Is this what you're looking for?
Deploying a LabVIEW Real-Time Startup Executable Without the LabVIEW Development Environment
10-02-2019
05:01 PM
- last edited on
01-09-2025
03:11 PM
by
Content Cleaner
...or maybe this, which explains how to build an executable (.exe) from your source code so you can run your application on PCs that do not have the whole development environment installed?
Distributing Applications with the LabVIEW Application Builder
DSH Pragmatic Software Development Workshops (Fab, Steve, Brian and me)
Release Automation Tools for LabVIEW (CI/CD integration with LabVIEW)
HSE Discord Server (Discuss our free and commercial tools and services)
DQMH® (Developer Experience that makes you smile )
10-10-2019
07:37 AM
- last edited on
01-09-2025
03:11 PM
by
Content Cleaner
I believe neither is exactly what I am looking for. During development, I created my Real-time code and set it to run at cRIO startup, meaning it loads whenever I reset cRIO from cRIO´s internal memory, therefore I shouldn´t need to deploy it again. Regarding application distribution - I already created distribution, but I am not sure, what drivers (If any) cRIO needs to communicate with PC if it already has Real-time code deployed. I found several sources like this http://www.ni.com/getting-started/install-software/compactrio but there are only requirements for development PC, not for the one where I deploy application. I guess I am making some simple mistake, but still havent found which 🙂
10-10-2019 09:15 AM
What do you mean by "communicate with PC". Does your cRIO app use TCP? If so, you don't need anything installed on the PC. If your cRIO app uses network streams, you need to make sure that's installed on the cRIO and you need the LabVIEW runtime engine installed on your PC.
General network debug:
Have you checked your logs: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000PAi4SAG&l=en-US
Also viewing the console could give you hints: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000PAi4SAG&l=en-US
10-18-2019 10:04 AM
Do you have a way to tell if your cRIO application is running without issues? like a blinking user LED or something when your application is running?
Have you tested the network stream part with development PC?
From MAX check if you have installed Network I/O >> Network Streams in cRIO