Program Command Reference
kOther
CloseComPort38k
Syntax: CloseComPort38k
Function: Closes the
Example: See the GetVar38k command.
GetVar38k
Syntax: GetVar38k<variable name>
Function: Receives variable names and variable contents.
Description
•The OpenComPort38k command must be executed before this command is executed.
•The CloseComPort38k command must be executed after this command is executed.
Example: To connect two ClassPad units with an
Sending Unit Program
123 S s
OpenComPort38k
SendVar38k s
CloseComPort38k
Receiving Unit Program
OpenComPort38k
GetVar38k g
CloseComPort38k
Notes
•Run the receiving unit’s program first, and then run the sending unit’s program.
•You can use any commands beside the four data communication commands (Send38k, Receive38k, SendVar38k, or GetVar38k) between the OpenComPort38k and CloseComPort38k commands.
20050501