50
MPS4232
Section 5: Software
EXAMPLE // To retrieve the current seng
UNITS
UNITS RAW
>
DEFAULT PSI
COMMAND FORMAT
TYPE Set/Get
DESCRIPTION Set the format of the scanned data for each of the desnaons: Telnet, FTP and Binary Server. It
also sets the data format for each of the dierent desnaons.
SYNTAX SET FORMAT <desnaon> <format code> [,<desnaon> <format code>,<desnaon> <format
code>]
Where:
<desnaon> is:
T =Telnet (only A, F and C format code apply)
F = FTP/UDP (only A, B and C format codes apply)
B = Binary server (only B and L format codes apply)
<format code> is:
A = ASCII
F = Formaed ASCII
C = CSV format
B = Binary format (.dat) See binary format denion below.
L = LabVIEW binary format. See binary format for LabVIEW denion below.
RETURNS Prompt when ready to accept a new command
EXAMPLE // Set the format for all data ouputs
SET FORMAT T F,F B,B B
>
EXAMPLE // Set the format for the binary server output to the LabVIEW packet format
SET FORMAT B L
>
DEFAULT T F, F B, B B
NOTES The enre string does not need to be set if only changing one format. For example; if changing the
FTP format to output CSV, you may use the command SET FORMAT F C
COMMAND TRIG
TYPE Set/Get/Funcon
DESCRIPTION Sets the external triggering funconality in the MPS.