I've been digging through NI KBs and forums for awhile now and I feel like I just have to reach out for ideas/help.
I'm working on a LabVIEW project (somewhat inherited) that operates independently on a cRIO device. For normal operations, the system is standalone-- it has a physical display, buttons, and I/O. However, we would like to add the ability to remotely control the system, as you would control a power supply or DMM over USB/COM -- just not over Serial.
A TCP Send/Receive structure is already set up in the project, including the various commands expected and what to respond when received. This was originally intended to communicate with an external VI on a connected PC, but now we'd like to remove that VI being a requirement. Ideally, a user could just pull up, say, PuTTY, open a connection to the cRIO, and send the same commands (and receive the same responses) the external VI would normally do.
I've found that this conversion may not be that simple. First, no real solid connection can be established with PuTTY, and then (say via Raw) commands just go nowhere with "Software caused connection abort". Then, nearly all support related to TCP connections appears to be about connecting a device to be controlled by LV. [I need the exact opposite]. I've seen a couple of custom Putty or SSH libraries pop up, but they appear to do the same thing - or they require a license, and I'd like to make sure that is the only route I can take to accomplish this. Many roads regarding this topic lead to Archived SSH, RAW, and TELNET Tools, but again, I'm trying to query the VI using these tools, not use these tools within the VI to query something else.
I'm mainly looking for help to:
This is part of a large lvproj so I can't include everything, but I've attached images of these VIs:
Note: I can't necessarily comment on the "Whys" of everything in the VIs-- similar to the reasons why these have to be images.
Thank you for any help or ideas,
Partially bumping this topic, but by spilling some ideas that could hopefully spark someone else: