ATX7002 Command reference

   
General syntax  

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Command Short description
   
AF Analog full scale of device
AG Analog gain
AI Analog input offset voltage
AN Analog ramp minimum
AO Analog offset for sine waves
AS Analog sine
AU Analog utilization factor
AX Analog ramp maximum
AZ Analog zero scale
   
C Card select
CBAUD RS232 baudrate
CC Card connect
CCLKD HSDIO clock delay cal. value
CLKD HSDIO clock delay value
CDIOV Calibrate DIO levels
CGAIN Card gain calibration
CID Module ID
CIEEE IEEE address
COFFSET module offset calibration
COFFSET module offset calibration
CMOD Module configuration in controller
CRC CRC check
CS Select module Clock source
CSTORE Store module calibration values
CV Set module output voltage/read module input voltage
   
DB number of Device Bits
DEM Display Error Messages
DIOM Mode of MFDIO
DIOV Digital Output level
DIV clock Divider
DL Device Latency
DN Digital ramp Minimum
DO Digital sine Offset
DS Digital Sine
DT device type
DX Digital ramp Maximum
   
FS Set FS-mode
   
GA gain and connection mode of S2D+GA Module
GO test-board Offset-Gain
   
HM Handshake mode
   
ID? Identification string
IM Io Mode
IO Read and write digital IO port
IOHS Read/write handshake lines
   
M Calculated measurement parameters
ML Measurement Loops
MLOCK Lock/Unlock Module
MMA Module Memory Address counter
MMD Module Memory data Dump
MML Module Memory data Load
MMR Module Memory single data Read
MMS module memory return address
MMW Module Memory single data Write
MT Measurement Type
MX Execute measurement
   
OL Outliers
OM[B] Output measurement results
   
PBA Pattern Bit generator start Address
PBC Pattern Bit Clock source and divider
PBE Pattern Bit Edit mode
PBR Pattern Bit Return Address
PMODE Production mode
   
RA Range
   
S2D Attenuation and connection mode of S2D+GA module
SC number of Settle Conversions
SDI Read Static Input Data
SDO Read or write Static Output Data
SF Fill Stimuli Memory
SL Settle loops
SS Stimuli Steps
SW number of sweeps
   
TC cycle-time
TO timeout
TRG trigger mode
TS settle time
TST Perform self-test
WAIT Halt executing command for n us
   
ESC-C Abort current action

General syntax


Commands are specified by the following general syntax:

COMMANDparam[,param,..]<term>    
     
where: COMMAND<term> the command string
  param parameter or a question mark
  [,param,..] optional parameter(s)
  <term> command termination or seperator

The command string exists of ASCII characters. The command parameters (param) may be one of the following types:

volts ASCII format voltage specification
  [-]n.nnnnnn
  e.g. -1.5 or 3.123456
dec ASCII format decimal value
  n
  e.g. -1 or 123
hex string of hexadecimal ASCII digits (0..9, A..F)
  n
  e.g. AF or 1B8C
  [,param,..
n A number containing a single or multiple numeric ASCII digits. These digits form a number

Commands should be terminated or seperated with a CR (13 dec or 0xD), LF (10 dec or 0xA) or semicolon (;). The ATX7002 will end a respond with a CR.

Examples:  
AN0;AX3;SS4096;  
AF? Returns "1.200000"

back to index

AF | Analog full scale of device


AFn Set full scale of device
AF? Return current setting for AF

The Device under test (ADC or DAC) Full Scale value specifies the voltage level corresponding to the expected full scale level (often equal to Vref). The parameter is used to calculate the expected output value (analog or digital) of the DUT, after a conversion, for the error calculations.

Example:  
AF1.20 Set Full Scale value to 1.20 Volt.
AF? Returns "1.200000"

Related commands: AZ, AG, AO, AI, GO.

back to index

AG | Analog gain


AGn Set analog gain
AG? Return current setting for AG

After the DUT parameter definition, like full-scale voltage (AF), zero scale voltage (AZ) number of device bits (DB), it is possible to calculate the ideal conversion result because for each conversion result, the corresponding ATX DAC output voltage is known. However, when on the test board, an input amplifier or a filter is situated, the expected code on the output is unknown due to signal gain or attenuation. With the Analog Gain command, the user can define the attenuation or gain of the signal-path between the ATX DAC output and the device input.

Example:  
AG0.95 Sets the Analog gain to 0.95. When testing an A/D converter this means that when the ATX DAC outputs 1 Volt, the converter has a 0.95 input voltage.
AG? Returns "0.950000"

Related commands: AO, AI, GO.

back to index

AI | Analog Input offset voltage


AIn Set analog input offset voltage
AI? Return current setting for AI

This command defines the actual device input offset voltage or ATX ADC input offset. This parameter is only used if parameter GO is set to 0. For A/D measurements, it is possible that a DC component programmed in the voltage from the ATX DAC is blocked out of the DUT input signal, due to filtering. In this case, it is possible that an offset voltage is applied to the device input by an external reference source or by the input amplifier stage. This voltage should be known to calculate the expected output codes of the DUT.

Example:  
AI1.25 Sets the device input offset voltage to 1.25 Volts. The AC component of the DAC voltage is added to this value, to calculate the expected output code.
AI? Returns "1.250000"

Related commands: AG.

back to index

AN | Analog ramp minimum


ANn Set analog minimum voltage
AN? Return current setting for AN

When using the Ramp measurement, AN configures the starting voltage of the A/D ramp . The negative reference voltage of ATX output DAC is programmed to this voltage, meaning that the lower limit of the ATX DAC voltage is set by this command.

Example:  
AN0.00 Sets the ramp start voltage to 0 Volts.
AN? Returns "0.000000"

Related commands: AX.

back to index

AO | Analog offset for sine waves


AOn Sets the analog offset, added to the analog sines.
AO? Return current value for the analog offset.

The offset voltage [volts] defined with this command, is added to all defined sine waves. The offset is not used during ramp-measurements.

Example:  
AO1.50 Set the analog offset to 1.5 volts.
AO? Returns "1.500000"

Related commands: AS.

back to index

AS | Analog sine


ASn,volts,periods,phase Define the amplitude (top) in volts, number of periods and phase in degrees within the defined stimulus size, of sine n (n=0..9).
ASn? Return the current amplitude, number periods and phase of sine n

This command defines the stimulus signal parameters for harmonic A/D converter tests. It is possible to define up to 10 different sine waves. Definition should start with sine 0. All sine waves are added and stored in the stimulus memory. The sine waves can be defined by giving the amplitude (top), and the number of periods within the defined stimuli size (SS). An offset (used for all sines) can be defined with the AO command. De frequency of the sine wave is depending on the number of periods defined here, the number of stimuli steps and the stimulus clock period time. This sample clock can be either f = periods/( SS x t(clock) ) , an external (user) clock or a clock generated by the pattern bits (BHSO) or BHSI, see the CS command for details.

The number of periods should be an integer higher or equal to one, the phase is a float variable, defining the sine wave phase in degrees.

NOTE: After defining the sine waves, the stimulus memory size, the stimulus memory should be updated with the "Stimuli Fill" command (SF). The ATX DAC ranging is automatically set to the minimum and maximum signal level, in the stimulus signal.

For generating signals with an AWG module and high signal frequencies relative to the samplefrequency, please be aware of the sinc attenuation. An online sinc attenuation calculator can be found here.

Example:  
AS0,1.235,3,10.5 Define sine 0 with an amplitude of 1.235 volts, three periods and a phase of 10.5 degrees.
AS0? Returns the parameters of sine 0. "1.235000,3,10.5"

Related commands: AO.

back to index

AU | Analog utilization factor


AUn Set the ATXDAC (AWG18) utilization factor
AU? Return the current utilization factor
Example:  
AU0.90 Set ATXDAC utilisation to 90 %
AU? Returns "0.900000"

Only applicable for MT2 (A/D dynamic test).

back to index

AX | Analog ramp maximum


AXn sets the value of the Analog maximum (Volts)
AX? Returns the current value of the Analog Ramp maximum

When using the Ramp measurement, AX configures the end voltage of the A/D ramp. In combination with the AN parameter, AX determines the output sweep and ATX DAC resolution. The atx DAC sweep can be easily calculated by subtracting AN from AX. The resolution of the 18 bit ATX DAC can calculate:

Analog maximum
Example:  
AX2.25 Sets the ramp start voltage to 2.25 Volts.
AX? Returns "2.250000"

Related commands: AN.

back to index

AZ | Analog zero scale


AZn Set the Device Zero Scale value
AZ? Return the current Device zero scale value

AZ specifies the voltage level corresponding to the zero scale level of the ADC or DAC under test (often equal to GND). The parameter is used for the calculation of the expected output value (analog or digital) of the DUT, after a conversion, for the error calculations.

Example:  
AZ0.10 Set Full Scale value to 1.20 Volt.
AZ? Returns "0.100000"

Related commands: AF, AG, AO, AI, GO.

back to index

C | Select Card


Cn Set Card (module) n the currently selected card (n=0..9).
C? Returns currently selected card.

This command selects one of the Cards (modules). All other Card Setting commands operate on the selected Card only. It is also possible to select the card by typing the card number in front of these card setting commands. This makes the use of the C command needless.

Example:  
C2 Select Card number 2 for further operations.
C? Returns "2"
2CC1 Select Card 2 and execute the CC1 command (card connect).

back to index

CBAUD | Baud rate


CBAUDn sets the RS232 Baudrate to value n.
CBAUD? returns the current Baudrate setting

The Baud rate of the serial communication may be changed to one of the following values:
9600 19200 38400 57600* * Factory setting

Example:  
CBAUD19200 Set the Baud rate to 19200 Baud.
CBAUD? Returns "19200"

back to index

CC | Card Connect


CCn,m Set connection of the currently selected Card.
CC? Set connection of the currently selected Card

In case of a signal DAC (AWG18) module, n selects the way the output signal is connected to the connector: In four wire mode (+Force +Sense, GND and GND sense), in two wire mode (The sense lines are internally connected to +force and GND) and in two wire 50 ohms mode (The output impedance of the module is 50 ohms). m selects the internal low pass filter setting :


signal DAC (AWG18)
n Connection type m Filter
0 Disconnected 0 Bypass all filters
1 connect in 4 wire mode 1 Lead signal through LP filter 1 (40kHz)
2 connect 2 wire mode 2 Lead signal through LP filter 1 (200kHz)
3 connect 2 wire, 50 ohms    

High Speed signal DAC (AWG16-100)
n Connection type m Filter
0 Disconnected 0 Bypass all filters
1 connect positive output* 1 Lead signal through LP filter 1 (6MHz)
2 connect negative output* 2 Lead signal through LP filter 1 (15MHz)
3 connect differential* 3 Lead signal through LP filter 1 (30MHz)

*Always 50 Ohm connected

In case of an ADC module, n selects the input mode (Differential or single ended) and input impedance (50 ohms or 10 M ohms) of the ADC module.


ADC module (WFD18)
n Connection type m Filter
0 Disconnected 0 Bypass all filters
1 connect ,differential input mode 10M ohm 1 Lead signal through LP filter 1 (40kHz)
2 connect, differential input mode 50 ohm 2 Lead signal through LP filter 1 (200kHz)

In case of the high speed ADC module the n parameter is split in 2 digits n1 and n2. n1 (upper digit) for the positive input, n2 (lower digit) for the negative input.


ADC14 module (WFD1470)
n1/n2 Connection type m Filter
0 Disconnected 0 Bypass all filters
1 connected, 10kohm 1 Lead signal through LP filter 1 (6MHz)
2 connected, 50 ohm AC 2 Lead signal through LP filter 1 (15MHz)
3 connected, 50 ohm DC   Lead signal through LP filter 1 (30MHz)
4 connect to gnd, input disconnected    
5 connect to gnd, input connected    

Examples:  
14 connect positive input 10k and negative input to gnd and input relay of negative input open
22 connect positive and negative input 50 ohm AC
05 positive input relay open, connect negative input to gnd and connect input relay

If the card has two channels (in case of a reference DAC or power-DAC ) m determines the way the second channel is switched.


Reference dac and powerdac:
n1/n2 Connection type m Filter
0 Disconnected channel 1 0 Disconnected channel 2
1 connect channel 1, 4 wire 1 connect channel 2, 4 wire
2 connect channel 1, 2 wire 2 connect channel 2, 2 wire
Example:  
CC1,2 Signal DAC: Connect in 4-wire mode using internal 200kHz LPF.
  Reference: connect channel 1 in 4 wire mode and channel 2 in 2 wire mode
CC? Returns "1.2"
CC0,0 Disconnects the card.

back to index

CCLKD | High Speed DIO Clock Calibration data


CCLKDn,m,o set the calibration values in ns.
CCLKD? returns the current calibration settings

These values are factory settings. Do not changes these values.

back to index

CLKD | High Speed DIO Clock delay(s)


CLKDn,m,o set the delay of clock n in ns.
CLKD? returns the current delay of clock n
clkd input mode
clkd output mode

back to index

CDIOV | Calibrate Digital Output levels


CDIOVcode[minv,maxv] Calibrate level of digital output lines (DIO).
CDIOV? Return the current calibration settings of digital output lines.

The last two parameters, minv and maxv, are optional. Code is a value between 00 and FF hexadecimal. With code 00 the digital output level is programmed to minimal voltage, with code FF to maximal voltage. If both voltages are measured, send this command with both voltage filled in to the ATX7002 (code may be any value).

back to index

CGAIN | Calibrate Gain


CGAINn[,m] Set gain value(s).
CGAIN? Return gain value(s).

Write gain value to selected module.

Signal DAC:

n is gain value of the offset dac. Gain should be calibrated at -5V and +5V.
m is gain value of the range dac. Gain should be calibrated at 0 and 10 V.

Signal ADC:

n is gain value of ADC.
Gain should be calibrated for each range.

Power DAC:

n is gain value of channel 1. Gain should be calibrated at -10V and +10V.
m is gain value of channel 2. Gain should also be calibrated at -10V and +10V.

Reference DAC:

n is gain value of channel 1. Gain should be calibrated at -5V and +5V.
m is gain value of channel 2. Gain should also be calibrated at -5V and +5V.

Store values in the module eeprom after calibration with the command CSTORE.

Related commands: COFFSET, CSTORE

back to index

CID? | module identification


CID? Returns the module identification of the currently selected module.

With CID, the module identification of the currently selected module can be read. This value should correspond with the CMOD command. See CMOD command for more information about module codes.

back to index

CIEEE |IEEE address


CIEEEn Set IEEE address.
CIEEE? Return IEEE address.

IEEE address should be in a range from 0 to 30.

back to index

COFFSET | Calibrate Offset


COFFSETn[,m] Set offset value(s) (hex).
COFFSET? Return offset value(s).

Write offset value to selected module.

Signal DAC:

n is offset value of the offset dac. Offset should be calibrated at 0V.
m is offset value of the range dac. Offset should be calibrated at 5 V.

Signal ADC:

n is offset value of ADC.
Offset should be calibrated for each range.

Power DAC:

n is offset value of channel 1. Offset should be calibrated at 0V.
m is offset value of channel 2. Offset should also be calibrated at 0V.

Reference DAC:

n is offset value of channel 1. Offset should be calibrated at 0V.
m is offset value of channel 2. Offset should also be calibrated at 0V.

Store values in the module eeprom after calibration with the command CSTORE.

Related commands: CGAIN, CSTORE

back to index

CMOD | Module configuration


CMOD? Returns the module type of the currently selected module

With CMOD, the module type of the currently selected module can be read. The following CMOD values are applicable:

  • 01 DIO module
  • 02 HSDIO/MFDIO
  • 11 18 bit Signal DAC module
  • 12 24 bit Signal DAC module
  • 13 16 bit High Speed Dac module
  • 21 18 bit ADC module
  • 22 24 bit ADC module
  • 23 14 bit ADC module
  • 31 Dual power DAC module
  • 41 Dual Reference DAC module
  • 61 S2D+GA module
Example:  
CMOD? returns 01, meaning that the currently selected module is a DIO.

back to index

CRC | Return CRC check


CRC? Return CRC check of dumped data by command OM or OMB.

Related command(s): OM[B]

CS | module Clock Source


CSn[,m] Select module clock source.
CS? Return clock source of active module

With this command the clock source of the ATX7002 DAC, ADC or DIO module can be selected. With CS set to 0, HSO is the clock source, with CS set to 1, HSI becomes the clock source. With CS2 the clock source of the DAC or ADC is set to an external user clock.
Example:

  • CS1 set the module clock source to HSI.

The AWG16-100 does have the following settings:
n Clock source
0 BHSO
1 Front
2 100 MHz on board
3 70 MHz on board

The AWG14-70 does have the following settings:
n Clock source
0 70 MHz on board
1 70 MHz on board
2 Front
3 BHSI

The MFDIO does have 2 selectors (CSn,m):
n Clock source m Internal clock source
0 200 MHz 0 memory clock (default)
1 Front clock 1 dut clock
    2 main clock
    3 scsi clock

CSTORE | Store calibration values


CSTORE Store calibration values in active module eeprom.

After calibrating a module (manually) with the commands COFFSET and CGAIN, this command stores the calibration values in an eeprom of the calibrated module. After power up the calibration values will be read from eeprom.

Related commands: CGAIN, COFFSET

back to index

CV | set DAC voltage/read ADC voltage


CVn[,m] Set the output voltage of the current selected module
CV? Return the current output voltage or ADC input voltage

Use this command to program the currently selected module output voltage. In case of a signal DAC, only one voltage can be programmed. This voltage should be between the current settings of AN and AX. In case of a dual reference DAC module or a power module, two voltages can be entered, ranging from -6.5V to +6.5V for a reference DAC and -13.5 to +13.5V for a dual powerDAC. The first voltage entered represents channel 1, the second voltage represents channel 2. In case of an ADC module, only the CV? command is valid. It returns the input voltage of the ADC.

Example:  
CV5,-5 Program a dual dac output voltage to +5V for channel 1 and -5V for channel 2.
CV? returns 5.000000,-5.000000

Related commands: AN, AX, RA

back to index

DB | number of Device Bits


DBn Set the size (number of bits) of the converter under test.
DB? Return the current converter size.

This command specifies the bit-size (n=1..16) of the converter under test. The ATX firmware uses this information to determine step size, calculation of expected data and for error calculation purposes.

Example:  
DB10 Set converter size to 10 bit.
DB? returns "10"

Related commands: AZ, AF

back to index

DEM | Display Error Messages


DEMn Enable (n=1) or disable (n=0) error messages.
DEM? Return the current value of the DEM setting.

With this command, it is possible to let the ATX send error messages back to the user, when an error occurred. To activate this function, DEM must be set to 1. The value 0 deactivates the function. Especially on testing and debugging command strings this can be helpful. After reset, the command is disabled.

Example:  
DEM1 Enable the error messages function. An error returns an error string.
DEM? returns "1"

back to index

DIOM | DIO mode


DIOMn Set mode of high speed dio module (MFDIO)
DIOM? Return the current mode.


Set the MFDIO module in the appropriate mode:

n Mode
0 "Normal" mode
1 High speed output mode
2 High speed input mode

back to index

DIOV | Digital Output levels


DIOVn Set level of digital output lines (DIO) in volts
DIOV? Return the current level of digital output lines.

The voltage level of the digital output lines of the DIO module is adjustable between 1.8 and 3.3 V.

back to index

DIV | clock divider


DIVn[,m] Set clock divider and optional the sample divider (m)
DIV? Return the current value of the clock divider.

The sample clock of the 24 bit A/D or D/A module can be divided by a value between 1 and 255. The divided sample clock determines the sample frequency.

The divider for the MFDIO can have the values: 1,2,4,8.
The divider value for the AWG16-100 can have the values: 1,2,4,8,16,32,64,128,256.
The WFD1470 supports the sampledivider.

back to index

DL | Device Latency


DLn Set the device latency to an integer value n
DL? Return the current device latency.

Due to pipelining, the device adds a certain latency, which is called the device latency. The user should define this device latency, so the firmware can find the capture data that corresponds with the stimulus data. For A/D measurement this value should be less than 16, for D/A measurements less than 14.

Example:  
DL2 The device has a pipelining of 2 cycles.

back to index

DN | Digital ramp Minimum


DNn Set the start code for the digital stimulus ramp calculation (hex)
DN? Return the current value of the Digital ramp start value.

The DN definition is used for calculation of a digital ramp, it defines the value of the first stimulus step. Since the stimulus memory is 20 bit, this value must be between 0 and FFFFF. After defining the digital ramp minimum, the stimulus memory should be updated with the SF command before the next measurement.

Related commands: DX

back to index

DO | Digital sine Offset


DOn Set the Digital Offset for digital sine stimulus signal calculation (hex)
DO? Returns the current value of the digital offset digital sines.

The digital offset can be defined between 0 and FFFFFh, and is added to the digital sine stimulus signal. The result of this addition is stored in the stimulus memory and should be within the range 0..FFFFF. After defining the digital offset, the stimulus memory should be updated with the SF command before the next measurement.

Related commands: DS

back to index

DS | Digital sine


DSn,volts,periods,phase Define the hexadecimal amplitude (top) ,the number of periods within the defined stimulus size, and the phase of sine n (n=0..9).
DSn? Return the current amplitude and number of periods of Digital sine n.

This command defines the stimulus signal parameters for D/A converter dynamic tests. It is possible to define up to 10 different sinewaves. Definition should start with sine 0. With the Stimuli Fill (SF) command, all defined sinewaves are added and stored in the stimulus memory. The sinewaves can be defined by giving the hexadecimal ampitude(top), and the number of periods within the defined stimuli size (SS). A digital offset that is used for all sines should be defined with the DO command, to prevent the signal from "clipping". De frequency of the sinewave depends on the number of periods defined here, the number of stimulisteps and the stimulus clock period time. This sample clock can be either an external (user) clock or a clock generated by the patternbits (BHSO) or BHSI, see the CS command for details. The number of periods should be an integer higher or equal to one.

This sample clock can be either: f = periods/(SS x t(clock))

NOTE: After defining the sinewaves, and the stimulus memory size, the stimuli memory should be updated with the "Stimuli Fill" command (SF).

Example:  
DS0, 3FF,4,0 Define the first sine with an amplitude of 3FF. Four periods and a phase of 0 degrees.
DS0? returns the parameters of digital sine 0: "3FF,4,0".

Related commands: DO, SS, SF

back to index

DT | Device type


DTn Set device type
DT? Return current setting for the device type.

Dependent on the type of A/D converter, an offset correction must be taken in account for error calculation. For unipolar devices, the offset correction may be at 0 (DT=0) or 1/2 LSB (DT=1): DT0 With bipolar devices, the offset error and gain error are calculated with respect to halve scale (0V). A two’s complement bipolar device, should be measured with DT set to 3:

  • DT0 : unipolar device, no offset correction : first transition is at 1 lsb from zero scale
  • DT1 : unipolar device, the first transition is at 1/2 lsb from zero scale.
  • DT2 : bipolar device, straight binary code.
  • DT3 : Two’s complement.
  • DT4 : Sigma delta modulator.

DT is a error calculation parameter. The measurement is not affected by this command.

back to index

DX | Digital ramp Maximum


DXn Set the end code for the digital stimulus ramp calculation (hex).
DX? Return the current value of the Digital ramp end value.

The DX definition is used for calculation of a digital ramp, it defines the value of the last stimulus step. Since the stimulus memory is 20 bit, this value must be between 0 and FFFFF. After defining the digital ramp maximum, the stimulus memory should be updated with the SF command before the next measurement.

Related commands: SS, DN, SF

back to index

FS | fs-mode


FSn Set fs-mode for 24 bit module.
FS? Return the fs-mode.


For the 24 bit ADC module:

n fs-mode
0 64fs
1 128fs
2 256fs

For the 24 bit DAC module:

n fs-mode
0 192fs
1 256fs
2 384fs
3 512fs

back to index

GA | gain and connection mode


GAn,m Set the gain (n) and connection mode (m).
GA? Return the current value of the GA setting.

Set the gain and connection mode of the Gain Amplifier path of the S2D+GA module.


n gain
0 1x
1 10x
2 100x

m connection mode
0 Differential mode
1 Single ended mode, Vref connected to negative input

back to index

GO | Device Offset-Gain


GOn Set the device offset gain (n=0..1).
GO? Return the current value of th GO setting.

GO is a parameter (0 or 1), defining the way in which the DC offset, supplied by the ATX signal DAC, is attenuated or amplified by the DUT-board. This way it is possible to define the actual offset voltage at the input-pin of the DUT, and can the expected conversion result be calculated in the right way. When GO=1, the device input offset is assumed to be amplified by or attenuated by the value defined by AG. If the offset on the device has no relation with the offset supplied by the ATX DAC, it is possible to define this offset with parameter AI.

Related commands: AO, AG, AI

back to index

HM | Handshake mode


HMn Set Handshake Mode n=0..3.
HM? Return current HM setting.

This command initiates active state of the handshake input lines (HSI1 and HSI2) and handshake output line (HSO). Note that the handshake lines are only used when the ATX7002 is in Handshake mode, set by the command IM. In pattern bit mode, The handshake lines are not used for handshaking.


n HSI1 and HSI2 (edge) HSO (state)
0 positive edge active high
1 positive edge active low
2 negative edge active high
3 negative edge active low

Related commands: IM, IOHS

back to index

ID? | Identification


ID? Return the identification string.

The identification string exists of the equipment name, revision number and revision date.

Example:  
ID? Returns "ATX7002 V3.20 10 March 2008".

back to index

IM | I/O Mode


IMn Set the I/O mode of the ATX7002 DIO, n=0,1,2,3,10,11,20,21,30,31.
IM? Return the current value of IM.

The I/O mode command specifies the handshake protocol used during A/D or D/A converter measurements. The ATX DIO can operate in two modes: a DSP-controlled handshake mode and a pattern bit mode, where a programmable pattern generator controls the complete timing of the measurement. This pattern generator has 16 individual programmable bits, eight bits are used for internal measurement timing and the remaining eight are available on the DIO connector for user-defined purposes. For programming the pattern generator, please refer to the description of the PBx commands.

In handshake and pattern bit mode, the converter data can transfer either parallel or serial. The I/O mode command also specifies this parallel or serial data transfer. The following settings for IM are applicable:

IM0: Parallel data transfer, HSO only

During A/D converter test, after each settling time, the digital input is examined, then the next step is performed. There is no handshaking, but HSO pulses, dependent on the setting of HM, positive or negative after each settling time. The falling edge of HSO updates the output of the ATX signal DAC module. The settling time should be long enough for the DAC module to stabilize and the DUT to convert. Since the digital IO lines are read asynchronously, the read can coincidence with a change of the converter output code. (Read during signal transition). The ATX7002 protects reading nonsense in these cases, by reading the data input with intervals of 300ns. If two consecutive data reads are similar, data is stored.

During D/A converter test, data changes on the DIO output. After the settling time, HSO goes active to indicate a sample is being taken: the ADC is sampled internally. To be sure of a valid output voltage, the DUT should perform at least two conversions within the defined sampling time.

io mode 0

IM1: Parallel data transfer, handshake mode (HSO and HSI)

During A/D converter test, after each settling time (TS), HSO goes active, (HSO active state is programmed with HM) to indicate that the A/D converter can start the conversion. The ATX first checks the status of HSI and, if necessary, waits until the HSI state is inactive. After HSO, the inactive state of HSI should be at least 4 us. The ATX now waits for the rising or falling edge of HSI1 (again programmed with HM). The active state of HSI should last for at least 2.5us. The latched input data is then read from the DIO input latches. After that, HSO is set inactive and the signal Dac is updated with the next voltage.

During D/A converter test, HSO indicates that the DIO output data is valid. The Dut then starts the conversion, and indicates on HSI 1 that its output voltage can be sampled. On HSI1, HSO returns to the inactive state. During AD and DA measurements, The ATX samples after a programmed timeout time, if for whatever reason HSI1 is not changed. This timeout time is defined with command TO.

io mode 1

IM2: Byte wise data transfer, handshake mode (HSO and HSI)

This I/O mode is implemented for a byte-wise digital input and is only for A/D converter type of measurements. For D/A measurements byte wise I/O is only supported in pattern bit mode (IM11). The handshaking is basically the same as described for IM1. The device data is divided in an least significant byte and a highest significant byte, and so the read is performed in two steps. HSI2 indicates the first byte read. HSI1 indicates the second byte read, and stores the total result in the capture memory. In IM2, the first read reads lowest significant byte.

io mode 2

IM3: Byte wise data transfer, handshake mode (HSO and HSI)

A Byte-wise I/O as described for IM2. Now the first read, on HSI2, reads the most significant byte.

IM10: Parallel data transfer, Pattern bit generated timing

The pattern bits define the handshake timing and the ATX7002 timing. The IO data is read or written in a parallel mode. The figures below show a possible timing in this mode. In AD converter testmode, Patternbit BHSO initiates the ATX signal DAC output change. A user pattern bit then starts the DUT-conversion. After the conversion time, pattern bits HB_OE_CLK and LB_OE_CLK clock (low to high transition) the DUT data into the input DIO input-register. BHSI then stores the captured data in the capture memory. In DA converter testmode, Patternbit BHSO initiates the data change on the DIO output. A user pattern bit then starts the DUT-conversion. After the conversion time, BHSI samples the DUT output voltage and stores the value in the DAC capture memory. To keep the DATA enabled, pattern bits HB_OE_CLK and LB_OE_CLK should be programmed high during the whole sequence

io mode 10

IM11: Byte-wise data transfer, Pattern bit generated timing

In this mode, the device data is divided in a least significant byte and a highest significant byte. In input mode (AD converter testing) , HB_OE_CLK clocks (low to high transition) the high significant byte, and LB_OE_CLK clocks (low to high transition) the low significant byte. The pattern bits generate both lines. The DUT data should be connected to the D0..D8. BHSI then stores the data in the capture memory. In output mode (D/A converter test), HB_OE_CLK enables the high byte output buffer and LB_OE_CLK enables the low byte output buffer. Therefore, both buffer outputs should be tied together.

io mode 11

IM20: Serial data transfer, Handshake mode timing

This mode is used for serial data transfer in handshake mode. The number of bits shifted in can be up to 24 bits. HSI1, HSI2 and HSO are used for timing and D0 as input. Handshake line HSO indicates that the DAC output voltage is valid and the DUT can start the conversion. (the output voltage of the DAC is supposed to be settled after the programmed settle time TS. The HSO active state is programmed with HM. HSI1 and HSI2 are handshake input lines, and the timing is therefore defined by the user. The converter data is then applied to DO, LSB first, and clocked by HSI1. HSI2 then indicates that the shifted data is ready and that the ATX controller can read the DUT DATA from the shift register. The active state of HSI2 should last for at least 2.5us. During that time there should be no more clocks on HSI1. The inactive state of HSI2 should be at least 4 us. The active state of Both HSI1 and HSI2 is programmed simultaneously. Note: if HSI2 did not become active within the defined timeout time(TO), the ATX samples the serial data latch, TO should therefore be defined, broadly TO prevents a timeout during serial data transfer.

io mode 11

IM21: Serial data transfer, Handshake mode timing

This I/O mode is the same as described for IM20. Now, the MSB is shifted in first and no extra clocks on HSI1 are allowed.

IM30: Serial data transfer, Pattern bit mode timing

The pattern bits define the timing of the serial data transfer and the ATX7002 timing. In the timing example below a possible timing is shown for a serial A/D converter. A user pattern bit is used to start the conversion, another pattern bit is used to clock the serial device, to get the serial data. In the DIO, An internal pattern bit called SERCLOCK is connected to the clock pin of the shift register. This clock bit should be programmed in conjunction with the user pattern bit, clocking the serial data from the DUT. When all bits are shifted in the shift register, the internal pattern bit BHSI captures (positive edge) and writes (negative edge) the shifted data in to the capture memory. The maximal number of bits that can be captured is 24 bit.

io mode 30

During A/D test, the edge of BHSO initiates the change of the stimulus data and set the shift register in parallel load mode. This data is then parallel loaded in the DIO shift register on the first edge of SERCLK. Immediately after this parallel load, BHSO should be set low, to set the shift register in shift mode during the parallel load, the first bit appears on the output of the shift register. The first data bit can then be clocked into the DUT, LSB first, using a user-pattern bit as serial clock. After clocking the DUT, SERCLK shifts the DIO shift register one step. This sequence is repeated until all data bits are shifted in the DUT. The DUT conversion then starts (possibly initiated by a second user pattern bit). The conversion result is then sampled and captured on BHSI. When shifting LSB first,Serclock should clock 24 times to align the data correctly into the 24 bit input shift register. If for example a 8 bit result is shifted in, there should be 16 extra clocks to align the 8 bits in the lower part of the shift register.

io mode 30 da

IM31: Serial data transfer, Pattern bit mode timing

This I/O mode is the same as described for IM30. Now, the MSB is shifted first.

back to index

IO | Read or write digital IO port


IOn Write (parallel) hex data to the DIO data output (IM0 and IM1 only).
IO? Read the current state of the DIO data I/O lines(IM0 and IM1 only).

With this command, the data value on the digital IO may be read or written. A write to the IO can be performed if the DIO is in parallel output mode and the IO mode is set to IM0 or 1. If the DIO is in output mode, and in IM0, the IO? command returns the previously written output data.

A direct read action from the DIO input pins can only be performed if the DIO is in input mode and in IM0 only. In other IM modes, the IO? reads from internal DIO data registers.

Example:  
IO5AF write hexadecimal 05AF to the digital data IO lines.
IO? Reads 0005AF if the IO lines are set as output, and returns the current hexadecimal value on the digital data IO lines when the DIO is set as input.

Related commands: IM, IOHS

back to index

IOHS | Read/write handshake lines


IOHSn Set HSO active (n=1) or inactive (n=0).
IOHS? Return the state of HSO and HSI1.

With IOHS, the state of the handshake lines HSI/HSO may be read or HSO may be changed. When reading the status with IOHS? the first digit reflects the HSI1, state the second digit reflects HSO state. The HSI state reflected here is the state read directly from the DIO connector.

A state is reflected as "1" for active and "0" for inactive.

Depending of the HM command, "Active" can both be a logic "0" or a logic "1".

Normally HSI and HSO are controlled by the algorithm. The IOHS command is for debug purposes or for an automatic test of the loadboard connection.

Example:  
IOHS? returns 01 meaning HSO is inactive , and HSI1 = active.

Related commands: HM, IOHS

back to index

M | measurement results


Mn Return calculated parameter.

A/D and D/A linearity (ramp) test (MT1 and MT11):

  • M0: Number of missing codes for A/D Ramp test
  • M1: Offset error
  • M2: Gain error
  • M3: INLE, Integral linearity error (absolute value)
  • M3+: positive INLE, Integral linearity error
  • M3-: negative INLE, Integral linearity error
  • M4: DNLE, Differential linearity error (absolute value)
  • M4+: positive DNLE, Differential linearity error
  • M4-: negative DNLE, Differential linearity error
  • M5: TUE, Total unadjusted error (absolute value)
  • M5+: positive TUE, Total unadjusted error
  • M5-: negative TUE, Total unadjusted error

Errors are represented in LSBs. See command PMODE for End Point or Best Fit calculations.

More information about linearity parameter calculations can be found here.

A/D and D/A dynamic test (MT12 and MT12):

  • M6: SINAD, Signal to Noise And Distortion
  • M7: SNR, Signal to Noise
  • M8: THD, Total harmonic distortion (7 harmonics)
  • M9: Peak Harmonic
  • M10: Spurious noise

Parameters are represented in dBs.

More information about the dynamic parameters can be found in the article Dynamic parameter calculations.

Related commands: PMODE, MT

back to index

ML | Measurement loops


MLn Set the number of measurement loops, n=1..8191 for MT15 and n= 1..255 for other MTs
ML? Return the current number of measurement loops

For MTs other than MT15:

During a measurement loop, of the stimulus data, stored in the signal DAC (A/D measurement) or in the DIO (A/D measurement) is output to the DUT. While the capture memory (in the DIO for A/D measurements, or in the ADC module for D/A measurements) stores the converter results. The number of stimuli steps within one loop is defined by the Stimulus Steps (SS) command. This loop can be repeated up to 255 times.

Example:  
ML10 The measurement takes 10 measurement loops. When each loop has 23 samples (SS=23) , the capture memory captures 230 values

Note that the capture memory can capture 524288 conversion results. When the number of results recorded in the capture memory exceeds the memory size, the capture memory address counter stops, and the capturing of data will be terminated.

MT15:

During the test each code will be converted ML times before the next code is supplied to the D/A converter. If the total number of results do not fit in the ATX-ADC capture memory, the test will be divided in several cycles. The effective number of averages is: cycles *(av./cycle-outliers). See command OL.

Using the MFDIO in high speed mode the number of settle loop can be up to 4095.

Related commands: SL, MT, OL

back to index

MLOCK | Lock/Unlock Module


MLOCKn Lock (n=1) or Unlock(0) Module
MLOCK? Read lock status of module

An ATX7002 module can only generate a signal (DAC modules) or capture a signal (ADC modules) if the module is set in lock mode. If module is in lock mode the modules memory and configuration cannot be changed! So configure module before setting in lock mode. The MX (start test) will automatically set the module in lock mode and unlock the module after the test. Use this command only if you plan to use the module as (stand-alone) signal generator/digitizer.

Related commands: MMS, MMA

back to index

MMA | Module Memory address counter


MMAn Set module addres counter (hex).
MMA? Return current address counter value.

This command is implemented to read or write (edit) the module memory of the current selected module. MMA initiates the address counter, pointing to the memory location to be edited.

Related commands: MMD, MML, MMR, MMS, MMW

back to index

MMD | Module Memory dump


MMDn Dump part of the contents of the current selected Module memory, and update the Module data address counter

This command dump a number defined by hex, of contents of the current selected module memory. The dump starts from the address defined by the MMA command. After command execution, this memory counter value has been incremented by the number of dumped memory contents.

Example: MMA is set to 0:
MMD4 returns 000000 (this is the content of memory address 0)
  000001 (this is the content of memory address 1)
  000002 (this is the content of memory address 2)
  000003 (this is the content of memory address 3)

Related commands: MMA, MML, MMR, MMW

back to index

MML | Module data Load


MMLn Write a hexadecimal value into the module memory and auto-increment the module address counter.

This command stores a hex value to the module memory address. The destination address is pointed by the Address counter, initiated by the MMA command.

Example: MMA is set to 0:
  MML1B (stores 00001Bh to address 0)
  MML1C (stores 00001Ch to address 1)

Related commands: MMA, MMD, MMR, MMW

back to index

MMR | Module Memory single Read


MMRn Read the content of one memory address (hexadecimal value).

This command reads the contents of one module memory address. The address should be a hexadecimal value.

Example:  
MMR1A returns data of address 26

Related commands: MMA, MMD, MML, MMW

back to index

MMS | Module Memory end (stop) address


MMSn Set the ATX DAC or DIO stimuli memory stop address (hexadecimal value).
MMS? Returns the stimuli memory stop address.

The stop address is the last address used during signal generation.

Related commands: MMA, MLOCK

back to index

MMW | Module Memory single write


MMWn,m Write a hexadecimal value (m) into the module memory at address n (hex).

This command stores a hex value (m) to the module memory address at n.

Example:  
MMWA,1B stores 00001Bh to address 10

Related commands: MMA, MMD, MML, MMR

back to index

MT | Measurement Type


MTn Select the type of measurement.
MT? Return the current measurement type setting.

The following types of measurement are available:

  • 1 A/D ramp test is set
  • 2 A/D sine (dynamical) test
  • 3 A/D user defined pattern generation
  • 4 A/D Statistical and noise test
  • 11 D/A ramp (linearity) test is set
  • 12 D/A sine (harmonic) test is set
  • 13 D/A user defined pattern generation
  • 15 D/A ramp with only 1 ramp and many conversions (averages) per (DUT) converter step

All of these measurement types are started with the MX command. After the measurement is finished the ATX7002 sends a "P" to indicate that the measurement is ready.

Example:  
MT1 Set the measurement type to A/D ramp test
MT? Returns "1"

Related commands: PMODE, MX, M

back to index

MX | Execute measurement


MX Measurement execute command, executes measurement

When all parameters (Handshake- and IO-mode) are specified correctly, and the stimulus memory is filled with appropriate data, the measurement may be started. At the end of the measurement, the ATX7002 returns a "P" to indicate the end of the measurement.

Related commands: PMODE, MT, M

back to index

OL | Outliers


OLn Set number of outliers.
OL? Return the current setting for the number of outliers.

Only for MT15 (D/A Ramp test with only 1 ramp and several steps for each converter step). For each outlier the maximum and minimum measured values per converter step (and per cycle) are removed.

Example:
ML256 (256 time averaging)
OL2 (remove 4 outliers (2 max. & 2 min. values) per dut converter step per cycle)
DB14 (14 bit device)

Maximum averages per cycle is: capt mem./converter steps = 512k/16k = 32 times. So the total test takes 256/32 = 8 cycles. During 1 cycle each converter step is 32 times converted and 4 results are removed: 2 maximum values and 2 minimum values. So for this test the effective number of averages is 8 x (32-4) = 224.

Related commands: MT, ML

back to index

OM[B]? | Output Measurement results


OM[B]? Output Measurement results of a measurement.

MT1 (A/D ramp test) and MT2 (A/D dynamic test) outputs the digital captured codes from the DIO module (hex). The number of elements is equal to SS. The settle conversions (SC) are not present in the output data.

MT4 (A/D Statistical test) output then number of code occurrences. The number of output elements is equal to 2^DB.

MT11 (D/A ramp test) and MT12 (D/A dynamic test) outputs the results from the ADC captured memory (adc hex codes). The number of elements is equal to SS.

MT15 (D/A ramp test with unlimited averages) outputs the results from the ADC captured memory (adc hex codes). The number of output elements is equal to SS.

The B (OMB) is optional. Data will be send in binary format. This command is used by the software ATView (version 7.1 or higher).

back to index

PBA | Pattern bit generator start address


PBAn Set the DIO pattern bit generator start address (dec=0..65535).
PBA? Return the current setting of the pattern bit start address.

The PBA command defines the start address from which the pattern generator operates. This makes it possible to store more than just one pattern in the Pattern bit generator memory. Just choose a pattern by changing the start address. The start address is not only used during pattern generation, also during the pattern bit edit mode (The edit mode is entered with the PBE command), PBA defines from which address the edit starts.

Note: When PBA is defined, the return address defined by PBR is overwritten with the PBA address.

Example:  
PBA100 sets the Pattern generator start addres to 100 dec.
PBR? returns "0100"

Related commands: PBR, PBE, PBC

back to index

PBC | Pattern bit Clock


PBCn,m Select Pattern bit clock source n(0..2) and divider value m(1..4096).
PBC? Return the current pattern bit clock source setting.

This command sets the clocksource for the patternbits, by setting a clocksource and a clock divider value. The DIO has one mounted crystal clock generator, clock1 and and optional crystal clock generator clock2. It is also possible select an external clock, connected to HSI2. With parameter n, the clocksource can be defined:

n  
0 HSI2
1 Crystal clock1 (default 40MHz)
2 Optional crystal clock2

There is a diver between the selected clock and the pattern generator. This divides the clock frequency by a factor, set by m, ranging from 1 to 4096. The step time of the pattern bits can be calculated:

pbc
Example:  
PBC1,12 Set pattern clock generator to Chrystal clock1, divided by 12. The patternbit steptime = 12 /(40e6)= 300ns
PBC? returns "1,12"

Related commands: PBR, PBE, PBA

back to index

PBE | Pattern bit Edit mode


PBE enter into the Patternbit editing mode.

The patternbits can be edited while in editing mode, initiated by the PBE command. In editing mode, the ATX7002 has a separate command interpreter, for editing the pattern bits. The patternbit memory has a depth of 65535 steps and is 16 bits wide. The sequence of each bit in the pattern memory can be programmed separately. The bits are divided as follows:

Bit0..B7 User patternbits, directly available on the DIO connector
Bit8 return address flag, signing the end of the pattern
Bit9 SER_CLK : Serial shift register clock for serial mode IO
Bit10 BHSI store and increment of the capture memory (on DIO or ADC)
Bit11 BHSO increments the stimulus memory counter (on signal DAC or DIO)
Bit12 not used
Bit13 User patternbits output enable, enables the output of the patternbit (low = enabled)
Bit14 HB_OE_CLK in output mode: enable the highest bits of the output, in input mode it clocks the upper bytes of the data input register, on a positive edge
Bit15 LB_OE_CLK in output mode: enable the lowest byte of the output, in input mode it clocks the LSB data input register

The edit commands described below can be entered separated by a CR, LF or ";" (semicolon).

The edit position in the memory starts on the address defined by the PBA command. The edit position then shifts one step further than the last edited step. This way it is possible to enter various commands in a sequence, without overwriting the previously defined part of the pattern.

The Following edit commands are implemented in the patternbit editing mode:

Bn

Define the bit to be edited (n=0..15) example: B8 = Edit bit 8, start edit from PBA-address

CLn1,Hn2,Rn3

To define a repeated pattern within the complete pattern (n =decimal integer):

  • where: n1 is the number of logic Low steps
  • n2 is the number of logic High steps
  • n3 is the number of times these steps (n1 and n2) are Repeated

or

CHn1,Ln2,Rn3

  • where: n1 is the number of logic High steps
  • n2 is the number of logic Low steps
  • n3 is the number of times these steps (n1 and n2) are Repeated

Example: CH2,L3,R3 : the pattern generated is:

pbe example1
Lsteps To define the patternbit in a logic Low state during n steps
Hsteps To define the patternbit in a logic High state during n steps
  • Example:
  • L3 pattern bit is 3 steps low
  • H4 pattern bit is 4 steps high
  • when these commands are entered after the command in the above example the pattern looks as follows:
pbe example2
E exit patternbit edit mode
On output n steps of the pattern memory, starting from the start address 0
On,m output m steps of the pattern memory, starting from the start address n
R Reset all pattern bits: all pattern bits are cleared.

Related commands: PBR, PBC, PBA

back to index

PBR | Pattern bit generator return address


PBRn Set the pattern bit generator return address.
PBR? Return the current setting of the return address.

The return address defines the address, the pattern generator returns to after the first pattern run. The first pattern loop starts from the start address defined with PBA. This makes it possible to place a one-shot sequence in the pattern between PBA and PBR.

Example:  
PBA100 sets the Pattern generator start addres to 100 dec.
PBR110 sets the return address-to-address 110 dec. A one-shot pattern is situated between address 100dec and 110dec
PBR? returns "0110"

Related commands: PBA, PBE, PBR, PBC

back to index

PMODE | Production mode


PMODEn,m Activate (n=1 or 2) or inactivate (n=0) the production mode
PMODE? Return the current state of the production mode

When PMODE is activated, the ATX7002 calculates error parameters after each test. These calculated parameters can be read with the command Mn. See the command description of Mn for further details. For ADC and DAC Ramp test select n=1 for the End Point error calculations or n=2 for the Best Fit error calculations. m is optional and determines the trip-point search algorithm for the ADC Ramp test. If m=0 (default value) the trip-point search method 1 is used. If m=1 the codes are sorted (method 2). See document AdcTrippointSearch.pdf for more information.

More information about linearity parameter calculations can be found here.

More information about the dynamic parameters can be found in the article Dynamic parameter calculations.

Related commands: MX, MT, M

back to index

RA | Set Range


RAn Set the range of WFD18 or AWG16-100.
RA? Return the current range.

The WFD18 module has the following input ranges:

1 differential input range 1 V
2 differential input range 3 V
3 differential input range 5 V
4 differential input range 7 V

The WFD14-70 module has the following input ranges:

1 +/- 0.5 V
2 +/- 1.0 V
3 +/- 2.0 V
4 +/- 2.5 V
5 +/- 5.0 V
6 +/- 10 V

The AWG16-100 module has a proportional output ranging of 0.063V up to 5V. The output range can also be set in dBs: RAn,DB n can have a value between 0 and 18.

back to index

S2D | Attenuation and wire mode


S2Dn,m Set the attenuation and connection status.
S2D? Return the current value of S2D.

Set the attenuation and connection status of the Single ended to Differential mode path of the S2D+GA module.

n attenuation
1 1
2 x 0.1
3 x 0.01
m connection status
0 disconnect
1 connect differential out
2 connect single out 4-wire
3 connect single out 2-wire
4 connect both outputs, single out 4-wire
5 connect both outputs, single out 2-wire

back to index

SC | Settle Conversions


SCn Set the number of settle conversions between two ramps.
SC? Return the current value of SC.

A ramp consists of a step-by step increasing value. When a ramp is repeated, which is the case when the stimulus data is looped, because of more then one settle loop and/or one or more measurement loops, it will take a certain amount of time for the analog output stage to settle from the relative large output voltage change. With settle conversions, some additional steps are added to the start of the ramp. As a result, the ramp starts "ramping" after the output voltage has settled.

back to index

SDI | Read Static Data Input Bits


SDI? Return the status of the 4 static digital input bits.

The DIO has 4 static input data bits. The status of these bits can be read with this command.

back to index

SDO | Write Static Data Output Bits


SDOn program the 8 static output bits to n, where n is an 8 bit hexadecimal value.
SDO? Return the status of the 8 static digital output bits.

On the DIO, 8 static output data bits are available. The output bits are not changed or read during the measurement and can only be changed or read by means of this command. The static bits are meant for initial settings on the load board (i.e. relais etc), or for reading out a status from the loadboard. The bits may also be used for SPI or I2C emulation.

Example:  
SDOA Set de digital output bits to 0000 1010b
SDO? returns "A"

back to index

SF | Fill Stimuli Memory


SF Fill the stimulus memory with updated stimulus data.

This command recalculates the stimulus data and fills the stimuli memory. After changing Stimulus definition parameters like MT, SS, SC, AN, AX, DN, DX, etc, the stimulus should be recalculated and stored in stimulus memory. Note that the module on which the stimulus memory is situated must be selected first with the C command. For a D/A measurement type, the stimulus memory is situated in the DIO. For a A/D measurement type, the stimulus memory is situated on a ATX7002 signal dac.

back to index

SL | Settle loops


SLn Set the number of settle loops, n=0..255.
SL? return the current number of measurement loops.

During a settle loop, the stimulus data is output to the DUT. While the capture memory does not store the converter results. The number of stimuli steps within one loop is defined by the Stimulus Steps (SS) command. A maximum of 255 settle loops can be programmed, to let filters on the testboard settle. The loops can only be stopped by sending an ESC-C. This setting should only be used for debugging the test setup.

Using the MFDIO in high speed mode the number of settle loop can be up to 4095.

Example:  
SL5 Repeat the stimulus signal 5 times before the actual measurement.
SL? returns "5"

back to index

SS | Stimuli steps


SSn Define the used stimulus data size (n=2.. 524288).
SS? Return the current number of used Stimuli Steps.

This command sets the number of Stimuli Steps. For defining an analog ramp the following formula should be used to calculate the number of stimulus steps needed:

ss

For a digital ramp, the number of stimuli steps can be calculated as follows: SS = Startvalue - Stopvalue +1.

When defining a sine wave, it is best to choose a prime number of stimulus steps. The number of stimulus steps, the number of sine-periods within one stimulus loop and the cycle determine the Sine frequency:

ss

After defining a new number of stimulus steps, the stimulus memory should be updated with the command SF.

Example:  
SS1023 Set the number of stimuli steps to 1023.

back to index

SW | number of Sweeps


SWn Set the number of sweeps for the statistical test (1..1024).
SW? Return the current number of sweeps.

Because the capture memory size is limited, the number of times a ramp is applied to the device under test (set by the command Measurement loops, ML) and captured by the capture memory would be limited. To prevent these problems for the statistical tests, the Sweeps command overrules the measurement loops command. It calculates the contents of the stimulus memory, using the ramp-setting commands and puts one, or even more ramps in the stimulus memory. The number of measurment loops is calculated so, that the number of data fits in the capturememory. When running the measurement, the measurment loops are repeated until the defined number of sweeps is applied to the device under test. Everytime the memory loops are repeated, an intermediate statistic calculation is done on the captured data.

Example:  
SW300 The total number of ramps applied to the device is 300.
SW? Returns "300".

back to index

TC | Cycle time


TCn Set DAC or ADC cycle time (us).
TC? Return the current cycle time.

This command specifies the effective sample time. It should be entered separately because the sample time is depending of lots of parameters, like the frequency of the pattern-bit clock, which can be a clock applied by the user, the frequency of a user applied sample clock, the length of the pattern data block etc.

back to index

TO | timeout


TOn Set the Handshake timeout (us).
TO? Return the current timeout value.

The timeout time is a parameter that is used when the ATX7002 is used in handshake mode (IM 0..3, 20..21). It defines the maximal waiting time that the ATX7002 waits for HSI. For more detailed information on handshaking please refer to the command description of IM and HM. The time can be set from 0us to 2000000us (2 sec.)

Related commands: TS, HM, IM

back to index

TRG | trigger mode


TRGn[,m] Configure the trigger.
TRG? Return the current trigger setting.
n mode
0 positive level
1 negative level
2 positive level
3 negative level

For the 24 bit and 18 ADC the trigger source can be selected with the second parameter:

24 bit ADC

m source
0 high
1 HSO
2 HSI
3 extern

18 bit ADC

m source
0 backplane capt. mode bit
1 high (always triggered)
2 extern

14 bit ADC

m source
0 backplane capt. mode bit
1 extern
2 High (always triggered)

back to index

TS | timeout


TSn Set the settling time for DAC output or ADC input
TS? Return the current settling time.

The settling time is a parameter that is used when the ATX7002 is used in handshake mode (IM 0..3,20..21). It defines the time between a DAC output voltage update or dio output code change and the activation of HSO.

Related commands: TO, HM, IM

back to index

TST | Perform selftest


TSTn Perform a module self test
TST1 Led test. Module led will blink 5 times
TST2 Module memory test. If a module has capture of stimuli memory, this memory will be tested. The DIO has also pattern memory, which will be tested. DIO capture/stimuli memory and DIO pattern memory can also be tested separately. TST2,1 tests only the capture/stimuli memory. TST2,2 will only test the pattern memory.
TST3 Power supply test. Returns the measured module voltages of the +5V, +15V and -15V. This test is not available for a DIO module.
TST4 Module voltage test. Returns the measured output voltage of a DAC, RefDAC or PowerDAC. Expected voltage (programmed) is 2.5V.
TST5 DIO I/O test. The I/O data lines of the dio are checked.

back to index

WAIT | Wait


WAITn Wait n microseconds (0.. 858,993,458)

This command waits n microseconds before proceeding to the next command. It may be used for additional -user board- settling time after switching on a power dac, or to pause after other events that require a settling time.

Example:  
WAIT100 Wait 100 microseconds.

back to index

ESC-C | Abort current action


This command may be issued at any time and returns the ATX7002 to the command mode. The settings are not changed. ESC-C stands for ASCII code 27 (decimal or 1B hex) and code 99 (decimal or 63 hex or character c).

back to index