MSS Defender MSS Defender , MSS Defender |
Command: vr_create_virtport_all.shThe vr_create_virtport_all.sh command is used to create virtual ports that allow the Ethernet protocol to be used to communication with modules connected to the communications module. Virtual PortsMSS communications are supported using Ethernet and RS-485 protocols. Modules may use one protocol or the other, or both. The configuration commands described on the previous page, including vr_enum, vr_setid, vr_refresh and vr_debug_putty.py use only the RS-485 protocol. For modules that only support Ethernet, a virtual port must be set up to bridge the RS-485 to Ethernet for the Communications Module port to which the device is attached. The vr_create_virtport_all.sh can be used to create the required virtual ports. Use./vr_create_virtport_all.sh & There are no arguments for this command. This command must be executed from the flighthack directory and requires the preceding "./" The trailing "&" allows this command to run in the background, otherwise you would need to open a new terminal window to use commands that access the virtual ports. When finished using the virtual ports, they should be removed using the following command: killall socat. Example Using Virtual Ports to Communicate with a CameraThis example assumes that a Camera Module with serial number CAMADP000123 is plugged into port 2 of the Communications Module.
|
Document Path: MSS Defender
Operator's Manual > Software Guide > Module Configuration > Configuration Commands > Command: vr_create_virtport