04-18-2025 03:25 AM
Hello,
I'm developing labview application that call ni test stand sequences based on this labview example
The sequence must send command to real time application. Realtime application is based on DQMH framework, i have several DQMH modules, each module do something
The teststand sequence has step based on vi call that has send command to realtime target, using networkstream or TCPIP communication
I'm searcing best practies to do that. is there documentation/labview opensource code/suggestion by member of community that can help me to realize something of modular and scalable?
thank you for supporting me
best regards
Michele
04-18-2025 07:45 PM
Hi Michele,
IMO your situation is not so much related to RT but more to communication with a distant system over the network.
In your particular case, I'd run the cRIO code as an RTEXE listening to the network for orders.
HSE has a DQMH based solution to communicate over TCP/UDP/... that you could maybe leverage to send commands to the cRIO.
Or you can create your own custom request and reply protocol over TCP for example.
That will create you API to target the cRIO.
Then from TS, you can simply use that API to query the cRIO from your sequences.
If your API is DQMH based, you could use Neosoft TestStandifier (look on VIPM) to easily adapt your DQMH API to be called from TS.
Since you communicate with a device over Ethernet, I would recommend creating Request and Reply for every commands. You'll ensure capturing timeouts in case your cRIO becomes unresponsive or your network connectivity is broken.