System information
9530/8530 Manual Version 4.7 Page 35
Error Codes
The unit responds to all commands with either:
ok <cr><lf> or ?”n “<cr><lf>
Where "n" is one of the following error codes:
1. Incorrect prefix, i.e. no colon or * to start command.
2. Missing command keyword.
3. Invalid command keyword.
4. Missing parameter.
5. Invalid parameter.
6. Query only, command needs a question mark.
7. Invalid query, command does not have a query form.
8. Command unavailable in current system state.
Programming Examples
Example 1)
20 ms pulse width, 2.3 ms delay, 10 Hz internal trigger, and continuous operation.
:PULSE1:STATE ON <cr> <lf>
enables channel A
:PULSE1:POL NORM <cr> <lf>
sets polarity to active high
:PULSE:WIDT 0.020 <cr> <lf>
sets pulse width to 20 ms
:PULSE1:DELAY 0.0023 <cr> <lf>
sets delay to 2.3 ms
:PULSE0:MODE NORM <cr> <lf>
sets system mode to continuous
:PULSE0:PER 0.1 <cr> <lf>
sets period to 100 ms (10 Hz)
:PULSE0:TRIG:MODE DIS <cr> <lf>
disables the external trigger
To start the pulses use either of the following commands:
:PULSE0:STATE ON <cr> <lf>
starts the pulses
:INST:STATE ON <cr> <lf>
alternate form to start pulses
Example 2)
25μs pulse width, 0 delay, external trigger, and one pulse for every trigger.
:PULSE1:STATE ON <cr> <lf>
enables channel A
:PULSE1:POL NORM <cr> <lf>
sets polarity to active high
:PULSE:WIDT 0.000025 <cr> <lf>
sets pulse width to 25
μ
s
:PULSE1:DELAY 0 <cr> <lf>
sets delay to 0
:PULSE0:MODE SING <cr> <lf>
sets system mode to single shot
:PULSE:TRIG:MODE TRIG <cr> <lf>
sets system to external trigger
:PULS:TRIG:LEV 2.5 <cr> <lf>
sets trigger level to 2.5 volts
:PULS:TRIG:EDGE RIS <cr> <lf>
set to trigger on rising edge










