UserDevice
UserDevice configurations define the parameters required to communicate to a user's non ATE Systems device. Typically this would be a switch matrix used to set an RF path. The ATE Systems InCal library can communicate with non ATE Systems devices if they will accept a TCP/IP port connection. Certain assumptions are made and must be true to be able to communicate to a user device.
- Device communication is based on "terminal style" interaction and is therefore ASCII based, human readable transactions are the intended use case
- Command and response terminator characters are assumed to be ASCII and 1 byte, such as a new line character
- If WaitForAck is enabled then all commands sent will assume an acknowledgment will be sent back and communications will wait for a response from the device
- Files cannot be transfered from the device even if UseScpiProtocol is enabled
- The SCPI or LAN port is able to be opened and closed by the InCal library
UserDevice configurations are identified by the ConfigType equal to the value "UserDevice".
The following is an example of a UserDevice configuration.
[UD1]
;The decimal value of the command termination character.
;This value is only used with a non SCPI Protocol, SCPI always uses 10 (new line) as the terminator.
;If no termination character is to be added to every command leave this value blank
CommandTerminator = 10
;The configuration type of this section
ConfigType = UserDevice
;The time to wait in seconds (this can be a fraction of a sec i.e. 0.5) for a TCP connection to the device
ConnectionTimeoutSec = 1.5
;The string value to parse for an error response.
;Leave blank if none is used.
;The default is no error string used (blank)
ErrorResponseToken =
;The IP Address of this device as 'ddd.ddd.ddd.ddd'
IpAddress = 10.11.0.203
;The Ip port to use to communicate to the device
IpScpiPort = 5025
;The decimal value of the response termination character.
;This value is only used with a non SCPI Protocol, SCPI always uses the default terminator.
;The default is 10 (new line)
ResponseTerminator = 10
;The time to wait in seconds for a response to begin when communicating to the device via SCPI
ResponseTimeoutSec = 60
;Set to 1 (true) if SCPI protocol is used. The default is false
UseScpiProtocol = 1
;Set to 1 (true) if all sends should wait for an acknowledgment. The default is false
WaitForAck = 0