EasyManua.ls Logo

Colby Instruments PDL-100A - Programming over the RS-232 Connection; Error Checking

Colby Instruments PDL-100A
74 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 4 Setting Delay Values
© 2010 Colby Instruments. PDL-100A Operating and Programming Manual Page 29
connector TO the PC. See Section 7.0 Backpanel for diagram. RS-232
Port speed is 9600 baud, 8 data bits, and 2 stop bits.
4.7.2.1 Programming over the RS-232 connection
When programming the instrument over the RS-232 Serial connection,
characters are echoed (sent from the PDL-100A) back to the PC when
sending the command string. For example, from your application program
if you send the character string:
*IDN?<CR><LF>
the PDL-100A will respond with:
*IDN?<CR><LF>
Colby Instruments,PDL-100A-
625.0PS,07061234,V1.70<CR><LF>
Command[ 0.00ps |S|0]:
4.7.2.2 Error Checking
After every command sent to the instrument, you should check the Error
Return code in the Command Prompt to ensure the command was
executed correctly.
Error Code
Reason
0
No error
1
Invalid command
2
Invalid argument
3
Calibration failed
4
Delay range limit
5
Delay not set
*
Input Buffer Overflow (RS-232)
The Error Return code is a one character field that is the second to last
character in the command prompt.
Command[ 0.00ps |S|0]:
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents