2-8
2
1
5.
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)
'Unlocks all parameters
Call Send(Bd, Addr,"CAL:DEF", EOTMode)
'Sets all default values
6.
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)
'fills the string with spaces
Call Receive(Bd, Addr, Instring$, Term)
Print A$
'Displays the result
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.
7.
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
'wait 70 ms
CALL ieOutput(20, "SYST:COMM:GPIB:ADDR?"
Rdg$ = String$(10, " ")
'fills Rdg$ with 10 spaces
CALL ieEnter(20, Rdg$)
PRINT Rdg$
'displays the query response