Quantcast
Channel: All LabVIEW posts
Viewing all articles
Browse latest Browse all 202367

Re: PSP RemoteEngines[] property not detecting hosts after built into executable using App Builder

$
0
0

I have still experienced intermittent issues in discovering cRIO targets from various host laptops trying to search for the SVE's programmatically in this application.

 

In the most recent case, I found that modifying the contents of the laptop application's .aliases file was completely deterministic in which cRIO's would be discovered. For example:

 

[RT CompactRIO Target]
RT CompactRIO Target="192.168.3.13"

 

... would discover Unit 13. Whereas,

 

[RT CompactRIO Target]
RT CompactRIO Target="192.168.3.13"

 

[RT CompactRIO Target 2]
RT CompactRIO Target 2="192.168.3.14"

 

... would discover Unit 13 and 14. 

 

I am not sure why it functions this way. I would think the point of the RemoteEngines[] method is to return all detected SVE-equipped machines on the local network; at that point perhaps the only use of the .aliases file would be to search for some kind of implied subnetting on the address. 

 

If this indeed is the issue, then I am going to have to add every possible address to the .aliases file that a cRIO could show up to the local network as (there are currently ~80 such machines produced). It seems crazy, but that's all I've been able to do to get this to function. I've also tried leaving out a specified [RT CompactRIO Target] section but it discovers nothing in that case.

 

 

 

 


Viewing all articles
Browse latest Browse all 202367

Trending Articles