Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

determine and set the ip addresses of any crio / sbrio without max

Hi there,

 

have tried the search function to find a possible solution for my question...

 

I have to find/set the ip addresses of all available CRio / SBRio within the local subnet without Max.

 

We can't use MAX within our remote environment, atm we are using an own program to upload/control new

programs to the available rio targets, that works great. It would be great to add the Rio configuration part

to our remote gateways ...

 

Max relocates the devices by sending a UDP (255.255.255.255) broadcast to port 58415.

 

When using Wireshark, I found out that 3 Udp Packages were sent, with different data packet, ending with

NI (4e:49) .. see below

 

So here comes my question: is there a command data description / manual available, which describes 

the meaning of these bytes? (see below...)

 

Thanks in advance,

 

Peter

 

 

 

 

45:44:01:00:00:02:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:4e:49

 

43:46:01:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:4e:49

 

45:44:01:00:00:02:00:00:00:00:00:00:00:00:00:80:2f:12:24:28:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:4e:49

 

 

 

 

 

 

 

 

 

 

0 Kudos
Message 1 of 8
(7,023 Views)

The system replication tools has a vi called:

 

"System Replication.llb\Set IP Address.vi"

 

Also, it has VIs to find all targets:

 

"System Replication.llb\Find All Targets.vi"

0 Kudos
Message 2 of 8
(7,020 Views)

Thank you for that info dwisti,

 

the problem is, that we are not using any labview components

to communicate with the targets.

 

We use EMB Rad Studio XE to build our projects, single exe files,

no dlls / ActiveX  / other programs allowed in our customers

environments...

 

We need to have some "unconfigured", spare rios at our customer's,

which will be automatically configured in "emergency" situations

by one of our admin/gateway systems.

 

regards,

 

Peter

 

0 Kudos
Message 3 of 8
(7,013 Views)

All the protocol details of those VI is locked.  They all point back to the blue FPC vi's (which I think is stands for Field Point Controller) (i.e FPC open connection.vi, etc).  I don't think NI ever release the info on those VIs.  Its not rocket science and I wish NI would unlock those VIs.  Not sure what they are hidding in there, maybe there are just messy.  You can kinda figure out what they are doing by looking at the front panel of this VIs and using wireshark you might be able to reverse engineer the protocol.

0 Kudos
Message 4 of 8
(7,011 Views)

Here one of the FPC VIs that reboots an RT Targert.

 

SendRebootCmd.vi Block Diagram on RT Image.png

0 Kudos
Message 5 of 8
(7,010 Views)

Hi,

 

we have working Discovery protocol for Delphi XE, which is capable to find all cRIO and Real-Time desktop PCs in local network (and probably PXI and other also, but we have none). Just yesterday we discussed possibility to publish it, but the developer who did it will be available next week.

 

It works not just under Windows, but also under PharLab (NI Real-Time on Desktop PC and PXI). We are also writing Delphi applications for PharLap (adopted RTL library).

 

So if you are interested, please contact me next week.

 

Vaclav Cejka, Ph.D.

VUTS, a.s.

Liberec

Czech Republic

Message 6 of 8
(6,989 Views)

Ahoj Vaclav,

 

Thank you for that info - I'm really interested!

 

And good to see some other delphi developers around here too...

 

I'm using Synapse from Ararat.cz as a basis for our components,

fine to use within the Lazarus environment  too - some of our

new front end programs will run under IOS / IPad in combination

with several modified KSDEV.com components.

 

Greetings from Vorarlberg/Austria,

 

Peter Wichenthaler-Sternbach

Sternbach.net

 

 

0 Kudos
Message 7 of 8
(6,977 Views)

Hello Peter,

sorry for such a long time, some travelling and flu kicked me out for too long, and then I had to hurry with some other tasks.

 

There is an exe in the attachment, it find all "NI" devices connected to primary LAN. There is a lot of information in it, not just IP. We had no need to set up different IP, because there is also device name and serial number in the determined info, so we use it to detect IP from it.

 

Please try it and if it works for you, we might send you source code under GPL. It is written in RAD XE, we are not sure about Lazarus and compilation for IOS, however it should be very easy for you to adopt it and probably post us back the enhancement. But at this moment we dont want to publish source code here, so you (and other possible users) may contact us via e-mail (vaclav dot cejka at vuts dot cz).

 

It might be also interesting to cooperate further in the future. We are probably bigger company, however we are also focused on machine industry, control applications etc and it seems we are using some similar tools.

 

Greetings from Liberec, CZ!

 

Vaclav Cejka

0 Kudos
Message 8 of 8
(6,830 Views)