Net Player Software
This software is called NetPlayer.exe and it is an exe file that you can run from MPS by the way of the SHELL Command.
The goal of the software is to send commands to remote computer or to serial devices.
If you want to send commands to another computer running Proscenium, be sure to activate "Special Function / Direct access server" in the ProScenium running in the remote computer.
For TCP-IP Command : If you don't know the name or the address of the machine, please run the WINIPCFG software from Windows Start/Run. (just write " WINIPCFG" in the run text box). PLEASE DO NOT USE SPACES IN THE Computer NAME
For serial command, by default, the software sends it at "9600,n,8,1".
If you need different setting you can specify it in the command separated by a comma aside the serial port address.
The address of remote serial port has to be specified in the remote MPSClient software.
The syntax is the following :
(Shell) NetPlayer( Type Address Command)
For example to play cue 2 in the remote proscenium on TCP-IP 192.168.56.2 named MYPENTIUM200 you'll write :
Shell NetPlayer.exe NET 192.168.56.2 cue 1
or if you want to give the computer's name
Shell NetPlayer.exe NET MYPENTIUM200 cue 1
For example to press the crossfade in the remote ProScenium via a serial cable on local Serial Port n.2 you'll write :
Shell NetPlayer.exe SER 2 cfd
For example to press the crossfade in the remote proscenium on Serial Port n.2 at 4800 Bauds you'll write :
Shell NetPlayer.exe SER 2,4800,n,8,1 cue 2
For serial communication output you have several additional functions :
Here is the syntax :
TYPE_OF_COMMAND SERIAL_PORT[SERIAL_SETTINGS_OPTIONAL] COMMAND1 COMMAND2...
SER : Serial Sends a simple text command
SCR : Serial with Carriage Return Sends a simple text command followed by a carriage return CHR$(13).
SBR : Serial Binary Decimal Sends individual decimal ASCII characters on the serial port :
SBH : Serial Binary Hexadecimal Sends individual hexadecimal ASCII characters on the serial port :
SHF : Serial Hexadecimal FAST Sends individual hexadecimal ASCII characters on the first serial port at 9600,n,8,1 This command is executed much faster than other commands, because you have not to set the com port and Com Properties therefore are fixed.
SFL : Serial File Sends individual decimal ASCII characters on the serial port these characters are written on multiple lines of SBR commands of a normal text file. This allows you to send several messages with only one messages. You can save these file with the normal .TXT suffix or with the .SFL (serial Files) suffix.
These are some examples :
Shell NetPlayer.exe SER 2 cfd ( Sends a simple text command cfd)
Shell NetPlayer.exe SCR 2 cfd ( Sends text command cfd followed by a CR)
Shell NetPlayer.exe SBR 2 99 102 100 13 ( Sends binary command cfd followed by a CR : 99 = c , 102 = f , 100 = d , 13 = CR)
Note that in this way you can send any command (with a maximum of 30 chr) also non printable commands like all the ASCII codes below 32.
Just write the decimal code of the ASCII character separated by a space
Shell NetPlayer.exe SBF C :\MartinPS\PlayVideoWall.txt
Shell NetPlayer.exe SBH 1,9600,n,8,1 6366640D ( Sends hexadecimals command cfd followed by a CR : 63 = c , 66 = f , 64 = d , 0D = CR)
Just write the Hexadecimal ASCII codes without spaces
Shell NetPlayer.exe SHF6366640D ( Sends hexadecimals command cfd followed by a CR : 63 = c , 66 = f , 64 = d , 0D = CR), This command only sends on Com1 at 9600,n,8,1.
Just write SHF + the Hexadecimal ASCII codes without any space.
.
Contents