Example Command Sequence
*RST
SENS:FUNC:VOLT:DC AUTO,(@100:163)
This is a *RST default.
ROUT:SEQ:DEF LIST1,(@100:163)
This is a *RST default.
ROUT:SCAN LIST1
This is a *RST default.
SAMP:TIM LIST1,.00001
ARM:SOUR IMM
TRIG:COUN 16384
TRIG:TIM .0007
TRIG:SOUR TIM
FORM:DATA REAL,32
INIT:IMM
The following loop reads number of readings in FIFO while module is scanning.
loop while “measuring” bit is true
See STAT:OPER:COND bit 4.
SENSe:DATA:FIFO:COUNt? <
n_readings
>
n_readings is an unsigned 16-bit
integer.
if <
n_readings
> = 16384
SENSe:DATA:FIFO:PART? <
read_data
>
Read_data is a 32-bit floating
point array.
end if
end loop
The following checks for readings remaining in FIFO after “measuring” false.
SENSe:DATA:FIFO:COUNt? <
n_readings
>
if n_readings
If any readings...
SENSe:DATA:FIFO:PART? <
read_data
>
Get readings from FIFO.
end if
Chapter 4
Understanding the HP E1313/E1413 105
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com