ICS ELECTRONICS 4863 Manual page 37

Table of Contents

Advertisement

5.
2
6.
7.
Use the CAL:LOCK and CAL:DEFAULT commands to unlock
the unit and to restore its default setting. (Skip the default command
if you are only changing a specific parameter)
Call Send(Bd, Addr,"CAL:LOCK 0", EOTMode)
Call Send(Bd, Addr,"CAL:DEF", EOTMode)
Use the equivalent OUTPUT and ENTER type statements in your
computer's program to send the configuration commands to the
4863. Each new configuration statement should be followed with
a query to verify that the unit accepted the new setting or visually
monitor the ERR LED.
e.g., to enable bit 5 in the unit's Event Status Enable Register:
Call Send(Bd, Addr,"*ESE 32", EOTMode)
Call Send(Bd, Addr,"*ESE?", EOTMode)
Instring$ = String$(Lin, 32)
Call Receive(Bd, Addr, Instring$, Term)
Print A$
If you entered an invalid command and the red ERR LED illuminates,
send the unit the "*CLS" command to clear the error and turn off
the ERR LED. Correct the command and repeat the above step.
Use caution when changing the unit's GPIB or network address.
The change takes place immediately when the command is executed
or before the 2363 returns its prompt. The unit requires a 70
millisecond delay after an address change command before it can
accept another command or query.
i.e.,
to change the GPIB address to 20
CALL ieOutput(4, "SYST:COMM:GPIB:ADDR 20")
msDelay 70
CALL ieOutput(20, "SYST:COMM:GPIB:ADDR?"
Rdg$ = String$(10, " ")
CALL ieEnter(20, Rdg$)
PRINT Rdg$
'Unlocks all parameters
'Sets all default values
1
'fills the string with spaces
'Displays the result
'wait 70 ms
'fills Rdg$ with 10 spaces
'displays the query response
2-8

Advertisement

Table of Contents
loading

This manual is also suitable for:

2363

Table of Contents