LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can the NI System Configuration Software Management VIs be run on RT targets?

I have 2 cRIO-9024 units, with the same software sets installed:

  • NI-CompactRIO 15.5
  • NI System Configuration 15.3.0
  • NI System Configuration Remote Support 15.3.0
  • etc.

The 2 cRIOs and my PC are all on the same subnet.

 

I wrote a simple VI, and placed probes at the 2 labelled spots:

NI System Configuration Simple Call.png

 

Observations:

 

  • If I run this from my PC, everything works fine: The VI runs for over 1 second and the "Software Components indicator is populated with the correct data.
  • If I run this from a cRIO, it doesn't work: The VI stops running almost instantly. Probe 1 updates correctly, but Probe 2 remains "Not Executed".
    • This suggests that the VI terminated halfway through the call???
    • This occurs even if the cRIO tries to query itself (i.e. the snippet above is run on 172.16.205.52)
  • If I change the Session from "<HOSTNAME> (<IPADDRESS>)" to "localhost", and run it from a cRIO, everything works fine.

 

Could someone please shed some light on the observed behaviour? Can an RT system use these VIs to query/manage another RT system?

 

 

Thanks!

Certified LabVIEW Developer
0 Kudos
Message 1 of 3
(3,116 Views)

I think that the behavoir you are seeing is valid.

 

It think it makes sense that you can't query yourself by your own IP but you can using localhost.

 

Have you tried seeing if you can find these systems with the API before you try querying them?

 

http://zone.ni.com/reference/en-XX/help/373107J-01/nisyscfg/find_systems/

JY
Application Engineer, RF and Communications
National Instruments
0 Kudos
Message 2 of 3
(3,089 Views)
You say it remains 'not executed' - that implies to me that the VI is hanging and/or taking a long time to execute. I think this is because it is doing a DNS lookup to find the IP address from the hostname because you don't have a DNS server configured in the network settings of the cRIO (and from experience, the DNS lookups can take a long time?).

I would try:
- Specifying the target by IP address instead of hostname (e.g. via a string?)
- Configuring the network settings to have a valid DNS server for your local network)

LabVIEW Champion, CLA, CLED, CTD
(blog)
Message 3 of 3
(3,068 Views)