pmacCoord.proto

Go to the documentation of this file.
00001 # Streams protocol file for the pmacStreams protocol
00002 # Initial version NPR 04/2006
00003 
00004 # use "streamReload" to reload this file without restarting the IOC
00005 
00006 ExtraInput = Ignore;
00007 ReadTimeout = 500;
00008 OutTerminator = "";
00009 InTerminator = ACK;
00010 Separator = CR;
00011 
00012 getVar
00013 {
00014   out "\$1" CR;
00015   in  "%f" CR;
00016 }
00017 
00018 setVar
00019 {
00020   out "\$1=%f" CR;
00021   in;
00022 }
00023 
00024 getIntVar
00025 {
00026   out "\$1" CR;
00027   in  "%d" CR;
00028 }
00029 
00030 setIntVar
00031 {
00032   out "\$1=%d" CR;
00033   in;
00034 }
00035 
00036 getHexVar
00037 {
00038   out "\$1" CR;
00039   in  "$%x" CR;
00040 }
00041 
00042 setHexVar
00043 {
00044   out "\$1=$%x" CR;
00045   in;
00046 }
00047 
00048 sendString
00049 {
00050   out "%s" CR;
00051   in;
00052 }
00053 
00054 moveWrite
00055 {
00056   out "P47%(\$1:ADDR.VAL)02d=1" CR;
00057   in;
00058 }
00059 
00060 mresWrite
00061 {
00062   out "P48%(\$1:ADDR.VAL)02d=%.12f" CR;
00063   in;
00064 }
00065 
00066 offWrite
00067 {
00068   out "P49%(\$1:ADDR.VAL)02d=%.12f" CR;
00069   in;
00070 }
 All Classes Files Functions Variables Typedefs Defines