NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

NI Test Stand with real time target

Hello,

 

I'm developing labview application that call ni test stand sequences based on this labview example

Michele___0-1744964380139.png

 

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

 

0 Kudos
Message 1 of 2
(187 Views)

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.

CLA, CTA, LV Champion
View Cyril Gambini's profile on LinkedIn
This post is made under CC BY 4.0 DEED licensing
Message 2 of 2
(134 Views)