Home
Triggering the Digitizers
Contents
1. Date Report No Test Facility Tested By Address Phone City and State FAX ZIP e mail Test Conditions Model Ambient Temperature oC Serial Number Relative Humidity Firmware Revision Line Frequency Hz nominal Notes Test Equipment Used Model No Trace No Cal Due Date Appendix D Digitizers Verification Tests 159 O VT1563A 2 Channel Digitizer PERFORMANCE TEST RECORD Date O VT1564A 4 Channel Digitizer CHANNEL 01 02 03 04 Test Digitizer Low Measured High Meas Test Input Range Limit Reading Limit Uncert Accuracy Ratio Zero Offset Test 0 62 mV 0 000020 0 000020 N A N A 0 250 mV 0 000078 0 000078 N A N A 0 1V 0 000300 0 000300 N A N A 0 4V 0 001200 0 001200 N A N A 0 16 V 0 021000 0 021000 N A N A 0 64 V 0 028000 0 028000 N A N A 0 256 V 0 079000 0 079000 N A N A Noise Test 0 62 mV 0 57 uV max N A N A 0 250 mV 0 180 uV max N A N A 0 1V 0 720 uV max N A N A 0 4V 0 2 88 mV max N A N A 0 16 V 0 14 7 mV N A N A 0 64 V 0 48 mV N A N A 0 256 V 0 189 mV N A N A Gain Test 55 mV 62 mV 54 9613 mV 55 0387 mV 0 0000011 gt 10 1 55 mV 62 mV 55 0387 mV 54 9613 mV 0 0000011 gt 10 1 240 mV 250 mV 239 84 mV 240 16 mV 0 0000022 gt 10 1 240 mV 250 mV 240 16 mV 239 84 mV 0 0000022
2. Offset DAC Test self test numbers 59 62 VT1564A 4 Channel Digitizer BCD weight Failure mode 4 DAC measurement is noisy 2 4 Measured data span is too small Lower end point to upper end point span is too small 8 Lower end point to upper end point span is too large 16 Offset DAC span does not include O 32 Bit weight is out of limits the offending bit is in B15 B8 Gain DAC Test self test numbers 63 66 VT1564A 4 Channel Digitizer BCD weight Failure mode 4 DAC measurement is noisy 2 Measured data span is too small 4 Lower end point to upper end point span is too small 8 Lower end point to upper end point span is too large 16 32 64 Gain DAC span does not include 0 Bit weight is out of limits the offending bit is in B15 B8 Gain DAC nominal setting is out of limits 102 Digitizers Command Reference Chapter 3 TEST TST RESults Chapter 3 Uncalibrated Gain Test self test numbers 67 94 VT1564A Digitizer BCD weight Failure mode 1 The max to min span is 0 0 2 Gain span is too large 4 Gain mean is too low 8 Gain mean is too high 16 Gain standard deviation is too large 32 Gain is out of limits TEST TST RESults returns an array of integers that result from the self test command TST A response of 0 indicates there is no error Use TEST ERR lt
3. QUEStionable Status The QUEStionable Status register indicates failures as described in the Register following table Limit failures occur at the sample rate so the condition register bits change rapidly and cannot be read until the measurement completes You should read the EVENt register which latches the CONDition register once a measurement cycle to see if a limit failure occurred You will then need to determine which reading failed by printing the reading number and the measurement value Bit Description 0 VOLTage overload 8 CALibration failure 9 Channel 1 limit failure 10 Channel 2 limit failure 11 Channel 3 limit failure 12 Channel 4 limit failure Chapter 3 Digitizers Command Reference 93 94 Digitizers Command Reference Chapter 3 OPERation Status Register Status Byte Register NOTE Standard Event Status Register The OPERation Status register indicates operational status as follows Bit Description 0 CAL STATe ON calibration in progress 5 waiting for trigger 8 pretrigger count is met 9 measurement complete The OPR Operational Status bit RQS Request for Service bit ESB Standard Event Status Summary bit MAV Message Available Summary bit and QUE QUEStionable Status Summary bit in the Status Byte Register bits 7 6 5 4 and 3 respectively can be queried with STB but will be executed when previous commands are f
4. base 0844 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Read LSB base 0Ay6 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Read LSB Interrupt Control the interrupt level and the interrupt source are controlled by the interrupt Register control register There are several sources of interrupt A logical OR is performed on the enabled sources to determine if an IRQ should be pulled This allows a user to set an interrupt if any channel exceeds a predetermined level or if data is available Bits 0 1 and 2 control the interrupt level 1 7 Level O 000 is not a valid setting The enable bit bit 3 allows an IRQ to occur when it is set high Allinterrupt sources are edge sensitive If a masked latched interrupt source is high during the interrupt acknowledge IACK cycle the latch of the source is cleared and will not be set until another edge from the source occurs base 0C4g 15 14 13 12 11 10 9 8 ANS El acs 3 2 1 0 Write Enable L2 L1 LO Read TRIG DONE PRE OVER CH4 CH3 CH2 CH1 undefined Enable Interrupt Level WRITE BITS Interrupt Control Register bits 0 2 LO 2 Specifies the interrupt level 1 7 001 1 111 7 bit 3 Enable Enable the interrupt 1 interrupt enabled 0 interrupt disabled READ BITS Interrupt Conirol Register bit 15
5. 16 Configuring the Digitizer Modules Chapter 1 Warnings and Cautions Chapter 1 WARNING WARNING WARNING WARNING DANGEROUS VOLTAGES The VT1563A and VT1564A Digitizers are capable of measuring voltages up to 256 V maximum Voltage levels above the levels specified for accessible connectors or cable ends could cause bodily injury or death to an operator Special precautions must be adhered to discussed below when applying voltages in excess of 60 Vpc 30 Vac rms or 42 4 Vac peak for a continuous complex waveform MODULE CONNECTORS MUST NOT BE OPERATOR ACCESSABLE Module connectors and test signal cables connected to them must be made NON accessible to an operator who has not been told to access them It is a supervisor s responsibility to advise an operator that dangerous voltages exist when the operator is instructed to access connectors and cables carrying these voltages Making cables and connectors that carry hazardous voltages inaccessible is a protective measure keeping an operator from inadvertent or unknowing contact with these harmful voltages Cables and connectors are considered inaccessible if a tool e g screwdriver wrench socket etc or a key equipment in a locked cabinet is required to gain access to them Additionally the operator cannot have access to a conductive surface connected to any cable conductor High Low or Guard ADEQUATE INSULATION IS REQUIRED Assure the equipment unde
6. mmm Differential Source A Sg 500 e 25 kHz From Switching Supply O 100 pF Injected Add 100 pF capacitor if low level 25 kHz noise from injected current gt is present Figure 1 12 Example Two Wire Connections Differential Source Cable Connector This section gives guidelines to connect user supplied cables to the cable connector supplied with the VT1563A and VT1564A Digitizers See Assembly Terminal Port Connector Cables for recommended user supplied cables Step 1 Strip cable as shown and feed the end of the cable through the boot cable clamp housing and coupling ring in the order and position shown The coupling ring can also be inserted onto the cable connector from the front Step 2 Orient the HI LO and Guard conductors with the corresponding pins Chapter 1 Configuring the Digitizer Modules 27 Step 3 Solder conductors to pins CAUTION AVOID EXCESSIVE HEAT Excessive heat on the connector terminals can cause damage to the connector Step 4 Assemble the connector A Align coupling ring s tabs with cable connector s side notches and push the coupling ring onto the cable connector B Push the cable clamp housing forward until it locks into the connector body and snap the two clamps into their compartments to secure the cable C Push the boot all the way forward to seat tightly onto the cable clamp housing 28 Configuring the Digitizer Modules Chapter 1 ee Cable
7. 20 Trigger Interrupt Level Channel 1 Register base 2816 21 Trigger Interrupt Level Channel 2 Register base 2A g 22 Trigger Interrupt Level Channel 3 Register base 2C g 23 Trigger Interrupt Level Channel 4 Register base 2E g 24 Sample Period High Word Register base 30 g 25 Sample Period Low Word Register base 3216 26 Pre Trigger Count High Register base 34 27 Pre Trigger Count Low Register base 3646 28 Post Trigger Count High Register base 3846 29 Post Trigger Count Low Register base 3Aj 30 Trigger Control Source Register base 3C 31 Sample Control Source Register base 3E g Executable when initiated NO Coupled Command NO Reset RST Condition None Chapter 3 Digitizers Command Reference 69 DIAGnostic SHORt DIAGnostic SHORt lt channel gt ON 1 OFF 0 connects an internal short across the input of the specified channel when the ON or 1 parameter is used The internal short is enabled by ON or 1 and disabled by OFF or 0 Comments Short Remains in Effect Until Disabled The short remains in effect until a reset or until it is disabled with DIAG SHORt lt channel gt OFF Executable when initiated NO Coupled Command NO Reset RST Condition Short OFF DIAGnostic SHORt DIAGnostic SHORt lt channeb queries the specified channel to determine if the internal short is connected This command returns 1 if the sh
8. 256 V Channel 1 level Chapter 2 Using the Digitizers 35 Table 2 1 Power on and Reset States Parameter Power on Reset State Parameter Power on Reset State OUTPut TTLTO 7 STATe OFF all TTLTrigger lines TRIGger LEVel2 256 V Channel 2 level ROSCillator SOURce INTernal TRIGger LEVel3 256 V Channel 3 level SWEep POINts 1 one sample TRIGger LEVel4 256 V Channel 4 level SWEep OFFSet POINts 0 no pretrigger samples TRIGger SOURce1 IMMediate source 1 not Ch 1 VOLT1 RANGe VOLT2 RANGe 256 V Channel 1 range 256 V Channel 2 range TRIGger SOURce2 TRIGger SLOPe1 HOLD source 2 not Ch 2 POSitive slope 1 not Ch 1 VOLT3 RANGe 256 V Channel 3 range TRIGger SLOPe2 POSitive slope 2 not Ch 2 Input Overload Condition 36 Using the Digitizers is shown in the following table Overload voltages may occur which will open the channel input relay disconnecting the input signal from the channel Overload voltage by range NOTE Range Voltage Input Condition Vmax 62 mV to 4 V High or Low to Guard gt 20 V 16 V to 256 V Low to Guard gt 40 V The overload is reported both when the readings are retrieved and when the next measurement is initiated If an overload occurred an error message is returned when data is retrieved informing you that the data is quest
9. Executable when initiated NO Coupled Command NO Reset RST Condition None 64 Digitizers Command Reference Chapter 3 DIAGnostic DAC SOURce Parameters Comments DIAGnostic DAC SOURce lt voltage gt outputs the specified voltage from the internal calibration source DAC onto the calibration pins CAL H and CAL L of the front panel Calibration Bus Output connector This command is a factory diagnostic routine Name Type Range of Values Default Value numeric 15 0 to 15 0 none voltage Input Relay Operation The channel s input relay remains open until it is closed by INPut STATe ON by a reset of the instrument Executable when initiated NO Coupled Command NO Reset RST Condition DAC output is set to 0 V DIAGnostic DAC SOURce RAMP Chapter 3 Parameters Comments DIAGnostic DAC SOURce RAMP lt count gt outputs a ramp of DAC values from 0 to 4095 with the DAC code changing about every 100 usec This command is a factory diagnostic routine Name Type Default Value Range of Values count numeric 1 through 255 none Using the lt count gt Parameter The lt count gt parameter specifies how many ramps to output The timing is such that about 2 3257 full ramps are output each second A count of 139 will output ramps for just under 60 seconds The signal will be output onto the calibration pins CAL H and CAL L on the front panel Calibration Bus Output conne
10. Input short bit 15 RANGE DAC output ranges 0 15 V DAC output 1 0 5 V DAC output Cache Count The total number of samples taken by the digitizer is the cache count x 2 Register divided by the number of channels the sample count registers at offset 1816 and 1Ayg base 2246 15 14 13 12 11 10 9 8 7 6 5 4 3 1 0 Write 0 0 0 0 0 0 0 0 Cache count 132 Register Based Programming Appendix B Range Filter and Channel 1 2 Connect Register Each channel has an 8 bit byte that controls the input signal range filter cutoff and the relay that connects the channel to the front panel connector The fastest way to change range filter or the connect relay is to write a 32 bit word to the register After every write to this register the bus is held off 10 us until the range filter and relay information is sent to the isolated channel The settling time for the relays filters and the gain amplifier is about 20 ms This register controls channels 1 and 2 base 2444 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Write Conn1 CH 1 Filter Code shorti CH 1 Gain Code Conn2 CH 2 Filter Code short2 CH 2 Gain Code Read Conni CH 1 Filter Code short1 CH 1 Gain Code Conn2 CH 2 Filter Code short2 CH 2 Gain Code WRITE READ BITS Range Filter and Channel 1 2 Connect Register bits 0 2 Gain Thes
11. Visual C Version 1 51 settings to work properly Project Type QuickWin application EXE Project Files lt source code file name gt C drive VXIPNP WIN LIB MSC VISA LIB Microsoft compiler drive VXIPNP WIN LIB BC VISA LIB Borland compiler Memory Model Options Project Compiler Memory Model gt Large Directory Paths Options Directories Include File Paths drive VXIPNP WIN INCLUDE Library File Paths drive VXIPNP WIN LIB MSC Microsoft drive VXI PNP WIN LIB BC Borland Example programs On the VX plug amp play Drivers and User s Manuals CD You can find instructions to compile C language programs for a PC in the Agilent VISA User s Guide See the section Compiling and Linking a VISA Program PC running Windows with an 82341 GPIB interface The VXI modules are installed in a VXI C Size mainframe An Agilent HP E1406A Command Module is the resource manager and is connected to the PC via an 82341 GPIB card Chapter 2 Making Digitizer Measurements Example Sampling Using Immediate Triggering Example Triggering Using Internal Level Chapter 2 Trigger This section provides three examples that show ways to make digitizer measurements and to retrieve data The three programs are Example Sampling Using Immediate Triggering Example Triggering Using Internal Level Trigger Example Triggering Using External Triggering This example uses an IMM
12. set reset bit to 0 if err lt VI_ SUCCESS err_handler digitizer err return Wait Function RR A K A K AK AK K K K RK K K A A A K A OK K K K e AK K K K K K K K KK OK OOK KK void wait int wait_seconds wait for specified period in seconds time_t current_time time_t entry_time fflush stdout if 1 time amp entry_time printf Call failed exiting n exit 1 do if 1 time amp current_time printf Call failed exiting n exit 1 while current_time entry_time lt time_t wait_seconds fflush stdout L end of wait function 144 Register Based Programming Appendix B Appendix C Digitizers Error Messages This appendix describe the types of errors the VT1563A and VT1564A report Execution Errors Self Test Errors and Calibration Errors Execution Errors Number Title Description 101 Invalid character An invalid character was found in the command string You may have inserted a character such as or in the command header or within a parameter Example NP FILT FREQ 6E3 102 Syntax error Invalid syntax was found in the command string You may have inserted a blank space before or after a colon in the command header or before a comma Example SAMP COUN 1 103 Invalid separator An invalid separator was found in the command string You may have used a comma instead of a colon semicolon or blank
13. 131 CVTable Channel 4 register 131 description 13 Device Type register 126 VT1563A front panel features 15 VT1563A gain adjustment 166 VT1564A front panel features 16 VT1564A gain adjustment 167 error messages 145 external trigger input port 24 external triggering 38 FIFO High Word Low Word registers 128 Filter Bandwidth verification test 157 front panel features 14 Gain Verification performance test 156 ID register 126 initial operation 30 input cabling 2 wire 24 input cabling 3 wire 24 input model 25 input overload 36 installing in mainframe 22 internal triggering 37 Interrupt Control register 129 Interrupt Source register 130 170 Index digitizers cont d master slave operation 38 measurement uncertainty 158 memory sizes 13 Noise Verification perfomance test 155 Offset and Cache Count register 128 operation 33 overload voltages 14 performance test conditions 152 Performance Test Record 158 power on state 35 Pre Trigger Count High Word register 136 Pre Trigger Count Low Word register 137 Range Filter Connect Channel 3 4 register 133 READ registers 125 recommended test equipment 151 register descriptions 124 register offset 123 register based programming 121 reset state 35 Sample Control register 138 Sample Count High Byte register 137 Sample Count Low Word register 137 Sample Period High Byte register 136 Sample Period Low Word register 136 Samples
14. 2 128M 4 or 128M 8 MAX Comments Readings Returned The readings are returned in an array in an interleaved configuration That is the array contains the first reading from Channel 1 Channel 2 etc This is followed by the second reading from Channel 1 Channel 2 etc NOTE This command can read the data from a measurement only once It is a destructive read and the data cannot be retrieved a second time Number of Readings Returned The number of readings this command will return for each channel is determined by the number of samples set by SAMPle COUNt The total number of readings returned is the number of samples times the number of channels If a measurement is aborted with ABORt there may be less readings available than indicated by samples x channels For ABORted measurements use DATA COUNt to determine how many readings are available Overloads and Deadlocks A full scale reading may actually be an overload A deadlock can occur when trigger events are set to BUS or HOLD because a software trigger could not break in after this command is sent PACKed Format Data Data are returned as raw data 16 bit integers when the data format is set to PACKed see the FORMat DATA PACKed command To convert the raw readings to voltages use voltage reading range 32768 or voltage reading resolution use SENSe VOLTage DC RESolution to obtain the resolution value REAL Format Data Data are returned as real numbers
15. 46 Channel 4 64 V range filter OFF offset noise test 47 Channel 1 64 V range filter ON offset noise test 48 Channel 2 64 V range filter ON offset noise test 49 Channel 3 64 V range filter ON offset noise test 50 Channel 4 64 V range filter ON offset noise test 51 Channel 1 256 V range filter OFF offset noise test 52 Channel 2 256 V range filter OFF offset noise test 53 Channel 3 256 V range filter OFF offset noise test 54 Channel 4 256 V range filter OFF offset noise test 55 Channel 1 256 V range filter ON offset noise test 56 Channel 2 256 V range filter ON offset noise test 57 Channel 3 256 V range filter ON offset noise test 58 Channel 4 256 V range filter ON offset noise test 59 Channel 1 Offset DAC test 60 Channel 2 Offset DAC test 61 Channel 3 Offset DAC test 62 Channel 4 Offset DAC test 63 Channel 1 Gain DAC test 64 Channel 2 Gain DAC test 100 Digitizers Command Reference Chapter 3 test_number Description 65 Channel 3 Gain DAC test 66 Channel 4 Gain DAC test 67 Channel 1 62 mV uncalibrated gain 68 Channel 2 62 mV uncalibrated gain 69 Channel 3 62 mV uncalibrated gain 70 Channel 4 62 mV uncalibrated gain 71 Channel 1 0 25 V uncalibrated gain 72 Channel 2 0 25 V uncalibrated gain EN Channel 3 0 25 V uncalibrated gain 74 Channel 4 0 25 V uncalibrated gain 75 Channel 1 1 V uncalib
16. 64 V 28 mV 256 V 79 mV 4 Repeat steps 2 and 3 for Channel 2 on the VT1563A 2 Channel Digitizer and for channels 2 through 4 on the VT1564A 4 Channel Digitizer changing the channel number in DIAG SHORt lt channel gt ON 154 Digitizers Verification Tests Appendix D Noise Verification Appendix D This procedure is used to check the noise performance of the VT1563A or Test VT1564A Digitizer The digitizer s internal short is applied to the H HI and L LO input terminals of the channel being tested using the DIAG SHORt lt channeb amp ON command 1 2 Check the Test Conditions section at the beginning of this appendix Execute DIAG SHOR1 ON to enable the internal short across the H and L terminals of Channel 1 Set a sample interval of 25 psec by executing SAMP TIM 25e 6 Select the first range 62 mV shown in Table D 3 Table D 3 Noise Verification Test Points INPUT VT1563A Error from zero VT1564A Range 62 mV 57 uV 0 25 V 180 uV internal 1V 720 uV H L short 4V 2 88 mV DIAG SHORt command 16V 14 7 mV 64 V 48 mV 256 V 189 mV Make 100 readings sum them divide by 100 and obtain the mean reading Calculate the standard deviation using the following formula this is the rms noise value reading represents the 100 readings where n 1 to 100 Gs E j 100 mean 99 Record the rms noise value on the Performance Test Record and comp
17. CALCulate LIMit UPPer DATA CALCulate lt channeb LIMit UPPer DATA MIN MAX queries the upper limit value set for the specified channel CALCulate LIMit UPPer STATe CALCulate lt channeb LIMit UPPer STATe OFF 0 ON 1 enables the upper limit checking for the specified channel Use LIMit UPPer DATA lt value gt to set the actual limit value to be tested against Executable when initiated YES Coupled command YES Setting the upper state ON will cause LIMit LOWer STATe to be set OFF if it is ON 52 Digitizers Command Reference Chapter 3 Upper Limit Enable Error An error will be generated if you have TRIG SOURce set to INT1 4 and the internal input is the same as the channel you are attempting to enable the upper limit testing For example assume TRIG SOUR INT2 is set The trigger level from Channel 2 is the trigger event that is the internal trigger input CALC LIMit UPPer STATe ON is attempting to use this signal for limit testing and creates a settings conflict Either the trigger level can be used as an internal trigger or the level can be used in limit testing but not both Reset RST Condition OFF CALCulate LIMit UPPer STATe Chapier 3 CALCulate lt channel gt LIMit UPPer STATe queries the upper limit checking state to see if it is enabled or disabled for the specified channel This command returns the voltage level measured and the detection mode A returned value of 0 indicates
18. CLS 110 ESE 110 ESE 110 ESR 111 IDN 111 OPC 111 OPC 112 RST 112 SRE 113 STB 113 TST 114 WAI 114 format 45 quick reference 109 configuring the digitizers 19 CVTable registers CVTable Channel 1 register 130 CVTable Channel 2 register 130 CVTable Channel 3 register 131 CVTable Channel 4 register 131 D declaration of conformity 11 description digitizers 13 Device Type register 126 DIAGnostic subsystem DIAGnostic DAC GAIN 63 65 DIAGnostic DAC OFFSet 64 DIAGnostic DAC OFFSet RAMP 64 DIAGnostic DAC SOURce 65 DIAGnostic DAC SOURce RAMP 65 DIAGnostic INTerrupt LINE 66 DIAGnostic INTerrupt LINE 66 DIAGnostic MEMory SIZE 66 DIAGnostic MEMory SIZE 67 DIAGnostic PEEK 67 DIAGnostic POKE 69 DIAGnostic SHORt 70 DIAGnostic SHORt 70 DIAGnostic STATus 70 Index 169 D continued digitizers accuracy 158 adding RAM 19 addressing registers 121 adjustment procedures 164 adjustments 163 application examples 42 base address 122 block diagram 33 cable connector assembly 27 cabling considerations 23 calibration 163 calibration bus output port 24 Calibration Flash ROM Address register 131 Calibration Flash ROM Data register 132 calibration intervals 163 Calibration Source register 132 channel block diagram 34 command types 45 configuring 19 CVTable Channel 1 register 130 CVTable Channel 2 register 130 CVTable Channel 3 register
19. D2 Di DO 0 0 0 0 0 0 0 GL Read MSB D7 D6 D5 D4 D3 D2 Di DO 0 0 0 0 0 0 0 GL WRITE READ BITS Trigger Interrupt Level Channel 1 Register bit 0 GL Greater than or Less than 0 gt 1 lt bits 15 8 D7 DO data bits 134 Register Based Programming Appendix B Trigger Interrupt Level Channel 2 This register provides 8 bit data corrected for offset and gain in 2 s complement format Register base 2A46 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Write MSB D7 D6 D5 D4 D3 D2 Di DO 0 0 0 0 0 0 0 GL Read MSB D7 D6 D5 D4 D3 D2 D1 DO O 0 0 0 0 0 0 GL WRITE READ BITS Trigger Interrupt Level Channel 2 Register bit O GL Greater than or Less than 0 gt 1 lt bits 15 8 D7 DO data bits Trigger Interru pt This register provides 8 bit data corrected for offset and gain in 2 s Level Channel 3 complement format Register base 2C46 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Write MSB D7 D6 D5 D4 D3 D2 Di DO 0 0 0 0 0 0 0 GL Read MSB D7 D6 D5 D4 D3 D2 D1 DO 0 0 0 0 0 0 0 GL WRITE READ BITS Trigger Interrupt Level Channel 3 Register bit 0 GL Greater than or Less than 0 gt 1 lt bits 15 8 D7 DO data bits Appendix B Register
20. be lost The VXIplug amp play Driver s and User s Manual CD received with the VT1563A or VT1564A contains calibration and performance verification program source code written in ANSI C Calibration programs are E1563CAL C and E1564CAL C Performance verification programs are E1563VER C and E1564 VER C This procedure sets the zero calibration constants for each digitizer range The digitizer calculates a new offset correction constant for the current range when the CALibration ZERO lt channel gt command is executed The zero adjustment procedure takes about 20 seconds per channel to calculate new zero offset cal constants for all ranges of the channel The digitizer calculates a new set of offset correction constants for all ranges of a channel when the CALibration ZERO lt channel gt ALL command is executed The digitizer will sequence through all ranges automatically and calculate new zero offset calibration constants automatically DO NOT REMOVE POWER Do not remove power from the mainframe during the digitizer s Zero Adjustment You may lose ALL calibration memory if power is removed while the digitizer is adjusting 1 Reset the Digitizer by executing RST 2 Switch the internal short across each channel e input by executing DIAG SHORt lt channel gt for all channels For example DIAG SHOR1 DIAG SHOR2 etc 3 Send CAL VAL 0 lt nput gt CALibration lt value gt 4 Perform the adjustment by sending CAL ZE
21. gt 10 1 0 95 V 1V 0 949377 V 0 950623 V 0 0000069 gt 10 1 O0 95V 1V 0 950623 V 0 949377 V 0 0000069 gt 10 1 3 8V 4V 3 79751 V 3 80249 V 0 000023 gt 10 1 3 8V 4V 3 80249 V 3 79751 V 0 000023 gt 10 1 160 Digitizers Verification Tests Appendix D Test Digitizer Low Measured High Meas Test Input Range Limit Reading Limit Uncert Accuracy Ratio Gain Test continued 15V 16V 14 9739 V 15 0261 V 0 000083 gt 10 1 15 V 16 V 15 0261 V 14 9739 V 0 000083 gt 10 1 60 V 64 V 59 9516 V 60 0484 V 0 00046 gt 10 1 60 V 64 V 60 0484 V 59 9516 V 0 00046 gt 10 1 100 V 256 V 99 887 V 100 113 V 0 0007 gt 10 1 100 V 256 V 100 113 V 99 887 V 0 0007 gt 10 1 VT1563A 25 kHz Filter Bandwidth Test 1V 1V 5 dB 1 dB N A N A 1 MHz no filter 1V 1V 5 dB 1 dB N A N A 25 kHz 25 kHz filter VT1564A Filter Bandwidth Test 4 filters 1V 1V 5 dB 1 dB N A N A 1 MHz no filter 1V 1V 5 dB 1 dB N A N A 1 5 kHz 1 5 kHz filter 1V 1V 5 dB 1 dB N A N A 6 kHz 6 kHz filter 1V 1V 5 dB 1 dB N A N A 25 kHz 25 kHz filter 1V 1V 5 dB 1 dB N A N A 100 kHz 100 kHz filter Appendix D Digitizers Verification Tests 161 Notes 162 Digitizers Verification Tests Appendix D Appendix E Digitizers Adjustments Introduction NOTE Closed Cover Electronic Calibration Calibration Intervals Appendix E NOTE This appendix contains procedur
22. lt n gt can have the value 0 through 7 TTLTO TTLT7 Comments Resource Conflicts Resource conflicts will occur if either the trigger or sample source is already using a TTL line you attempt to enable as an OUTPut line The OUTPut TTLT line will not be enabled and a Settings Conflict error will occur Settings Conflict Error Setting the trigger or sample source to a TTL trigger line that has its output state ON will result in a settings conflict error and the output state will be changed to OFF The specified trigger line will be assigned to the sample or trigger source Master Slave Settings TRIG MODE MASTer lt n gt SLAVe lt n gt will disable all other OUTPut TTLT lt n gt STATe settings The only outputs that will occur are those defined in the MASTer SLAVe relationship Executable when initiated NO Coupled Command YES Reset RST Condition All lines set to OFF OUTPut TTLT lt n gt STATe OUTPut TTLT lt n gt STATe queries the specified TTL Trigger line TTLTO TTLT7 to determine if it is enabled 1 or disabled 0 78 Digitizers Command Reference Chapter 3 SAMPle Subsystem Syntax SAMPle COUNt The SAMPle command subsystem sets the number of samples to be taken for each trigger It also sets the number of samples to be taken prior to the trigger and the source of the sample signal and its slope When the sample source is TIMer you can set the sample interval SAMPle COUNt lt count gt MI
23. 3446 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Write undefined C5 C4 C3 C2 C1 CO Read 0 0 0 0 0 0 0 0 0 0 C5 C4 C3 C2 C1 CO 136 Register Based Programming Appendix B Pre Trigger Count this register holds the low word 2 bytes for the pre trigger count i Low Word Register base 3646 15 14 13 12 11 10 7 6 5 4 3 2 1 0 Write C15 C14 C13 C12 C11 C10 C9 C8 C7 C6 C5 C4 C3 C2 C1 CO Read C15 C14 C13 C12 C11 C10 C9 C8 C7 C6 C5 C4 C3 C2 C1 CO Sample Count High Byte Register Sample count is the total number of readings to be taken including the pre trigger readings The minimum value is 1 Zero 0 causes continuous readings and will not stop the acquisition until all of memory is full The module will not stop acquiring data if the host can remove readings fast enough The maximum number of readings is the size of memory in bytes divided by 8 for the VT1563A and divided by 4 for the VT1564A base 3844 15 14 13 12 11 10 7 6 5 4 3 2 1 0 Write undefined C5 C4 C3 C2 C1 CO Read 0 0 0 0 0 0 0 0 C5 C4 C3 C2 C1 CO Sample Count Low Word Register and the pre trigger count Register containing the low word 2 bytes for the sample count This register and the high byte in register 3846 hold a v
24. 9V to calibrate the 1 V range instead of 0 95 send CAL VAL 0 9 to the digitizer prior to the CAL GAIN lt channel gt command 168 Digitizers Adjustments Appendix E A A24 Offset register 128 abbreviated commands 46 ABORt subsystem 48 accuracy digitizers 158 addressing registers 121 adjustment procedures 164 adjustments digitizers 163 base address 122 C cabling considerations 23 CALCulate subsystem CALCulate LIMit FAIL 49 CALCulate LIMit LOWer DATA 50 CALCulate LIMit LOWer DATA 50 CALCulate LIMit LOWer STATe 51 CALCulate LIMit LOWer STATe 51 CALCulate LIMit UPPer DATA 51 CALCulate LIMit UPPer DATA 52 CALCulate LIMit UPPer STATe 52 CALCulate LIMit UPPer STATe 53 calibration 163 calibration errors 149 Calibration Flash ROM Address register 131 Calibration Flash ROM Data register 132 calibration intervals 163 Calibration Source register 132 CALibration subsystem CALibration DAC VOLTage 54 CALibration DAC VOLTage 55 CALibration DATA 55 CALibration GAIN 55 CALibration SOURce 57 CALibration SOURce 58 CALibration STATe 58 CALibration STATe 58 CALibration STORe 59 CALibration VALue 59 CALibration VALue 60 CALibration ZERO 60 CALibration ZERO ALL 61 Cache Count register 128 cautions 17 Index VT1563A VT1564A Digitizers User s Manual channel block diagram 34 commands abbreviated 46 implied 46 separators 46 types 45 common commands
25. Connect a voltmeter to the Calibration Bus Output on the front panel D connector see Figure E 1 Set the voltmeter to the DCV function et Figure E 1 VT1564A Gain Adjustment Voltmeter Connections Appendix E Digitizers Adjustments 167 3 Prepare the VT1564A for calibration Set the channel s range VOLT lt channel gt RANG lt range gt Set the calibration source to internal CAL SOUR INT Set the CAL DAC output voltage CAL DAC VOLT lt voltage gt see Table E 2 for lt range gt settings and CAL DAC lt voltage gt setting 4 Note the voltmeter reading from the calibration bus output 5 Send the value measured from the calibration bus output as the parameter for the calibration value CAL VAL lt voltage gt 6 Perform the adjustment by sending CAL GAIN lt channel gt adjusts each channel in about 5 seconds 7 Send SYST ERR and read the result to verify the calibration command was successtul 8 Repeat Steps 3 through 7 for ranges and inputs in Table E 2 9 Repeat steps 3 through 8 for channels 2 3 and 4 Table 3 1 Gain Adjustment Range Input Voltages Channel Range CAL DAC Voltage 62 mV 55 mV 0 25 V 0 24 V 1V 0 95 V 4V 3 8V 16V 15V NOTE Valid calibration input values sent to the digitizer are 0 85 to 0 98 of Full Scale for the range being adjusted The CAL VAL lt input voltage gt parameter must equal the actual input value For example if you input 0
26. Coupling Cable Clamp Connector Ring Housing Step 5 Mate the cable connector to the User Input Terminal Port 1 Hold the cable connector by the rubber boot and align the notched key slot with the key on the left side of the instrument s front panel connector Insert the cable connector just enough to encounter insertion resistance and stay in place 2 Grasp the coupling ring and slowly rotate it clockwise while you gently push the connector toward the panel mount until the notches on the coupling ring drop into the front panel connector detents 3 Continue rotating until you feel the coupling ring ride over the locking bump which secures the connector to the instrument s front panel connector Chapter 1 Configuring the Digitizer Modules 29 Initial Operation NOTE NOTE To program the VT1563A or VT1564A Digitizer using Standard Commands for Programmable Instruments SCPI you must select the interface address and SCPI commands to be used Information about using SCPI commands is presented in Chapter 3 Programming a digitizer using SCPI requires that you select the controller language C C BASIC Visual Basic etc interface address and SCPI commands to be used This discussion applies only to Standard Commands for Programmable Instruments SCPI programming The example program listed is written using Virtual Instrument Software Architecture VISA function calls VISA allows you to execute on VXIplug
27. DigitiZerS oooooooomooo 19 User Cabling Connections 0000 cee eee 23 e Initial Operation sedi EE 30 Digitizers Description The VT1563A 2 channel and VT1564A 4 channel Digitizers are 800 kSamples s 14 bit resolution digitizers capable of handling both continuous and transient voltages up to 256 V You cannot upgrade a VT1563A 2 Channel Digitizer to a VT1564A 4 Channel Digitizer General Information Both the VT1563A and VT1564A digitizers are register based instruments that can be programmed at the register level see Appendix C or ata higher level using SCPI or VXIplug amp play drivers The digitizers are ideal for measurements in electomechanical design characterization particularily in environments with high levels of electrical noise and for characterizing electronic and mechanical transient waveforms The VT1563A 2 Channel Digitizer has a fixed 25 kHz input filter per channel that can be enabled The VT1564A 4 Channel Digitizer has four selectable input filters per channel 1 5 kHz 6 kHz 25 kHz and 100 kHz that can be enabled The VT1564A 4 Channel Digitizer has a calibration bus output High Low and Guard and a programmable short The VT1563A 2 Channel Digitizer does not have a calibration bus output However a programmable short is provided for each channel An external calibration source must be provided for calibration Both digitizers use PC SIMM memory Memory sizes that are supported
28. Digitizer in a Mainframe 22 Configuring the Digitizer Modules Chapter 1 User Cabling Considerations Input Terminal Port Connector Cables Chapter 1 This section gives guidelines to select and configure user supplied cables for connection to the Input Terminals and to the External Trigger Input Calibration Bus Output Terminals VT1563A Digitizer The VT1563A Digitizer front panel includes two Switchcraft EN3 Mini Weathertight Connectors female CH 1 and CH 2 See Figure 1 1 Mating Switchcraft Cord Connectors male are supplied with the module However the user must provide the cable and assemble the connector to the cable end Recommended shielded twisted pair cable in the following table have an outside dimension compatible with the cord connector Wire gauge Belden cable P N Alpha cable P N 20 AWG 7x28 8762 None 22 AWG 7x30 9462 5481C 24 AWG 7x32 8641 5491C VT1564A Digitizer The VT1564A Digitizer front panel contains four Switchcraft EN3 Mini Weathertight Connectors female CH 1 through CH 4 See Figure 1 2 Mating Switchcraft Cord Connectors male are supplied with the module However the user must provide the cable and assemble the connector to the cable end Recommended shielded twisted pair cable in the following table have an outside dimension compatible with the cord connector Wire gauge Belden cable P N Alpha cable P N 20 AWG 7x28 876
29. Digitizers Verification Tests 151 Test Conditions at test procedures should comply with the following test conditions Ambient temperature of the test area is between 18 C and 28 C and stable to within 1 C Ambient relative humidity of the test area is lt 80 Must have a one hour warm up with all input signals removed before verification or adjustment Use only copper connections to minimize thermal offset voltages Use shielded twisted Teflon insulated cable or other high impedance low dielectric absorption cable for all measurements to reduce high resistance errors Keep cables as short as possible Long test leads can act as an antenna causing the pick up of ac signals and contributing to measurement error e Allow 5 minutes after handling input connections for thermal offset voltage settling Recording Your Make copies of the Performance Test Record at the end of this appendix Test Results for use in performance verifying each channel use one test record copy per channel The test record provides space to enter the results of each Performance Verification test and to compare the results with the upper and lower limits for the test The value in the Measurement Uncertainty column of the test record is derived from the specifications of the source used for the test and represents the expected accuracy of the source The value in the Test Accuracy Ratio TAR column of the test record is the ratio o
30. Format Data are returned as raw data 16 bit integers when the data format is set to PACKed see FORMat DATA PACKed To convert the raw readings to voltages use voltage reading range 32768 or use voltage reading resolution use SENSe VOLTage DC RESolution to obtain the resolution value REAL Data Format Data are returned as real numbers when the data format is set to REAL see FORMat DATA REAL The data is returned in voltage units and no scaling conversion is required as with the PACKed format Readings are in an interleaved configuration IEEE 488 2 Headers Both PACKed and REAL formats return data preceded by the IEEE 488 2 definite length arbitrary block header The header is lt num_digits gt lt num_bytes gt where e signifies a block transfer lt num_digits gt is a single digit 1 through 9 which specifies how many digits ASCII characters are in lt num_bytes gt e lt num_bytes gt is the number of data bytes which immediately follow the lt num_bytes gt field Executable when initiated YES Coupled command NO Reset RST condition none 86 Digitizers Command Reference Chapter 3 SENSe DATA ALL SENSe DATA ALL lt rdgs_per_channel gt returns voltage formatted data from each active channel Parameters Name Type Range of Values Default Value rdgs_per_ numeric 1 to 32M VT1563A none channel 1 to 16M VT1564A memory size in bytes nbr of channels
31. TRIG A trigger has been received after pre trigger acquisition is done bit 14 DONE Memory is full or post trigger acquisition is done bit 13 PRE Pre trigger data has been acquired bit 12 OVER A dangerous OVERvoltage caused the channel input relay to open bit 11 CH4 Channel 4 exceeded the set limit bit 10 CH3 Channel 3 exceeded the set limit bit 9 CH2 Channel 2 exceeded the set limit bit 8 CH1 Channel 1 exceeded the set limit Appendix B Register Based Programming 129 Interrupt Source Eight events can be enabled to interrupt the digitizer These events are listed Register in the above Interrupt Control Register definition for bits 8 through 15 The Interrupt Source Register contains the latched version bits 8 15 and the unlatched version bits 0 7 of these sources The value of a source is latched high when the source has a low to high transition The latched bits are cleared if they are masked as an interrupt source or by reading the register and writing back the contents Writing a 1 to the bit clears the latch The non latched state of the interrupts is available all the time The bit ordering of the latched bits and the unlatched bits is the same as the mask base OE g 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Read TRIG DONE PRE OVER CH4 CH3 CH2 CH1 TRIG DONE PRE OVER CH4 CH3 CH2 CH1 READ BITS Interrupt
32. Taken High Byte register 131 Samples Taken Low Word register 131 SCPI commands 45 setting interrupt line 21 setting logical address 21 specifications 119 Status Control register 126 Test Accuracy Ratio 158 trigger block diagram 35 Trigger Control register 137 trigger input port cables 24 trigger sources 37 Trigger Interrupt Level Channel 1 register 134 Trigger Interrupt Level Channel 2 register 135 Trigger Interrupt Level Channel 3 register 135 Trigger Interrupt Level Channel 4 register 136 triggering 37 verification tests 151 WRITE registers 124 Zero Adjustment procedures 165 Zero Offset verification test 154 digitizers application examples 42 documentation history 10 E VT1563A gain adjustment 166 VT1564A gain adjustment 167 error messages 145 calibration errors 149 execution errors 145 self test errors 149 examples Digitizer Self Test 153 Initial Operation 30 Master Module Configuration 39 Sampling Using Immediate Triggering 43 Slave Module Configuration 40 Three Wire Connections Bridge 25 Three Wire Connections Voltage Measure 26 Triggering Using External Triggering 44 Triggering Using Internal Level Trigger 43 Two Wire Connections Coaxial Cable 26 Two Wire Connections Differential Source 27 F FIFO High Word Low Word registers 128 Filter Bandwidth verification test 157 format common commands 45 FORMat subsystem FORMat DATA 72 FORMat DATA 72
33. WARRANTIES ARE EXCLUSIVE AND NO OTHER WARRANTY OR CONDITION WHETHER WRITTEN OR ORAL IS EXPRESSED OR IMPLIED AND VXI TECHNOLOGY SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OR CONDITIONS OF MERCHANTABILITY SATISFACTORY QUALITY AND FITNESS FOR A PARTICULAR PURPOSE 8 VXI Technology will be liable for damage to tangible property per incident up to the greater of 300 000 or the actual amount paid for the product that is the subject of the claim and for damages for bodily injury or death to the extent that all such damages are determined by a court of competent jurisdiction to have been directly caused by a defective VXI Technology product 9 TO THE EXTENT ALLOWED BY LOCAL LAW THE REMEDIES IN THIS WARRANTY STATEMENT ARE CUSTOMER S SOLE AND EXLUSIVE REMEDIES EXCEPT AS INDICATED ABOVE IN NO EVENT WILL VXI TECHNOLOGY OR ITS SUPPLIERS BE LIABLE FOR LOSS OF DATA OR FOR DIRECT SPECIAL INCIDENTAL CONSEQUENTIAL INCLUDING LOST PROFIT OR DATA OR OTHER DAMAGE WHETHER BASED IN CONTRACT TORT OR OTHERWISE FOR CONSUMER TRANSACTIONS IN AUSTRALIA AND NEW ZEALAND THE WARRANTY TERMS CONTAINED IN THIS STATEMENT EXCEPT TO THE EXTENT LAWFULLY PERMITTED DO NOT EXCLUDE RESTRICT OR MODIFY AND ARE IN ADDITION TO THE MANDATORY STATUTORY RIGHTS APPLICABLE TO THE SALE OF THIS PRODUCT TO YOU U S Government Restricted Rights The Software and Documentation have been developed entirely at private expense They are delivered and licensed as commercial com
34. a block diagram of the VT1564A 4 Channel Digitizer Diagram The VT1563A 2 Channel Digitizer has the same internal structure without Channels 3 and 4 TRIG LEVel lt channel gt signals drive the internal trigger inputs LEVel1 drives INT1 LEVel2 drives INT2 etc Figure 2 1 Digitizer Block Diagram Chapter 2 Using the Digitizers 33 Channel Block Figure 2 2 is a block diagram of an individual channel and the Diag ram interconnections between channels The sample signal goes to all channels The commands beneath the diagram show the SCPI commands used to program each section of a channel In this case all the commands are written for Channel 4 See Chapter 3 for a full description of the commands illustrated here RANGE SELECTION INPut4 STATe ON 1 OFF 0 VOLTage4 DC RANGe lt range gt FILTER SETTING INPut4 FILTer LPASs FREQ lt freq gt INPut4 FILTer LPASs STATe ON 1 OFF 0 QUERY LAST READING current value SENSe DATA CVTable 4 LIMIT and LEVEL COMPARISON CALCulate4 LIMit LOWer DATA lt value gt CALCulate4 LIMit LOWer STATe ON 1 OFF 0 or CALCulate4 LIMit UPPer DATA lt value gt CALCulate4 LIMit UPPer STATe ON 1 OFF 0 or TRIGger SOURce INTernal4 TRIGger LEVel4 lt voltage gt TRIGger SLOPe4 POS 1 NEG 0 Figure 2 2 Digitizer Channel Block Diagram 34 Using the Digitizers Chapter 2 Pre Trigger Post Trigger Block Diagram Figure 2 3 illustrates rel
35. a cloth slightly dampened with water Do not attempt to clean the interior of this module 18 Configuring the Digitizer Modules Chapter 1 Configuring the Digitizers Adding RAM to the Chapter 1 Module Selecting a RAM This section gives guidelines to configure the digitizers including Adding RAM to the Module Setting the Logical Address Switch Setting the Interrupt Line Installing the Digitizer in a Mainframe You can increase the size of RAM on your Digitizer module by purchasing PC SIMM memory and installing it on the module after you remove the standard 4 Mbyte SIMM shipped with your digitizer Both FPM Fast Page Mode and EDO Extended Data Out are supported Although most commercially available PC SIMM RAM will work with the Digitizer there are some that are physically too large and will make contact with the top shield when installed A standard 72 SIMM specifies the length L or keying but does not specify the depth D Certain depths are too large and not compatible The VT1563A VT1564A has about 17 6 mm of space from the bottom of the SIMM RAM inserted in the socket to the top module shield see Figure 1 3 You must verify that the SIMM RAM you purchase for replacement on the module has a depth D that will clear the top module shield You can use the 4 Mbyte SIMM RAM you remove as a guide as well as the dimensions in Figure 1 3 when purchasing your upgrade RAM L 1 20 in 31 77 mm max f
36. action is initiated Register Based Programming 139 Programming Examples The following C language example programs were developed on an embedded computer using Agilent VISA I O calls You can also use a PC connected via GPIB to an Agilent HP E1406A slot 0 Command Module The command module provides direct access to the VXI backplane NOTE f you use the Agilent HP E1406A with SCPI commands use the VT1563A VT1564A SCPI driver which you installed in the Agilent HP E7406A firmware and register programming is not necessary Chapter 3 describes the SCPI commands for the digitizers driver This program shows one way to register program a digitizer and includes Read the ID and Device Type Registers Read the Status Register Make digitizer measurements Retrieve the last readings from each channel s CVT register e Retrieve all the readings from the two cache registers Reset the module A typical printout from the program is 140 Register Based Programming ID register OxCFFF Device Type register 0x7267 Status register 0x40CE last readings printout all readings from all channels printout VT1563A VT1564A is reset Appendix B Beginning of Program This program resets the VT1563A VT1564A reads the ID Register the Device Type Register the Status Register makes measurements and retrieves data Programmed with MS Visual C version 2 0 using Agilent VISA I O calls include lt visa
37. and VT1564A digitizers is a form you can copy and use to record performance test results for the digitizers This form shows the digitizer accuracy limits the measurement uncertainty from the source and the test accuracy ratio TAR The accuracy measurement uncertainty and TAR values shown on the Performance Test Record are valid ONLY for the specific test conditions test equipment and assumptions described If you use different test equipment or change the test conditions you will need to compute the specific values for your test setup Accuracy is defined for gain measurements using the 1 year specifications in Appendix A The High Limit and Low Limit columns represent the digitizer accuracy for the specified test conditions Measurement Uncertainty as listed in the Performance Test Record is calculated assuming a Fluke 5700A for all measurements The uncertainties describe error you can expect from the source These uncertainties are calculated from the 90 day accuracy specifications for the Fluke 5700A Test Accuracy Ratio TAR high limit expected measurement divided by measurement uncertainty N A means measurement uncertainty and TAR do not apply to the measurement A small TAR indicates the uncertainty of the source signal starts to approach the digitizer s specification limit Appendix D VT1563A VT1564A Digitizers Performance Test Record General Information
38. disables it For example ESE 60 enables error events unmask is the sum of the decimal weights of the bits to be enabled allowing these bits to pass through to the summary bit ESB bit 5 in the Status Byte Register The query form returns the current enable unmask value Parameters Name Type Range of Values Default Value unmask numeric 0 through 255 None Comments Executable when initiated Yes Coupled command No Related Commands ESR SRE STB Reset RST condition unaffected Power On condition no events are enabled 110 Digitizers Command Reference Chapter 3 ESR IDN OPC Chapter 3 Comments Comments Comments ESR returns the value of the Standard Event Status Register The register is then cleared all bits 0 Executable when initiated YES Coupled command NO Reset RST condition none Power On condition register is cleared IDN returns identification information for the VT1563A and VT1564A Digitizers The response consists of four fields HEWLETT PACKARD E1563A 0 A 01 00 HEWLETT PACKARD E1564A 0 A 01 00 Field Descriptions The first two fields identify this instrument as model number E1563A or E1564A as originally manufactured by Hewlett Packard The third field is O since the serial number of the digitizer is unknown to the firmware The last field indicates the revision level of the firmware The revision level shown above is an example and the
39. h gt include lt stdio h gt include lt stdlib h gt include lt string h gt include lt time h gt function prototypes void err_handler void wait int wait_seconds void reset ViSession vi ViStatus x Program Main void main void unsigned short d reg dt_reg ID and Device Type unsigned short stat_reg Status Register unsigned short cvt_reg cache_reg last value and cache registers double last_reading reading decimal values of readings int i create and open a device session ViStatus err ViSession defaultRM digitizer ViOpenDefaultRM amp defaultRM GPIB interface address is 9 digitizer logical address switch 40 factory setting ViOpen defaultRM GPIB VXI0 9 40 VI_NULL VI_ NULL amp digitizer reset the VT1563A VT1564A reset digitizer err Read ID and Device Type Registers x x x read the digitizer s ID and Device Type registers err Viln16 digitizer VI_A16_SPACE 0x00 amp id_reg read reg 00 if err lt VI_ SUCCESS err_handler digitizer err err Viln16 digitizer VI_A16_SPACE 0x02 6dt_reg read reg 02 if err lt VI_ SUCCESS err_handler digitizer err printf ID register 0x 4X n id_ reg printf Device Type register 0x 4X1n dt_reg Appendix B Register Based Programming 141 Read Status Register err Viln16 digitizer VI_A16_SPACE 0x04 amp stat_reg read status reg if e
40. has Registers been identified data is moved from the dynamic RAM FIFO to the backplane cache FIFO Data is removed from the module using the cache FIFO Data is 16 bit 2 s complement and is packed into the FIFO registers Always read register 0816 before OAyg if using D16 The FIFO is incremented after reading register O e If D32 is used reading 0846 will increment the FIFO correctly The data is interwoven from all channels Ordering of Data D16 Ordering of the data when D16 is used to remove the data on a 4 channel module is Read 081 chan 1 data bit 15 is MSB of chan 1 bit O is chan 1 LSB Read 0A yg Channel 2 data FIFO is automatically incremented to bring in the next data Read 08 4 Channel 3 data Read 0A g Channel 4 data FIFO is automatically incremented to bring in the next data Ordering of Data D32 Ordering of the data when D32 is used to remove the data on a 4 channel module is Read 08 4 Channel 1 data Channel 2 data bit 31 is MSB of chan 1 bit 16 is LSB of chan 1 bit 15 is MSB of chan 2 bit O is LSB of chan 2 e FIFO is automatically incremented to bring in the next data Read 0A Channel 3 data Channel 4 data bit 31 is MSB of chan 3 bit 16 is LSB of chan 3 bit 15 is MSB of chan 4 bit O is LSB of chan 4 e FIFO is automatically incremented to bring in the next data 128 Register Based Programming Appendix B
41. increase the probability the VT1563A or VT1564A will remain in specification for the next calibration interval This criteria for readjustment provides the best measure of the digitizer s long term stability Performance data measured this way can be used to extend future calibration intervals VXI Technology offers a wide variety of calibration and repair services For information about calibration and repair services go to http www vxitech com and click Products and Services then click Test and Measurement and then click Calibration and Repair Services Digitizers Adjustments 163 Adjustment Procedures WARNING Adjustment Conditions General Procedure CAUTION CAUTION 164 Digitizers Adjustments Do not perform any of the following adjustments unless you are a qualified service trained technician and have read the WARNINGS and CAUTIONS in this manual Adjustment procedures should be performed in the order shown in this manual See Table D 1 Recommended Test Equipment for test equipment requirements For optimum performance all adjustment procedures should comply with following test conditions Ambient temperature of the test area is between 18 C and 28 C and stable to within 1 C e Ambient relative humidity of the test area is lt 80 Must have a one hour warm up with all input signals removed Shielded twisted Teflon insulated cable or other high impedance low dielectric absorption
42. or more low level commands and their parameters The following example shows the root command CALibration and its lower level subsystem commands CALCulate LIMit FAIL LIMit LOWer STATe ON 1 OFF 0 LIMit LOWer STATe LIMit LOWer DATA lt value gt LIMit LOWer DATA LIMit UPPer STATe ON 1 OFF 0 LIMit UPPer STATe LIMit UPPer DATA lt value gt LIMittUPPer DATA Digitizers Command Reference 45 CALCulate is the root command LIMit is a second level command FAIL LOWer and UPPer are third level commands and DATA DATA STATe and STATe are fourth level commands Command Separator A colon always separates one command from the next lower level command such as CALCulate LIMit FAIL Colons separate the root command from the second level command CALCulate LIMit and the second level from the third level LIMit FAIL Abbreviated Commands The command syntax shows most commands as a mixture of upper and lower case letters The upper case letters indicate the abbreviated spelling for the command For shorter program lines send the abbreviated form For better program readability you may send the entire command The instrument will accept either the abbreviated form or the entire command For example if the command syntax shows CALCulate then CALC and CALCULATE are both acceptable forms Other forms of CALCulate such as CALCU or CALCUL will generate an error Additionally SCPI commands are case insen
43. reading err Viln16 digitizer VI_A16_SPACE Ox0A 8cache_reg if err lt VI_ SUCCESS err_handler digitizer err reading double cache_reg 4 32768 printf Channel 2 lf Voltsin reading VT1564A only for channels 3 and 4 comment out for VT1563A err Viln16 digitizer VI_A16_SPACE 0x08 6 cache_reg if err lt VI_ SUCCESS err_handler digitizer err reading double cache_reg 4 32768 printf Channel 3 If Voltsin reading err Viln16 digitizer VI_A16_SPACE Ox0A 8cache_reg if err lt VI_ SUCCESS err_handler digitizer err reading double cache_reg 4 32768 printf Channel 4 If Voltsin reading end of if statement reset the digitizer reset digitizer err printf nHP E1563A E1564 lt A is reset Close session ViClose digitizer ViClose defaultRM Reset Function RRA K A K AK K K K K K K AK K K K K K K K K K K K AK K AK K K K K K AK K K K K K K K KK K K KKK void reset ViSession digitizer ViStatus err reset the digitizer write a 1 to status bit 0 delay 1 second for reset then set bit back to 0 to allow module to operate Appendix B Register Based Programming 143 write a 1 to the reset bit then set the bit back to 0 err ViOut16 digitizer VI_A16_SPACE 0x04 1 set reset bit to 1 if err lt VI_ SUCCESS err_handler digitizer err wait 1 err ViOut16 digitizer VI_A16_SPACE 0x04 0
44. readings FEA A KK KK OK AK KOK KOK read the CVT registers err Viln16 digitizer VI_A16_SPACE 0x10 6cvt_reg if err lt VI_ SUCCESS err_handler digitizer err printf Channel 1 0x 4X1n cvt_reg last_reading double cvt_reg 4 32768 printf Channel 1 lf Volts n last_reading err Viln16 digitizer VI_A16_SPACE 0x12 6cvt_reg if err lt VI_SUCCESS err_handler digitizer err printf Channel 2 0x 4X1n cvt_reg last_reading double cvt_reg 4 32768 printf Channel 2 lf Volts n last_reading 142 Register Based Programming Appendix B VT1564A only for channels 3 and 4 E err Viln16 digitizer VI_A16_SPACE 0x14 6cvt_reg if err lt VI_SUCCESS err_handler digitizer err printf Channel 3 0x 4X1n cvt_reg last_reading double cvt_reg 4 32768 printf Channel 3 lf Volts n last_reading err Viln16 digitizer VI_A16_SPACE 0x16 6cvt_reg if err lt VI_ SUCCESS err_handler digitizer err printf Channel 4 0x 4X1n cvt_reg last_reading double cvt_reg 4 32768 printf Channel 4 lf Volts n last_reading read all 7 readings from all channels comment the Channel 3 4 lines out if running the 2 channel VT1563A for i 0 i lt 7 i err Viln16 digitizer VI_A16_SPACE 0x08 amp cache_reg if err lt VI_ SUCCESS err_handler digitizer err reading double cache_reg 4 32768 printf Channel 1 If Voltsin
45. setting The command defaults to Channel 1 if no channel is specified SENSe VOLTage lt channel gt DC RESolution SENSe VOLTage lt channel DC RESolution queries the specified channel for its present resolution setting Resolution versus range setting is shown in the VOLTage DC RANGe command The command defaults to Channel 1 if no channel is specified 92 Digitizers Command Reference Chapter 3 STATus The STATus subsystem reports the bit values of the Operation Data Signal Register and Questionable Data Signal Register It also allows you to unmask the bits you want reported from the Standard Event Register and to read the summary bits from the Status Byte Register The Operation Data Signal Register and Questionable Data Signal Register groups consist of a condition register an event register and an enable register STATus OPERation and STATus QUEStionable control and query these registers Subsystem Syntax STATus OPERation CONDition OPERation ENABle lt unmask gt OPERation ENABle OPERation EVENt PRESet QUEStionable CONDition QUEStionable ENABle lt unmask gt QUEStionable ENABle QUEStionable EVENt Status System The STATus system contains seven registers four of which are under IEEE Registers 488 2 control the Standard Event Status Register ESR the Standard Event Enable Register ESE and ESE the Status Byte Register STB and the Service Request Enable Register SRE and SRE
46. support the VXlbus word serial protocol When a SCPI command is sent to adigitizer the Agilent HP E1406 Command Module parses the command and programs the switch at the register level NOTE fSCPI is used to control this module register programming is not recommended The SCPI driver maintains an image of the card state The driver will be unaware of changes to the card state if you alter the card state by using register writes Register based programming is a series of reads and writes directly to the digitizer registers This increases throughput speed since it eliminates command parsing and allows the use of an embedded controller Also if slot O the resource manager and the computer GPIB interface are provided by other devices a C size system can be downsized by removing the command module Addressing the Registers Register addresses for register based devices are located in the upper 25 of VXI A16 address space Every VXI device up to 256 devices is allocated a 32 word 64 byte block of addresses With 51 registers the digitizers use 51 of the 64 addresses allocated Appendix B Register Based Programming 121 The Base Address when reading or writing to a switch register a hexadecimal or decimal register address is specified This address consists of a base address plus a register offset The base address used in register based programming depends on whether the A16 address space is outside or inside the Agilent HP E14
47. the VT1564A 4 Channel Digitizer Table D 4 Gain Verification Test Points INPUT VT1563A Error from nominal VT1564A Range 55 mV 62 mV 38 7 uV 55 mV 62 mV 38 7 uV 0 24 V 0 25 V 160 uV 0 24 V 0 25 V 160 uV 0 95 V 1V 623 uV 0 95 V 1V 623 uV 3 8V 4V 2 49 mV 3 8V 4V 2 49 mV 15 V 16 V 26 1 mV 15 V 16 V 26 1 mV 60 V 64 V 48 4 mV 60 V 64 V 48 4 mV 100 V 256 V 113 mV 100 V 256 V 113 mV Appendix D Filter Bandwidth Verification Test Appendix D This test checks the filter input bandwidth for the 25 kHz filter on the VI the 563A or each of the four filters 1 5 kHz 6 kHz 25 kHz and 100 kHz on VT1564A The test This test uses an external source connected to the HI and LO Input terminals and has the L terminal connected to the G terminal The digitizer is set to the 1 V range for all tests 1 Set the digitizer as follows Reset the digitizer RST Set all channels to 1 V range VOLT1 RANG 1 VOLT2 RANG 1 etc Set input filter frequency to 25 kHz INPut1 FlLTer FREQ 25e3 INPut2 FILTer FREQ 25e3 Enable the input filter INPut1 FILTer STATe ON INPut2 FILTer STATe ON Set the AC Standard output to 0 95 V 25 kHz and connect the standard to the digitizer s Channel 1 Perform the filter bandwidth measurement using INITiate Retrieve the reading using DATA 1 1 Record the result on the Performance Test Record and verify the re
48. value with CAL VALue when an external calibration source is used 5 The VT1564A 4 Channel Digitizer automatically applies the DAC voltage to the internal calibration bus when CALibration SOURce INTernal is used You must measure the DAC voltage at the Calibration Bus Output Connectors CAL L and CAL H for CAL SOURce INTernal and enter that value with CAL VALue Sampling Rate The number of readings and sampling rate will default to 100 readings and 0 001 second sampling rate respectively to provide averaging over an integral number of either 50 Hz or 60 Hz power line cycles This allows calibration to cancel out any noise that is periodic with the power supply 64 V and 256 V Ranges Calibrated Indirectly The 64 V and 256 V ranges are calibrated indirectly when the 16 V range is calibrated and the ON 1 parameter is set If the OFF 0 parameter is active only the 16 V range is calibrated and the 64 V and 256 V ranges retain their old calibration constants This boolean ON OFF parameter is checked and used only when calibrating the 16 V range It is ignored when calibrating any other range Calibrate Lower Ranges First All lower ranges 0 0625 V through 4 0000 V must be calibrated before calibrating the 16 V range and calculating new calibration constants for the 64 V and 256 V ranges The effects of the attenuators and amplifiers on the gain calibrations for the lower ranges are extrapolated to derive a gain constant for the 64 V rang
49. voltage gt DAC SOURce RAMP lt count gt INTerrupt LINE 0 1 2 3 4 5 6 7 INTerrupt LINE MEMory SIZE lt size gt MEMory SIZE PEEK lt reg_num gt POKE lt reg_num gt lt data gt SHORt lt channel gt ON 1 OFF 0 Calibration commands VT1564A only sets internal cal source Query internal cal source Returns calibration constants Perform gain cal using VAL lt voltage gt Set calibration source INT on VT1564A only Query calibration source Enable disable ability to calibrate Query calibration state Store cal constants in NV memory Tell digitizer what cal value is input Query cal value Perform zero cal on current range Perform zero cal on all ranges and return zero cal status response Troubleshooting commands Set offset voltage for the DAC Output offset ramp from the DAC Set DAC gain as specified Output specified DAC voltage Output ramp from the DAC Sets the interrupt line used CO none Query interrupt line used Sets new value when you upsize RAM Query memory size Query contents of a register Write data to a register Connect internal short to the channel SHORt lt channeh Query if internal short connected STATus Query interrupt sources register status FORMat Format commands DATA AGCH PACKed REAL Set data format DATA Query data format Chapier 3 Digitizers Command Reference 115 Command Description INITiate IMMediate Initiate
50. 0 24 V 1V 0 95 V 4V 3 8V 16V 15V NOTE Valid calibration input values sent to the digitizer are 0 85 to 0 98 of Full 166 Digitizers Adjustments Scale for the range being adjusted The CAL VAL lt input voltage gt parameter must equal the actual input value For example if you input 0 9V to calibrate the 1 V range instead of 0 95 send CAL VAL 0 9 to the digitizer prior to the CAL GAIN lt channel gt command Appendix E VT1564A Gain Adjustment NOTE The zero adjustment procedure MUST have been recently performed prior to beginning any gain adjustment procedure Zero adjustment should be performed one time followed by the other gain adjustments Each range in the gain adjustment procedure for each channel takes less than 5 seconds to complete The VT1564A 4 Channel Digitizer has an internal DAC that outputs to a calibration bus on the front panel Calibration Bus Output D connector This procedure uses the calibration bus and does not require an external DC Standard You must set the FLASH and CALIBRATION CONSTANTS switch to write enable before you can store new calibration constants It is recommended you do this prior to starting the calibration procedures Execute CAL STORe to store the new calibration constants following the calibration procedures Restore the switches to the Read Only position after you store the new calibration constants 1 Reset the VT1564A Digitizer by executing RST 2
51. 0 volts Source Maximum Voltages The maximum voltage from an external source used to calibrate the 16 V range is 15 68 V or 98 of full scale The maximum voltage attainable from the VT1564A internal DAC is 15 V Using the Internal DAC The internal DAC on the VT1564A can be used for the calibration source when CAL SOURce INTernal is specified The output level of this DAC is specified with CAL DAC VOLTage The actual output level must be measured with a voltmeter by the person doing the calibration That measured value is the value used for the lt voltage gt parameter of the CAL VALue command The voltage can be measured across pins 5 high and 9 low of the Calibration Bus Output D subminiature calibration bus connector Maximum Output Levels The maximum output levels are limited to the levels shown in the following table These are the VT1564A DAC voltages recommended for calibrating each range The values are approximately 98 of full scale except for the 16 V range which the internal VT1564A s DAC has a maximum output of 15 V Digitizers Command Reference 59 Voltage Range Max DC Voltage absolute value 0 0625 0 061256409 0 2500 0 245025635 1 0000 0 980102539 4 0000 3 920410156 16 0000 15 00 64 0000 not used 256 0000 not used Executable when initiated NO Coupled Command NO Reset RST Condition All channels set to 0 0 volts CALibration VALue CALibration VALue querie
52. 06 Command Module Figure B 1 shows the register address location within A16 as it might be mapped by an embedded controller Figure B 2 shows the location of A16 address space in the Agilent HP E1406 Command Module A16 Address Space When the E1406 Command Module is not part of your VXlbus system see Outside the Command Figure B 1 the digitizer s base address is computed as Module C00046 LADDR 64 4 or 49 152 LADDR 64 where C0001 49 152 is the starting location of the register addresses LADDR is the digitizer s logical address and 64 is the number of address bytes per VXI device For example the digitizer s factory set logical address is 40 2846 If this address is not changed the digitizer will have a base address of C0001 40 64 16 C0006 A0016 CAOO 6 or decimal 49 152 40 64 49 152 2560 51 712 A16 Address Space When the A16 address space is inside the E1406 Command Module Inside the Command see Figure B 2 the digitizer s base address is computed as Module or Mainframe iing LADDR 64 6 or 2 080 768 LADDR 64 where 1FC0004 2 080 768 is the starting location of the VXI A16 addresses LADDR is the digitizer s logical address and 64 is the number of address bytes per register based device Again the digitizer s factory set logical address is 40 If this address is not changed the digitizer will have a base address of 1FC000 6 40 64 1 1FC00016 A00
53. 10102 Appendix C Digitizers Error Messages 145 Number Title Description 123 Numeric overflow A numeric parameter was found whose exponent was larger than 32 000 Example SAMP COUN 1E34000 124 Too many digits A numeric parameter was found whose mantissa contained more than 255 digits excluding leading zeroes 128 Numeric data not A numeric parameter was found but a character string was expected allowed Check the list of parameters to verify you have used a correct parameter type Example TRIG SOUR 2 EXT should be TRIG SOUR2 EXT 138 Suffix not allowed A suffix was received following a numeric parameter which does not accept a suffix Example SAMP COUN 1 SEC SEC is not a valid suffix 148 Character data not A character string was received but a numeric parameter was allowed expected Check the list of parameters to verify that you have used a valid parameter type Example CAL VAL XYZ 158 String data not A character string was received but is not allowed for the command allowed Check the list of parameters to verify that you have used a valid parameter type Example CALC LIM LOW STAT ON 160 to 168 Block data errors The digitizer does accept block data 170 to 178 Expression errors The digitizer does not accept mathematical expressions 211 Trigger ignored A Group Execute Trigger GET or TRG was received but the trigger was ignored Make sure the digitizer i
54. 1563A 2 Channel Digitizer Front Panel Chapter 1 Configuring the Digitizer Modules 15 Front Panel Indicators Failed LED llluminates momentarily during digitizer power on VXI Be Access LED Uluminates when the backplane is communicating with the digitizer Error LED Illuminates only when an error is present in the digitizer s driver error queue The error can result from improperly executing a command or the digitizer being unable to pass self test or calibration Sample LED llluminates while the digitizer samples the input for a measurement Typically blinks for slow sample rates and is on steady state for high sample rates User Input Terminals The VT1564A Digitizer front panel contains four female connectors for user inputs Mating male connectors are supplied with the module However the user must provide the input cable and connect the male connector to the cable See User Cabling Considerations for connecting user supplied cables External Trigger Input Calibration Bus Output The front panel contains a 9 pin D subminiature connector for external TTL trigger inputs and for calibration bus outputs The VT1564A 4 Channel Digitizer has a calibration bus output High Low and Guard and a programmable short The user must provide the the appropriate cable to the external trigger input calibration bus output VT1564A Sz TEAT Figure 1 2 VT1564A 2 Channel Digitizer Front Panel
55. 16 1FCAOO 6 or decimal 2 080 768 40 64 2 080 768 2560 2 083 328 122 Register Based Programming Appendix B Register Offset The register offset is the register s location in the block of 64 address bytes For example the digitizer s Status Register has an offset of 0446 When you write a command to this register the offset is added to the base address to form the register address 1FCA0016 0416 IFCAO4 or 2 083 328 4 2 083 332 REGISTER OFFSET 16 BIT WORDS FFFF 46 3E 46 Sample Control Source 3C 16 Trigger Control Source FFFF 4g E be Oo e COOO 46 REGISTER 3016 Sample Period High Byte ADDRESS 2E16 TRIG INT Level CH4 SPACE 2C16 TRIG INT Level CH3 2A16 TRIG INT Level CH2 A16 2816 TRIG INT Level CH1 ADDRESS o e SPACE o o Oo Oo 5000 04 16 Status Control Register 00016 0216 Device Type Register 49 152 0016 1D Register VT1563A VT1564A A16 REGISTER MAP Base Address C000 16 Logical Address 64 16 0000 16 or 49 152 Logical Address 64 40 Register Address Base address Register Offset EE AS Figure B 1 Registers Within A16 Address Space AGILENT HP E1406 REGISTER FEFFFE qp ADDRESS MAP ECISTE 16 BIT WORDS 3E46 Sample Control Source 3C 146 Trigger Control Source e e o o EOOOOO 46 200000 16 e e IFCOOO 3016 Sample Peroid High Byte 16 200000 46 2E16 TRIG INT Level CH4 2Cig TRIG INT Level CH3 A16 2A 16 TRIG INT Level CH2 Des ADDRESS REGISTE
56. 2 None 22 AWG 7x30 9462 5481C 24 AWG 7x32 8641 5491C Configuring the Digitizer Modules 23 Trigger Input Port The user must supply a standard cable to the External Trigger Input port VT1563A or to the External Trigger Input Calibration Bus Output port Cables VT1564A VT1563A Digitizer The VT1563A front panel contains a 9 pin D subminiature connector with the pin outs and associated SCPI commands shown in Figure 1 6 do not make any connections to the top two pins TRIGger SOURce EXT ROSCillator SOURce EXT SAMPle SOURce EXT Figure 1 6 VT1563A External Trigger Input Port VT1564A Digitizer The VT1564A front panel contains a 9 pin D subminiature connector with the pin outs and associated SCPI commands shown in Figure 1 7 CAL SOURce INT CAL SOURce INT TRIGger SOURce EXT ROSCillator SOURce EXT SAMPle SOURce EXT Figure 1 7 VT1564A External Trigger Input Calibration Bus Output Port 3 Wire and 2 Wire TheVT1563A and VT1564A Digitizers provide a three terminal input system High Low and Guard in which an unavoidable and undesirable current is Input Cabling injected from chassis ground to the Guard terminal Dependent on whether Considerations you measure on a low voltage range or a high voltage range the way you connect the Guard terminal may or may not introduce a measurement error due to this current This section describes some considerations you can take to use the Guard terminal properly to m
57. 24 space as broken up bit 13 MOT 1 Motorola big endian byte swapping 0 Intel little endian byte swapping INTEL bit 14 M MODID bit if the bit is 0 module has been selected bit 15 A A24 A32 enable 1 A32 decoding enabled 0 A24 decoding enabled Reading the Register Via Command Module PEEK command DIAG PEEK 2083332 16 Appendix B 2083328 base with logical address 40 04 offset see Figure B 2 Via Digitizer Module PEEK command DIAG PEEK 2 2 signifies the third word 16 bits zero base numbering system Register Based Programming 127 A24 Offset Register The offset of the module in A24 space is set by the upper eight bits 15 8 of this register The lower eight bits 7 0 of this register are zero base 0646 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Write A23 A22 A21 A20 A19 A18 A17 A16 undefined Read A24 Offset 0 0 0 0 0 0 0 0 WRITE BITS A24 Offset Register bits 8 15 A16 A23 These bits set the offset of the module in A24 space READ BITS A24 Offset Register bits 8 15 A24 Offset The module s offset in A24 space FIFO High Data is stored on the module in large slow dynamic RAM and in fast small Word Low Word backplane cache Each of these data stores is a FIFO The dynamic RAM i FIFO receives the data from the ADC As soon as the pre trigger data
58. 4 64 bit real numbers 72 Digitizers Command Reference Chapter 3 INITiate Subsystem Syntax INITiate CONTinuous Chapier 3 Comments The INITiate subsystem controls the initiation of the trigger system and prepares the Digitizer to take voltage measurements Once a trigger is received from the programmed source TRIGger SOURce measurements begin on all channels Normally all measurement setup setting measurement ranges sample count and trigger sources etc should be done before this command is sent Sending this command will cause the Digitizer to begin the measurement process INITiate CONTinuous ON 1 OFF 0 CONTinuous IMMediate INITiate CONTinuous ON 1 OFF 0 is used to start or stop a continuous measurement INITiate Process The INITiate CONTinuous process is 1 The ON 1 setting starts a measurement with an infinite sample count After initiation the Digitizer enters the wait for trigger state and begins taking pretrigger readings until the pretrigger count is met if there is a pretrigger count set 2 All incoming triggers are ignored until the pretrigger count is met Pretrigger readings continue until a trigger arrives The first trigger received after the pretrigger readings have been acquired is the one accepted 3 The incoming trigger advances the Digitizer to the wait for sample state which is where readings are actually taken The instrument will continuously sample until one of t
59. 4 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Read MSB LSB 0 0 CVTable Channel 4 This register holds the last value of the 2 s complement data stored in FIFO Register for Channel 4 Data is 14 bits with the LSB at bit 2 base 1644 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Read MSB LSB 0 0 Samples Taken This register holds the upper 16 bits of the number of samples taken High Byte Register number of readings The value in this register will continuously change as readings are taken base 1844 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 Read 0 0 0 0 0 0 0 0 0 0 x x x x x D Sam ples Taken Low This register holds the lower 16 bits of the number of samples taken number Word Register of readings The value in this register will continuously change as readings are taken base 1Ajg 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Read D D D D D D xX Xx D D D D xX D D LSB Calibration Flash me register holds the address of the calibration flash ROM that is used for ROM Address storing the calibration constants Note the bit pattern 01010 for bits 15 11 in s the upper byte A write to Flash ROM is aborted if t
60. 4A Digitizers as follows Sets all commands to their RST state Aborts a calibration CAL STATe ON Resets the CAL STATe to OFF Aborts all pending operations RST does not affect The output queue The Service Request and Standard Event Status Enable Registers The enable unmasks for the QUEStionable Status Registers Calibration data Executable when initiated Yes Coupled command No Reset RST condition none 112 Digitizers Command Reference Chapter 3 SRE and SRE SRE lt unmask gt specifies which bits of the Status Byte Register are enabled unmasked to generate an IEEE 488 1 service request Event and summary bits are always set and cleared in the Status Byte Register regardless of the lt unmask gt value A 1 in a bit position enables service request generation when the corresponding Status Byte Register bit is set and a 0 disables it For example SRE 16 enables a service request on Message Available bit bit 4 unmask is the sum of the decimal weights of the bits to be enabled allowing these bits to pass through to the summary bit RQS bit 6 in the Status Byte Register SRE returns the current enable lt unmask gt value Parameters Name Type Range of Values Default Value unmask numeric 0 through 255 None Comments Executable when initiated YES Coupled command NO Reset RST condition unaffected Power On condition no bits are enabled STB S
61. 50e 6 Set sample interval to 50 usec TRIG SOUR INT1 Set trigger source to a level on Channel 1 TRIG LEV1 0 Set the trigger level to O V TRIG SLOP POS Set trigger slope to positive INIT Initiate measurements DATA 7 1 Read 7 readings from Ch 1 Enter statement Enter readings into the computer Using the Digitizers 43 Example Triggering Using External Triggering 44 Using the Digitizers This example use an external trigger input at the External Trigger Input D connector Trig input to trigger readings Resetting the module sets the data format to ASCii sample source to TIMer and trigger source to IMMediate The sample interval and the trigger source are changed from the reset setting Resetting the module also sets the trigger level to 0 V and the trigger slope to positive Trigger level and slope commands are resent to reiterate the level and slope of the trigger In this case the slope command is redundant CLS RST VOLT1 RANG 4 SAMP COUN 7 SAMP PRET COUN 3 SAMP TIM 100e 6 TRIG SOUR EXT TRIG LEV1 0 5 TRIG SLOP POS INIT DATA 7 1 Enter statement Clear the status system Reset the digitizer ISet Ch 1 to 4 V range ISet sample count to 7 common to all channels Set pre trigger count to 3 common to all channels Set sample interval to 100 usec Set trigger source to EXTernal requires an external input to the Trig pin on the External Trigger Input port Set the tr
62. 64A Comments Addressing Channels channel_list has the form 1 or 2 1 2 1 4 or 1 2 3 4 For specific channels but not all the format is 1 3 4 If you do not specify channels in ascending order such as 2 1 or 3 4 2 they are rearranged as 1 2 or 2 3 4 respectively PACKed Format Data Data are returned as raw data 16 bit integers when the data format is set to PACKed see the FORMat DATA PACKed command To convert the raw readings to voltages use voltage reading range 32768 or voltage reading resolution use SENSe VOLTage DC RESolution to obtain the resolution value 88 Digitizers Command Reference Chapter 3 REAL Format Data Data are returned as real numbers when the data format is set to REAL see FORMat DATA REAL The data are returned in voltage units and no scaling conversion is required as with the PACKed format Readings are in an interleaved configuration IEEE 488 2 Headers Both PACKed and REAL formats return data preceded by the IEEE 488 2 definite length arbitrary block header The header is lt num_digits gt lt num_bytes gt where e signifies a block transfer e lt num_digits gt is a single digit 1 through 9 which specifies how many digits ASCII characters are in lt num_bytes gt e lt num_bytes gt is the number of data bytes which immediately follow the lt num_bytes gt field SENSe ROSCillator EXTernal FREQuency SENSe ROSCillator E
63. 8play system frameworks that have the VISA I O layer installed visa h include file The VT1563A or VT1564A Digitizer may have experienced temperature extremes during shipment that can affect its calibration It is recommened you perform a zero offset calibration upon receipt using CAL ZERO lt channel gt ALL for each channel to meet the accuracy specifications in Appendix A See Appendix E for the zero adjustment procedure Example Initial Operation This C program verifies communication between the controller mainframe and digitizer It resets the module RST queries the identity of the module IDN and queries the module for system errors include lt stdio h gt include lt visa h gt FUNCTION PROTOTYPE void err_handler ViSession vi ViStatus x void main void char buf 512 0 if defined _ BORLANDC_ amp amp defined _WIN32_ _InitEasyWin endif ViStatus err ViSession defaultRM ViSession digitizer Open resource manager and digitizer sessions viOpenDefaultRM SdefaultRM viOpen defaultRM GPIB VXI0 9 40 VI_NULL VI_NULL amp digitizer 30 Configuring the Digitizer Modules Chapier 1 Set the timeout value to 10 seconds viSetAttribute digitizer VI_ATTR_TMO_VALUE 10000 Reset the module err viPrintf digitizer RST n if err lt VI_ SUCCESS err_handler digitizer err Query for the module s identification stri
64. 96 STAT S QUE Stonable EVEN a a 96 od gerd 213 0 alg Te 97 ER 97 TES Trust tapas 98 TESTERASE Age SEA 98 TES RE 98 SR E RESINS acarane i asa 103 TRI E 104 RRE EI EE 104 TRGE LE EE 104 TRG Be EE 105 TRIG MODE as cers iccostnceiccacasiedccencnteiedncnasnnpnaceianandacaasnante Suaaauegiadccsiaretcataeeeescs 105 WS e eg E 106 TARGE SLOPE ei nan dE eege EE deeg 106 WS En e E E 107 TRIG R SOU E E 107 HS E ee ET EE 108 IEEE 488 2 Common Commands Quick Reterence 109 US o E E A E E T E E T E E E E 110 TPES e GE 110 WEE 111 DNT siii tl ls 111 WA 111 KA 112 O 112 PRE a SRE EE 113 A 113 RENE 114 o tel tc tii acts A A E te ae tll wae tert T Hone ld A aaah 114 SCPI Commands Quick Reference ooooonoocccnnoocccnononcnnnnnnnonononnnonanonnncno nono nnnn nn nana ocn 115 Appendix A Digitiz rs AO a 119 Appendix B Register Based Programming a 121 ARQUE TAS APPS arias is 121 Register Programming vs SCPI Programming cnn 121 PAWN eS SME te PIP LYS sis sr 121 This Rae aaa 122 eet eebe 123 E EE 124 KO ET TE PSSS lt A AAA AAA 124 SR ina 125 A EE 126 KREE 126 USO MURS BOIS UEP EE 126 A24 NSO REJSE asar a 128 FIFO High Word Low Word Registers ciionciaio ic ii ida 128 InterrurtControl Registar auna 129 InterruptSaures ABGISISF aceras iia 130 CN Table Channel 1 SIE iaa nio 130 UV Table Channel 2 e EE 130 Ka Table Channel 3 Register ains 131 OV Table Channel 4 SIS ias a a ii 131 samples Taken High Byte REIS aii 131 Sa
65. A memory size in bytes number of channels 2 128M 4 or 128M 8 MAX Comments This command is the same as SAMPle COUNt and is included for SCPI compatibility SENSe SWEep POINts SENSe SWEep POINts MIN MAX returns the sweep points Chapter 3 Digitizers Command Reference 91 SENSe VOLTage lt channel gt DC RANGe SENSe VOLTage lt channeb DC RANGe lt range gt changes the range on the specified channel There are seven different ranges If the range specified falls between two of the instrument s ranges the range is set to the next higher range setting The command defaults to Channel 1 if no channel is specified Comments Crossover Points Crossover points for range changes are Voltage Range Resolution 0 0625 0 000007629 0 2500 0 000030518 1 0000 0 000122070 4 0000 0 000488281 16 0000 0 007812500 64 0000 0 007812500 256 0000 0 03125 Comments Executable when initiated NO Coupled command YES TRIGger LEVel may be affected if one of the levels is the trigger event on the channel that had the range change The level set for CALCulate LIMit LOWer and UPPer will be modified to be the same percent of full range This will generate a different voltage value for the limit level Reset RST Condition Range is set to 256 for all channels SENSe VOLTage lt channel gt DC RANGe SENSe VOLTage lt channel DC RANGe queries the specified channel for its present range
66. AL Culate lt n gt LIMit LOWer STATe or CALCulate lt n gt LIMit UPPer STATe are disabled ifthey were enabled where lt n gt represents the channel number used for the internal trigger source and the channel used for testing a limit See Chapter 2 for information about how the internal trigger source is driven by the level signal Master Slave Operation TRIG SOURce 1 is set to the appropriate TTLT lt n gt line by TRIG MODE MASTer SLAVe TRIG SOURcel1 cannot be changed unless the trigger mode is NORMal Attempting to change TRIG SOURce1 when mode is MASTer or SLAVe will cause a settings conflict error TRIG SOURce2 is not affected by TRIG MODE MASTer SLAVe operation Executable when initiated No Coupled command Yes TRIGger LEVel TRIGer MODE OUTPut TTLT lt n gt SOURce TRIG and CALC LIMit LOWer STATe and CALC LIMit UPPer STATe Changes to TRIG SOURce1 will cause a settings conflict error if TRIG MODE is set to MASTer or SLAVe Reset RST condition TRIGger SOURce1 IMMediate and TRIGger SOURce2 HOLD TRIGger SOURce lt n gt Parameters Comments TRIGger SOURce lt n gt queries present setting for the specified trigger source 1 or 2 The command defaults to trigger source number 1 if lt n gt is not designated Name Type Range of Values Default Value lt n gt numeric 1or2 none Information Returned This command returns one of the following responses indicating
67. Based Programming 135 Trigger Interru pt This register provides 8 bit data corrected for offset and gain in 2 s Level Channel 4 complement format Register base 2E416 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Write MSB D7 D6 D5 D4 D3 D2 Di DO 0 0 0 0 0 0 0 GL Read MSB D7 D6 D5 D4 D3 D2 D1 DO O 0 0 0 0 0 0 GL WRITE READ BITS Trigger Interrupt Level Channel 4 Register bit 0 GL Greater than or Less than 0 gt 1 lt bits 15 8 D7 DO data bits Sample Period High This register provides the high byte of the sample period Byte Register base 3046 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Write D D D D D D x x Read 0 0 0 0 0 0 0 0 D D D D D D D D Sam ple Period Low this register provides the low word 2 bytes of the sample period Word Register base 3246 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Write D D D D D D x x D D D D D D x LSB Read D D D D D x x D D D D D x X x LSB Pre Trigger Count Pre trigger count is the number of readings stored before the trigger is High Byte Register received The minimum value is 0 The maximum number of readings is the size of memory in bytes divided by 8 for the VT1563A and divided by 4 for the VT1564A base
68. Conn3 CH 3 Filter Code short3 CH 3 Gain Code Conn4 CH 4 Filter Code short4 CH 4 Gain Code Read Conn3 CH 3 Filter Code short3 CH 3 Gain Code Conn4 CH 4 Filter Code short4 CH 4 Gain Code Appendix B Register Based Programming 133 WRITE READ BITS Range Filter and Channel 3 4 Connect Register bits 0 2 and Gain These bits set the gain of the input channel by the codes shown below 8 10 Code 000 62 5 mV range 001 0 25 V range 010 1 0 V range 011 4 0 V range 100 16 V range 101 64 V range 110 256 V range also 111 256 V range bits 3 short3 These bits connect an internal short to the channel inputs when the bit is 1 When it is 0 and 11 short4 bits 7 amp 15 connect the channel to the input or the calibration bus bits 4 6 and Filter These bits set the input channel filter cut off frequency by the codes shown below 12 14 Code 000 1 5 kHz 001 6 kHz 010 25 kHz 011 100 kHz 111 NO filter bits 7 and Connect This bit connects the input channel to the front panel connector Connect Code 0 or to the 15 Code calibration bus Connect Code 1 Trigger Interru pt This register provides 8 bit data corrected for offset and gain in 2 s Level Channel 1 complement format Register base 2846 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Write MSB D7 D6 D5 D4 D3
69. Coupled Command NO Reset RST Condition None 62 Digitizers Command Reference Chapter 3 DIAGnostic Subsystem Syntax The DIAGnostic subsystem contains several commands that were developed to test the instrument at the factory Some of these commands may prove useful for isolating problems or for use in special applications DIAGnostic DAC GAIN lt channel gt lt value gt DAC OFFSet lt channel gt lt voltage gt DAC OFFSet lt channeb RAMP lt count gt DAC SOURce lt voltage gt DAC SOURce RAMP lt count gt INTerrupt LINE 0 1 2 3 4 5 6 7 INTerrupt LINE MEMory SIZE lt size gt MEMory SIZE PEEK lt reg_number gt POKE lt reg_number gt lt data gt SHORt lt channel gt ON 1 OFF 0 SHORt lt channel gt STATus DIAGnostic DAC GAIN Chapter 3 Parameters Comments DIAGnostic DAC GAIN lt channel gt lt value gt writes the specified value to the calibration gain DAC of the specified channel This command is a factory diagnostic routine Name Type Range of Values Default Value value numeric 0 to 255 none Input Signal Required There must be a signal on the input for this command to work properly Any offset value set by DAC OFFSet lt voltage gt is used by the DAC when the DAC GAIN command is sent The gain is set on the specified channel DAC Outputs A positive full scale input combined with a DAC gain value of 255 will result in a 2 5
70. Gnostic MEMory SIZE 11 Remove mainframe power remove the module and set the CALIBRATION CONSTANTS and FLASH switches back to the Read Only position 12 Reinstall the module in the mainframe WARNING TIGHTEN THE FACEPLATE SCREWS Tighten the faceplate mounting screws to prevent electric shock in case of equipment or field wiring failure 20 Configuring the Digitizer Modules Chapter 1 Setting the Logical Address Switch NOTE VT1564A Setting the Interrupt Chapter 1 Line The VT1563A and VT1564A Digitizers are shipped from the factory with logical address 40 Valid logical address are from 1 to 254 for static configuration the address you set on the switch and address 255 for dynamic configuration The VT1563A and VT1564A do not support dynamic configuration of the address If you install more than one digitizer each module must have a different logical address If you use a VXlbus command module the logical address must be a multiple of eight e g 32 40 48 56 etc Each instrument must have a unique secondary address which is the logical address divided by eight See Figure 1 4 for guidelines to set the Logical Address Switch When using an Agilent E1406A as the VXIbus resource manager with SCPI commands the digitizer s address switch value must be a multiple of 8 be VT1563A Figure 1 4 Setting the Logical Address Switch The VT1563A and VT1564A Digitizers ar
71. LTS ERASE FREQ sata ici 75 INPUEFILTS LEPAS Oe 75 INPUEFIETSELPAS Ss TATE sonar 76 I PVE FIL TS LPASS STATE ri aaa aa 76 INP STATE E 76 WPM Ee 76 O T EN aa Ee EE Z SANEM E Ee TE 77 CUTRE EE os aos 78 MTP ELT TL Tite SS UTS coa 78 EE EE 79 SAKP Hest MIME scccetcasaaneevctasanrts a cavseuet caceoumiecisves tees mcvuccunly cucdehatehechsgeedacereatee tds 79 SAMP AINE sono ta E ra E e 80 SAMPE IMM E 80 SAMPLEPRE Ger UII E 80 Geert Migger COUN ota 81 E A A 82 SAMPIESLORS ias 82 SAMP QURSS a a 82 SAMP RSU eege A ramen Gawd 83 EE rs o a 84 SAMPIETIMEF iio od 84 ENS asin nos ad 85 PEN A E en ec reese pen ae ee os eer tere ee mre cee rere rere 85 a DAP ALC pssi aa ea a iai 87 PEN e IDATA ere RT ssrin e E E EN EENES 88 PENSE DATA EE 88 SENSe ROSCillator EX Temal FREQUENCY sra 89 SENSe ROSCillator EXTernal FREQUENCY kk 89 SEN SSS IRON SOURCE arios 90 SENSE UE ee 90 SENSO IS WESPOPESSUPOINS sapos 91 SENSO IS Ee EE econo daa 91 SENSO SVE Spi IIS usina 91 PENSE TEE 91 SENSe VOLTage lt channel gt DC RANGE A 92 SENSe VOLTage lt channel gt DC RANGEe A 92 SENSe VOLTage lt channel gt DC RESOIUtION A 92 E NEE 93 Stats Syst m RESISTE S seivcdeeiuesedisasestovesssivdesssshansdoctsnsslesevaasbavsatiapisssdayesbulbedes 93 STATUS SOP ERO ERR src ia 95 UE 95 STATUS SP Face Ee sara ii 95 UE A CT 96 CTSS E 96 STATUS QUE Stone CONDIDON ss 96 STATUS QUESTION AS ENABIS aca 96 SS Lee beleidegt gege
72. N MAX LIMit LOWer STATe ON 1 OFF 0 LIMit LOWer STATe LIMit UPPer STATe ON 1 OFF 0 LIMit UPPer STATe MIN MAX LlM Uber DATA lt value gt MIN MAX LIMit UPPer DATA MIN MAX Comments Only One Limit Can Be Enabled At A Time Either LOWer or UPPer can be enabled but not LOWer and UPPer If you enable the LOWer limit and later enable the UPPer limit the LOWer limit is disabled Using LIMit FAIL The LIMit FAIL command reports the limit was exceeded You must know the limit enabled LOWer or UPPer to know which limit was exceeded Upper and Lower Limit Failures Lower and upper limit failures can be monitored by unmasking bits 9 and 10 in the Questionable Data Register of the status system using the STATus command CALCulate LIMit FAIL CALCulate lt channel LIMit FAIL queries the present status of the limit checking on the specified channel The returned value of 0 indicates the limit was not exceeded test passed The returned value of 1 indicates the limit was exceeded test failed NOTE Limit detection is reset with each new measurement Therefore this command does not give a cumulative record of limit failures only that the last measurement either passed or failed Chapter 3 Digitizers Command Reference 49 Parameters Comments CALCulate LIMit LOWer DATA CALCulate lt channeb LIMit LOWer DATA lt value gt MIN MAX sets the lower limit value you want to te
73. N MAX COUNt MIN MAX IMMediate PRETrigger COUNt lt count gt MIN MAX PRETrigger COUNt MIN MAX SLOPe POS 1 NEG 0 SLOPe SOURce HOLD TlMer TTLTO 7 EXT SOURce TlMer lt interval gt MIN MAX TlMer MIN MAX SAMPle COUNt lt count gt MIN MAX sets the number of total samples which includes the pre trigger and post trigger samples The number of samples set is common to all channels You cannot have two or more channels with different sample settings Chapter 3 Digitizers Command Reference 79 Comments Maximum Samples The total number of readings is limited to at most 16 777 215 for the 4 channel VT1564A Digitizer and 33 554 431 for the 2 channel VT1563A Digitizer depending on the amount of memory on the card The following describes the limits with the different memory options If a number greater than the maximum is set the digitizer goes to continuous mode and SAMPle COUNt returns 0 If no readings are pulled out while running the digitizer will stop at MAX 1 250 MAX for FIFO and CACHE VT1563A 2 channel VT1564A 4 channel Memory Size Maximum Samples Maximum Samples 4 MBytes 1 048 575 524 287 8 MBytes 2 096 151 1 048 575 16 MBytes 4 194 303 2 097 151 32 MBytes 8 388 607 4 194 303 64 MBytes 16 777 215 8 388 607 128 MBytes 33 554 431 16 777 215 Pre Trigger Sample Required One pre trigger sample is required to get the above maximums The maximum is one less if pre t
74. R 2815 TRIGINT Level CH1 ADDRESS SPACE ADDRESS e e SPACE SPACE e e id D D 0446 Status Contro Register IFOOOO 16 IFCOOO 16 0246 Device Type Register 2 080 768 0016 ID Register 200000 18 VT1563A VT1564A 1F0000 46 Base Address IFC000 e Logical Address 64 16 A16 REGISTER MAP or 2 080 768 Logical Address 64 49 000000 16 Register Address Base address Register Offset Figure B 2 Registers Within the E1406 A16 Address Space Appendix B Register Based Programming 123 Register Descriptions There are twenty WRITE and thirty one READ registers on the digitizer This section contains a description of the registers followed by a bit map of the registers in sequential address order Undefined register bits appear as 0 when the register is read and have no effect when written to WRITE Registers You can write to the following digitizer registers Description Address Status Control Register base 0446 Offset Register base 0646 Interrupt Control Register base 0Cy6 Calibration Flash ROM Address Register base 1C46 Calibration Flash ROM Data Register base 1E46 Calibration Source Register base 2046 Range Filter Connect Channels 1 and 2 Register base 2446 Range Filter Connect Channels 3 and 4 Register base 2646 Trigger Interrupt Level Channel 1 Register base 2846 Trigger Interrupt Level Channel 2 Register base 2Aig Trigger Interrupt Level Cha
75. RIG LEVel command Using the Digitizers 37 Using External Triggering Master Slave Operation Master Slave Synchronization 38 Using the Digitizers ampl Figure 2 4 Trigger Level Compare Circuit Operation You can provide an external trigger common to all channels The external trigger connection is on the digitizer s External Trigger Input D subminiature connector Trig pin You set this input as the trigger source for all channels using TRIGger SOURce lt n gt EXT Use TRIGger SLOPe lt n gt POSitive NEGative to set which signal edge will trigger The VT1563A and VT1564A Digitizers can be configured in a master slave configuration This configuration allows a master module and one or more slave modules to have their measurements synchronized Synchronization occurs when all channels trigger from the same trigger event and all channels sample from one sample signal The sample synchronization signal is always generated by the master The TTL trigger event can be generated by either the master module or any of the slave modules This allows a slave module as well as the master module to use one of the four internal trigger sources or their external trigger source to trigger a measurement Both the trigger signal and the sample signal are placed on the VXI backplane TTL trigger TTLT lines where the master module and all slave modules receive the signals simultaneously TTL trigger lines are used in pairs between the
76. RO lt channeb ALL once for each channel and reading the calibration success result a non zero response indicates a calibration error occurred Digitizers Adjustments 165 VT1563A Gain Adjustment NOTE The zero adjustment procedure MUST have been recently performed prior to beginning any gain adjustment procedure Zero adjustment should be performed one time followed by the other gain adjustments Each range in the gain adjustment procedure for each channel takes less than 5 seconds to complete 1 Reset the VT1563A Digitizer by executing RST 2 Set the DC Standard output to 55 mV for the first gain adjustment 3 Connect the DC Standard output across the VT1563A H and L input terminals of Channel 1 4 Prepare the VT1563A for calibration Set the channel s range VOLT lt channel gt RANG lt range gt e Set calibration source to external CAL SOUR EXT Send input value CAL VAL lt input voltage gt see Table E 1 Gain Adjustment Range Input Voltages for lt range gt and lt input voltage gt values 5 Perform the adjustment by sending CAL GAIN lt channel gt adjusts each channel in about 5 seconds 6 Send SYST ERR and read the result to verify the calibration command was successful 7 Repeat steps 3 through 6 for ranges and inputs in Table E 1 8 Repeat steps 2 through 7 for Channel 2 Table E 1 Gain Adjustment Range Input Voltages Channel Range Input Voltage 62 mV 55 mV 0 25 V
77. Ree eee 149 pas Ia cn daa ba 149 ACASO iii 149 Appendix D Digitizers Verification Tests a REENEN 151 dage Tlo e y AAA nn A 151 Ee 151 Recommended Test EQUIPMENT tz deeg 151 H e ele 152 Recording Your Test RESURS scans 152 Performance Verification Test Programs oooononnccnnnninnncnnnnnacccnnnn naar 152 Funcional KR toi 153 Functional Test e arias 153 Perlormance Verification Te sii a ii 154 Zaro MOL VERON Tesi ia 154 NOSE Peru qua Test io do 155 E le LR E 156 Filter Bandwidth Verification TeSt ini dio 157 PFenorimados lesi EE 158 Appendix E Digitizers Adi sssrinin a 163 Ier e 1a 1 E 163 Closed Cover Electronic Calibration eiii 163 EM 163 AUS TORT e 164 Adusien SOMEONE sa bs ado ii 164 Gengtal Prod oi 164 ZST EE EE 165 TIO Gain NIT VI esse cec ets cas dete ceva cae aa a Gaede eeeedbe teats 166 a A anaia aiaa annus aA EEA 167 VXI TECHNOLOGY WARRANTY STATEMENT VXI TECHNOLOGY PRODUCT VT1563A 2 Channel Digitizer amp VT1564A 4 Channel Digitizer DURATION OF WARRANTY 3 yrs 1 VXI Technology warrants VXI Technology hardware accessories and supplies against defects in materials and workmanship for the period specified above If VXI Technology receives notice of such defects during the warranty period VXI Technology will at its option either repair or replace products which prove to be defective Replacement products may be either new or like new 2 VXI Technology warrants that VXI Technology software will not fail t
78. Source Register bit 15 7 TRIG A trigger has been received after pre trigger acquisition is complete and measurement count is not complete bit 14 6 DONE Memory is full or post trigger acquisition is complete bit 13 5 PRE Pre trigger data has been acquired and waiting for trigger bit 12 4 OVER A dangerous OVERvoltage caused the channel input relay to open bit 11 3 CH4 Channel 4 exceeded the set limit during the last sample taken bit 10 2 CH3 Channel 3 exceeded the set limit during the last sample taken bit 9 1 CH2 Channel 2 exceeded the set limit during the last sample taken bit 8 0 CH1 Channel 1 exceeded the set limit during the last sample taken CVTable Channel 1 Register This register holds the last value of the 2 s complement data stored in FIFO for Channel 1 Data is 14 bits with the LSB at bit 2 base 1046 14 13 12 Read MSB LSB CVTable Channel 2 This register holds the last value of the Ze complement data stored in FIFO Register for Channel 2 Data is 14 bits with the LSB at bit 2 base 1244 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Read MSB LSB 0 0 130 Register Based Programming Appendix B CVTable Channel 3 this register holds the last value of the 2 s complement data stored in FIFO Register for Channel 3 Data is 14 bits with the LSB at bit 2 base 1446 15 1
79. TB returns the value of the Status Byte Register The RQS bit bit 6 in the Status Byte Register having decimal weight 64 is set if a service request is pending Comments Executable when initiated YES Coupled command NO Related commands SRE Reset RST condition none Chapter 3 Digitizers Command Reference 113 TST WAI Comments Comments Comments TST causes the VT1563A and VT1564A Digitizers to execute an internal self test and returns the number of the first failed test TST Responses A zero response indicates the self test passed Any non zero response indicates the test failed Input the failed test number into the TEST ERR lt number gt command The returned values from this command will be the result code and a string See Appendix C for information on interpreting the result code and string Executable when initiated NO Coupled command NO Reset RST condition none WAI causes the VT1563A and VT1564A Digitizers to wait for all pending operations to complete before executing any further commands WAI Operation WAI will not wait for all measurements to complete when an INIT command is executed to start measurements WAI considers INIT finished once it is processed although the instrument may still be taking measurements In this case the instrument will move on to the next command following WAI while measurements are being taken Executable when initiated YES Coupled command NO Rela
80. V 78 uV 6 uV C 110 uV 16 uV C 0 034 0 0061 C 180 uV 1V 300 uV 15 uV C 430 uV 63 uV C 0 034 0 0061 C 720 uV 4V 1 2 mV 60 uV C 1 7 mV 251 uV C 0 034 0 0061 C 2 88 mV 16 V 21 mV 1 3 mV C 21 mV 1 63 mV C 0 034 0 0061 C 14 7 mV 64 V 28 mV 1 65 mV C 34 mV 4 24 mV C 0 034 0 0061 C 48 mV 256 V 79 mV 4 28 mV C 110 mV 16 2 mV C 0 034 0 0061 C 189 mV 1 Valid within the range of 0 C to 55 C A zero offset calibration for all channels must be performed if the instrument experiences a temperature lt 0 C or gt 55 C for these specifications to remain valid 2 Specification is valid when tested at a temperature within 5 C of the calibration temperature 3 Amount of error that must be added for each C outside of 5 C of the calibration temperature Appendix A Digitizers Specifications 119 Notes 120 Digitizers Specifications Appendix A Appendix B Register Based Programming About This Appendix This appendix contains the information you can use for register based programming of the VT1563A and VT1564A Digitizers The contents include Register Programming vs SCPI Programming 121 e Addressing the Registers 0 e eee eee eee 121 Register Descriptions 0 0 00 c eee eee 124 Programming Examples 0 0 00 c eee eee 140 Register Programming vs SCPI Programming The VT1563A and VT1564A Digitizers are register based modules that do not
81. V output from the DAC A negative full scale input combined with a DAC gain value of 255 will result in a 2 5 V output from the DAC A DAC gain value of 0 will result in 0 V output in both cases Executable when initiated NO Coupled Command NO Reset RST Condition None Digitizers Command Reference 63 DIAGnostic DAC OFFSet DIAGnostic DAC OFFSet lt channeb lt voltage gt writes the specified voltage value to the calibration offset DAC of the specified channel when the DAC GAIN command is sent This offset voltage value is not used unless a DAC GAIN lt value gt is sent to the calibration gain DAC This command is a factory diagnostic routine Parameters Name Type Range of Values Default Value voltage numeric 2 5 to 2 5 none Comments Executable when initiated NO Coupled Command NO Reset RST Condition None DIAGnostic DAC OFFSet RAMP DIAGnostic DAC OFFSet lt channeb RAMP lt count gt outputs to the specified channel a ramp of DAC values from 0 to 255 with the DAC code changing approximately every 100 psec This command is a factory diagnostic routine Parameters Name Type Range of Values Default Value count numeric 1 to 32767 none Comments Using the lt count gt Parameter The lt count gt parameter defines the number of ramps to output Approximately 37 35 full ramps are output each second A count of 2240 will output ramps for approximately 60 seconds
82. VXI Technology Inc VT1563A 2 Channel Digitizer VT1564A 4 Channel Digitizer User s Manual Technology Manual Part Number 82 0094 000 Revision June 27 2007 Printed in U S A Contents VT1563A VT1564A Digitizers User s Manual VXI TECHNOLOGY WARRANTY STATEMENT ssccusscccsessccasesstolasetiorecccsivansuiccmnaeeiieas 9 US Goverment Hesiticiad RighiS esisiini tip erie 9 gt SE aasa a 10 Wanna 10 Chapter 1 Configuring the Digitizer Modules cccsecssseeeeeeeeeeseeeseeeeeesseaeseseeeeesseesesseeeeneeees 13 Lano RE Eege dE 13 Dia Des n 13 General OPTS apta ad 13 PO Fo EE 14 Warnings and Caina niigi EE Ae E L Co maurina the DIME adi 19 Adding RAM to thie Madalena a 19 Setting the Logical Address Swit ssciscccvscasetscasiseteanseansencevadeadetaniddacceaseusbonias 21 Spina ihe Menu pt LNE EE 21 Installing the Digitizer in a Mainirame iii 22 Leer Cabling Consideration S isa A 23 Input Terminal Port Connector Cables scccccsssccsassccascnscatsccenccsssesnetimnvaceeanceendasenceras 23 Tigger input el 24 3 Wire and 2 Wire Input Cabling Considerations ccccceeeeeeeeeeeeeeeseeeeees 24 Cable Connector ASOMAN sesos ar ti 27 al ada 30 Chapter 2 Using the le KEE 33 UEM MiS IAS enee aii 33 Dita PRO aia iaa 33 Motor BOK DIO nia 33 EE IR TE 34 Pre Trigger Pest Trigger Blocs EL E 35 Poneron Resol lal ron 35 laput Overload Conditio NEE 36 Bie MS Er 37 o aa pata tales aaa enn ta je aaa dara NNA 37 Using lam
83. XTernal FREQuency lt freq gt specifies the externally supplied timebase frequency This command is not required unless ROSCillator SOURce is EXTernal The default timebase is the INTernal timebase Parameters Name Type Range of Values Default Value freq numeric 9 9E3 Hz to 30E6 Hz N A Comments Sample Periods The frequency parameter value is used to calculate sample periods when the sample source is set to TIMer The sample period must be at least 1 250E 6 seconds 800 kHz and must be an integral multiple of the timebase period 1 0E 7 seconds when the timebase source is INTernal Period values will be rounded to the nearest period the instrument can obtain Executable when initiated NO Coupled command NO Reset RST Condition frequency 10 0 MHz SENSe ROSCillator EXTernal FREQuency SENSe ROSCillator EXTernal FREQuency queries the external frequency Chapter 3 Digitizers Command Reference 89 SENSe ROSCillator SOURCe NOTE Comments SENSe ROSCillator SOURce INTernal EXTernal specifies the timebase source The default timebase is the INTernal timebase which uses the VXI CLK10 10 MHz reference The EXTernal input is the TTL Time Base input pin on the front panel External Trigger Input D subminiature connector right pin column bottom pin VT1563A VT1564A Time Base input bottom right pin The EXTernal source requires you also send ROSC EXT FREQ lt freq gt to speci
84. a VIG dia 37 Uong Extarnal TOUS a A 38 Meter Helene ee A EE EEN 38 Digitizers Application Eu 42 a Or EEN 42 Making Digitizer Measures ments ricos or odias 43 Chapter 3 Digitizers Command Reference cccessccceseeeeeeeeeeeseeeeeseeeesneaeenseeeeesnaeeenseeeesseeseneeaees 45 Using This Chapter aiii ines aia 45 Command Types usicicotisiisa tisdale iia 45 SCPI Command Referencer imise ioeie ieies pie a E R eE EEE area 47 ARO ws aL Ta 48 SAS 49 CALC Glare LE PAM ida 49 CALCulate LUMitLOWer DATA EE 50 CALC te LIME LO Wer DATAZ EEN 50 CALC URS LIME Lyi STATS ind 51 CALC Ube LIMELOWe ES Ale vii a 51 CALC ulate LIMItUPPer RE 51 CALGUE LIMP UP Per DATA EE 52 CALC URIS LIMICUPPS S TATE ria 52 CALCU ue Be WE KK TK 53 E EILER 54 ENTENTE 54 CAL UAC eer at a ai 55 SALINAS as 55 CALbration GAIN arca a 55 CALITO OURE E 57 CAGI aro SOURCE EE 58 CALDEO EE 58 REH RE 58 SALIA gt Le EE 59 EE TEEN 59 CALDO VALUE scorni E 60 CALpiration ZERO EE E 60 CALAS tasa 61 DIA TOSC di 63 BIEN DAC GAIN rcon 63 DIAGnostie DAG OFF EG 64 DIAGnostc DACOFFSeERAMP ci di 64 DIAN SS ee BEE 65 DIA nostoiDAC SOURCERAMP cn eta 65 DICTEN Ne UE LUIS cotas 66 K NN Ce ie EE 66 TAI OI AZE EEN 66 DIAG HORT EE E 67 BA mOSICPEEK anta 67 DATOS FO ui 69 Ea SO Ria ia 70 DASE e al EE 70 BIREN HE 70 PORRE diia 72 FORMAL DATA cian c 72 FORMAI DATA ai 72 A E EA O E AEAEE EE Ta INi Mae CONTINUOUS EE i ORT Ee TEEN 74 Na Ie id 74 INPUERI
85. a measurement now CONTinuous ON 1 OFF 0 Initiate measurements continuously CONTinuous Query continuous state INPut lt channe Set the input filter and enable disable input FILTer LPASs FREQ 1 5K 6K 25K 100K 4 chan FILTer LPASs FREQ FILTer LPASs STATe ON 1 OFF 0 FILTer LPASs STATe STATe ON 1 OFF 0 STATe VT1564A only VT1563A has fixed 25K Query filter frequency Enable disable channel s filter Query filter state Enable disable channel s input Query channel input state OUTPut TTLT lt n gt SOURce TRIGger SAMPle BOTH TTLT lt n gt SOURce TTLT lt n gt STATe ON 1 OFF 0 TTLT lt n gt STATe Define trigger lines to output trigger and or sample Query source Enable disable the specified output Query specified output SAMPle STARt SEQuence 1 COUNt lt count gt MIN MAX COUNt MIN MAX IMMediate PRETrigger COUNt lt count gt MIN MAX PRETrigger COUNt MIN MAX SLOPe POS 1 NEG 0 SLOPe SOURce HOLD TlMer TTLTO 7 EXT SOURce TlMer lt interval gt MIN MAX TlMer MIN MAX Set the number of samples to take Query number of samples set Take a sample now Set the number of pretrigger samples Query number of pretrigger samples Set the sample signal slope Query the sample signal slope Set the sample source Query the sample source Set sampling interval for source TIMer Query sampling inter
86. actual response you receive may be different than the example Executable when initiated YES Coupled command NO Reset RST condition none Power On condition register is cleared OPC causes the VT1563A and VT1564A Digitizers to wait for all pending operations to complete after which the Operation Complete bit bit 0 in the Standard Event Status Register is set OPC suspends any other activity on the bus until the digitizer completes all commands sent to it prior to the OPC command INIT vs OPC The INIT command is considered complete when the measurement is started OPC will not suspend activity once INIT is processed and measurements start but the instrument may not be finished taking all readings initiated Digitizers Command Reference 111 OPC RST Comments Comments Executable when initiated YES Coupled command NO Related commands OPC WAI Reset RST condition none OPC causes the VT1563A and VT1564A Digitizers to wait for all pending operations to complete A single ASCII 1 is then placed in the output queue INIT vs OPC The INIT command is considered complete when the measurement is started OPC will return 1 once INIT is processed and measurements start but the instrument may not be finished taking all readings initiated Executable when initiated YES Coupled command NO Related commands OPC WAI Reset RST condition none RST resets the VT1563A and VT156
87. alue that can be set by SAMPle COUNt See Chapter 2 for the relationship of the sample count base 3A46 15 14 13 12 11 10 7 6 5 4 3 2 1 0 Write C15 C14 C13 C12 C11 C10 C9 C8 C7 C6 C5 C4 C3 C2 C1 CO Read C15 C14 C13 C12 C11 C10 C9 C8 C7 C6 C5 C4 C3 C2 C1 CO Trigger This register provides the bits that control the trigger system See Source Control Master Slave Operation in Chapter 2 for more information on register E programming the digitizer in a master slave configuration This uses Register bits 5 6 10 and 11 of the register base 3C4g 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Write CMP4 CMP3 CMP2 CMP1 SLAVING EX_ POS_ SOFT MASTER SLAVE EN IN TTL_3 TTL_1 TTL_O PAIR TRIG NEG TRIG TTL OUT Read CMP4 CMP3 CMP2 CMP1 SLAVING EN POS_ SOFT MASTER SLAVE EN IN TTL_3 TTL_1 TTL_O PAIR TRIG NEG TRIG TTL OUT Appendix B Register Based Programming 137 WRITE BITS Trigger Source Register and READ BITS Trigger Control Register bits 0 2 TTL_n 000 TTLTO 001 TTLT1 010 TTLT2 011 TTLT6 111 TTLT7 bit 3 IN OUT TTLTn line is 0 IN 1 OUT bit 4 EN_TTL 0 disable TTLTn 1 enable TTLT
88. ameter is used When BOTH is used no other lines can be enabled Output pulses will not be sent until the TTL trigger line state is set to ON Resource Conflicts Resource conflicts will occur if either the trigger or sample source is already using a TTL line you attempt to enable The trigger source will be set to IMMediate if it is the conflict The sample source will be set to TlMer if it is the conflict A Settings Conflict error will occur Settings Conflict Error Setting the trigger or sample source to a TTL trigger line that has its output state ON will result in a Settings Conflict error and the output state will be changed to OFF The specified trigger line will be assigned to the sample or trigger source Executable when initiated NO Coupled Command YES Reset RST Condition Source is SAMPle for all TTL lines OUTPut TTLT lt n gt SOURce Chapter 3 OUTPut TTLT lt n gt SOURce queries the specified TTL Trigger line TTLTO TTLT7 to identify the source of output pulses A response of TRIG indicates the source is a trigger event a response of SAMP indicates the source is a sample event and a response of BOTH indicates the source is both a trigger event and a sample event Digitizers Command Reference 77 OUTPut TTLT lt n gt STATe OUTPut TTLT lt n gt STATe ON 1 OFF 0 enables or disables the specified TTL Trigger line for outputting the source set by OUTPut TTLT lt n gt SOURce
89. and Sample Rate The number of samples and the sample rate would normally be set to DEFault values to provide averaging over an integral number of either 50 Hertz or 60 Hertz power line cycles This allows the calibration to cancel out any noise that is periodic with the power supply Specifying a value other than DEF for lt samples gt and or lt rate gt will result in those values being used for the zero offset calibration Executable when initiated No Coupled Command No Reset RST Condition None CALibration ZERO ALL CALibration ZERO lt channel gt ALL lt samples gt lt rate gt initiates a zero offset calibration for all ranges on the specified channel using an internal short The command returns 0 if the calibration was successful or returns a non zero value if an error occurred while calibrating one of the ranges Parameters Name Type Range of Values Default Value samples numeric 25 to 4000 DEFault none rate numeric 1 25E 6 to reference period seconds 8 388 607 DEFault Comments Non Zero Error Values A non zero return value contains the failed ranges as high bits in the lower word For example a return value of 0000000000100001 has a lower word of 00100001 which indicates range 0 bit O 0 0625 V and range 5 bit 5 64 V failed The error string in SYST ERR contains information about the failure on the highest range that failed range 5 64 V If an error occurs on any ra
90. are 4 8 16 32 64 and 128 Mbytes The large memory can easily capture transients or act as FIFO to allow continuous digitizing while unloading data with block mode transfers Chapter 1 Configuring the Digitizer Modules 13 All channels sample simultaneously The sample can be from an internal clock derived from the internal time base or it can come from an external source Triggering can be set up for several sources with programmable pre and post trigger reading counts External time base trigger and sample inputs are provided on the front panel D subminiature connector Continuous voltages in a test setup where the user has access to module connectors and test signal cable ends are restricted to 60 Vpc 30 Vac rms or 42 4 Vac peak of a continuous complex waveform Continuous voltages in test setups where the module connectors and the test signal cables connected to them are made non accessible are 256 Vpc 240 Vpc floating or 256 Vac peak Transient voltages are permitted providing the maximum amount of charge transferred into a human body that contacts the voltage under normal conditions does not exceed 45 uCoulombs 45 uA s Overload voltages opens channel input relay follow Range Voltage Input Condition Vmax 62 mV to4V High or Low to Guard gt 20 V 16 V to 256 V Low to Guard gt 40 V Front Panel Figure 1 1 shows the front panel features for the VT1563A 2 Channel Digitizer Figure 1 2 shows the f
91. are the result to the appropriate test limit shown in the test record or the above table Repeat steps 4 5 and 6 for each range listed in Table D 3 Repeat steps 3 to 7 for Channel 2 on the VT1563A 2 Channel Digitizer and channels 2 through 4 on the VT1564A 4 Channel Digitizer changing the channel number in the DIAG SHORt lt channel gt ON command and executing the command prior to performing the steps Digitizers Verification Tests 155 Gain Verification Test 156 Digitizers Verification Tests The gain verification tests check the positive and negative full scale gain on each range for each channel An external DCV source provides the input and the digitizer s L terminal is connected to the G terminal connecting LO to GUARD The input voltage is slightly less than full scale to avoid overloading the range 1 Set the digitizer as follows Reset the digitizer RST sets FILT OFF Set Channel 1 to the 62 mV range VOLT1 RANG 62E 3 2 Set the DC Standard output to 55 mV 3 Perform the measurement using the INITiate command Retrieve the reading using DATA 1 1 4 Verify the result is within specified limits and record the result 5 Change ranges using VOLT lt channel gt RANG lt range gt and make a measurement for each DCV input and range shown in Table D 4 verifying the result is within specified limits Record the result 6 Repeat step 5 for Channel 2 on the VT1563A 2 Channel Digitizer and channels 2 through 4 on
92. ation Test A series of internal verification tests self tests that give a high confidence that the digitzer is operational The self tests take less than 20 seconds to complete Performance Verification Test A complete set of tests that are recommended as an acceptance test when the instrument is first received or after performing calibration of the digitizer Do not perform any of the following verification tests unless you are a qualified service trained technician and have read the WARNINGS and CAUTIONS in Chapter 1 and the Warnings and Safety information in the front matter Test equipment recommended for the performance verification and calibration procedures are listed in Table D 1 Use a source with accuracy requirements indicated in the table for any substitute calibration standard You should complete the Performance Verification tests at one year intervals For heavy use or severe operating environments perform the tests more often Table D 1 Recommended Test Equipment Application Recommended Accuracy Requirements Gain Calibration and Fluke 5700A lt 1 5 digitizer spec 1 ppm Verification linearity Special care must be taken to ensure that the calibration standards and test procedures used do not introduce additional errors Ideally the standards used to test and calibrate the digitizer should be an order of magnitude more accurate than each digitizer range full scale error specification
93. ationship of pre trigger readings and post trigger readings with the trigger event See Chapter 3 for a full description of the commands illustrated here Figure 2 3 Pre Trigger Post Trigger Block Diagram Power on Reset Table 2 1 describes all power on and reset states for the digitizer The reset States Table 2 1 Power on and Reset States state after executing RST is the same as the power on state Parameter Power on Reset State Parameter Power on Reset State DIAG INTerrupt LINE interrupt line 1 VOLT4 RANGe 256 V Channel 4 range FORMat DATA AGCH VOLT1 RESolution 7 8125 mV Channel 1 res INPut1 FILTer FREQ O no filter on Channel 1 VOLT2 RESolution 7 8125 mV Channel 2 res INPut2 FILTer FREQ O no filter on Channel 2 VOLT3 RESolution 7 8125 mV Channel 3 res INPut3 FILTer FREQ O no filter on Channel 3 VOLT4 RESolution 7 8125 mV Channel 4 res INPut4 FILT FREQ 0 no filter on Channel 4 SAMPle COUNt 1 one sample INPut1 STATe ON Channel 1 input state SAMPle PRETrigger COUNt 0 no pretrigger samples INPut2 STATe ON Channel 2 input state SAMPle SLOPe POSitive INPut3 STATe ON Channel 3 input state SAMPle SOURce TlMer internal time base INPut4 STATe ON Channel 4 input state SAMPle TIMer 1 3 usec OUTPut TTLTO 7 SOURce TRIGger all TTLTrigger lines TRIGger LEVel1
94. bled one of the internal triggers as the source for a particular channel such as Channel 2 TRIG SOUR INT2 and then tried to enable one of the limit checking features on Channel 2 CALC2 LIM UPP STAT ON 222 Data out of range A numeric parameter value is outside the valid range for the command Example digitizer is on the 1 V range and you send TRIG LEV 3 224 Illegal parameter A discrete parameter was received which was not a valid choice for value the command You may have used an invalid parameter choice Examples CAL SOUR TTLT2 TTLT2 is not a valid choice or SAMP COUN ON ON is not a valid choice 230 Data corrupt or stale NOT USED 231 Data questionable NOT USED 240 Hardware error This can occur if the instrument fails at power on 241 Hardware missing Usually is a result of sending a legal VT1564A command to a VT1563A An example is CAL DAC VOLT which is only legal for a VT1564A 300 Device specific error NOT USED 311 Memory error NOT USED 312 PUD memory lost NOT USED 313 Calibration memory NOT USED lost 330 Self test failed The digitizer s complete self test failed from the remote interface TST In addition to this error more specific self test errors are also reported See also Self Test Errors following this section 350 Too many errors The error queue is full because more than 20 errors have occurred No additional errors are stored until you remove errors from the queue The error queue is cleared when p
95. cable is recommended for all measurements Keep cables as short as possible Long test leads can act as an antenna causing pick up of ac signals and contributing to measurement errors Follow each adjustment by a performance verification test for added confidence We recommend the following general procedure 1 Perform the Zero Adjustment Procedure 2 Perform the Gain Adjustment Procedure s 3 Perform the Performance Verification Tests ORDER OF ADJUSTMENTS REQUIREMENT Range adjustments MUST be performed in the order given in the adjustment table An accurate range adjustment requires the range adjustments prior to the one in progress be within specification ZERO ADJUSTMENT REQUIREMENT The zero adjustment must be a recent adjustment prior to performing the gain adjustments It is recommended you perform the zero adjustment one time just before performing the gain adjustments Appendix E CAUTION NOTE Zero Adjustment Appendix E CAUTION ABORTING AN ADJUSTMENT IN PROGRESS Sometimes it becomes necessary to abort an adjustment once the procedure has been initiated Issuing a remote interface device clear command will abort the adjustment in progress Never turn off mainframe power while the digitizer is making an adjustment If power is removed during a zero adjustment ALL calibration memory may be lost If power is removed during any gain adjustment calibration memory for the function being adjusted may
96. cal constants Executable when initiated NO Coupled Command NO Reset RST Condition OFF CALibration STATe CALibration STATe queries the present calibration state of the instrument A return value of 1 indicates the instrument is enabled and will accept calibration commands and perform calibrations A return value of 0 indicates the instrument is not calibration enabled and attempting to execute a calibration process command such as CAL GAIN or CAL ZERO will return the error Calibration not enabled 58 Digitizers Command Reference Chapter 3 CALibration STORe NOTE CALibration VALue Chapier 3 Parameters Comments CALibration STORe writes the calibration constants to non volatile RAM after calibration has been completed The FLASH and CAL CONSTANTS switches must be set to the Write Enable positions before calibration constants are stored in RAM Executable when initiated NO Coupled Command NO Reset RST Condition None CALibration VALue lt voltage gt specifies the voltage value actually applied to the channel for calibration This value informs the digitizer what voltage is either being placed on the front panel input connector CAL SOURce EXTernal or the value being generated by the internal DAC VT1564A 4 Channel Digitizer only and being output onto the calibration bus Name Type Range of Values Default Value voltage numeric 0 061256409 15 680
97. calibrating calibration mode This error will occur when that is the case 1002 Trigger ignored A valid trigger occurred but was not expected at that time Usually because a trigger has already been received for that measurement 1003 Sample Trigger This will occur if the instrument is taking a sample and a SAMPle IMM ignored command is received during the previous sample period 1004 Insufficient data for This error will occur if you try to fetch readings but have not initiated a query measurement so no data is available 1005 Invalid channel This error usually is the result of trying to specify channels 3 or 4 for a number command sent to the VT1563A which only has two channels 1006 Invalid channel range During data fetching a channel range may be specified e g 1 4 A bad range could result by specifying 1 5 since there is no Channel 5 or 1 4 on a two channel card like the VT1563A or a descending range such as 3 1 1007 Error in CAL An error occurred while trying to perform the calibration command specified 1008 Data fetch timed out Data fetch timed out waiting for trigger It is allowable to ask for data waiting for trigger immediately after the INIT command This error will occur if you ask for data early and the trigger that initiates the measurement has not been received within the time period specified by the VISA timeout setting 1009 Error reading bits NOT USED viMoveln16 failed 1010 Self test failed The abbreviate
98. ctor Executable when initiated NO Coupled Command NO Reset RST Condition DAC output is set to 0 V Digitizers Command Reference 65 DIAGnostic INTerrupt LINE DIAGnostic INTerrupt LINE 0 1 2 3 4 5 6 7 sets the interrupt line to be used Specifying the 0 parameter disables all interrupts NOTE The STATus subsystem will not work if interrupts are disabled STATus OPERation and STATus QUEStionable Use DIAG STATus to disable interrupts Comments Power On Setting Power on default setting is interrupt line 1 Executable when initiated NO Coupled Command NO Reset RST Condition Interrupt line setting is unchanged DIAGnostic INTerrupt LINE DIAGnostic INTerrupt LINE queries the interrupt line setting Returns a number 0 through 7 to indicate interrupt line 1 through 7 A 0 returned indicates all interrupts are disabled NOTE The STATus subsystem will not work if interrupts are disabled STATus OPEReration and STATus QUEStionable Use DIAG STATus to disable interrupts DIAGnostic MEMory SIZE DIAGnostic MEMory SIZE lt size gt sets the memory size value in calibration memory Your module comes standard with 4 Mbytes of RAM You can replace this with PC SIMM modules of up to 128 Mbytes See Chapter 1 for the procedure for adding RAM to your module NOTE This command is required and used only when you change the size of RAM on the module You then use this command to se
99. d on the 64 V range A zero non converging error usually indicates some internal problem with the instrument It is recommended you run the self test TST command to identify any instrument problems Gain Calibration calibration value CAL VALue lt voltage gt not within 85 to 98 of full scale You have entered a voltage with the CAL VALue command that is not between 85 and 98 of the full scale range For example a calibration value between 0 85 and 0 98 is required on the 1 V range Gain Non converging error A gain non converging error usually indicates some internal problem with the instrument It is recommended you run the self test TST command to identify any instrument problems If you use an external calibration source you may have set the correct CAL VALue but did not connect the calibration source to the digitizer s input for the channel you are calibrating The calibration source may still be connected to the last channel calibrated Appendix C Digitizers Error Messages 149 Notes 150 Digitizers Error Messages Appendix C Appendix D Digitizers Verification Tests Introduction Types of Tests WARNING Recommended Test Appendix D Equipment This appendix provides information on functional and performance verification of the VT1563A 2 Channel Digitizer and VT1564A 4 Channel Digitizer You can perform performance verification tests at two different levels depending on need Functional Verific
100. d or external terminal by accepting the TST common command and performing a digitizer self test You have a high confidence 90 that the digitizer is operational if self test passes 1 Verify that the digitizer and command module or system resource manager e g embedded controller are properly installed in the mainframe 2 Remove any input connections to the digitizer input terminals Errors may be induced by ac signals present on the digitizer s input terminals during a self test 3 Execute the digitizer self test using the TST command 4 A 0 returned means self test passed with no failures Any other value returned is a self test error code and means a failure was detected See the TEST command in Chapter 3 for obtaining information about self test failures See Appendix C and the TEST command in Chapter 3 for self test error codes If an incorrect address is used the digitizer will not respond Verify proper address selection before troubleshooting Example Self Test This BASIC example performs a digitizer self test Any number other than 0 returned indicates a test failure See Appendix C and the TEST command in Chapter 3 for self test error codes 10 OUTPUT 70905 TST Send the self test command 20 ENTER 70905 A Read the test result 30 PRINT A Display the result 40 END Digitizers Verification Tests 153 Performance Verification Tests The procedures in this section are used to test the electrical pe
101. d power on self test failed A more thorough TST self test should be run for more specific information 1011 VISA error An unknown error occurred in the VISA I O library 1012 Write to Flash ROM An unknown I O error occurred while trying to write to flash ROM failed 1013 Insufficient memory The controller did not have enough memory for the command to for cal try smaller complete so try specifying a smaller sample size for the calibration sample size command that caused the error 1014 Memory malloc failed The controller did not have sufficient RAM for the command to insufficient memory execute 148 Digitizers Error Messages Appendix C Self Test Errors The self test command TST will return a non zero number if self test fails Self test error descriptions are retrieved using the TEST ERRor lt test_number gt command Use the number returned by self test as the lt test_number gt to obtain the description of the failure Calibration Errors Zero Calibration CAL ZERO lt channel gt ALL returns a non zero number if zero calibration fails For example a return value of 0x0021 binary value 100001 indicates that the 62 mV range and the 64 V range failed A 1 in the range position indicates a failure range 256 64 16 4 1 0 25 0 062 The error string returned by SYST ERR will contain information about the failure on the highest range for 0x0021 binary value 100001 information is returne
102. e none TlMer discrete Uses specified SAMPle TIMer none lt interval gt as sample rate TTLTO 7 discrete VXlbus TTL trigger lines none EXTernal discrete Sample pin on D sub connector none Sample Slopes and Periods A rising or falling edge for the sample slope can be specified if the source is set to EXTernal see SAMPle SLOPe A sampling period can be specified if the sample source is set to TIMer see SAMPle TIMer Slave Mode TRIG MODE SLAVe lt n gt forces the sample source to be the appropriate TTL trigger line Attempts to change the sample source while TRIG MODE is SLAVe lt n gt will result in a settings conflict error message Executable when initiated NO Coupled command YES TRIG MODE SLAVe lt n gt forces a specified TTL trigger line to the sample source A settings conflict occurs if you attempt to change this dedicated line with SAMPle SOURce TTL sources may conflict with the output subsystem Specifying a TTL source will force the output to be disabled See the OUTPut subsystem Reset RST condition TlMer source with 0 0000013 second sampling interval per reading SAMPle SOURce queries the present source setting for the sample signal The returned string is HOLD TlMer TTLTO 7 or EXT Digitizers Command Reference 83 SAMPle TIMer Parameters Comments SAMPle TIMer NOTE SAMPle TIMer lt interval gt MIN MAX sets the time interval for each sample event when the sample sourc
103. e MASTer0 module Figure 2 6 Slave Module Configuration 40 Using the Digitizers Chapter 2 The trigger source from the slave can be set with TRIG SOURce2 IMM INT1 4 EXT TTLT lt n gt MODE SLAVe Sample Signal GL Ave TTLTO SLAVe2 TTLT2 SLAVe4 TTLT4 SLAVe6 TTLT6 SLAVe0 sets the TTLTO line as if it were SAMP SOUR TTLTO and sets the TTLT1 line as if it were TRIG SOUR1 TTLT1 However SAMP SOUR or TRIG SOUR will not return these settings These lines are dedicated for synchronization between the modules in the master slave mode You should not use these lines for any other purpose with the OUTPut SAMPle or TRIGger commands Chapter 2 Using the Digitizers 41 Digitizers Application Examples Introduction Programming Requirements NOTE Hardware Used 42 Using the Digitizers This section contains example programs that demonstrate some VT1563A or VT1564A Digitizer applications The examples list only the SCPI commands required to perform the application You can use these examples to help you develop programs for your specific application Example programs are provided on the VXlplug8 play media that have been compiled and tested using Microsoft Visual C Version 1 51 for the C programs All C language example programs are written for the 82341 GPIB Interface Card using the Agilent VISA I O Library All projects written in C programming language require the following Microsoft
104. e VXlbus interrupters You can specify which interrupt line 1 through 7 the interrupt is transmitted The interrupt line is specified using DIAGnostic INTerrupt LINE You can query the active interrupt line using DIAGnostic INTerrupt LINE The default is no interrupt line enabled at power up You specify O if you do not want an interrupt Resetting the module does change the interrupt line setting and you must reset your interrupt setting Configuring the Digitizer Modules 21 Installing the The VT1563A or VT1564A Digitizer can be installed in any slot except slot Digitizer ina 0 in a C size VXlbus mainframe See Figure 1 5 for the procedure to install the Digitizer in a mainframe Mainframe 1 Set the extraction levers out 2 Slide the VT1563A VT1564A into any slot except slot 0 until the backplane connectors touch Extraction Levers 3 Seat the digitizer into the mainframe by pushing in the extraction levers 4 Tighten the top and bottom screws to secure the digitizer module to the mainframe NOTE The extraction levers will not l seat the backplane connectors on older H VXIbus mainframes You must manually seat the connectors by pushing in the module until the module s front panel is IA D flush with the front of the mainframe The Wi extraction levers may be used to guide or remove the digitizer To remove the digitizer from the mainframe reverse the procedure Figure 1 5 Installing the
105. e and another for the 256 V range 56 Digitizers Command Reference Chapter 3 CALibration SOURce Chapier 3 Comments Maximum Voltages for Each Range The absolute maximum voltages for each range are shown in the next table The values are approximately 98 of full scale Voltage Range Max DC Voltage absolute value 0 0625 0 061256409 0 2500 0 245025635 1 0000 0 980102539 4 0000 3 920410156 16 0000 15 68164062 64 0000 not used 256 0000 not used Specifying Parameters Optional parameters that are left blank are filled from left to right Therefore it is necessary to use the syntax DEFault to note that a particular parameter is to use the default value For example to specify a sample rate other than the default you must declare DEFault for the lt readings gt parameter or the lt rate gt parameter value you intended will be used to fill in the lt readings gt parameter The command for Channel 1 would appear as CAL GAIN1 DEF 002 If you are calibrating the 16 V range and you want to recalculate the 64 V and 256 V calibration constants the command is CAL GAIN1 DEF 002 ON Executable when initiated NO Coupled Command NO Reset RST Condition None CALibration SOURce INTernal EXTernal specifies the calibration source to be used for any subsequent gain calibrations EXTernal is the default source and a voltage must be provided from an external source to the channel being ca
106. e bits set the gain of the input channel by the codes shown below and 8 10 Code 000 62 5 mV range 001 0 25 V range 010 1 0 V range 011 4 0 V range 100 16 V range 101 64 V range 110 256 V range also 111 256 V range bits 3 shorti These bits connect an internal short to the channel inputs when the bit is 1 When it is 0 and 11 short2 bits 7 amp 15 connect the channel to the input or the calibration bus bits 4 6and Filter These bits set the input channel filter cut off frequency by the codes shown below 12 14 Code 000 1 5 kHz 001 6 kHz 010 25 kHz 011 100 kHz 111 NO filter bits 7 and Connect This bit connects the input channel to the front panel connector Connect Code 0 or to the 15 Code calibration bus Connect Code 1 Range Filter Channel 3 4 Connect Register and Each channel has an 8 bit byte which controls the input signal range filter cut off and the relay that connects the channel to the front panel connector The fastest way to change range filter or the connect relay is to write a 32 bit word to the register After every write to this register the bus is held off 10 us until the range filter and relay information is sent to the isolated channel The settling time for the relays filters and the gain amplifier is about 10 ms This register controls channels 3 and 4 base 2646 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Write
107. e is TIMer Measurements are made on the input signal at this rate This interval is common to all channels for sample source TlMer Name Type Range of Values Default Value interval numeric 1 25E 6 to 0 8 in multiples 1 3E 6 seconds of the reference oscillator period Default TlMer period is 1 3E 6 seconds See SENSe ROSC EXT FREQ lt freq gt Using the Sample Interval The sample interval specified by the period parameter must be a multiple of the reference oscillator period The specified time if not a correct multiple of the reference oscillator period will be rounded to the nearest value that can be attained SAMPle SOURce INTernal if not a correct multiple of 1E 7 will be rounded to the nearest value that can be attained by the internal clock The maximum sample rate with the internal 10 MHz reference oscillator is 1 1 3 psec 769 23 kSamples s since the 10 MHz clock resolution is 0 1 psec and an integer number of clock tics that gives gt 1 25 psec must be used An external reference oscillator with a frequency that is a multiple of 800 MHz must be used to obtain the 800 KSamples s maximum sample rate Executable when initiated NO Coupled command YES The value is changed to the nearest possible value if an external reference is specified Reset RST condition 0 0000013 1 3 ps SAMPle TIMer MIN MAX queries the sample interval when the sample source is TlMer 84 Digitizer
108. ediate trigger to begin the sampling measurements on two channels and to retrieve the interleaved readings from FIFO memory Resetting the digitizer sets the data format to ASCII sample source to timer and trigger source to immediate CLS IClear the status system RST Reset the digitizer VOLT1 RANG 4 ISet Ch 1 to 4 V range VOLT2 RANG 4 ISet Ch 2 to 4 V range SAMP COUN 20 ISet sample count to 20 common to all channels SAMP PRET COUN 10 Set pre trigger count to 10 common to all channels INIT lInitiate measurements DATA 20 1 2 Read 20 readings from Chs 1 amp 2 Enter statement Enter readings into the computer This example use the internal level trigger to trigger from an input ramp signal as it crosses zero The example takes pre trigger readings and post trigger readings Resetting the module sets the data format to ASCii sample source to TIMer and trigger source to IMMediate The sample interval and the trigger source are changed from the reset setting Resetting the module also sets the trigger level to 0 V and the trigger slope to positive Trigger level and slope commands are resent to reiterate the level and slope of the trigger In this case these commands are redundant CLS IClear the status system RST Reset the digitizer VOLT1 RANG 4 ISet Ch 1 to 4 V range SAMP COUN 7 ISet sample count to 7 common to all channels SAMP PRET COUN 3 Set pre trigger count to 3 common to all channels SAMP TIM
109. el 3 135 Trigger Interrupt Level Channel 4 136 WRITE registers 124 reset state 35 restricted rights statement 9 S safety symbols 10 Sample Control register 138 Sample Count High Byte register 137 Sample Count Low Word register 137 Sample Period High Byte register 136 Sample Period Low Word register 136 172 Index abbreviated 46 abbreviated commands 46 command reference 47 command separator 46 format 45 implied 46 implied commands 46 linking commands 47 parameters 46 quick reference 115 SENSe subsystem SENSe DATA 85 SENSe DATA ALL 87 SENSe DATA COUNt 88 SENSe DATA CVTable 88 SENSe ROSCillator EXTerna FREQuency 89 SENSe ROSCillator EXTernal FREQuency 89 SENSe ROSCillator SOURCe 90 SENSe ROSCillator SOURce 90 SENSe SWEep OFFSet POINts 91 SENSe SWEep OFFSet POINts 91 SENSe SWEep POINts 91 SENSe SWEep POINts 91 SENSe VOLTage lt chan gt DC RANGe 92 SENSe VOLTage lt chan gt DC RANGe 92 SENSe VOLTage lt chan gt DC RES 92 specifications digitizers 119 Status Control register 126 STATus subsystem STATus OPERation CONDition 95 STATus OPERation ENABle 95 STATus OPERation ENABle 95 STATus OPERation EVENt 96 STATus PRESet 96 S continued STATus subsystem cont d STATus QUEStionable CONDition 96 STATus QUEStionable ENABle 96 STATus QUEStionable ENABle 96 STATus QUEStionable EVENt 96 SYSTem sub
110. er lt n gt SLAVe lt n gt sets the trigger mode Master and Slave parameters set the modules for use in connecting more than one module together for simultaneous measurements from the same trigger and sample Name Type Range of Values Default Value lt n gt numeric 0 2 4 6 none Master and Slave Operation NORMal sets standard trigger operation and the specified trigger and sample sources are used MASTer lt n gt and SLAVe lt n gt pairs a sample line and a trigger line which are then used for multiple unit synchronization See Chapter 2 for more information including diagrams Digitizers Command Reference 105 TTLT pairs to SLAVe modules MASTer MODE SLAVe MODE Sample line Trigger line MASTer0 SLAVe0 TTLTO TTLT1 MASTer2 SLAVe2 TTLT2 TTLT3 MASTer4 SLAVe4 TTLT4 TTLT5 MASTer6 SLAVe6 TTLT6 TTLT7 Executable when initiated YES Coupled command NO Reset RST condition NORMal mode TRIGger MODE TRIGger SLOPe lt n gt Parameters Comments TRIGger MODE queries the trigger mode setting Returns NORMal MASTer or SLAVe TRIGger SLOPe lt n gt POS 1 NEG 0 sets the active edge of the trigger signal that causes a measurement to be made Name Type Range of Values Default Value lt n gt numeric 1or2 none Trigger Source Must be INTernal or EXTernal Trigger slope is active only when the trigger source is one of the four INTernal leve
111. es for adjusting the calibration constants in the VT1563A and VT1564A digitizer See Calibration Interval for recommendations on time intervals You must set the modules FLASH and CALIBRATION CONSTANTS switches to the Write Enable position before you perform any adjustment This allows modified calibration constants to be stored in memory when you execute CAL STORe The VT1563A and VT1564A Digitizers feature closed cover electronic calibration There are no internal mechanical adjustments When you input CAL VALue lt voltage gt the digitizer measures the applied voltage when performing a zero or a range gain calibration and then calculates correction factors based on this known input reference value You store the new correction factors in non volatile memory using the CAL STORe command Non volatile memory does not change when power is turned off or after a remote interface reset The VT1563A and VT1564A Digitizers should be calibrated on a regular interval as determined by the measurement accuracy requirements of your application A 90 day interval is recommended for the most demanding applications while a 1 year or 2 year interval may be adequate for less demanding applications VXI Technology does not recommend extending calibration intervals beyond 2 years in any application Whatever calibration interval you select VXI Technology recommends complete re adjustment always be performed at the calibration interval This will
112. f digitizer accuracy to measurement uncertainty Performance Performance Verification Test programs are provided so you can Verification Test performance verify your digitizer These programs were developed on a PC running Windows with a GPIB interface and SICL Windows for GPIB Programs software All projects written in C programming language require the following settings files or paths to work properly Project Type QuickWin application EXE Project Files 1 lt source code file name gt C which includes the VISA h header file 2 One of the following files from the Agilent I O Libraries for Instrument Control drive VXIPNP WIN LIB MSC VISA LIB Microsoft compiler drive VXIPNP WIN LIB BC VISA LIB Borland compiler Memory Model Options Project Compiler Memory Model large Directory Paths Options Directories Include File Paths drive VXIPNP WIN INCLUDE Library File Paths drive VXIPNP WIN LIB MSC Microsoft drive VXIPNP WIN LIB BC Borland 152 Digitizers Verification Tests Appendix D Functional Verification Test Functional Test Procedure NOTE Appendix D The procedure in this section is used to quickly verify that the digitizer is functioning This test should be performed any time the user wants to verify that the digitizer is connected properly and is responding to basic commands This test verifies that the digitizer is communicating with the command module external controller an
113. front panel features 14 functional verification test 153 G Gain Verification test 156 ID register 126 implied commands 46 initial operation 30 INITiate subsystem INITiate CONTinuous 73 INITiate CONTinuous 74 INITiate IMMediate 74 input overload condition 36 INPut subsystem INPut FILTer LPASs FREQ 75 INPut FILTer LPASs FREQ 75 INPut FILTer LPASs STATe 76 INPut FILTer LPASs STATe 76 INPut STATe 76 INPut STATe 76 installing digitizers in mainframe 22 Interrupt Control register 129 interrupt line setting 21 Interrupt Source register 130 L linking commands 47 logical address setting 21 master slave operation 38 measurement uncertainty 158 N Noise Verification test 155 O Offset and Cache Count register 128 offset register 123 operation digitizers 33 OUTPut subsystem OUTPut TLT SOURce 77 OUTput TTLT SOURce 77 OUTPut TTLT STATe 78 OUTPut TTLT STATe 78 overload voltages 14 P Performance Test Record 158 performance tests conditions 152 performance verification Filter Bandwidth test 157 Gain Verification test 156 Noise Verification test 155 performance verification test programs 152 performance verification tests 154 power on state 35 Pre Trigger Count High Word register 136 Pre Trigger Count Low Word register 137 programming register based 121 R RAM adding 19 Range Filter Connect Channel 1 2 register 133 Ran
114. fy the frequency of the external timebase Timebase Reference The timebase reference set by SAMPle TlMer lt interval gt is used when the sample source is TIMer SAMPle SOURce TlMer Executable when initiated NO Coupled command YES The SAMPle TlMer lt interval gt is set to a period or interval nearest the old value when source is changed from EXTernal to INTernal or vice versa Reset RST Condition INTernal source freq 10 0 MHz SENSe ROSCillator SOURce SENSe ROSCillator SOURce queries to determine the timebase source Returns either INTernal or EXTernal 90 Digitizers Command Reference Chapter 3 SENSe SWEep OFFSet POINts SENSe SWEep OFFSet POINts lt count gt MIN MAX sets the number of sweep offset points lt count gt must be a negative number Comments This command is the same as SAMPle PRETrigger COUNt except the sign on lt count gt is negative here whereas it is positive for pretrigger count and is included for SCPI compatibility SENSe SWEep OFFSet POINts SENSe SWEep OFFSet POINts MIN MAX returns the sweep offset points SENSe SWEep POINts SENSe SWEep POINts lt count gt MIN MAX sets the number of sweep points The number of points set is common to all channels You cannot have two different channels with different a sweep point count Parameters Name Type Range of Values Default Value lt count gt numeric 1 to 32M VT1563A N A 1 to 16M VT1564
115. ge Filter Connect Channel 3 4 register 133 READ registers 125 recommended test equipment 151 register descriptions 124 Index 171 R continued register offset 123 register based programming 121 registers SAMPle subsystem SAMPle COUNt 79 SAMPle COUNt 80 SAMPle IMMediate 80 A24 Offset 128 addressing 121 base address 122 Calibration Flash ROM Address 131 Calibration Flash ROM Data 132 Calibration Source 132 CVTable Channel 1 130 CVTable Channel 2 130 CVTable Channel 3 131 CVTable Channel 4 131 description 124 Device Type 126 SAMPLe PRETrigger COUNt 80 SAMPle PRETrigger COUNt 81 SAMPle SLOPe 82 SAMPle SLOPe 82 SAMPle SOURce 82 SAMPle SOURce 83 SAMPle TlMer 84 SAMPle TlMer 84 Samples Taken High Byte register 131 Samples Taken Low Word register 131 SCPI command reference 47 SCPI commands 45 FIFO High Word Low Word 128 ID register 126 Interrupt Control 129 Interrupt Source 130 Offset and Cache Count 128 Pre Trigger Count High Word 136 Pre Trigger Count Low Word 137 Range Filter Connect Channel 3 4 133 READ registers 125 Sample Control 138 Sample Count High Byte 137 Sample Count Low Word 137 Sample Period High Byte 136 Sample Period Low Word 136 Samples Taken High Byte 131 Samples Taken Low Word 131 Status Control 126 Trigger Control 137 Trigger Interrupt Level Channel 1 134 Trigger Interrupt Level Channel 2 135 Trigger Interrupt Level Chann
116. ger COUNt MIN MAX returns the number of pretrigger samples each channel will make prior to each trigger The number of pretriggers returned is common to all channels Chapter 3 Digitizers Command Reference 81 SAMPle SLOPe SAMPle SLOPe POS 1 NEG 0 sets the slope of the sample signal the active edge rising or falling of the sample signal The slope setting is common to all channels Comments Sample Source Must be EXTernal This command is effective only when the sample source is EXTernal The slope is set but will be ignored if the sample source is a source other than EXTernal Executable when initiated NO Coupled command NO Reset RST condition POSitive 1 SAMPle SLOPe SAMPle SLOPe queries the present setting of the slope of the sample signal The sample slope is effective only when the sample source is EXTernal SAMPle SOURce SAMPle SOURce HOLD TiMer TTLTO 7 EXT sets the source of the sample signal which causes a measurement to be made The sample source is common to all channels TlMer uses the internal time base The EXTernal input is the TTL Sample input pin on the front panel External Trigger Input D subminiature connector left pin column bottom pin VT1563A VT1564A Sample input bottom left pin 82 Digitizers Command Reference Chapter 3 Parameters Comments SAMPle SOURce Chapier 3 Name Type Point of Source Default HOLD discrete SAMPle MMediat
117. gister base 3846 Post Trigger Count Low Register base 3A g Trigger Control Source Register base 3C Sample Control Source Register base 3E g DIAG PEEK 4 or DIAG PEEK 5 may cause an error if they are read before data has been taken 68 Digitizers Command Reference Chapter 3 DIAGnostic POKE DIAGnostic POKE lt reg_number gt lt data gt places the specified value in the specified register Parameters Name Type Range of Values Default Value reg_number numeric 2 4 14 16 18 31 none data numeric 32768 to 32767 none signed integer 0 to 65535 unsigned integer Comments Writing to Registers See Appendix B for register bit definitions You can write to the following digitizer registers using the register number For example to write to the Range Filter Connect Channels 1 and 2 register to set Channel 1 and 2 ranges to 64 V and set the filters to 100 kHz execute DIAG POKE 18 13621 The binary bit pattern for 13621 is 0011010100110101 reg_number Register Description base register offset 2 Status Control Register base 0416 3 Offset Register base 0616 6 Interrupt Control Register base 0Cj 14 Calibration Flash ROM Address Register base 1C g 15 Calibration Flash ROM Data Register base 1E g 16 Calibration Source Register base 2016 18 Range Filter Connect Chs 1 and 2 Register base 2416 19 Range Filter Connect Chs 3 and 4 Register base 2616
118. gister returns 266 g in the least significant bits 16 Register to identify the device as the VT1563A 2 Channel Digitizer or 26746 in the least significant bits to identify the device as the VT1564A 4 Channel Digitizer base 0215 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Read VT1563A 2 Channel Digitizer 266 4 61449 0 1 1 1 VT1564A 4 Channel Digitizer 26746 61549 Reading the Register Via Command Module PEEK command DIAG PEEK 2083330 16 2083328 base with logical address 40 02 offset see Figure B 2 Via Digitizer Module PEEK command DIAG PEEK 1 1 signifies the second word 16 bits zero base numbering system rites to the Status Control Register base which enables you to Status Control wri he Status Control Register base 04 6 which enables y Reg ister reset the module and set either A24 or A32 decoding You can also read the MODID bit base 0446 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Write A Unde MOT A24 Undefined F E Undefined S R fined INTEL Read A M MOT A24 Unde Memory Size F E Arm Delay RDY P S R INTEL fined 126 Register Based Programming Appendix B WRITE BITS Status Control Register bit 0 R Writing a 1 to this bit resets the digitizer to the power on state You must set bit O back to a logical 0 before resumi
119. hannels on the VT1563A and VT1564A SOUR1 is not associated only with Channel 1 and SOURZ2 is not associated only with Channel 2 Name Type Range of Values Default Value lt n gt numeric 1or2 none Must Use INITiate TRIGger SOURce only selects the trigger source You must use INITiate to place the digitizer in the wait for trigger state TRIGger SOURce EXT TRIGger SOURce EXT uses the External Trigger In Port Trig pin on the D sub miniature connector as the trigger source The digitizer triggers on the falling negative going edge of a 5 V TTL input signal maximum input is 5 V peak to the Trig pin TRIGger IMMediate TRIGger MMediate causes a trigger to occur immediately provided the digitizer is placed in the wait for trigger state using the INITiate command Using GET or TRG When a Group Execute Trigger GET bus command or TRG common command is executed and the digitizer is not in the wait for trigger state the Trigger ignored error is generated Digitizers Command Reference 107 TRIGger SOURce INTernal TRIGger SOURce INTernal1 2 VT1563A or TRIGger SOURce INTernal1 4 VT1564A triggers a reading when the level specified by TRIG LEVel lt channel gt is met The TRIG SLOPe setting determines whether the trigger occurs when the signal rises above POSitive or falls below NEGative the specified level on that channel CALCulate Disabled If TRIGger SOURce INT lt n gt is set C
120. he 1 and 2 are not channel designators but source designators Using SCPI or VXIplug play you can trigger internally from a voltage level from any channel The trigger level is set using TRIG LEVel lt channel gt lt voltage gt for the channel you want to generate the trigger event You then set the trigger source to trigger internally from that channel using TRIG SOURce lt n gt INT lt channebk For example to trigger from a 11 5 V level on Channel 2 send VOLT2 RANG 16 TRIG LEV2 11 5 TRIG SOUR INT2 Figure 2 1 shows the relationship of the trigger level to the internal trigger source Each channel has a level compare circuit that compares the input signal to the value set by the TRIG LEVel lt channel gt command This level initiates a trigger when the input signal equals or exceeds the value set by TRIG LEVel This means the trigger can occur at a value other than the value set by the TRIG LEVel command For example assume a trigger level of 0 V on a ramp from 1 V to 1 V The first samples may be negative values close to zero These values will not cause a trigger because they do not equal or exceed the trigger level value yet The next sample may be a positive value greater than the trigger level The trigger compare circuit see Figure 2 4 detects this level is equal to or greater than the trigger level value set and a trigger is generated It was not however generated at the exact trigger level value set by the T
121. he following three things occurs The measurement is stopped by the ABORt command The measurement is stopped by executing INITiate CONTinuous OFF The instrument s FIFO memory is filled This can be prevented by fetching the data from memory in blocks faster than the sample rate can fill memory Determining Measurement Complete Status INIT IMMediate and INIT CONTinuous return 1 to OPC when the instrument begins measurement not when measurements complete To determine when a non continuous measurement is complete use DIAG STATus and monitor bit 6 Digitizers Command Reference 73 You can also detect when measurements are complete by monitoring the measurement complete bit bit 9 of the STATus OPERation CONDition register in the STATus system see the STATus subsystem WAI OPC and OPC will all be fulfilled immediately after INIT is processed not when the measurements are complete Comments Executable when initiated NO Coupled Command NO Reset RST Condition Idle state INITiate CONTinuous INiTiate CONTinuous queries the instrument to determine if the INITiate CONTinuous is enabled or disabled INITiate IMMediate INITiate IMMediate initiates the trigger system and prepares a Digitizer to take voltage measurements Comments Digitizer Operation After initiation the Digitizer enters the wait for trigger state and begins taking pretrigger readings until the pretrigger count is met if
122. he readings from the VT1563A and VT1564A Digitizers Subsystem Syntax FORMat DATA ASCii PACKed REAL DATA FORMat DATA FORMat DATA ASCii PACKed REAL specifies the output format for measurement data Comments PACKed Format PACKed 16 format is signed 16 bits 16 bit integers Data are returned as raw data and must be converted to voltage by using voltage reading range 32768 or voltage reading resolution Use SENSe VOLTage DC RESolution to obtain the resolution value REAL Format REAL 64 format returns data as IEEE 754 64 bit real numbers IEEE 488 2 Headers Both PACKed 16 and REAL 64 formats return data preceded by the IEEE 488 2 definite length arbitrary block header The header is lt num_digits gt lt num_bytes gt where e signifies a block transfer e lt num_digits gt is a single digit 1 through 9 which specifies how many digits ASCII characters are in lt num_bytes gt e lt num_bytes gt is the number of data bytes which immediately follow the lt num_bytes gt field Reset RST Condition FORMat DATA ASCIi FORMat DATA FORMai DATA queries the type of output format set for measurement data The command returns ASC 7 PACK 16 or REAL 64 where ASC amp indicates ASCII data with seven significant digits ASC 7 indicates ASCII data with seven significant digits PACKed 16 indicates the format is signed 16 bits and REAL 64 indicates data is IEEE 75
123. his pattern is not present Register base 1C4g 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Write 0 1 0 1 O A1i0 A9 A8 A7 AB A5 A4 A3 A2 At AO Read 0 0 0 0 O Ai0 A9 A8 A7 AB A5 A4 A3 A2 A1 AO Appendix B Register Based Programming 131 Calibration Flash ROM Data Register This register holds the data of the calibration flash ROM that is used for the calibration constants The upper eight bits return 0 when this register is read Note the bit pattern 01010 for bits 15 11 in the upper byte A write to Flash ROM is aborted if this pattern is not present base 1E46 15 14 13 12 11 10 9 8 7 6 5 4 3 1 0 Write 0 1 0 1 0 1 0 1 D7 D6 D5 D4 D3 D2 Di DO Read 0 0 0 0 0 0 0 0 D7 D6 D5 D4 D3 D2 Di DO Calibration Source The VT1564A 4 Channel Digitizer has an on board calibration source Register The source is a 12 bit DAC with a gain switch Bit 15 is the gain switch and bits 11 through 0 are the calibration value base 2046 15 14 13 12 11 10 g 8 7 6 5 4 3 1 0 Write RANGE MUX1 MUXO DAC Data WRITE BITS Calibration Source Register bits 0 11 DAC DAC data bit 12 13 MUXO 1 connects choices to the output 00 CAL source 01 Raw DAC output 10 Internal 5 V reference 11
124. ibrating each range The values are approximately 98 of full scale Voltage Max DC Voltage Voltage Max DC Voltage Range absolute value Range absolute value 0 0625 0 061256409 16 0000 15 00 0 2500 0 245025635 64 0000 not used 1 0000 0 980102539 256 0000 not used 4 0000 3 920410156 54 Digitizers Command Reference Chapter 3 CALibration DAC Errors There is no calibration DAC output for the 64 volt and 256 volt ranges See the CALibration GAIN command for more information about the calibration of these two ranges An error will occur if the voltage value specified is greater than that allowed for the present range setting You must set the desired range prior to setting the calibration DAC voltage Executable when initiated NO Coupled Command NO Reset RST Condition 0 0 Volts CALibration DAC VOLTage CALibration DATA CALibration GAIN Chapier 3 Parameters CALibration DAC VOLTage MIN MAX queries the setting of the calibration DAC VT1564A 4 Channel Digitizer only The DAC voltage is output to the calibration bus and accessible at the front panel External Trigger Input Calibration Bus Output Connector CAL H and CAL L only if the CALibration SOURce is set to INTernal The MIN parameter returns the minimum voltage available from the DAC and MAX returns the maximum voltage available from the DAC CALibration DATA returns the calibration constants currently stored in non volatile cal
125. ibration memory CALibration GAIN lt channel gt lt readings gt DEF lt rate gt DEF ON 1 OFF 0 initiates a gain calibration on the channel specified The ON parameter will cause the 64 V and 256 V ranges to be indirectly calibrated from the 16 V range gain calibration The ON OFF parameter is ignored except for a gain calibration of the 16 V range Name Type Range of Values Default Value readings numeric 25 to 4000 DEFault none rate numeric 1 25E 6 to reference period seconds 8 388 607 DEFault Digitizers Command Reference 55 Comments _ Steps Before Executing a Gain Calibration The following steps must be completed prior to executing a gain calibration 1 Set the digitizer to the desired range and filter on the channel you want to calibrate with VOLTage lt channel gt RANGe lt range gt and INPut lt channel gt FiLTer FREQ lt freq gt and FlLTer STATe ON OFF 2 Enable calibration with CALibration STATe ON and specify the calibration source with CALibration SOURce 3 Specify a calibration value for the channel you are calibrating The value must be between 85 and 98 of either a positive full scale reading or negative full scale reading The ideal calibration value is 98 of positive or negative full scale see CALibration DAC VOLTage 4 The calibration voltage must be applied to the input connector if CALibration SOURce EXTernal is used You must enter the external calibrator voltage
126. ier 3 CALCulate lt channeb LIMit UPPer DATA lt value gt MIN MAX sets the upper limit value you want to test against CALCulate LIMit FAIL will return a 1 following the measurement and prior to the next measurement if the input signal rose above the specified upper limit value and LIM UPP STATe is ON A 0 is returned if the limit was not exceeded Digitizers Command Reference 51 Parameters Comments Comments Name Type Range of Values Default Value value numeric 254 to 252 volts Maximum Allowed Values The maximum allowed lt value gt depends on the range setting An error will occur if you try to set a level that exceeds the range setting Changing the range after setting the limit value will change the limit value The percent of full scale is kept constant Allowable maximum values for the upper limit by range and the associated resolution follow Executable when initiated NO Range Maximum Value Resolution 0 0625 0 062011719 0 000488281 0 250 0 248046875 0 001953125 1 00 0 992187500 0 00781250 4 00 3 968750 0 031250 16 00 15 8750 0 1250 64 00 63 50 0 500 256 00 254 00 2 0 Coupled Command YES Range changes will change the value The percent of full scale of the range will be kept constant For example on the 4 volt range with a 2 V limit a range change to 16 V will set a new limit of 8 V Reset RST Condition 252 Volts
127. igger Interrupt Level Channel 1 Register base 2846 Trigger Interrupt Level Channel 2 Register base 2Aig Trigger Interrupt Level Channel 3 Register base 2C46 Trigger Interrupt Level Channel 4 Register base 2Eig Sample Period High Word Register base 3046 Sample Period Low Word Register base 3246 Pre Trigger Count High Register base 3446 Pre Trigger Count Low Register base 3646 Post Trigger Count High Register base 3846 Post Trigger Count Low Register base 3Aig Register Based Programming 125 ID Register Description Address Trigger Control Source Register base 3Cig Sample Control Source Register base 3E46 Reading the ID register returns FFF46 in the least significant bits to indicate that this procuct was originally manufactured by Hewlett Packard and that the module is an A16 register based device base 0046 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Read Device Class Addr Space Manufacturer ID returns FFF 4 12289 in Hewlett Packard A16 only 1 1 0 0 register based Reading the Register Via Command Module PEEK command DIAG PEEK 2083328 16 2083328 base with logical address 40 0 offset see Figure B 2 Via Digitizer Module PEEK command DIAG PEEK 0 0 signifies the first word 16 bits zero base numbering system Device Type Reading the Device Type Re
128. igger level to 0 5 V Set trigger slope to positive Initiate measurements Read 7 readings from Ch 1 Enter readings into the computer Chapter 2 Chapter 3 Digitizers Command Reference Using This Chapter Command Types Common Commands Format SCPI Command Format Chapier 3 This chapter describes the Standard Commands for Programmable Instruments SCPI and IEEE 488 2 Common commands applicable to the VT1563A and VT1564A Digitizers This chapter contains the following sections Command Types 45 e SCPI Command Reference 47 e EEE 488 2 Common Commands Reference 109 SCPI Commands Quick Reference 00 115 Commands are separated into two types IEEE 488 2 Common Commands and SCPI Commands The IEEE 488 2 standard defines the Common commands that perform functions like reset self test status byte query etc Common commands are four or five characters in length always begin with the asterisk character and may include one or more parameters The command keyword is separated from the first parameter by a space character Some examples of common commands are RST ESR 32 STB The SCPI commands perform functions such as making measurements querying instrument states or retrieving data The SCPI commands are grouped into command subsystem structures A command subsystem structure is a hierarchical structure that usually consists of a top level or root command one
129. inimize measurement error 24 Configuring the Digitizer Modules Chapter 1 Digitizer Input Model Figure 1 8 shows the input model for the digitizer Maximum voltage between Low and Guard is 5 V Exceeding this limitation will not damage your digitizer but will generate invalid data for any measurement taken In general 3 Wire cabling is recommended but 2 Wire cabling is supported for some switching applications Figure 1 8 Digitizer Input Model Three Wire Connections This section shows two examples of connecting the input using a three wire connection Both example connections can be made using shielded twisted pair connectors For the first example Figure 1 9 shows one way to make connections for a bridge measurement where the L to G voltage is lt 5 V and the L to G voltage exceeds 5 V A Wagner ground is used to satisfy the L to G restriction of lt 5 V and to make a Guard connection point that minimizes measurement error due to the digitizer s injected current A capacitor is added to the Wagner ground to provide a signal path to ground to minimize common mode voltages For the second example Figure 1 10 shows one way to measure the voltage across a small current sensing resistor where the input to the digitizer is switched through a multiplexer switch module Figure 1 9 Example Three Wire Connections Bridge Chapter 1 Configuring the Digitizer Modules 25 Figure 1 10 Example Three Wire Connection
130. inished Using Agilent VISA you can query the value of the status byte without going through the digitizer s command parser by using the viReadSTB function call The OPR bit is the summary bit for the OPERation Status Register The QUE bit is the summary bit for the QUEStionable Status Register Use ESE to query the unmask value for the Standard Event Status Register bits you want logically ORed into the summary bit Query using decimal weighted bit values STATus OPERation CONDition STATus OPERation CONDition returns a decimal weighted number representing the bits set in the OPERation Status Condition Register STATus OPERation ENABle STATus OPERation ENABle lt unmask gt enables unmasks bits in the OPERration Status Enable Register to be reported to the summary bit setting Status Byte Register bit 7 true The event register bits are not reported in the Status Byte Register unless specifically enabled STATus OPERation ENABle Chapier 3 STATus OPERation ENABle returns a decimal weighted number representing the bits enabled in the OPERation Status Enable Register signifying which bit s will set OPR bit 7 in the Status Byte Register Digitizers Command Reference 95 STATus OPERation EVENt STATus PRESet STATus OPERation EVENt returns a decimal weighted number representing the bits set in the OPERation Status Event Register This command clears all bits in the Event Register when executed STATu
131. ionable Overload detected data questionable An error message is also returned when you initiate the next measurement Overload detected attempting re connect of input relays input range to close by executing INP lt channel gt ON Relays open at approxiately 260 V If this happens you must reprogram the Chapter 2 Triggering the Digitizers Trigger Sources NOTE Using Internal Chapter 2 Triggering This section describes digitizer triggering including Trigger Sources Using Internal Triggering Using External Triggering Master Slave Operation Triggering digitizer readings across all input channels is accomplished with one or both of the two trigger sources TRIGger SOURce1 and TRIGger SOURce2 The trigger event can be different for each source For example SOURce1 can be EXT and SOURce2 can be TTLTO Use TRIG SOURce lt n to set the trigger source event options which can be OFF BUS EXT HOLD IMMEDIATE INTernal1 4 TTLTO 7 You must execute TRIG SOURce lt n gt two times to set both trigger sources TRIG SOUR1 and TRIG SOUR2 At power up and after resetting the module with RST TRIG SOUR1 defaults to IMM and TRIG SOUR2 defaults to HOLD The number of readings set by SAMPle COUNt are taken after the trigger event occurs Do not confuse TRIG SOUR1 as being associated with only Channel 1 as well as TRIG SOUR2 with only Channel 2 Both sources are common to ALL channels and t
132. ions For the VT1563A 2 Channel Digitizer INPut lt channeb STATe OFF connects the specified channel to ground For the VT1564A 4 Channel Digitizer INPut lt channel gt STATe OFF connects the specified channel to the internal calibration bus calibration DAC Executable When Intitiated NO Coupled Command NO Reset RST Condition all channels ON connected INPut STATe INPut lt channel gt STATe queries the specified channel to determine if the input signal is connected to or disconnected from the Digitizer s measurement circuitry lf connected a 1 is returned If disconnected a 0 is returned 76 Digitizers Command Reference Chapter 3 OUTPut Subsystem Syntax The OUTPut command subsystem sets the source of output pulses for the specified TTL Trigger line TTLTO TTLT7 and enables or disables the output OUTPut TTLT lt n gt SOURce TRIGger SAMPle BOTH TTLT lt n gt SOURce TTLT lt n gt STATe ON 1 OFF 0 TTLT lt n gt STATe OUTput TTLT lt n gt SOURce Comments OUTPut TTLT lt n gt SOURce TRIG SAMP BOTH sets the source of output pulses for the specified TTL Trigger line lt n gt can have the value 0 through 7 TTLTO TTLT7 Output Pulses Triggering The Digitizer allows separate control of the trigger signal and the sample signal outputtothe TTL trigger lines Each can output to only a single line However they can both output onto the same line when the BOTH par
133. itizers Command Reference Chapter 3 Comments TRIGger LEVel TRIGger MODE Chapter 3 Parameters Comments Changing Ranges The present range setting will determine the maximum and minimum values that can be entered without error Changing range will keep the level at the same percentage of the new range For example if level is set to 2 0 on the 4 V range the level is set to 8 0 if you change to the 16 V range 50 of full range Setting Levels Changing ranges will change an existing level to the same percent of full scale on the new range For example if an 8 0 level is set on the 16 V range and the range is then changed to the 4 V range the level attempts to change to 2 0 V still 50 However for this range this action causes an error message to be generated and the new level is set to the maximum or minimum the new range will support Trigger Slopes TRIG SLOPe specifies the direction of signal movement through which the level will trigger the digitizer TRIG SLOPe POSitive causes a trigger when the signal passes through the level and rises above the specified level TRIG SLOPe NEGative causes a trigger when the signal passes through the level and falls below the specified level Executable when initiated NO Coupled command YES Range setting Reset RST condition 0 00 on all channels TRiIGger LEVel lt channel queries the value of the trigger level set on the specified channel TRIGger MODE NORMal MAST
134. le from the internal clock source bit 6 EXT 0 timebase is internal 10 MHz clock 1 timebase is external clock source you must Timebase input on the Time Base pin on the front panel External Trigger Input connector 138 Register Based Programming Appendix B WRITE BITS Sample Source Register and READ BITS Sample Control Register bit 7 SOFT software sample 0 IMMediate disabled 1 IMMediate enabled SAMPLE bit 8 POS NEG External sample slope 0 NEG 1 POS bit 9 EX_SAMPLE 1 EXTernal sample is an external source you must input on the Sample pin on the front panel D subminiature connector 0 EXTernal sample disabled bit 12 ABORT 1 aborts measurement and flushes all reading data in all memory The bit is set to O when the digitizer is initiated bit 13 INIT This bit will initiate measurements after a 30 ms delay when itis set to 1 It is set to 0 with 30 msec when pre trigger readings are complete delay bit 15 INIT IMM This bit will initiate measurements immediately when it is set to 1 It is set to O when pre trigger readings are complete Appendix B If bit 12 and either bit 13 or 15 is set during the same write an ABORT followed by an INIT is executed If bit 12 is 0 either bit 13 or 15 is set and the previous measurement completed an ABORT followed by an INIT is executed If bits 12 13 and 15 are all 0 no
135. librated INTernal Source The INTernal source is available only on the VT1564A 4 Channel Digitizer CAL SOURce INTernal outputs the specified DAC voltage set by CAL DAC VOLT lt voltage gt onto the calibration bus where itis applied internally to the channels The INTernal source is also available on the Calibration Bus Output connector Measuring Calibration Voltage From the Calibration Bus Output connector you must measure the voltage with a transfer standard accurate voltmeter and enter the measured value using the CAL VALue command The calibration gain command then sets calibration constants for the value you input assuming it is the value on the calibration bus Digitizers Command Reference 57 Executable when initiated NO Coupled Command NO Reset RST Condition EXTernal CALibration SOURce CALibration SOURce queries which calibration source is set This setting is shared by all channels Returns INT for INTernal or EXT for EXTernal CALibration STATe CALibration STATe ON 1 OFF 0 enables the calibration of the instrument Many instrument operations are not allowed when this state is ON and will result in an error Illegal while calibrating You must set the calibration state to OFF when calibration is finished NOTE Sending CAL STAT OFF without storing any modified cal constants with the CAL STORe command will generate an error Send the ABORt or RST command to abort a calibration without storing
136. ls TRIG SOURce INT1 4 or when the EXTernal trigger source is specified TRIG SOURce EXTernal Two Trigger Sources There are two trigger sources and you must designate which source you are setting the slope Use n 1 for the slope of trigger source number 1 and n 2 for the slope of trigger source number 2 Trigger slope defaults to n 1 if lt n gt is not designated Executable when initiated YES Coupled command TRIG SOURce INT1 4 and TRIG SOURce EXTernal Reset RST condition SLOPe1 POSitive and SLOPe2 POSitive 106 Digitizers Command Reference Chapter 3 TRIGger SLOPe lt n gt Parameters TRIGger SLOPe lt n gt queries the present setting for the slope of the trigger signal for the trigger source 1 or 2 specified Trigger slope for source number 1 is returned if lt n gt is not designated Trigger slope applies only for TRIG LEVel when the trigger source is INTernal or EXTernal The command returns POS or NEG Name Type Range of Values Default Value lt n gt numeric 1or2 none TRIGger SOURce lt n gt Chapter 3 Parameters Comments TRIGger SOURce lt n gt BUS EXTernal HOLD IMMediate INTernal1 4 TTLTO 7 sets the source of the trigger for all channels or can disable the trigger source The command defaults to trigger source number 1 if lt n gt is not designated Two trigger sources are allowed TRIG SOUR1 and TRIG SOUR2 which are common to ALL c
137. lt value gt to set the actual limit value to be tested against This command returns the voltage level measured and the detection mode A returned value of 0 indicates the specified channel is disabled for lower limit checking 1 returned indicates the specified channel is enabled and will detect signals below the specified lower limit Executable When Initiated YES Coupled command YES Setting the lower state ON will cause LIMit UPPer STATe to be set OFF if it is ON Lower Limit Enable Error An error will be generated if you have TRIG SOURce set to INT1 4 and the internal input is the same as the channel you are attempting to enable for lower limit testing For example assume TRIG SOUR INT2 is set The trigger level from Channel 2 is the trigger event that is the internal trigger input CALC LIMit LOWer STATe ON is attempting to use this signal for limit testing and creates a settings conflict Either the trigger level can be used as an internal trigger or the level can be used in limit testing but not both Reset RST Condition OFF CALCulate LIMit LOWer STATe CALCulate lt channel LIMit LOWer STATe queries the lower limit checking state to see if it is enabled or disabled for the specified channel 1 returned indicates the specified channel is enabled for lower limit checking 0 returned indicates the specified channel is disabled for lower limit checking CALCulate LIMit UPPer DATA Chap
138. ly Conforms with the following product standards EMC Standard Limit IEC 61326 1 1997 A1 1998 EN 61326 1 1997 A1 1998 Group 1 Class A CISPR 11 1990 EN 55011 1991 4kV CD 8kV AD IEC 61000 4 2 1995 A1 1998 EN 61000 4 2 1995 3 V m 80 1000 MHz IEC 61000 4 3 1995 EN 61000 4 3 1995 0 5kV signal lines 1kV power lines IEC 61000 4 4 1995 EN 61000 4 4 1995 IEC 61000 4 5 1995 EN 61000 4 5 1995 0 5 kV line line 1 kV line ground IEC 61000 4 6 1996 EN 61000 4 6 1996 E IEC 61000 4 11 1994 EN 61000 4 11 1994 Dips 30 10ms 60 100ms CISPR 22 1997 EN 55022 1998 Interrupt gt 95 5000ms CISPR 24 Class A Canada ICES 001 1998 Australia New Zealand AS NZS 2064 1 The product was tested in a typical configuration with Agilent test systems Safety IEC 61010 1 1990 A1 1992 A2 1995 EN 61010 1 1993 A2 1995 Canada CSA C22 2 No 1010 1 1992 UL 3111 1 1994 IEC 60950 1991 A1 A2 A3 A4 EN 60950 1992 A1 A2 A3 A4 A11 27 June 2007 Date Steve Mauga QA Manager For further information please contact your local VXI Technology sales office agent or distributor Issue Date 27 June 2007 11 Notes Chapter 1 Configuring the Digitizer Modules Using This Chapter This chapter provides guidelines to configure the VT1563A and VT1564A modules and to verify successful installation Chapter contents are Digitizers Description o oooooooooromommo 13 e Warnings and Cautions 17 e Configuring the
139. manent loss of data WARNINGS The following general safety precautions must be observed during all phases of operation service and repair of this product Failure to comply with these precautions or with specific warnings elsewhere in this manual violates safety standards of design manufacture and intended use of the product VXI Technology assumes no liability for the customer s failure to comply with these requirements Ground the equipment For Safety Class 1 equipment equipment having a protective earth terminal an uninterruptible safety earth ground must be provided from the mains power source to the product input wiring terminals or supplied power cable DO NOT operate the product in an explosive atmosphere or in the presence of flammable gases or fumes For continued protection against fire replace the line fuse s only with fuse s of the same voltage and current rating and type DO NOT use repaired fuses or short circuited fuse holders Keep away from live circuits Operating personnel must not remove equipment covers or shields Procedures involving the removal of covers or shields are for use by service trained personnel only Under certain conditions dangerous voltages may exist even with the equipment switched off To avoid dangerous electrical shock DO NOT perform procedures involving cover or shield removal unless you are qualified to do so DO NOT operate damaged equipment Whenever it is possible that the safety protec
140. master and slave s where one TTL trigger line carries the sample signal and the other carries the trigger signal The next section describes how these TTL trigger lines are paired TRIGger MODE is used to configure Digitizers for master slave operation The mode can be NORMal MASTer or SLAVe The default setting for trigger mode is TRIGger MODE NORMal which configures the module as an individual instrument Chapter 2 NOTE TRIGger MODE MASTer lt n gt configures a module as a master The eight TTL trigger lines TTLTO TTLT7 on the VXI backplane allow four different pairings as shown in Table 2 2 MASTer0 SLAVe0 MASTer2 SLAVe2 MASTer4 SLAVe4 and MASTer6 SLAVe6 You must select an unused set of TTL trigger lines for the master slave coupling when determining which master mode to set Do not use a TTLT line already used by SAMPle SOURce or TRIGger SOURce TRIGger MODE SLAVe0 configures a module as a slave to a MASTer0 module MASTer0 and SLAVe0 modules share TTL trigger lines TTLTO and TTLT1 TTLTO carries the sample signal and TTLT1 carries the trigger signal Table 2 2 shows all pairs of TTL trigger lines for each master slave mode Table 2 2 Trigger Sources for Master Slave Modes MASTer SLAVe Trigger Sources MASTer MODE SLAVe MODE TRIG SOUR1 TRIG SOUR2 MASTer0 GL Aen TTLT1 Any source except TTLTO amp TTLT1 MASTer2 SLAVe2 TTLT3 Any source except TTLT2 8 TTLT3 MASTer4 SLAVe4 TTLT5 Any so
141. mples Taken Low Word Register c scssseecscesecceeeeceeeseeseeeeenesseeeseaaeesees 131 Calibration Flash ROM Address Register AA 131 Calibration Flash ROM Data Register ccccccccccceeecsecs tenses serene ran 132 Calibration Sorice eet 132 AMS CA EE 132 Range Filter and Channel 1 2 Connect Register cc ccccecsesseeeeeeeeeteeeees 133 Range Filter and Channel 3 4 Connect Register c cccccecsesseeeeeseeeeeeees 133 Trigger Interrupt Level Channel 1 Register ccsscceccsocrecreeeneeeneeereeeenenes 134 Trigger Interrupt Level Channel 2 Register essccsccecscereceeeeeeeneeeeeeeeneres 135 Trigger Interrupt Level Channel 3 Register csccceccecocerecreeereeeeneeeneeeenenes 135 Trigger Interrupt Level Channel 4 Register escccsccecsceseceeeeeeeeneeeneeeeneees 136 sample Period High Byte Register aromas 136 Sample Periad Low Word Register veiciioniinca tr cr ir ie 136 Pre Trigger Count High Byte Register coi 136 Pre Trigger Count Low Word Register ooconoccconiccconncccconcccccocccnnnancnnanannnnann cnn 137 sample Count High Byle Register sssrini tosan nananana aa i 137 Sample Count Low Word Register eiii as 137 Trigger Source Control EE posan 137 Sample Source Gonttol REGIS ncoiioconiincn moria ai 138 Programimit Examples essani 140 Appendix C Digitizers Error Messages A a a a e 145 SEN cuisine aria 145 ew UE UN sarria o a pad 149 CONIDIA HOTT NOG O o a oes i
142. n bit 5 SLAVE 0 not a slave module 1 slave module bit 6 MASTER 0 not a master module 1 master module bit 7 SOFT TRIG software trigger 0 IMMediate disabled 1 IMMediate enabled bit 8 POS_NEG trigger slope 0 NEG 1 POS bit 9 EX_TRIG 0 EXTernal trigger disabled 1 EXTernal trigger enabled and must be input on the Trig pin on the front panel D subminiature connector bits 10 11 SLAVING_PAIR 00 MASTer0 SLAVe0 01 MASTer2 SLAVe2 10 MASTer4 SLAVe4 11 MASTer6 SLAVe6 bits 12 15 CMP1 4 0 INTn disabled 1 INTn enabled Example a 1 in CMP2 means the level set in the Trigger Interrupt Level Channel 2 Register will be used as the INTernal trigger source Sam ple This register provides the bits that control the sample system Source Control Register base 3Ey6 15 14 13 12 11 110 J9 8 7 6 5 4 3 2 1 0 Write SW SW ABORT EN POS_ SOFT EST INT EN IN TTL_3 TTL_1 TTL_O ARM ARM SAM NEG SAM TIME CLOCK TTL JOUT IMM 30 mS PLE PLE BASE delay Read SW SW ABORT EN POS_ SOFT EST INT EN IN TTL_3 TTL_1 TTL_O ARM ARM SAM NEG SAM TIME CLOCK TTL JOUT IMM 30 mS PLE PLE BASE delay WRITE BITS Sample Source Register and READ BITS Sample Control Register bits 0 2 TTL_n 000 TTLTO 001 TTLT1 010 TTLT2 011 TTLT6 111 TTLT7 bit 3 IN OUT TTLTn line is 0 IN 1 OUT bit 4 EN_TTL 1 enable TTLTn 0 disable TTLTn bit 5 INT Clock 0 disable sampling from internal clock source 1 samp
143. ng err viPrintf digitizer DN n if err lt VI_ SUCCESS err_handler digitizer err err viScanf digitizer t buf if err lt VI_ SUCCESS err_handler digitizer err printf Module ID sinin buf Check the module for system errors err viPrintf digitizer SYST ERRAn if err lt VI_ SUCCESS err_handler digitizer err err viScanf digitizer t buf if err lt VI_ SUCCESS err_handler digitizer err printf System error response s n n buf viClose digitizer close the digitizer session end of main Error handling function void err_handler ViSession digitizer ViStatus err char buf 1024 0 viStatusDesc digitizer err buf retrieve error description printf ERROR s n buf return Chapter 1 Configuring the Digitizer Modules 31 Notes 32 Configuring the Digitizer Modules Chapter 1 Chapter 2 Using the Digitizers Using this Chapter This chapter gives guidelines to use the VT1563A and VT1564A Digitizers including e Digitizers Operation 33 Triggering the Digitizers 0 0 eee eee eee 37 Digitizers Application Examples oooooommmoo o 42 Digitizers Operation This section shows block diagram operation for the VT1563A and VT1564A Digitizers including digitizer block diagrams power on reset states and input overload conditions Digitizer Block Figure 2 1 shows
144. ng normal operations of the module bit 1 S 1 inhibits sysfail 0 does not inhibit sysfail bit 6 E 1 disables error reporting LED 0 enables error reporting LED front panel bit 7 F 1 disables Flash ROM write 0 enables Flash ROM write bit 12 A24 1 sets A24 space as all FIFO 0 sets A24 space as broken up bit 13 MOT INTEL 1 sets Motorola format for reading ordering 0 sets Intel format for reading ordering bit 15 A 1 enables A32 decoding 0 enables A24 decoding READ BITS Status Control Register bit O Reset Status 1 module reset 0 normal operation bit 1 S SYSFAIL inhibit 1 inhibited 0 not inhibited bit 2 Passed 1 passed 0 failed bit 3 RDY Ready 1 A32 decoding enabled 0 A24 decoding enabled bits 4 amp 5 Arm Bit 4 is 1 for 1 msec after a range filter change then returns to 0 bit 5 is 1 Delay for 30 msec after range filter change then returns to 0 bit 6 E Error 1 disables front panel error LED 0 enables front panel error LED bit 7 F Flash ROM 1 disables Flash ROM write 0 enables Flash ROM write bits 8 9 Memory Memory Size 000 4 MBytes 001 8 MBytes 010 16 MBytes 011 32 MBytes and 10 Size 100 64 MBytes 101 128 MBytes bit 12 A24 1 sets A24 space as all FIFO 0 sets A
145. nge calibration proceeds on to the next range and the bad range is noted Chapter 3 Digitizers Command Reference 61 Steps Before Executing a Zero Calibration The following steps must be completed prior to executing a zero calibration Errors result if these steps are not performed before CAL ZERO ALL 1 Set CAL STATe ON to allow calibration to occur 2 Set the digitizer to the desired filter on the channel you want to calibrate with INPut lt channef FiLTer FREQ lt freq gt and FILTer STATe ON OFF Optional Parameters Optional parameters that are left blank are filled from left to right Therefore it is necessary to use the syntax DEFault to note that a particular parameter is to use the default value For example to specify a sample rate other than the default you must declare DEFault for the lt readings gt parameter or the lt rate gt parameter value you intended will be used to fill in the lt readings gt parameter The command for Channel 1 would appear as CAL ZERO1 DEF 002 Number of Samples and Sample Rate The number of samples and the sample rate would normally be set to DEFault values to provide averaging over an integral number of either 50 Hertz or 60 Hertz power line cycles This allows the calibration to cancel out any noise that is periodic with the power supply Specifying a value other than DEF for lt samples gt and or lt rate gt will result in those values being used Executable when initiated NO
146. nnel 3 Register base 2C46 Trigger Interrupt Level Channel 4 Register base 2E46 Sample Period High Word Register base 3046 Sample Period Low Word Register base 3216 Pre Trigger Count High Register base 3446 Pre Trigger Count Low Register base 3646 Post Trigger Count High Register base 3846 Post Trigger Count Low Register base 3Aig Trigger Control Source Register base 3C46 Sample Control Source Register base 3E46 124 Register Based Programming Appendix B READ Registers You can read the following digitizer registers Appendix B Description Address Manufacturer ID Register base 0046 Device Type Register base 0246 Status Control Register base 0446 Offset Register base 0646 FIFO High Word Register base 0846 FIFO Low Word Register base 0Aig Interrupt Control Register base 0C46 Interrupt Sources Register base 0E46 CVTable Channel 1 Register base 1016 CVTable Channel 2 Register base 1216 CVTable Channel 3 Register base 1446 CVTable Channel 4 Register base 1616 Samples Taken High Word Register base 1846 Samples Taken Low Word Register base 1Aig Calibration Flash ROM Address Register base 1C46 Calibration Flash ROM Data Register base 1E46 Calibration Source Register base 2046 Range Filter Connect Channels 1 and 2 Register base 2446 Range Filter Connect Channels 3 and 4 Register base 2616 Tr
147. nts will accept this command but cannot change the filter and will not generate an error Filter is Set to Nearest Value For the VT1564A 4 channel digitizer the filter will be set to the nearest value that can be achieved by the value specified in the command For example if you specify 10E3 the filter is set to 6 kHz or if you specify 20E3 the filter is set to 25 kHz For the VT1563A 2 channel digitizer the filter will be 25 kHz regardless of what value you input see above note Executable when initiated NO Coupled Command NO Reset RST Condition Filter state OFF INPut FiLTer LPASs FREQ Chapier 3 INPut lt channel gt FILTer LPASs FREQ queries the present filter frequency setting on the specified channel Digitizers Command Reference 75 INPut FILTer LPASs STATe INPut lt channel gt FILTer LPASs STATe ON 1 OFF 0 enables or disables the low pass filter on the specified channel Comments Executable Command NO Coupled Command NO Reset RST Condition Filter OFF INPut FILTer LPASs STATe INPut lt channel gt FILTer LPASs STATe queries the specified channel to determine if the low pass filter is enabled or disabled A return value of 0 indicates the filter is OFF and 1 indicates the filter is ON INPut STATe INPut lt channel gt STATe ON 1 OFF 0 connects or disconnects the input signal to the Digitizers measurement circuitry Comments OFF State Connect
148. o execute its programming instructions for the period specified above due to defects in material and workmanship when properly installed and used If VXI Technology receives notice of such defects during the warranty period VXI Technology will replace software media which does not execute its programming instructions due to such defects 3 VXI Technology does not warrant that the operation of VXI Technology products will be uninterrupted or error free If VXI Technology is unable within a reasonable time to repair or replace any product to a condition as warranted customer will be entitled to a refund of the purchase price upon prompt return of the product 4 VXI Technology products may contain remanufactured parts equivalent to new in performance or may have been subject to incidental use 5 The warranty period begins on the date of delivery or on the date of installation if installed by VXI Technology If customer schedules or delays VXI Technology installation more than 30 days after delivery warranty begins on the 31st day from delivery 6 Warranty does not apply to defects resulting from a improper or inadequate maintenance or calibration b software interfacing parts or supplies not supplied by VXI Technology c unauthorized modification or misuse d operation outside of the published environmental specifications for the product or e improper site preparation or maintenance 7 TO THE EXTENT ALLOWED BY LOCAL LAW THE ABOVE
149. olution 14 bits including sign Sample rates 1 Samples s to 800 kSamples s Integral Non linearity all ranges 2 5 LSB Built in DSP No Alias protection Oversample Time base resolution 0 1 us Low frequency CMRR 113 dB Input Impedance 0 0625 V 0 250 V 1 0 V and 4 0 V ranges 5 MQ 16 0 V 64 0 V and 256 0 V ranges 1 MQ Memory Triggering Trigger Time and Event Pre trigger capture Yes Memory 4 MB to 128 MB PC SIMM FIFO memory Minimum External Trigger Pulse Width 20 ns External Sample Latency 100 nsec due to optocoupler External Trigger Latency 0 5 x Sample Interval Minimum Ext Sample Clock Pulse Width 20 ns Can accept non periodic sample pulses Cooling Slot Watts slot VT1563A 20 6 W VT1564A 37 4 W AP 0 18 mm H2O Air flow 2 8 L s Environmental For indoor use pollution degree 2 IEC 61010 1 Operating altitude 3000 meters or mainframe altitude specification whichever is lower Operating temperature 0 C to 55 C Rel humidity up to 80 at 31 C decreasing to 50 at 40 C VT1563A VT1564A Accuracy Specifications 1 Year Range Zero Offset Zero Offset Gain Noise with filter OFF with filter ON of reading 3 sigma Specifi Temperature Specifi Temperature Specifi Temperature Specifi cation Coefficient cation Coefficient cation Coefficient cation 0 0625 V 20 uV 1 9 uV C 28 uV 4 3 uV C 0 034 0 0061 C 57 uV 0 25
150. or D 0 18 where D is from PC board lower side where it rests on the bracket D does not include the height of chips mounted on the lower side of the board Figure 1 3 Adding RAM to the Module Configuring the Digitizer Modules 19 RAM Installation 1 Disconnect any field wiring from the module and remove power from Procedure the mainframe before proceeding 2 Remove the module from the mainframe and remove the top shield from the module 3 Remove the 4 Mbyte SIMM from the PC board by first spreading the tabs at the ends of the SIMM connector Store this SIMM in an anti static bag and save this part NOTE Iris important that you retain the 4 Mbyte SIMM you remove from the Digitizer If you return your Digitizer to VXI Technology for repair or exchange you must return it in the same configuration as it was shipped to you You must remove the large memory SIMM and replace it with the standard 4 Mbyte SIMM shipped with the product 4 Add your replacement SIMM to the module s RAM socket 5 Reinstall the module s top shield 6 Note the new memory configuration by checking the appropriate box on the module s top shield 7 Set the CALIBRATION CONSTANTS switch and the FLASH switch to the Write Enable position 8 Install the module in the mainframe and apply power 9 Set the new RAM memory size by sending DIAGnostic MEMory SIZE lt size gt 10 Query the memory size to verify the setting by sending DIA
151. ort is present or returns 0 if it is not present DIAGnostic STATus DIAGnostic STATus returns the status of bits in the instrument s interrupt sources register offset 08 see Appendix B A high value in a bit location indicates a particular event has occurred The bit positions and their meanings are as follows Bit Event Represented When Bit is High 0 Channel 1 limit was exceeded or Channel 1 trigger level was exceeded 1 Channel 2 limit was exceeded or Channel 2 trigger level was exceeded Channel 3 limit was exceeded or Channel 3 trigger level was exceeded Channel 4 limit was exceeded or Channel 4 trigger level was exceeded An input overload occurred and the input relay opened The pre trigger count has been met oO oa AJ wr N The measurement has completed normally or available memory has been filled and the measurement was halted 7 A valid trigger event was received after the pretrigger acquisition if any was completed 70 Digitizers Command Reference Chapter 3 Comments Command Returns Status Information This command returns a binary weighted number representing the bit pattern of the register and therefore the status of the above instrument events Executable when initiated NO Coupled Command NO Reset RST Condition None Chapter 3 Digitizers Command Reference 71 FORMat The FORMat command subsystem is used to specify the output format of t
152. ower has been off or after a CLS clear status command has been executed 410 Query A command was received which sends data to the output buffer but INTERRUPTED the output buffer contained data from a previous command the previous data is not overwritten The output buffer is cleared when power has been off or after a RST reset has been executed 420 Query The digitizer was addressed to talk i e to send data over the UNTERMINATED interface but a command has not been received which sends data to the output buffer For example you may have executed a SAMPle COUNt lt count gt which does not generate data and then attempted an ENTER statement to read data from the remote interface 430 Query A command was received which generates too much data to fit in the DEADLOCKED output buffer and the input buffer is also full Command execution continues but all data is lost Appendix C Digitizers Error Messages 147 Number Title Description 440 Query The DN command must be the last query command within a UNTERMINATED command string Example 1DN SYST VERS after indefinite response 300 Not yet implemented NOT USED 1000 Illegal when initiated Many commands are not allowed to execute when the instrument is busy taking a measurement this error will occur if that is the case 1001 Illegal while Many commands are not allowed to execute when the instrument is in
153. puter software as defined in DFARS 252 227 7013 Oct 1988 DFARS 252 211 7015 May 1991 or DFARS 252 227 7014 Jun 1995 as a commercial item as defined in FAR 2 101 a or as Restricted computer software as defined in FAR 52 227 19 Jun 1987 or any equivalent agency regulation or contract clause whichever is applicable You have only those rights provided for such vx Technology Software and Documentation by the applicable FAR or DFARS clause or the VXI Technology standard software agreement for the product involved VT1563A 2 Channel Digitizer and VT1564A 4 Channel Digitizer User s Manual Copyright 2003 VXI Technology Inc All rights reserved Safety Symbols Instruction manual symbol affixed to product Indicates that the user must refer to AJ Alternating current AC the manual for specific WARNING or CAUTION information to avoid personal Direct current DC injury or damage to the product Warning Risk of electrical shock Indicates the field wiring terminal that must be connected to earth ground before operating the equipment protects against electrical shock in case of fault Calls attention to a procedure practice or condition that could cause bodily injury or death WARNING Calls attention to a procedure practice or Frame or chassis ground terminal typically CAUTION condition that could possibly cause damage to or connects to the equipment s metal frame equipment or per
154. r test has adequate insulation between the cable connections and any operator accessible parts doors covers panels shields cases cabinets etc Verify there are multiple and sufficient protective means rated for the voltages you are applying to assure the operator will NOT come into contact with any energized conductor even if one of the protective means fails to work as intended For example the inner side of a case cabinet door cover or panel can be covered with an insulating material as well as routing the test cables to the module s front panel connectors through non conductive flexible conduit such as that used in electrical power distribution TIGHTEN MOUNTING SCREWS Tighten the faceplate mounting screws after installing the module in the mainframe to prevent electric shock in case of equipment or field wiring failure Configuring the Digitizer Modules 17 CAUTION OVERVOLTAGE PROTECTION To prevent equipment damage do not connect this equipment to mains or to any signal directly derived from mains Short term temporary overvoltages must be limited to 500 V or less To prevent equipment damage in case of an overvoltage condition do not connect this equipment to any voltage source which can deliver greater than 2 A at 500 V in the case of a fault If such a fault condition is possible insert a 2 A fuse in the input line CAUTION CLEANING THE MODULE Clean the outside surfaces of this module with
155. r based module Chapter 3 Digitizers Command Reference 67 reg_number 0 1 2 3 Aen pr 30 31 Register Description base register offset Manufacturer ID Register base 0016 Device Type Register base 0216 Status Control Register base 0416 Offset Register base 06 g FIFO High Word Register base 0846 FIFO Low Word Register base 0A g Interrupt Control Register base 0Cj6 Interrupt Sources Register base 0E16 CVTable Channel 1 Register base 1016 CVTable Channel 2 Register base 1216 CVTable Channel 3 Register base 1446 CVTable Channel 4 Register base 1646 Samples Taken High Word Register base 1816 Samples Taken Low Word Register base 1Aj Calibration Flash ROM Address Register base 1Cj Calibration Flash ROM Data Register base 1Ej Calibration Source Register base 2016 Cache Count Register base 22 g Range Filter Connect Chs 1 and 2 Register base 2416 Range Filter Connect Chs 3 and 4 Register base 2616 Trigger Interrupt Level Channel 1 Register base 2816 Trigger Interrupt Level Channel 2 Register base 2A g Trigger Interrupt Level Channel 3 Register base 2C g Trigger Interrupt Level Channel 4 Register base 2Eg Sample Period High Word Register base 30 g Sample Period Low Word Register base 3216 Pre Trigger Count High Register base 3416 Pre Trigger Count Low Register base 3616 Post Trigger Count High Re
156. rated gain 76 Channel 2 1 V uncalibrated gain 77 Channel 3 1 V uncalibrated gain 78 Channel 4 1 V uncalibrated gain 79 Channel 1 4 V uncalibrated gain 80 Channel 2 4 V uncalibrated gain 81 Channel 3 4 V uncalibrated gain 82 Channel 4 4 V uncalibrated gain 83 Channel 1 16 V uncalibrated gain 84 Channel 2 16 V uncalibrated gain 85 Channel 3 16 V uncalibrated gain 86 Channel 4 16 V uncalibrated gain 87 Channel 1 64 V uncalibrated gain 88 Channel 2 64 V uncalibrated gain 89 Channel 3 64 V uncalibrated gain 90 Channel 4 64 V uncalibrated gain 91 Channel 1 256 V uncalibrated gain 92 Channel 2 256 V uncalibrated gain 93 Channel 3 256 V uncalibrated gain 94 Channel 4 256 V uncalibrated gain Test requires a VT1564A 4 Channel Digitizer Chapter 3 Digitizers Command Reference 101 Self Test Error Definitions A failed self test will return a number other than zero The binary value of that number defines the failure mode More than one failure mode may result from one self test The failure modes are defined in the following sections for each type of self test Bits and their weighting are bit weight 128 7 6 5 4 3 2 1 0 64 32 Offset Noise Test self test numbers 3 58 BCD weight Failure mode 4 Span is zero Span is too large Mean is too low 2 4 8 Mean is too high 16 Standard deviation is too large
157. rce gt command where lt source gt can be BUS EXTernal HOLD IMMediate or TTLTrgn Numeric Commonly used decimal representations of numbers including optional signs decimal points and scientific notation Examples are 123 123E2 123 1 23E2 123 1 23E 2 1 23000E 01 Special cases include MINimum MAXimum DEFault and INFinity Optional Parameters shown within square brackets are optional parameters The brackets are not part of the command and are not sent to the instrument If you do not specify a value for an optional parameter the instrument chooses a default value For example consider the TRIGger LEVel lt chan gt MIN MAX command If you send the command without specifying a MINimum or MAXimum parameter the present TRIGger LEVel value is returned for the specified channel If you send the MIN parameter the command returns the minimum trigger level allowable If you send the MAX parameter the command returns the maximum trigger level allowable Be sure to place a space between the command and the parameter Linking IEEE 488 2 Common Commands with SCPI Commands Use only a semicolon between the commands such as RST OUTP TTLT4 ON or SAMP COUNt 25 WAI Linking Multiple SCPI Commands From the Same Subsystem Use only a semicolon between commands within the same subsystem For example to set trigger level trigger slope and the trigger source which are all set using the TRIGger sub
158. rformance of the digitizer using the specifications in Appendix A as the performance standards The Performance Verification Tests are recommended as acceptance tests when the instrument is first received The performance verification tests should be repeated at each calibration interval following acceptance If the VT1563A or VT1564A digitizer fails performance verification adjustment or repair may be needed see Appendix E NOTE Performance verification program source code is provided on the VXIplug amp play Drivers and User s Manuals CD and are written in ANSI C The source code files are titled E1563VER C and E1564 VER C Zero Offset This procedure is used to check the zero offset performance of the VT1563A Verification Test or VT1564A Digitizer The digitizer s internal short is applied to the H HI and L LO input terminals of the channel being tested using the DIAG SHORt lt channel gt command 1 Check the Test Conditions section at the beginning of this appendix 2 Execute DIAG SHOR1 ON to enable the internal short across the H and L terminals of Channel 1 3 Select each range in the order shown in Table D 2 Compare the measurement results to the appropriate test limits shown in the table Table D 2 Zero Offset Verification Test Points VT1563A Error from INPUT VT1564A Range nominal 62 mV 20 uV 0 25 V 78 uV internal 1V 300 pV H L short 4V 1 2mV DIAG SHORt command 16V 21 mV
159. ric 1 through 94 None cycles numeric 1 through 32767 None 98 Digitizers Command Reference Chapter 3 Chapier 3 Comments Test Descriptions This table summarizes the available self tests for the digitizers test_number Description 1 General register read write test 2 Cal constant flash ROM read test 3 Channel 1 62 mV range filter OFF offset noise test 4 Channel 2 62 mV range filter OFF offset noise test 5 Channel 3 62 mV range filter OFF offset noise test 6 Channel 4 62 mV range filter OFF offset noise test 7 Channel 1 62 mV range filter ON offset noise test 8 Channel 2 62 mV range filter ON offset noise test ER Channel 3 62 mV range filter ON offset noise test 10 Channel 4 62 mV range filter ON offset noise test 11 Channel 1 0 25 V range filter OFF offset noise test 12 Channel 2 0 25 V range filter OFF offset noise test 13 Channel 3 0 25 V range filter OFF offset noise test 14 Channel 4 0 25 V range filter OFF offset noise test 15 Channel 1 0 25 V range filter ON offset noise test 16 Channel 2 0 25 V range filter ON offset noise test 17 Channel 3 0 25 V range filter ON offset noise test 18 Channel 4 0 25 V range filter ON offset noise test 19 Channel 1 1 V range filter OFF offset noise test 20 Channel 2 1 V range filter OFF offset noise test 21 Channel 3 1 V range filter OFF offset noise te
160. rigger count is zero Executable when initiated NO Coupled command NO Reset RST condition All channels set to 1 sample SAMPle COUNt SAMPle COUNt MIN MAX returns the number of samples each channel will make The number of samples returned is common to all channels SAMPle MMediate SAMPIle IMMediate is generally used only when the sample source is HOLD to take a single reading when the digitizer is in the wait for sample state SAMPLe PRETrigger COUNt SAMPle PRETrigger COUNt lt count gt MIN MAX sets the number of pretriggers number of readings that will occur before the trigger event occurs The count is common to all channels 80 Digitizers Command Reference Chapter 3 Comments Using the lt count gt Parameter lt count gt must be a positive number and not greater than the sample count 1 This count specifies the portion of the total SAMPle COUNt that will be sampled prior to the trigger A trigger is ignored if it occurs before the pretrigger count is met Sampling Operation If the specified number of pretrigger samples lt count gt have been taken and a trigger has not yet occurred the digitizer continues to sample the input signal The digitizer retains the most recent pretrigger samples specified by the number lt count gt when the trigger does occur Executable when initiated NO Coupled command NO Reset RST condition 0 pretriggers SAMPle PRETrigger COUNt SAMPle PRETrig
161. ront panel features for the VT1564A Features 4 Channel Digitizer 14 Configuring the Digitizer Modules Chapter 1 Front Panel Indicators Failed LED llluminates momentarily during digitizer power on Access LED Illuminates when the backplane is communicating with the digitizer Error LED Illuminates only when an error is present in the digitizer s driver error queue The error can result from improperly executing a command or the digitizer being unable to pass self test or calibration Sample LED Illuminates while the digitizer samples the input for a measurement Typically blinks for slow sample rates and is on steady state for high sample rates User Input Terminals The VT1563A Digitizer front panel contains two female connectors for user inputs Mating male connectors are supplied with the module However the user must provide the input cable and connect the male connector to the cable See User Cabling Considerations for recommended user supplied cables I E A A External Trigger Input A The front panel contains a 9 pin D subminiature connector for external TTL trigger inputs The user must provide an appropriate input cable to the external trigger input The VT1563A 2 Channel Digitizer does not have a calibration bus output However a programmable short is provided for each channel An external calibration source must be provided for calibration VT1563A gt a Figure 1 1 VT
162. rr lt VI_ SUCCESS err_handler digitizer err printf Status register 0x 4X n stat_reg Make some measurements and retrieve readings RRR RR RK KKK KK KK KK make measurements FER AK AK AK KK KK AK set Channel 1 and 2 to 4 V range err ViOut16 digitizer VI_A16_SPACE 0x24 0x7373 0x7373 sets 4 V range if err lt VI_ SUCCESS err_handler digitizer err set Channel 3 and 4 to 4 V range err ViOut16 digitizer VI_A16_SPACE 0x26 0x7373 0x7373 sets 4 V range if err lt VI_ SUCCESS err_handler digitizer err set pre trigger count of 4 err Vi0ut16 digitizer VI_A16_SPACE 0x34 0x0 high word 0 if err lt VI_ SUCCESS err_handler digitizer err err Vi0ut16 digitizer VI_A16_SPACE 0x36 0x4 low word 4 if err lt VI_ SUCCESS err_handler digitizer err set sample count of 7 err Vi0ut16 digitizer VI_A16_SPACE 0x38 0x0 high word 0 if err lt VI_ SUCCESS err_handler digitizer err err ViOut16 digitizer VI_A16_SPACE 0x3A 0x7 low word 7 if err lt VI_ SUCCESS err_handler digitizer err set trigger source err ViOut16 digitizer VI_A16_SPACE 0x3C 0x180 set bits 7 and 8 if err lt VI_ SUCCESS err_handler digitizer err initiate a reading with a 30 mS delay err ViOut16 digitizer VI_A16_ SPACE 0x3E 0x21A0 set bits 5 7 8 amp 13 if err lt VI_ SUCCESS err_handler digitizer err RRR RRR KKK KK KK KK retrieve
163. s Voltage Measurements Two Wire Connections When Low and Guard are connected together at the digitizer s input on a low voltage range 4 V and below the injected current is directed to flow through the source impedance in a floating source and the resultant voltage drop will introduce a measurement error The resultant voltage drop through the source impedance can be a significant error on low voltage ranges where the voltage of interest is small It is not as significant an error on high voltage ranges because the error introduced is not a significant part of a larger voltage and the percent of error is less significant Measurement error can increase significantly when you connect Low to Guard at the digitizer s input AND use switches to switch input signals to the digitizer Some switches have input protection resistors usually 100 Q in series with the switch The digitizer s injected current now generates a voltage drop across this resistor in addition to the voltage drop generated across the source impedance Even with a grounded source an error voltage is generated across the switches current limiting resistor Two examples of two wire connections follow For the first example Figure 1 11 shows a typical connection using coaxial cable For the second example Figure 1 12 shows connections for a differential source Figure 1 11 Example Two Wire Connections Coaxial Cable 26 Configuring the Digitizer Modules Chapter 1
164. s Command Reference Chapter 3 SENSe Subsystem Syntax SENSe DATA Chapier 3 Parameters The SENSe command subsystem is used to change low level parameters such as voltage range sweep and sweep offset points and to set the reference oscillator source and frequency It is also used to obtain measurement data from the module SENSe DATA lt rdgs_per_channel gt channel_lisf DATA ALL lt rdgs_per_channel gt DATA COUNt DATA CVTable channel list ROSCillator EXTernal FREQuency lt freq gt l ROSCillator EXTernal FREQuency ROSCillator SOURce INTernal EXTernal ROSCillator SOURce SWEep OFFSet POINts lt neg_value gt MIN MAX SWEep OFFSet POINts MIN MAX SWEep POINts lt neg_value gt MIN MAX SWEep POINts MIN MAX VOLTage lt channel gt DC RANGe lt range gt MIN MAX VOLTage lt channel gt DC RANGe VOLTage lt channel gt DC RESolution SENSe DATA lt rdgs_per_channel channel_list returns voltage formatted data from all channels default or only from the specified channel list lt channel_list gt has the form 01 or 02 01 2 1 4 or 1 2 3 4 For specific channels but not all the format is 0 1 3 4 Name Type Range of Values Default Value rdgs_per_ numeric 1 to MAX samples none channel depends on size of RAM on module see SAMPle COUNt channel_list numeric 1 2 VT1563A N A 1 4 VT1564A Digitizers Command Reference 85 Comment
165. s PRESet affects only the OPERation Status Enable Register and the QUEStionable Status Enable Register by setting all Enable Register bits to 0 Itdoes not affect the Status Byte Register or the Standard Event Status Register STATus PRESet does not clear any of the Event Registers STATus QUEStionable CONDition STATus QUEStionable CONDition returns a decimal weighted number representing the bits set in the QUEStionable Status Condition Register STATus QUEStionable ENABle STATus QUEStionable ENABle lt unmask gt enables unmasks bits in the QUEStionable Status Enable Register to be reported to the summary bit setting Status Byte Register bit 3 true The Event Register bits are not reported in the Status Byte Register unless specifically enabled STATus QUEStionable ENABle STATus QUEStionable ENABle returns a decimal weighted number representing the bits enabled in the QUEStionable Status Enable Register signifying which bits will set QUE bit 3 in the Status Byte Register STATus QUEStionable EVENt STATus QUEStionable EVENt returns a decimal weighted number representing the bits set in the QUEStionable Status Event Register This command clears all bits in the Event Register when executed 96 Digitizers Command Reference Chapter 3 SYSTem Subsystem Syntax SYSTem ERRor Comments SYSTem VERSion Chapier 3 The SYSTem command subsystem returns error numbers and their associated messages from the error q
166. s Readings Returned in Interleaved Configuration The readings are returned in an array in an interleaved configuration That is the array contains the first reading from each specified channel followed by the second reading from each specified channel The readings are in channel number order starting with the lowest to highest specified channel in the channel list For example the channel list 2 1 returns Channel 1 readings followed by Channel 2 readings and returns the same as channel list 1 2 NOTE Measurement data on channels not in the specified channel list are discarded by this command and is not recoverable This command can read the data from a measurement only once It is a destructive read and the data cannot be retrieved a second time Number of Readings Returned The number of readings this command will return for each channel is determined by the number of samples set by SAMPle COUNt The total number of readings returned is the number of samples times the number of specified channels If a measurement is aborted with the ABORt command there may be less readings available than indicated by samples x channels For ABORted measurements use DATA COUNt to determine how many readings are available Overloads and Deadlocks A full scale reading may actually be an overload A deadlock can occur when trigger events are set to BUS or HOLD because a software trigger could not break in after this command is sent PACKed Data
167. s in the wait for trigger state before issuing a trigger and make sure the correct trigger source is selected 213 Init ignored An INITiate command was received but could not be executed because a measurement was already in progress Send a device clear to halt a measurement in progress and place the digitizer in the idle state 214 Sample Trigger You tried to read data before readings are finished but the sample deadlock source is keeping readings from being taken It is possible to request reading data before the measurment is entirely completed and normally this will work However if your sample source is BUS or HOLD and you request reading data the instrument can no longer receive the command to begin sampling because it is busy waiting to bring back data a deadlock could occur So we generate an error when we detect this situation and abort the fetching of data 215 Arm Trigger Same situation as for Sample Trigger deadlock except the Trigger deadlock source or Arm source is set to BUS or HOLD which requires a software command to proceed so you would be deadlocked waiting for a trigger which could never occur because the system is busy waiting for data to show up in the reading buffer 146 Digitizers Error Messages Appendix C Number Title Description 221 Settings conflict You tried to set a pretrigger count that exceeds the sample count 1 Or you ena
168. s the present setting of the calibration voltage CALibration ZERO CALibration ZERO lt channel gt lt samples gt lt rate gt initiates an offset calibration for the current range on the specified channel using an internal short Parameters Name Type Range of Values Default Value samples numeric 25 to 4000 DEFault none rate numeric 1 25E 6 to reference period seconds 8 388 607 DEFault Comments Steps Before Executing a Zero Calibration The following steps must be completed prior to executing a zero calibration Errors will result if these steps are not performed before CAL ZERO 1 Set the CAL STATe ON to allow calibration to occur 2 Set the digitizer to the desired range and filter on the channel you want to calibrate with VOLTage lt channeb RANGe lt range gt INPut lt channel gt FiLTer FREQ lt freq gt and FILTer STATe ON OFF 60 Digitizers Command Reference Chapter 3 Using Optional Parameters Optional parameters that are left blank are filled from left to right Therefore it is necessary to use the syntax DEFault to note that a particular parameter is to use the default value For example to specify a sample rate other than the default you must declare DEFault for the lt readings gt parameter or the lt rate gt parameter value you intended will be used to fill in the lt readings gt parameter The command for Channel 1 would appear as CAL ZERO1 DEF 002 Number of Samples
169. s you to run a self test and returns information about self test errors and results from the TST command TEST ERRor lt test_number gt NUMBer lt test_number gt lt cycles gt TST RESults TEST ERRor lt test_number gt returns a binary coded decimal BCD number and a string giving details about the error associated with the test number returned by the TST command or the array of errors returned by the TEST TST RESults command The string returns parameters of the test such as span min max and standard deviation Name Type Range of Values Default Value test_number numeric 1 through 94 None The TST command returns only the first test that failed Use the TEST TST RESults command for a complete list of all failures resulting from a TST command The response may indicate in detail what caused the self test error See Appendix C for information on self test errors TEST NUMBer lt test_number gt lt cycles gt allows you to cycle through a self test a specified number of times instead of running the entire suite of self tests as is performed with the TST command This command returns the number of times the specified test failed out of the specified number of times the test was cycled For example send TEST NUMB 2 5 to cycle through test number 2 five times A 5 is returned if all five test cycles fail Name Type Range of Values Default Value test_number nume
170. sitive Therefore you may use upper or lower case letters and commands of the form CALCULATE calculate and CaLcUIAtE are all acceptable Implied Commands Implied commands are those which appear in square brackets in the command syntax Note that the brackets are not part of the command do not send them to the instrument Suppose you send a second level command but do not send the preceding implied command In this case the instrument assumes you intend to use the implied command and it responds as if you had sent it Examine the partial SENSe subsystem shown below SENSe VOLTage DC RANGe lt range gt MIN MAX VOLTage DC RANGe MIN MAX The root command SENSe is an implied command and so is the third level command DC For example to set the digitizer s DC voltage range to MAX you can send one of the following three command statements SENS VOLT DC RANG MAX VOLT DC RANG MAX VOLT RANG MAX Parameters ParameterTypes The following table contains explanations and examples of parameter types you might see later in this chapter Type Explanations and Examples Boolean Represents a single binary condition that is either true or false ON OFF 1 0 Any non zero value is considered true 46 Digitizers Command Reference Chapter 3 Linking Commands Discrete Selects from a finite number of values These parameters use mnemonics to represent each valid setting An example is the TRIGger SOURce lt sou
171. space you may have used a comma where none was required or you may have used a blank space instead of a comma Example TRIG LEV 1 or DATA 4001 104 Data type error The wrong parameter type was found in the command string You may have specified a number where a string was expected or vice versa Example SAMP COUN 150 or SAMP COUN A 105 GET not allowed A Group Execute Trigger GET is not allowed within a command string 108 Parameter not allowed More parameters were received than expected for the command You may have entered an extra parameter or you added a parameter to a command that does not accept a parameter Example SYST ERR 10 109 Missing parameter Fewer parameters were received than expected for the command You omitted one or more parameters that are required for this command Example SAMP COUN 112 Program mnemonic too long A command header was received which contained more than the maximum 12 characters allowed Example SAMPLE PRETRIGGER COUNT 10 113 121 Undefined header Invalid character in number A command was received that is not valid for this digitizer You may have misspelled the command or it may not be a valid command If you are using the short form of the command it may contain up to four letters Example TRIGG LEV 1 2 An invalid character was found in the number specified for a parameter value Example STAT QUES ENAB B010
172. st 22 Channel 4 1 V range filter OFF offset noise test 23 Channel 1 1 V range filter ON offset noise test 24 Channel 2 1 V range filter ON offset noise test 25 Channel 3 1 V range filter ON offset noise test 26 Channel 4 1 V range filter ON offset noise test 27 Channel 1 4 V range filter OFF offset noise test 28 Channel 2 4 V range filter OFF offset noise test 29 Channel 3 4 V range filter OFF offset noise test 30 Channel 4 4 V range filter OFF offset noise test 31 Channel 1 4 V range filter ON offset noise test Digitizers Command Reference 99 test_number Description 32 Channel 2 4 V range filter ON offset noise test 33 Channel 3 4 V range filter ON offset noise test 34 Channel 4 4 V range filter ON offset noise test 35 Channel 1 16 V range filter OFF offset noise test 36 Channel 2 16 V range filter OFF offset noise test 37 Channel 3 16 V range filter OFF offset noise test 38 Channel 4 16 V range filter OFF offset noise test 39 Channel 1 16 V range filter ON offset noise test 40 Channel 2 16 V range filter ON offset noise test 41 Channel 3 16 V range filter ON offset noise test 42 Channel 4 16 V range filter ON offset noise test 43 Channel 1 64 V range filter OFF offset noise test 44 Channel 2 64 V range filter OFF offset noise test 45 Channel 3 64 V range filter OFF offset noise test
173. st against CALC lt channeb LIMIit FAIL will return a 1 following the measurement and prior to the next measurement if the input signal fell below the specified lower limit value and if LIM LOW STATe is ON A 0 is returned if the limit was not exceeded Name Range of Values Default Value Type value numeric 254 to 252 volts Allowable Maximum Values Allowable maximum values for the lower limit by range and the associated resolution follow Range Maximum Value Resolution 0 0625 0 061523438 0 000488281 0 250 0 246093750 0 001953125 1 00 0 984375000 0 00781250 4 00 3 937500 0 031250 16 00 15 750 0 1250 64 00 63 00 0 500 256 00 252 00 2 0 Executable when initiated NO Coupled Command YES Range changes will change the value The percent of full scale of the range will be kept constant For example on the 4 volt range with a 2V limit a range change to 16 V will set a new limit of 8V Related Commands SENSe VOLTage lt channel gt DC RANGe lt range gt Reset RST Condition 254 volts CALCulate LIMit LOWer DATA CALCulate lt channeb LIMit LOWer DATA MIN MAX queries the lower limit value set for the specified channel 50 Digitizers Command Reference Chapter 3 CALCulate LIMit LOWer STATe Comments CALCulate lt channel LIMit LOWer STATe OFF 0 ON 1 enables the lower limit checking for the specified channel Use LIMit LOWer DATA
174. sult is within specified limits Move the AC Standard output to the Channel 2 input Perform the filter bandwidth measurement using INITiate Retrieve the reading using DATA 1 2 Verify the result is within specified limits and record the result Repeat Steps 2 through 4 for channels 3 and 4 on the VT1564A 4 Channel Digitizer using VOLT3 RANG 1 INPut3 FILTer FREQ 25e3 INPut3 FiLTer STATe ON VOLT4 RANG 1 INPut4 FlLTer FREQ 25e3 INPut4 FlLTer STATe ON VT1564A 4 Channel Digitizer Test the remaining three filters present on the VT1564A 4 Channel Digitizer Repeat steps 2 through 5 for the remaining three input frequencies in Table D 5 for channels 3 and 4 NOTE This requires you change input filters before you begin testing by executing the INPut lt channel gt FlLTer FREQ lt filter_frequency gt command Also Step 3 requires DATA 1 3 and Step 5 requires DATA 1 4 Table D 5 Filter Bandwidth Verification Test Points VT1563A RANGE INPUT INPUT FREQ Error from input value 1V 1V 25 kHz 3 dB 2 dB VT1564A RANGE INPUT INPUT FREQ Error from input value 1V 1V 25 kHz 3 dB 2 dB 1V 1V 1 5 kHz 3 dB 2 dB 1V 1V 6 kHz 3 dB 2 dB 1V 1V 100 kHz 3 dB 2 dB Digitizers Verification Tests 157 Performance Test Record NOTE Digitizer Accuracy Measurement Uncertainty Test Accuracy Ratio TAR 158 Digitizers Verification Tests The Performance Test Record for the VT1563A
175. system SYSTem ERRor 97 SYSTem VERSion 97 T Test Accuracy Ratio TAR 158 test equipment recommended 151 TEST subsystem TEST ERRor 98 TEST NUMBer 98 TEST TST RESults 103 Trigger Interrupt Level Channel 1 register 134 Trigger Interrupt Level Channel 2 register 135 Trigger Interrupt Level Channel 3 register 135 Trigger Interrupt Level Channel 4 register 136 Trigger Control register 137 trigger sources 37 TRIGger subsystem TRIGger IMMediate 104 TRIGger LEVel 104 TRIGger LEVel 105 TRIGger MODE 105 TRIGger MODE 106 TRIGger SLOPe lt n gt 106 TRIGger SLOPe lt n gt 107 TRIGger SOURce lt n gt 107 TRIGger SOURce lt n gt 108 triggering the digitizers 37 V verification tests 151 W WARNINGS 10 Warnings 17 warranty statement 9 WRITE registers 124 Z Zero Adjustment procedure 165 Zero Offset verification test 154 Index 173 174 Index
176. system send the SCPI string TRIG LEVel 1 5 SLOPe NEG SOURce EXT Linking Multiple SCPI Commands of Different Subsystems Use both a semicolon and a colon between commands of different subsystems For example a SAMPle and OUTPut command can be sent in the same SCPI string linked with a semicolon and colon as SAMP COUNt 10 OUTP TTLT4 ON SCPI Command Reference Chapier 3 This section describes the Standard Commands for Programmable Instruments SCPI commands for the VT1563A and VT1564A Digitizers Commands are listed alphabetically by subsystem and within each subsystem Digitizers Command Reference 47 ABORt This command aborts a measurement in progress or stops a measurement being made continuously The command is ignored without error if a measurement is not in progress This command also aborts a calibration in progress and will set the CAL STATe to OFF Subsystem Syntax ABORt Comments Determining Readings Taken Before ABORt Use DATA COUN to determine how many readings were taken before ABORt was received ABORt Settings ABORt does not affect any instrument settings and is executable when initiated ABORt is not a coupled command Reset RST Condition None 48 Digitizers Command Reference Chapter 3 CALCulate The CALCulate subsystem enables the limit checking of measured data Subsystem Syntax CALCulate lt channeb LIMIEFAIL LIMit LOWer DATA lt value gt MIN MAX LIMit LOWer DATA MI
177. t the new memory size value in calibration memory 66 Digitizers Command Reference Chapter 3 Parameters Name Type Range of Values Default Value size numeric 4E6 8E6 16E6 32E6 64E6 and 128E6 none Comments Using the lt size gt Parameter The lt size gt parameter will accept a value in excess of the industry notation value of 4M 8M 16M etc e g 4E6 8E6 16E6 etc up to the actual size See DIAGnostic MEMory SIZE DIAGnostic MEMory SIZE DIAGnostic MEMory SIZE queries the RAM size value in calibration memory The value returned is the actual amount of memory not the abbreviated industry notation for memory size as shown below Default Value none RAM Industry Notation Actual Size Value 4M 4 194 304 8M 8 388 608 16M 16 777 216 32M 33 554 432 64M 67 108 864 128M 134 217 728 DIAGnostic PEEK DIAGnostic PEEK lt reg_number gt queries the specified register and returns the contents of the register Parameters Name Type Range of Values reg_number numeric 0 to 31 Comments Reading Registers See Appendix B for register bit definitions You can read the following digitizer registers using the register number For example to read the Manufacturers ID register execute DIAG PEEK 0 This returns 12289 decimal or FFFFFCFFF hexadecimal The three least significant characters FFF indicates a Hewlett Packard A16 registe
178. ted commands OPC OPC Reset RST condition none 114 Digitizers Command Reference Chapter 3 SCPI Commands Quick Reference This table summarizes SCPI commands for the VT1563A and VT1564A Digitizers Command Description ABORt Stops any measurement in progress and puts instrument in the idle state CALCulate lt channel gt LIMit FAIL LIMit LOWer STATe ON 1 OFF 0 LIMit LOWer STATe LIMit LOWer DATA lt value gt MIN MAX LIMit LOWer DATA MIN MAX LIMit UPPer STATe ON 1 OFF 0 LIMit UPPer STATe LIMit UPPer DATA lt value gt MIN MAX LIMit UPPer DATA MIN MAX Defaults to Channel 1 if none specified Checks for a limit failure Enable lower limit checking Query lower limit checking Set lower limit value Query lower limit value Enable upper limit checking Query upper limit checking Set upper limit value Query CALibrate DAC VOLTage lt voltage gt MIN MAX DAC VOLTage MIN MAX DATA GAIN lt channel gt lt readings gt lt rate gt ON 1 OFF 0 SOURce INTernal EXTernal SOURCce STATe ON 1 OFF 0 STATe STORe VALue lt voltage gt VALue ZERO lt channel gt lt readings gt lt rate gt ZERO lt channel ALL lt readings gt lt rate gt DIAGnostic DAC OFFSet lt channel gt lt voltage gt DAC OFFSet lt channeb RAMP lt count gt DAC GAIN lt channel gt lt value gt DAC SOURCce lt
179. ter Unmask operation register bits Read OPER ENABle register PRESet the status registers Read OPER CONDition register Read OPER EVENt register Unmask questionable register bits Read OPER EVENt register SYSTem ERRor Read system errors from error queue VERSion Query system version TEST ERRor Return details about self test errors NUMBer lt test_number gt TST RESults Run a specified self test Return results of the TST command TRIGger STARt SEQuence 1 IMMediate LEVel lt channel gt lt voltage gt MIN MAX LEVel lt channel gt MIN MAX MODE NORMal MASTer SLAVe MODE SLOPe lt n gt POS 1 NEG 0 SLOPe lt n gt SOURce lt n gt OFF BUS EXT HOLD IMMediate INTernal1 4 TTLTO 7 SOURce lt n gt Trigger now Set trigger level for internal trigger Query trigger level for internal trigger Set trigger mode Query trigger mode Set slope of trigger signal Query trigger signal slope Set source of trigger signal Query source of trigger signal Chapter 3 Digitizers Command Reference 117 Notes 118 Digitizers Command Reference Chapter 3 Appendix A Digitizers Specifications General Number of channels VT1563A 2 channels VT1564A 4 channels Selectable input filters 2 pole Bessel VT1563A per channel 25 kHz VT1564A per channel 1 5 kHz 6 kHz 25 kHz 100 kHz Timing Bandwidth gt 400 kHz for all ranges Res
180. test_number gt to retrieve details about the failed test number s returned by TEST TST RESults Digitizers Command Reference 103 TRIGger Subsystem Syntax TRIGger lMMediate Comments TRIGger LEVel Parameters The TRIGger command subsystem controls the behavior of the trigger system TRIGger IMMediate LEVel lt channeb lt level gt MIN MAX LEVel lt channel gt MODE NORMal MASTer0 2 4 6 SLAVe0 2 4 6 MODE SLOPe lt n gt POS 1 NEG 0 SLOPe lt n gt SOURce lt n gt OFF BUS EXT HOLD IMMediate INTernal1 4 TTLTO 7 SOURce lt n gt TRIGger IMMediate causes the instrument to transition to the wait for sample state immediately regardless of the trigger source selected Instrument Must be Initiated The instrument must be initiated INITiate command and be in the wait for trigger state when TRIG IMM is executed A Trigger ignored error will be generated if the instrument has not been initiated prior to this command or if it is not in the wait for trigger state Executable when initiated YES Coupled command NO Reset RST condition None TRIGger LEVel lt channel lt voltage gt MIN MAX sets the level on the specified channel that can be used for internally triggering the instrument This command is valid only for TRIGger SOURce INTernal1 4 Name Type Range of Values Default Value voltage numeric see Comments volts 104 Dig
181. the specified channel is disabled for upper limit checking 1 returned indicates the specified channel is enabled and will detect signals above the specified upper limit Digitizers Command Reference 53 CALibration The CALibration subsystem allows you to calibrate the digitizer Subsystem Syntax CALibration DAC VOLTage lt voltage gt MIN MAX DAC VOLTage MIN MAX DATA GAIN lt channel gt lt readings gt DEF lt rate gt DEFILON 1 OFF 0 SOURce INTernal EXTernal SOURce STATe ON 1 OFF 0 STATe STORe VALue lt voltage gt VALue ZERO lt channel gt lt readings gt lt rate gt ZERO lt channel gt ALL lt readings gt lt rate gt CALibration DAC VOLTage CALibration DAC VOLTage lt voltage gt MIN MAX is only active if the CALibration SOURce is set to INTernal The voltage specified is output by the internal DAC to the calibration bus VT1564A 4 Channel Digitizer ONLY You can measure this voltage on the top two pins of the External Trigger Input Calibration Bus Output Connector CAL H and CAL L This voltage is used for calibrating the digitizer s gain as the CAL VALue Parameters Name Type Range of Values Default Value voltage numeric 0 061256409 15 00 volts Comments Maximum Output Levels Maximum output levels are limited to the levels in the following table These are the VT1564A DAC voltages recommended for cal
182. the trigger source setting BUS EXT HOLD IMM INT INT2 INT3 INT4 TTLTn where n Oto 7 Internal level trigger on Channel 1 is returned as INT versus INT1 the 1 is implied The internal level trigger for channels 2 3 and 4 return INT2 INT3 and INT4 respectively 108 Digitizers Command Reference Chapter 3 IEEE 488 2 Common Commands Quick Reference This table lists by functional group the IEEE 488 2 Common Commands that can be executed by the VT1563A and VT1564A Digitizers However commands are listed alphabetically in the following reference Examples are shown in the reference when the command has parameters or returns a non trivial response Otherwise the command string is as shown in the table For additional information see IEEE Standard 488 2 1987 Category Command Title Description System Data IDN Identification Returns the identification string of the Digitizer Includes latest firmware version Internal RST Reset Resets the Digitizer to Operations range 256 V input state ON input filter OFF TTLT states OFF data format ASCii See Chapter 2 for the reset state Internal TST Self Test Returns 0 if self test passes Returns Operations a non zero value if self test fails Use SYST ERR to retrieve the error from the Digitizer See Appendix C for a complete list of error numbers and their description Synchronization OPC Operation Complete Operation Complete Command OPC Opera
183. there is a pretrigger count set All incoming triggers are ignored until the pretrigger count is met Pretrigger readings continue until a trigger arrives The first trigger received after the pretrigger readings have been acquired is the one accepted and it advances the digitizer to the wait for sample state which is where readings are actually taken When the number of readings specified by TRIGger COUNt and SAMPle COUNt have been taken the trigger system returns to the idle state and digitizer stops measuring Executable when initiated NO Coupled Command NO Reset RST Condition Idle state 74 Digitizers Command Reference Chapter 3 INPut Subsystem Syntax The INPut command subsystem controls characteristics of the input signal including ON OFF state and low pass filtering The command defaults to Channel 1 if you do not specify a channel in the command syntax e g INP ON is same as INP1 ON INPut lt channel gt FILTer LPASs FREQ 1 5E3 6E3 25E3 100E3 valid for VT1564A only FILTer LPASs FREQ FILTer LPASs STATe ON 1 OFF 0 FILTer LPASs STATe STATe ON 1 OFF 0 STATe INPut FiLTer LPASs FREQ INPut lt channel gt FILTer LPASs FREQ 1 5E3 6E3 25E3 100E3 sets the filter frequency for the 4 channel VT1564A Digitizer The filters are 2 pole Bessel filters and lt channek is 1 through 4 NOTE The 2 channel VT1563A Digitizer has a fixed 25 kHz filter The VT1563A Comme
184. tion Complete Query Operation Complete Query WAI Wait to Complete Wait to Continue Command Status amp Event CLS Clear Status Clear Status Command ESE lt unmask gt Event Status Enable Standard Event Status Enable Cmd ESE Event Status Enable Query Standard Event Status Enable Query ESR Event Status Register Query Standard Event Status Register Query SRE lt unmask gt Service Request Enable Service Request Enable Command SRE Service Request Query Service Request Enable Query STB Read Status Byte Query Read Status Byte Query Bus Operation TRG Bus Trigger When the digitizer is in the wait for trigger state and the trigger source is TRIGger SOURce BUS use TRG to trigger the digitizer Chapter 3 Digitizers Command Reference 109 CLS CLS clears the Standard Event Status Register the OPERation Status Register the QUEStionable Signal Register and the Error Queue This clears the corresponding summary bits bits 3 5 and 7 in the Status Byte Register CLS does not affect the enable unmasks of any of the Status Registers Comments Executable when initiated No Coupled command No Related Commands STATus PRESet Reset RST condition None ESE and ESE ESE lt unmask gt enables unmasks one or more event bits of the Standard Event Status Register to be reported in bit 5 the Standard Event Status Summary Bit of the Status Byte Register A 1 in a bit position enables the corresponding event and a 0
185. tion features built into this product have been impaired either through physical damage excessive moisture or any other reason REMOVE POWER and do not use the product until safe operation can be verified by service trained personnel If necessary return the product to VXI Technology for service and repair to ensure that safety features are maintained DO NOT service or adjust alone Do not attempt internal service or adjustment unless another person capable of rendering first aid and resuscitation is present DO NOT substitute parts or modify equipment Because of the danger of introducing additional hazards do not install substitute parts or perform any unauthorized modification to the product Return the product to VXI Technology for service and repair to ensure that safety features are maintained 10 vo Hol DECLARATION OF CONFORMITY IW Technology According to ISO IEC Guide 22 and CEN CENELEC EN 45014 Manufacturer s Name VXI Technology Manufacturer s Address 2031 Main Street Irvine CA 92614 6509 USA Declares that the product Product Name 2 Channel and 4 Channel Digitizers Model Number VT1563A VT1564A Product Options This declaration covers all options of the above product s Conforms with the following European Directives The product herewith complies with the requirements of the Low Voltage Directive 73 23 EEC and the EMC Directive 89 336 EEC including 93 68 EEC and carries the CE Marking according
186. ueue You can also query the SCPI version for this instrument SYSTem ERRor VERSion SYSTem ERRor returns the error numbers and corresponding error messages in the error queue See Appendix C for a listing of the error numbers messages and descriptions Error Queue Operation When an error is generated by the digitizer it stores an error number and corresponding message in the error queue One error is removed from the error queue each time SYSTem ERRor is executed FIFO Error Clearing The errors are cleared in a first in first out order If several errors are waiting in the queue each SYSTem ERRor query returns the oldest not the most recent error That error is then removed from the queue When the error queue is empty subsequent SYSTem ERRor queries return 0 No error To clear all errors from the queue execute CLS Error Queue Capacity The error queue has a maximum capacity of 20 errors If the queue overflows the last error is replaced with 350 Too many errors No additional errors are accepted by the queue until space becomes available SYSTem VERSion returns the SCPI version number to which this instrument complies The information returned is in the format YYYY R where YYYY is the year and R is the revision number within that year Digitizers Command Reference 97 TEST Subsystem Syntax TEST ERRor Parameters Comments TEST NUMBer Parameters The TEST command subsystem allow
187. urce except TTLT4 amp TTLT5 MASTer6 SLAVe6 TTLT7 Any source except TTLT6 8 TTLT7 Example Master Module Configuration Figure 2 5 illustrates a module configured as a master module TRIG MODE MASTer0 pairs TTLTO sample with TTLT1 trigger The MASTer0 module will function with all SLAVeO modules Figure 2 5 Example Master Module Configuration Chapter 2 Using the Digitizers 39 The trigger source from the master can be set with TRIG SOURce1 2 IMM INT1 4 EXT TTLT lt n gt MODE MASTer Sample Signal MAG Ter TTLT2 7 INT1 4 EXT MASTer2 TTLTO 1 4 7 INT1 4 EXT MASTer4 TTLTO 3 6 7 INT1 4 EXT MASTer6 TTLTO 5 INT1 4 EXT TRIG MODE MASTer0 drives the TTL lines as if OUTPut TTLTO SOURceSAMPle and OUTPut TTLT1 SOURce TRIGger had been set The master module generates the sample signal from which all modules master and slaves initiate a measurement MASTer0 sets the TTLT1 line as if it were TRIG SOUR1 TTLT1 However the query TRIG SOUR will not return this setting This line is dedicated for synchronization between the two modules in the master slave mode You should not use this line for any other purpose with the OUTPut SAMPle or TRIGger commands Example Slave Module Figure 2 6 illustrates a module configured as a slave module TRIG MODE Configuration SLAVe0 pairs TTLTO sample with TTLT1 trigger A SLAVe0 module will function with other SLAVe0 modules and with th
188. val SENSe DATA lt Rdgs_per_channel gt lt channel_list gt DATA ALL lt Rdgs_per_channel gt DATA COUNt MIN MAX DATA CVTable lt channel_list gt ROSCillator EXTernal FREQuency lt freq gt ROSCillator EXTernal FREQuency ROSCillator SOURce INTernal EXTernal ROSCillator SOURce SWEep POINts lt neg_value gt MIN MAX SWEep POINts MIN MAX SWEep OFFSet POINts lt neg_value gt MIN MAX SWEep OFFSet POINts MIN MAX VOLTage lt channeb DC RANGe lt range gt MIN MAX VOLTage lt channeb DC RANGe MIN MAX VOLTage lt channel DC RESolution MIN MAX Read data from list of channels Read data from all channels Query available readings per channel Query last reading taken from channel Declare external source s frequency Query external source s frequency Set reference oscillator source Query reference oscillator source Set number of sweep points Query number of sweep points Set number of sweep offset points Query number of sweep offset points Set channel s voltage range Query channel s voltage range Query channel s resolution 116 Digitizers Command Reference Chapter 3 Command Description STATus OPERation CONDition OPERation EVENt OPERation ENABle lt unmask gt OPERation ENABle PRESet QUEStionable CONDition QUEStionable EVENt QUEStionableENABle lt unmask gt QUEStionable ENABle Read OPER CONDition register Read OPER EVENt regis
189. when the data format is set to REAL see FORMat DATA REAL The data are returned in voltage units and no scaling conversion is required as with the PACKed format Readings are in an interleaved configuration Chapter 3 Digitizers Command Reference 87 IEEE 488 2 Headers Both PACKed and REAL formats return data preceded by the IEEE 488 2 definite length arbitrary block header The header is lt num_digits gt lt num_bytes gt where signifies a block transfer e lt num_digits gt is a single digit 1 through 9 which specifies how many digits ASCII characters are in lt num_bytes gt e lt num_bytes gt is the number of data bytes which immediately follow the lt num_bytes gt field Executable when initiated YES Coupled command NO Reset RST condition none SENSe DATA COUNt SENSe DATA COUNt returns the number of readings available to be read by the DATA command per channel This is useful for determining the amount of data taken in an aborted measurement The data count from a completed measurement is equal to the sample count set by SAMPle COUNt SENSe DATA CVTable SENSe DATA CVTable channel_list returns the most recent reading taken from each specified channel The last reading Current Value from each channel is returned in channel number order starting with the first one in the list Parameters Name Type Range of Values Default Value channel_list numeric 1 2 VT1563A N A 1 4 VT15
Download Pdf Manuals
Related Search
Related Contents
CodeWarrior for Microcontrollers V10 Processor Expert User Manual Charte contractuelle Electric Cooker User Manual HoMedics BPA-3000-EU blood pressure unit pot wax - Clean & Easy Manual del usuario de red para la HL-2070N Partner Tech P11577H User's Manual curso de mantenimiento de sistemas neumáticos. teoría y prácticas iRiver X Series X20 8GB Black Copyright © All rights reserved.
Failed to retrieve file