Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatic check for presence of sbRIO in the network

Solved!
Go to solution

Hello,

I'm looking for guidance (example code perhaps?) to do the following tasks programmatically:

- check for presence of sbRIO target in the network

- - if yes, connect with target & deploy Shared Variable library hosted in my Windows PC

- - if no, suppress any connection errors and make sure SVs are not deployed (or undeploy if necessary)

 

The application should be able to continue with "NO HW" operation if sbRIO isn't detected. My struggle is how to check for RT HW presence in the network and how to undeploy the SVs as a result so no errors are reported and the app can gracefully proceed with the simulation code.

 

Thank you !

Jorge

0 Kudos
Message 1 of 2
(5,436 Views)
Solution
Accepted by topic author jorgeinSD

Hello jorgeinSD,

 

I would recommend that you take a look at the System Configuration Palette available under the LabVIEW Real-Time Palette. Specifically the Find.VI sounds like it is exactly what you would like to use for detecting the sbRIO's available on the network. This VI is can be found at the following location

Real-Time >> RT Utilities >> System Configuration >> Find.VI (Systems)

 

This VI will return a list of all the systems located on the network. From there you will also need to use other utilities available in the System Configuration palette.

 

Cheers,

 

Joel

0 Kudos
Message 2 of 2
(5,412 Views)