Command processing times, 11 command processing times – AMETEK Lx Series II Programming Manual User Manual
Page 153

Programming Manual
Lx \ Ls Series II
149
For i = 0 to iPoints –1
strCmd = strCmd + "," + FrmOut$(sBuffer(i), "0.0###") 'Format 4 digits
Next i
Send gl_iNIBrdId, AC_Adr, strCmd, Nlend
‘Insert 500 msec delay to allow update of Flash memory
msec_delay 500
Exit Sub
XFRArbError:
MsgBox Error(Err), vbOKOnly + vbInformation, PROGNAME
End Sub
6.11 Command Processing Times
Most commands are processed immediately after they are received in the order they have been
received. Some commands however take a long time to complete. During this time, the power
source may not be able to accept additional commands. This issue must be considered when
developing application programs. In situations like this, time must be allowed through a time
delay or by interfacing to other instruments in the test system while the power source is allowed to
finish.
The *OPC 1 and *OPC? Commands can be used to determine if a command has been
completed. However, some commands will not accept the *OPC? Query either if the processor is
busy. In this case, a delay must be allowed before the *OPC? Query or the next command is
send.
The following table lists those commands and their required processing times for reference.
Command
Processing Time
Comment
*SAV n
100 msec
Save settings and transient list data to non volatile
memory. Flash memory access times are longer.
TRAC:DATA
500 msec
Save waveform data to non volatile memory. Flash
memory access times are longer.
OUTP
Default: 100 msec
This output relay and range change relay settling
time delays can be set to value up to 1000 msec
using the PONS:REL:HOLD command. See section
4.14
, “Power On Subsystem”. Adjust delay to value
set as needed.
Note: The programmable delay for the output relay
is active only when opening the relay. When closing
the output relay, there is a 150 msec fixed delay.
VOLT:RANG
Default: 100 msec
This output relay and range change relay settling
time delays can be set to value up to 1000 msec
using the PONS:REL:HOLD command. See section
4.14
SYST:CONF:NOUT
100 msec
Phase mode change. Available on Lx or Ls with
–
MODE option. Switching between single or three
phase output configuration requires reinitialization of
controller.
*RST
1 sec
Softboot reset of controller requires reinitialization.
*TST?
10 sec
Selftest execution time.
CAL:XXXX
300 msec
Save output coeficient calibration data to non
volatile memory. Flash memory access times are
longer.
CAL:SAVE
300 msec
Save calibration data to non volatile memory. Flash
memory access times are longer.
Table 6-1: Command Processing Times.