Home
TEK VX4240 User
Contents
1. lt lt Press A Key to Return to Main Menu gt gt 6 Press the space bar and the following information should appear on the screen GPIB VXI Nonvolatile Configuration Main Menu C 1995 National Instruments 1 Read In Nonvolatile Configuration 2 Print Configuration Lnformatciron Sl Change Configuration Information do Set Configuration Lo Factory Settings 5 Write Back Save Changes 6 QUIC Configuration Choice 1 6 7 Enter a 2 and press return The following information should appear on the screen Logical Address Message Based Manufacturer Id UXUBE SLOE 0 Slave Addr Spc OxOFFO RESET Cont 1g SETtoLocalRESET Serial Number Region 1 Size 70 Number Exchgs Number Msgs Console RM Wait period A 68 Nonvolatile Configuration Information Enabled 0x00 Device Type OxFF 6 Model Code A24 Protocol Reg PBCOLOGaLBRESET PBLOSTORESEI SYESRE 0x00011054 0x07 70000 Number Procs 0x20 0x180 0 seconds VX4240 Waveform Digitizer Analyzer Module Instruction Manual Appendix K IEEE 488 Address VXI Interrupt Level To Handler Logical Address OxFF free to assign LSOSERES DUE ES SUE 4 0xFF SUS ES GAUE E TREE A24 Assign Base 0x200000 A32 Assign Base 0x20000000 DG Scar cina LA 0x01 BNO YES For FAILED Dev DO set Reset Bit Servant Area o USO GPIB Primary 0x01 GPIB Addr Assgn Default GPIB lags MultSecond NAT4882 DMA GPIB Addr Avoid 0x00
2. where t O to N and N the number of points in the transform e g 1024 Response Syntax Refer to the AC command response Responses to the AQ and the AC commands have the same format Section 3 qq A Command Syntax Purpose Description Examples AR Rise Time AR HI x Ly ARI HJR n x y This command calculates the rise times of the sampled signal xl the number of samples from 1 to RAMsize If x is not specified it defaults to RAMsize or the record size respectively y optional starting address from RAMsize to RAMsize If y is not specified it defaults to the address of the oldest data in memory or the starting address of the record respectively H an optional parameter If H is specified each rise time calculated is returned up to 2000 maximum Each data value will be delimited with the character specified by the L command The response data is the same format as for the AD command n the record number The rise time is determined as the time it takes for the signal to complete the transition from 10 to 90 of its steady state value The maximum minimum and average rise times are returned The addresses returned are one location prior to where the signal crosses the 10 point AR O calculates the rise times of RAMsize samples beginning at address O the trigger address AR calculates the rise times of RAMsize samples beginning at the address of the oldest data in
3. Prerequisites All prerequisites listed on page A 40 Connect the VX4750 to the VX4240 SIG IN and the DVM using a BNC T connected to the VX4750 FUNC OUT signal two coxial cables and a BNC to Dual Banana adaptor connected to the DVM input Set the DVM to measure AC RMS Set the VX4750 to its power on default and then for a 1 MQ output impedance and to generate a 1 kHz 3 464 Vpms sine wave set VX4750 ibwrt rst imp le6 freq 1kHz ampl 3 464vrms Allow a minute for the VX4750 to stabilize and then readjust its output voltage For example if the DVM indicates 3 578 reset the VX4750 amplitude to 3 464 3 578 3 464 3 350 with the following command Repeat adjustment until the DVM reads 3 464 Vrms 0 004 Vrms ibwrt ampl 3 350vrms Readjust for 3 464 Vrms 0 004 Vrms With the commands below reset the VX4240 to its power on state select the 5 V range with a 1 MQ input impedance and assert a trigger When the front panel displays RDY perform a True RMS analysis and read the results Verify the accuracy to be within 3 of the reading on the DVM set VX4240 ibwrt r3v5m t n Observe RDY ibwrt atin Observe RDY ibrd 100 Verify with DVM Reset the the pattern generator and VX4240 and verify the additional voltages and frequencies as instructed in Table A 13 to be within 3 0 of the reading on the DVM VX4240 Waveform Digitizer Analyzer Module Instruction Manual Appendix H Performance Verific
4. 1054 exist an error will be generated Data is reported beginning at the first location of record 47 returns the value stored at the 100th location of record 3 returns two bytes of binary data for each value starting at the trigger address The first input returns the most significant byte The second input returns the least significant nibble in bit positions 7 6 5 and 4 LSB Bits O to 3 will be zero Input 1 MXXXXXXX where M is the MSB input 2 XXXL0000 where L is the LSB If the data value was 73C hex 0111 0011 1100 binary the most significant byte 73h or 0111 0011 binary would be followed by the least significant left justified byte COh or 1100 0000 binary tf the data was sampled on the 1 voit range per bit value 488 2812 uV this value is equivalent to two s complement binary 73Ch 1852 counts 1852 perbit value 904 3 mV 73C0h 29632 counts 29632 perbit 16 904 3 mV offset binary 73Ch 196 counts 196 perbit value 0 09570 73C0h 3136 counts 3136 perbit 16 0 09570 returns every fourth data value beginning at address O Section 3 A qq Command J Math Operations Syntax JzlxJ ly Purpose The J command allows the VX4240 to be used as a calculator to perform arithmetic operations Description z is a single letter which specifies the type of function to be calculated x and y are one or more variables whose meaning depends on the function
5. Based on the number of AC modules ordered with a Tek CDS mainframe blank front panels are supplied to cover all unused slots Additional VXIbus C size single slot and C size double slot blank front panels can be ordered from your Tektronix supplier Verify that the mainframe is able to provide adequate cooling and power for the VX4240 Module Refer to the mainframe Operating Manual for instructions on determining cooling and power compatibility er Z655 6 2ZE 666 AOOO 7 a VX4240 Section 2 I If the VX4240 is used in a VX1X Series Mainframe all VX4240 cooling requirements will be met If the VX4240 Module is inserted in a slot with any empty slots to the left of the module the VME daisy chain jumpers must be installed on the backplane in order for the VX4240 Module to operate properly Check the manual of the maintrame being used for jumpering instructions If a Tek CDS VX1400 or VX1401 mainframe is being used the jumper points may be reached through the front of the mainframe There are five 5 jumpers that must be installed for each empty slot The five jumpers are the pins to the left of the empty slot Installation Procedure 1 2 The VX4240 Module is a piece of electronic equipment and therefore has some susceptibility to electrostatic damage ESD ESD precautions must be taken whenever the module is handled Record the module s Revision Level Serial Number located on the label on the top sh
6. MP1 N 1 is a window trigger The module will trigger if the voltage goes outside 1 voit M S 5 Trigger on a positive slope 5 Volt threshhold 1st quadrant M S 3 Trigger on a positive slope 3 Volt threshhoid 4th quadrant M S 1 7 Trigger on a negative slope 1 7 Volt threshhold 2nd quadrant M S 2 4 Trigger on a negative slope 2 3 Volt threshhold 3rd quadrant MV0 7 C specifies triggering on the VXIbus TTLTRGO or on the VXI TRIGGER command TTLTRG7 will be strobed when the module is triggered ME 0 specifies a negative edge external trigger TTLTRGO of the VXI bus will be strobed when the module is triggered NOTE When defining multiple triggers be careful not to define impossible conditions For example ME amp E is an invalid trigger condition because the two conditions are mutually exclusive Similarly MP 1 amp N 1 is invalid because the voltage can not be greater than 1 and less than 1 at the same time 5 Section 3 Command N fft summation method Syntax Nf Purpose The N command can be used to select the method used by the FFT built in processing routines to determine the peaks of the spectrum The default 1s to use a three cell summation as described in Appendix E x can be any one of the following 1 Disable 3 cell summation 0 Enable 3 cell summation default The N command allows selecting the optimal processing methods for determining the amplitudes of the frequency compon
7. When lit this LED indicates the input signal is ac coupled MC Measurement Complete When lit this LED indicates that the conversion process is complete This occurs whenever the memory is full the memory is accessed or the module is halted or reset CIN Connector tn When lit this LED indicates the signal input is being taken from the DB25 connector S3 Front Panel A four character display on the front panel provides information on current operation Whenever a command is being processed the character display will show BUSY On completion the display will show RDY or E xx where xx is the error number The front panel has two BNC inputs labeled SIG IN and SIG IN and one DB25S connector labeled S3 Refer to Appendix B for connector pinouts Fuses The VX4240 Module has 5V 5 2 2V 24V and 24V fuses The fuses protect the module in case of an accidental shorting of the power bus or any other situation where excessive current might be drawn If any fuse opens the VXIbus Resource Manager will be unable to assert SYSFAIL INHIBIT on this module to disable SYSFAIL If any fuse opens remove the fault before replacing the fuse Replacement fuse information is given in the Specifications section of this manual BITE Built in Test Equipment Built in Test Equipment BITE is provided by extensive self tests that are automatically performed on power up and may also be invoked on command Circuitry tested
8. 38 TRIGGERED STATUS BIT NOT ACTIVE Uxxx Where xxx is the U number of the status readback latch 39 DONE STATUS BIT NOT ACTIVE Uxxx Where xxx is the U number of the status readback latch Section 3 gq q Command Syntax Purpose Description Examples F Frequency and P Period Fixlly P x y The F and P commands are interchangeable they specify the frequency or sampling period frequency 1 period x a single letter which specifies the source of the sample clock internal on board clock V VXI 10 MHz ECL backplane clock E External clock not specified defaults to Internal y a fixed or floating point number which specifies the frequency in Hertz or period in seconds in one of the following ranges 10 MHz to 0 005 Hz frequency 100 ns to 200 seconds period in 100 ns increments All values are rounded down to the nearest period value increment or up to the nearest frequency range The Operational Setup 0 command can be used to view the actual value programmed For the external clock the frequency is left unchanged If y is not specified an error is generated P100E 9 specifies a period of 100 ns 10 MHz FI10 specifies a sampling frequency of 10 Hz F20E 3 specifies a frequency of 20 kHz 50 ms FV1 234E6 specifies a frequency of 1 25 MHz using the VXlbus clock as the reference rounded up to the nearest frequency range PE125E 9 specifies an external clock with a
9. 42 P Maximum positive transition 3 35 V Pulse parameters 3 44 Q FFT Blackman Harris 3 36 W Pulse width 3 42 R Rise time 3 37 X Maximum value 3 48 S Statistics 3 39 Y Cycle count 3 49 Z Zero crossing times 3 50 allows the module to perform arithmetic operations 3 68 Single frequency discrete Fourier transform DFT 3 29 The set of status commands report information about the system the module or the current operation E G K O cna used to examine error conditions 3 60 reports the greatest or least value seen since the last trigger 3 64 calculates the gain and offset for a specified voltage range 3 70 returns the programmed operational setup parameters of the VX4240 to be activated by the T command 3 76 returns the VX4240 Module to its default power up state 3 81 causes the module to execute a self test 3 82 allows reading the current record number in progress data or loading the real time update count 3 88 returns the card number and the current software version level 3 92 ee a Table of Contents Section 1 General Information and Specifications MOUCHO lt A A A a 1 1 Controls And AA a babang 1 4 AA 1 4 LEDS AA AA cos 1 5 AA a AA 1 7 PUSO AA AA at ater 1 7 BITE Built In Test EqUIpmenb edad DNA ANAK LAKAN ST ewe Ss 1 7 SPEciICa ION Si kag te ae Talang aes NG Jinan luha Da kasa ada at a aasa a ate oe 1 9 Section 2 P
10. 430 PRINT MAXIMUM POSITIVE TRANSITION gt RDS Example data returned is PT 2 2216797E 001 0002307 To look at four data values beginning at the maximum transition the INPUT BLOCK command can be used again getting the address from the response 440 OFFSETS MIDS RD 22 7 450 WRTS I OFFSETS K4 TMS 460 CALL SEND ADDR4240 WRT STATUS 470 RDS SPACES 4 13 2 480 CALL ENTER RDS LENGTH ADDR4240 STATUS 9b Example data returned is 000 1708984 000 3930664 000 5371093 000 7177734 490 PRINT POSITIVE TRANSITION DATA 500 PRINT RDS 510 INPUT TYPE ENTER TO END PROGRAM DUMMYS 520 END 1000 SUB ROUTINE IDENTIFIES THE MEMORY LOCATION OF 1010 CEC IEEE 488 INTERFACE CARD ROM 1020 1030 FOR amp H40 TO amp HEC STEP 8 H4 1040 FAILED 0 DEF SEG amp H100 1050 IF CHRS PEEK 50 lt gt C THEN FAILED 1 1060 IF CHRS PEEK 51 lt gt E THEN FAILED 1 1070 IF CHRS PEEK 52 lt gt C THEN FAILED 1 1080 IF FAILED O THEN CECLOC amp H100 amp HEC 1090 NEXT 1100 RETURN 4 4 VX4240 Appendix A VXlIbus Operation The VX4240 Module is a C size single slot VXIbus Message Based Word Serial instrument It uses the A16 D16 VME interface available on the backplane P1 connector and does not require any A24 or A32 address space The module is a D16 interrupter The VX4240 Module is neither a VXIbus commander nor a VMEbus master and therefore
11. 2 a Prin Configuration Information 3 4 Change Configuration Information 4 Set Configuration to Factory Settings 5 Write Back Save Changes 6 QUIE Contrguration Choice 1 6 18 Enter a 6 and press return The following information should appear on the screen Must Re Initialize pROBE or re boot for pSOS changes to take effect Other changes made automatically when configuration saved NAG KK KK KK KR KK KK KKK OK E DONE WITH CONFIGURATION ai Change Startup mode Settings to enter a different mode or push RESET to re boot DA o o RARA RAR 19 Power off the card cage and remove the RS 232 cable from the GPIB VXI C Slot O This completes the resource manager delay change If you need any assistance call 1 800 TEK WIDE or contact your local Tektronix representative VX4240 Waveform Digitizer Analyzer Module Instruction Manual A 73 Appendix K IEEE 488 Address A 74 VX4240 Waveform Digitizer Analyzer Module Instruction Manual
12. C DI lt CR gt lt LF gt A Error if Ph lt gt 1 or Pl lt gt 1 Pulse if Ph PI 1 B XXXXXXX Integer value indicating the number of pulses high low seen C X XXXXXXXE XXX Floating point number D XXXXXXX Integer value corresponding to the address of the measured value Example Response PULSE Ph 0000001 Pl 0000001 A 7 3876953E 000 0000000 B 7 3864746E 000 C 1 9580078E 000 0039999 D 3 4960937E 000 0044001 E 3 4988403E 000 F 5 1757812E 001 0083997 G 4 0000000E 004 HX 4 0000300E 003 0262142 HM Section 3 I 2 AI 4 0000300E 003 0262142 LX 3 9999448E 003 0043998 LM 3 9999448E 003 0043998 Ph The number of positive pulses detected See Note 1 PI The number of negative puises detected See Note 1 A The maximum positive signal amplitude and address B The average of 10 values beginning 10 ps after A C Positive knee value and address See Note 2 D The maximum negative signal amplitude and address E The average of 10 values beginning 10 us after D F Negative knee value and address See Note 2 G The time the signal is nominally zero between C and D HX The pulse width high maximum time and address HM The pulse width high minimum time and address See Note 3 LX The pulse width low maximum time land address LM The pulse width low minimum time and address See Note 3 NOTES 1 if more than one high or on
13. DVM 5 1 2 digit 100 VDC range AC RMS HP 3456A Checking isolation and voltage to 300 kHz accuracy 5 0 002 accuracy 3 Pattern Generator 25 MHz TTL 10 VDC Tektronix CDS VX4750 Checking AC accuracy 4 50QBNC Coxial Cable 50 Q BNC male connectors Tektronix part number Interconnecting electrical three required 012 005 7 01 signals 5 BNC T Connector 50 Q impedance BNC female to BNC Tektronix part number Interconnecting electrical two required female to BNC male 103 0030 00 Signals 6 BNC Female to Dual 50 Q impedance BNC female Dual Tektronix part number Interconnecting electrical Banana Banana plug 103 0090 00 Signals A 40 VX4240 Waveform Digitizer Analyzer Module Instruction Manual Appendix H Performance Verification VX4240 Under Test Configuration To execute this procedure the VX4240 under test must be installed in an approved V XIbus system Minimally this system must contain the elements listed in Table A 2 Table A 2 Elements of a Minimum VX4240 under test System Item Number and Description Minimum Requirements Example Purpose 1 VXIbus Mainframe Two available slots in addition to Tektronix VX1400A VX1410 Power cooling and backplane the Slot O controller for the for VXIbus modules VX4240 and a Pattern Generator SlotO Resource Manager Slot 0 Functions Resource Mgr VX4521 Slot0 Resource Mgr Resource Mgr Slot O Func IEEE 488 GPIB Interface tions GPIB Interface System Controller
14. EN 60555 2 AC Power Line Harmonic Emissions EN 50082 1 Immunity IEC 801 2 Electrostatic Discharge Immunity IEC 801 3 RF Electromagnetic Field Immunity IEC 801 4 Electrical Fast Transient Burst Immunity IEC 801 5 Power Line Surge Immunity Low Voltage Directive 73 23 EEC EN 61010 1 A2 1995 Safety requirements for electrical equipment for measurement control and laboratory use To ensure compliance with EMC requirements this module must be installed in a mainframe that has backplane shields installed that comply with Rule B 7 45 of the V XIbus Specification Only high quality shielded cables having a reliable continuous outer shield braid amp foil that has low impedance connections to shielded connector housings at both ends should be connected to this product kaka zz mm J9QUINU 10419 BY S XX OIOYM XX 3 10 4 AGU uey pessedoid Bulag SI puBLUOD B UAYM ASNE SMOYS Aejdsig 9ued JU014 10 99UU02 SZHA 943 Wold Ue Bulag SI du jeuBis NID e e duo9 SI SS990Jd UOISISAUVOD SW pejdnoo se si BuBis indu ou DV 008 d Bump s Buydwes yey S9 B0IPU diN sWYO OS peo indu osz p unoso sey 190663 s e npoul eu OYL epow Indu euU9s9J IG eU ul SI GINPOW oy 3310 se BB ey Buisseosd 10 Buneme pue powe enpouw eu WHY yoojo ejdwes ou jo Aouenbe eyy 38 SOUSe 420719 eAnoe si Indu ejeb 311V9 3903 9 u SI epow Jejsued leulg AYVNI9 eue dyoeq oy uo Buipued si 1dn3Joju1 ensj ysenbey e sejesipu
15. ENTER 21 40 PC ADDRESS 0 Defines i O card address 4 2 VX4240 Section 4 50 ADDR4240 24 Defines VX4240 s IEFE 488 address 60 CONTROL O Defines O card as a bus controller 70 CALL INIT PC ADDRESS CONTROL 80 RD SPACES 8 Allocate space for the input string variable 90 TMS CHR 10 Define Line Feed terminator 100 CLS Clear the screen 110 WRT R TMS Send the card a RESET command 120 CALL SEND ADDR4240 WRTS STATUS Output the reset message 130 CALL ENTER RDS LENGTH ADDR4240 STATUS Read the default response The card should respond with SO0000 Note that the status response see the O command is the only response from the card that begins with an S 140 PRINT DEFAULT MESSAGE gt RD 150 RDS SPACES 200 160 WRTS EA TMS Issue an ERROR E command to the card and read the result back The card should respond with NO ERRORS 170 CALL SEND ADDR4240 WRTS STATUS 180 CALL ENTER RDS LENGTH ADDR4240 STATUS 190 PRINT ERROR RESPONSE gt RD 200 WRTS F1E6 V5 T TMS Set the card to sample at 1 Mhz on the 5 volt range and trigger the card Note that the following F1E6 AND V5 delimit each of the commands while TMS delimits the trigger command and the command string 210 CALL SEND ADDR4240 WRTS STATUS 220 RD SPACES 8 230 CALL ENTER RD LENGTH ADDR4240 STATUS Read back the status response While the card is sampling
16. Fourier transform is ideally zero for frequencies above fic It should be noted that rarely can a waveform be band limited To minimize aliasing effects the signal should be sampled at a rate such that aliasing becomes negligible and low pass filtered to the extent possible to approach band limiting Since the discrete transform is considered over infinity it is necessary to truncate the sampled signal for digital analysis because only a finite number of samples N can be taken The effect of this truncation is to convolve a sin x x factor into the transform which causes leakage into the frequency components of the adjacent cells By increasing N the number of points in the transform the sin x x factor more closely approximates an impulse and less error is introduced VX4240 A 27 Appendix E TD SS ay Also note that since the Fourier transform is periodic the discrete transform also requires periodicity In order to best approximate the continuous transform an integral number of cycles of the time domain waveform needs to be contained within the sample period If the truncation interval is a multiple of the period the frequency domain sampling function will coincide with the zeros of the sin x x function canceling its effect This is called coherency To summarize the class of waveforms for which the discrete and continuous Fourier transforms are approximately the same requires that 1 the sampling rate be at least twi
17. is the relationship of the amplitude of the fundamental frequency to the amplitude of all the other frequencies excluding the five harmonic frequencies Signal to noise and distortion SINAD is the relationship of the fundamental amplitude to all other frequencies including the harmonics Spurious free VX4240 A 29 Appendix E a e a dynamic range SFDR is the difference between the amplitude of the fundamental and the amplitude of the next highest harmonic or noise spur The amplitude of the fundamental frequency is the reference for THD SNR SINAD and SFDR measurements and is referred to as the carrier frequency So these measurements are all in dBc decibels below the carrier To improve the accuracy of these measurements a three cell summation is employed to calculate the amplitude of the fundamental and its harmonics This summation is the square root of the sum of the squares of the amplitude of the cell one below the frequency the frequency and the cell one above the frequency The total harmonic distortion THD is calculated as the square root of the sum of the squares of the five harmonics minus the fundamental s amplitude THD dBc VA Aj Aj Ag Ag Ap where A is the amplitude of the fundamental and A A are the amplitudes of the harmonics using the three cell summation The signal to noise ratio SNR is calculated by taking the square root of the sum of the squares of all cells excluding cells
18. lt LF gt Ninety percent values NX 7 1676636E 001 00037417 NM 7 1142578E 001 _ 0004147 _NA _ 7 1530121E 001 lt CR gt lt LF gt Ten percent values TX 7 0578003E 001 0001447 TM _ 7 111 8164E 001 0007147 _TA 7 09601 20E 001 lt CR gt lt LF gt Zero percent values ZX _ 8 8354492E 001 0001447 ZM _ 8 8931 274E 001_ 0009147 _ ZA 8 8769747E 001 lt CR gt lt LF gt Section 3 gg q UUVQJQUQUQU Command Syntax Purpose Description Response Syntax Examples VX4240 AL single frequency discrete Fourier transform DFT ALDd vyiFlzliw ALRIn x y Fiz w This command performs a discrete Fourier transform DFT for a single specified frequency That is it performs a spectral analysis to determine the amplitude and phase of a single frequency within an input signal xl the number of samples to calculate the DFT across from 1 to RAMsize If x is not specified it defaults to RAMsize or the record size respectively y optional starting address from RAMsize to RAMsize If y is not specified it defaults to the address of the oldest data in memory or the starting address of the record respectively Address O is the trigger address in the record number z the desired frequency to calculate the DFT with If Fz is omitted an error is generated w an optional parameter which must be either S or D S calculates the DFT using single precision floating point va
19. the number of samples from 1 to RAMsize If x is not specified it defaults to RAMsize or the record size respectively optionai starting address from RAMsize to RAMsize If y is not specified it defaults to the address of the oldest data in memory or the starting address of the record respectively Sz Optional parameter specifying a step size where z 1 to 65536 If zl is not specified it defaults to 1 in the record number AN O returns the maximum negative transition found in RAMsize samples beginning at address O the trigger address AN returns the maximum negative transition found in RAMsize samples beginning at the address of the oldest data in memory AN100 returns the maximum negative transition found in 100 samples beginning at the address of the oldest data in memory AN100 300 returns the maximum negative transition found in 100 samples beginning at address 300 ANR1 returns the maximum negative transition in record 1 ANR11 1000 returns the maximum negative transition found in the first 1000 samples of record 11 ANR3 10 200 returns the maximum negative transition found in 10 samples beginning 200 locations from the start of record 3 AN OS4 returns the maximum negative transition found between every fourth memory location beginning at address O for RAMsize 4 samples Maximum negative transition NT _ 4 8000000E 000_ 0001042 lt CR gt lt LF gt Section 3 gq 2 Command Syn
20. the response will be S00110 When the memory is filled the response is SO0011 Loop here until the memory is full 240 IF MIDS RD 6 1 0 GOTO 230 250 PRINT MEMORY FULL STATUS RESPONSE gt RDS Now that the memory is full the A commands can be used to look at the data Issue the AX command to read the maximum value in memory 260 WRTS AX TMS 270 CALL SEND ADDR4240 WRTS STATUS 280 RDS SPACES 31 290 CALL ENTER RD LENGTH ADDR4240 STATUS9 300 PRINT MAXIMUM VALUE gt RDS Example data returned from the above sequence is XV 2 9248047E 000 0021263 indicating a maximum value 2 9248047 volts at address 21263 To look at the data at this location the INPUT 1 command is used with the offset determined by reading in the location value from the AX response 310 OFFSETS MIDS RD 22 7 VX4240 4 3 Section 4 DS 320 WRTS I OFFSETS TMS 330 CALL SEND ADDR4240 WRTS STATUSY 340 RD SPACES 14 350 CALL ENTER RD S LENGTH ADDR4240 STATUS 9H Example data returned is 002 9248046 360 PRINT DATA VALUE LOCATION OFFSET gt RD5 To look at the data at the next location address 21264 issue another read 370 CALL ENTER RD S LENGTH ADDR4240 STATUS Y 380 PRINT NEXT DATA VALUE gt RDS Find the maximum positive transition in memory 390 WRTS AP TMS 400 CALL SEND ADDR4240 WRTS STATUS 410 RDS SPACES 31 420 CALL ENTER RDS LENGTH ADDR4240 STATUS
21. 0 point immediately following the valley of the signal The maximum minimum and average values are returned The addresses returned are the rise locations Examples AE O calculates the ringing low of RAMsize samples beginning at address O the trigger address AE calculates the ringing low of RAMsize samples beginning at the address of the oldest data in memory AE100 calculates the ringing low of 100 samples beginning at the address of the oldest data in memory AE100 3200 caiculates the ringing low of 100 samples beginning at address 3200 AER3 calculates the ringing low of record 3 AER7 100 calculates the ringing low of the first 100 samples of record 7 AER3 1000 50 calculates the ringing low of 1000 samples beginning 50 locations from the start of record 3 AEH returns the calculated ringing values AEHR2 returns the calculated ringing values of record 2 e aaa VX4240 3 19 Section 3 11 Response Syntax EX ringing maximum EM ringing minimum EA ringing average EX 2 2000000E 002 001 2345 EM 2 3000000 E 003_ 0005432 EA 1 2000000E 002 lt CR gt lt LF gt DO VX4240 Section 3 e O ARA PX A PP Command Syntax Purpose Description Examples VX4240 AF Fall time AF H xi y AFTHIR In x y This command calculates the fall times of the sampled signal x the number of samples from 1 to RAMsize If x is not specified it defaults to RAMs
22. 286 Processor GPIB card and IBM 486 PC National Insru System Controller S oftware Talker Listener Controller ments GPIB PC2A card amp NI 488 2M software GPIB Cable 2 m length GPIB connectors Tektronix part number Connecting PC GPIB to Slot 0 012 0991 00 VX4240 Under Test Not applicable Not applicable Verify its performance Test System Configuration Table A 3 describes the VXIbus system configuration assumed in this proce dure If your configuration is different you do not need to change it just note that you will observe your device names and addresses in the test sequences Note that no secondary addressing 1s assumed Table A 3 VXlbus Test System Configuration Assumed GPIB Device VXIbus Logical GPIB Primary Device Name VXI Slot Address GPIBO GPIBO PC PCcard VX4521 LN 13 a hex 13 VX4240 under test VX4240 Slot 1 VX4750 VX4750 Slot 2 CA Test Record Photocopy the Test Record and use it to record the performance verification results for your module VX4240 Waveform Digitizer Analyzer Module Instruction Manual A 41 Appendix H Performance Verification Table A 4 VX4240 Test Record VX4240 Serial Number Date of Last Calibration Certificate Number VXlbus Interface Table Command Response System Configuration Program Command Response Common Mode Rejection DC Voltage Accuracy 0 5 V Range 0 4 full scale or 4 mV 1V Range 0 2 full scale or 4 mV 2
23. 3 40 VX4240 Section 3 gt Command Syntax Purpose Description Examples Response Syntax AT True RMS voltage AT x1 y 1Sz ATRlIn x y1 Sz This command calculates the RMS value of the data in memory xl the number of samples from 1 to RAMsize if x is not specified it defaults to RAMsize or the record size respectively y optional starting address from RAMsize to RAMsize If y is not specified it defaults to the address of the oldest data in memory or the starting address of the record respectively Sz Optional parameter specifying a step size where z 1 to 65536 If z is not specified it defaults to 1 in the record number The true RMS TRMS is defined as the square root of the sum of the square of each data point divided by the number of samples AT O calculates the TRMS value of RAMsize samples beginning at address O the trigger address AT calculates the TRMS value of RAMsize samples beginning at the address of the oldest data in memory AT100 calculates the TRMS value of 100 samples beginning at the address of the oldest data in memory AT100 300 calculates the TRMS value of 100 samples beginning at address 300 ATR1 returns the TRMS value of record 1 ATR99 88 returns the TRMS value of the first 88 samples of record 99 ATR3 100 200 returns the TRMS value of 100 samples beginning 200 locations from the start of record 3 AT 054 calculates the TRMS
24. 316 1 50 Ohm typical gt 60 dB 1000 1 1 Mohm typical Resolution Resolution for twelve bits Range V mV b 100 48 828 50 24 414 20 0 9 7656 10 0 4 8828 5 0 2 4414 2 0 0 97656 1 0 0 48828 0 5 0 24414 Accuracy DC accuracy error using average function lt 0 2 of full scale full scale is delta between maximum and minimum value in a range for example 2V in the 1V range lt 0 4 0 5V range Temperature drift lt 0 03 of full scale C all ranges AA a VX4240 1 9 Section 1 Sample Memory Depth Control Triggering External Trigger Uncertainty Trigger Rearm Time Voltage Threshold Trigger Range Voltage Threshold Resolution Sample Clock Accuracy External Sample Clock Dynamic Accuracy based on least squares fit to idealized 12 bit sine wave and the formula Effective bits 12 log RMS error actual RMS error ideal Effective Bits Typical Range 10 KHz 100 KHz 1 MHz 0 5 gt 9 36 gt 9 28 gt 8 14 1V gt 9 51 gt 9 44 gt 8 13 2V gt 9 00 gt 8 89 gt 8 15 5 V 5 9 49 gt 9 01 5 7 98 10V gt 9 28 gt 8 4 gt 7 75 20V gt 8 6 gt 7 62 50v 5 9 5 gt 9 21 100V gt 28 87 gt 8 42 256K words options for 512K and 1Mword Pre trigger Center trigger Post trigger Free running Record mode External TTL edge Dual Voltage thresholds Automatic on command VXI TTL trigger 1 of 8 programmable VXi command t
25. 8960 to 0 9040 VDC 0 496 to 0 504 VDC 0 004 to 0 004 VDC 0 504 to 0 496 VDC 0 9040 to 0 8960 VDC 5 Check the 2 0 V range listed in Table A 8 Verify the voltages to be within 0 2 of the full scale range 8 mV VX4240 Waveform Digitizer Analyzer Module Instruction Manual A 49 Appendix H Performance Verification Table A 8 2 V Range Verification Set DC Calibrator Command To Send DC Voltage to Verify 1 90000 ibwrt r3v2 t n 1 8920 to 1 9080 VDC ibwrt aa n ibrd 100 1 00000 ibwrt tin 0 992 to 1 008 VDC ibwrt aa n ibrd 100 0 00000 ibwrt tin 0 008 to 0 008 VDC ibwrt aa n ibrd 100 1 00000 ibwrt tin 1 008 to 0 992 VDC ibwrt aa n ibrd 100 1 9000 ibwrt tin 1 9080 to 1 8920 VDC ibwrt aa n ibrd 100 6 Check the 5 0 V range listed in Table A 9 Verify the voltages to be within 0 2 of the full scale range 20 mV Table A 9 5 V Range Verification Set DC Calibrator Command To Send DC Voltage to Verify 4 90000 ibwrt r v5 t n 4 8800 to 4 9200 VDC ibwrt aan ibrd 100 2 50000 ibwrt tin 2 480 to 2 520 VDC ibwrt aan ibrd 100 0 00000 ibwrt tin 0 020 to 0 020 VDC ibwrt aan ibrd 100 2 50000 ibwrt t n 2 520 to 2 480 VDC ibwrt aa n ibrd 100 4 90000 ibwrt tin 4 9200 to 4 8800 VDC ibwrt aan ibrd 100 A 50 VX4240 Waveform Digitizer Analyzer Module Instruction Manual Appendix H Performance Verification 7 Check th
26. A 7 Appendix A e tee Enb 0 Disables the event described in the lower 7 bits 1 Enables the event described in the lower 7 bits Event 111 1101 Request True event value Any other value for Event will have no effect End Normal Operation Command 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 O 1 1 O O 1 O O 1 1 2 11 1 I 1 1 When this command is received the module responds as follows Any pending VXIbus interrupts are cleared The DIR bit in the Response register is set to 1 active The ERR bit in the Response register is set to 1 inactive state The FHS bit in the Response register is set to 1 inactive state Generation of VXIbus interrupts is disabled requires a Begin Normal Operation command to be re enabled The Read Ready bit in the Response register is set to 1 active The Write Ready bit in the Response register is set to 1 active if enabled the module receivers will be disabled A read of the Data Low register following this command will return the following data Response Data Bits 15 0 1111 1111 1111 1110 Error Query Command 15 14 13 12 1110 9 8 7 6 5 4 3 2 1 0 1 1 0 01 1 O 1 1 1 1 1 1 1 1 1 This command will cause the module to place the first unreported Word Serial Protocol encountered into the Data Low register A read of the Data Low register following this command will return the following data No errors encountered Bits 15 0 1111 1111 1111 1111 Multiple Word
27. ETA Pied ee ae some Soe as sa A 67 VX4240 i Table of Contents List of Illustrations Figure 1 VX42402 Controls and Indicators ccc tte es 1 3 Figure 2 144240 PRONE Panel ii AA ANA BG ANAN ANA el NAA dende 138 Figure Ss Module Instala aa taa aa di Nh kh dara id aNG 2 3 Figure 4 A Analyze Command Responses cece tenes 3 50 Figure 5 Collect Modes viii ae 3 54 Figure 6 T D and C Command Relationships nananana ccc eens 3 85 Figure 7 THOGEE SEP quaderna RA pd ion ep NN Redeem asad dw PANA RG KG A 23 Foure S MMOJEFANdINO seriada riada ia A 24 FOUG SO NO esa stuns ceed eee tee cee eae een deemed pen asda tanta a esa A 25 Figure 10 Data Collecties ezers eaer sra sao MAID DIC SR IADE DLL DSO CLEAR SETE A 26 Figure FET Special E a td A 31 VX4240 AAA General Safety Summary To Avoid Fire or Personal Injury Symbols and Terms Review the following safety precautions to avoid injury and prevent damage to this product or any products connected to 1t To avoid potential hazards use this product only as specified Only qualified personnel should perform service procedures While using this product you may need to access other parts of the system Read the General Safety Summary in other system manuals for warnings and cautions related to operating the system Ground the Product This product is indirectly grounded through the grounding conductor of the mai
28. H is specified each value calculated is returned up to 2000 maximum Each data value will be delimited with the character specified by the L command The response data is the same format as for the AD command xl the number of samples from 1 to RAMsize if x is not specified it defaults to RAMsize or the record size respectively ly optional starting address from RAMsize to RAMsize f y is not specified it defaults to the address of the oldest data in memory or the starting address of the record respectively n the record number w an optional parameter which specifies the data to be returned if w is not specified the peak to peak voitages will be returned f the w option is followed by a Z the zero reference point of the calculations is based on absolute zero instead of the floating reference max min 2 values returned 100 addresses are of the peak value of the pulse 90 addresses are of the peak value of the pulse 10 addresses are of the minimum value of the pulse 0 addresses are of the minimum value of the pulse NAzols The peak to peak voltage is determined as the difference between the steady state high of the signal 100 point and the steady state low 0 point The maximum minimum and average peak to peak voltages are returned The addresses returned are the addresses of the peak value of the pulse Examples AK 0 calculates the peak to peaks of RAMsize samples beginnin
29. I Command Effect Clear The module clears its VXIbus interface and any pending commands Current module operations are unaffected Trigger If programmed this command is used to trigger the VX4240 sampling process Begin Normal Operation The module will begin operation if it has not already done so Read Protocol The module will return its protocol to its commander Read Status The module will return its status to its commander Module Commands Syntax Command protocol and syntax for the VX4240 Module are as follows 1 A command string consists of a string of ASCII encoded characters up to 160 maximum terminated by a lt LF gt Multiple commands may be entered within a string with a semi colon used as a delimiter between individual commands 2 Valid command delimiters for the VX4240 Module are the line feed lt LF gt and the semicolon The command string is buffered up until a lt LF gt IS encountered at which time the entire string is evaluated For example F10E6 VI CT T lt LF gt is a valid command string If no delimiter is entered then the card interprets the next command as being part of the previous command This causes either an error or an improper setup 3 The set of valid ASCI characters for the VX4240 Module is given below If any other characters are received they are ignored 4 Commands can be issued at any time f the Frequency Period Voltage Trigger Mode Collect Mode or Delay comman
30. NOISN31X3 VivG 2212121212 NI AAAAAAAA INO Xxx JUNTIVA HOLVEVAINOO QIOHSIUHA 22222222 yy AAAAAAAA INO XXN JUNUVI HILNNOO SSIYOOV AAAAAAAA NI 20000000 LNO ZZN ZON AUNTIVS WOVGAVaY SSIYOOV 0IAY43S38 MAMA MAMA NI 2222 10 AAAAAAAA MAOY XX YNVE 3YMIVI WVY 03345 HOIH 2222 NI AAAALNO XXXN SHNTIVd AYOWIW 3TILVIOA NON AAA JAAAAAAN A BN IYA XXX JONVE IHNUVA NIYO AMA JAAAAAAN A 3MIVA XXX 3ONVE IHNUVI 135430 NIYO XXX J9NYY LSNFAY LONNVO YOYYI NOILVHEINVO 138430 XXX JONVH LSAFAY LONNVO HOHHI NOILVHANVI XX ONVY JO LNO HOHYI NOISHIANOO x SINIANDYV ONVANI HOYY NOISUIANOI X ONNO4 YIGIWNN ON HOY NOISYUJANOO G3A43S3IY UAWN AYOWAW S0339X3 3218 OYOD3Y SOYOIIY JO YIGNNN 03AYIS38 X NOILVNINHIL ONVNNWOO YIJOYAMNI X QJINIW3IT1dW LON ONVWIWOO 39NVY ZDVLIOA 3H1 SO330X3 ANIVA GIOHSIUHL ONVININOD X HOI WNWINIIN MOTIS YIBNAN ONVIANOI X HOI WNWIXVIN 3408Y YIINWNAN X ONYWWOD ONVANI QILVY8NVO LON QUVOS SILAS 091 SOIIIXI ONIHLS ANVIANOO MM NI ZZ LNO AAAAAAAA YOO aan JYNTIVA INV NdI JUMIIVA OVOT VIT SHOHY3I ON 09 SMOJJOJ SB 918 SINPON OFZPXA 943 Aq peulnies eq ABW yolym sebesseu 10119 pue sepos 10119 ay 6 8 Le gt se ve ee te LE oe 67 ez LT 97 ST ve ec cl Le og 6l si Li 91 Si FI el cl LL Ol 60 80 LO 90 se vO 0 TO LO 00 C ann NAAA Nm e tac These VXibus Instrument Protocol commands SYSTEM COMMANDS are initiated by the VX4240 s com
31. O 1 and 2 the DC term the three cells centered around each harmonic and ten cells centered around the fundamental to minimize the leakage effects The signal to noise and distortion SINAD is calculated the same as the SNR except that the harmonic cells are included The SFDR excludes the DC cells O 2 and 10 cells around the fundamental A A 30 VX4240 Appendix E A e a AMP dB fo FREQ IDEAL SPECTRUM La FFT SHOWING LEAKAGE E FECTS FFT USING THE HANNING WINDOW fs FFT USING THE BLACMAN HARRIS WINDOW Figure 11 FFT Spectra VX4240 Asst Appendix E VX4240 Appendix F User Service This appendix contains service related information that covers the following topics Preventive maintenance User replaceable Parts Preventive Maintenance You should perform inspection and cleaning as preventive maintenance Preventive main tenance when done regularly may prevent malfunction and enhance reliability inspect and clean the module as often as conditions require by following these steps 1 Turn off power and remove the module from the VXlbus mainframe 2 Remove loose dust on the outside of the instrument with a lint free cloth 3 Remove any remaining dirt with lint free cloth dampened in a general purpose deter gent and water solution Do not use abrasive cleaners User Replaceable Parts Replacement parts are available through your local Tektronix field offi
32. THRL threshold THRH comparators 26 verifies that the threshold comparators can be loaded and read back BEXT bus extension latches 27 verifies the proper operation of the sign extend latches between A D memory and the CPU STAT status bits 37 38 40 verifies the armed triggered and LCA load complete status readback latches RECC record counters 29 36 verifies the operation of the record mode counters error 29 In addition verifies the measurement complete status bit error 36 SCNT sample counters 34 verifies the sample counters by ensuring that the number of samples taken equals the number programmed mE pa 3 82 VX4240 Section 3 analog front end HREF LREF CMRR ACCP OXXX offset gain GXXX values 30 31 32 33 19 20 verifies the high input signal path using the on board voltage reference verifies the low input signal path verifies the common mode differential input circuitry verifies the AC coupling relays verifies that the offset voltages for each range are less than 5 of full scale Using an internal voltage reference verifies that the gain on ranges 1 2 10 20 and 50 is within 596 of the ideal voltage The ideal voltage is 0 213 volts for ranges 1 and 2 and 10 volts for ranges 10 20 and 50 XXX is the range being tested The power up self test is a subset of the commanded self test to allow completion in five seconds The differences are Test CPU RAM high speed a
33. as specified by the Trigger Mode command see the M command These four steps are performed for the Trigger Arm TA command If a software trigger has been programmed with the Mode M command it is not executed This allows arming the module then using software to control when the board is triggered by issuing a TS command The TS command executes a software trigger Steps 1 through 3 above are not performed unless the module is not armed in which case it does all four steps The TS command is most useful in the Record mode where it is desired to use software to control the taking of a new record The Trigger Delay TD command performs steps 2 through 4 above However after the card is armed the triggers are not armed until enough time has elapsed i VX4240 Section 3 AAA E Ni to guarantee that memory is filled with valid data prior to arming the triggers If z is specified the delay period will be z times the sampling frequency This allows controlling the number of samples taken prior to arming the trigger For example if CP10000 TD2000 was programmed and the trigger was active the card would collect 2000 samples prior to the trigger and 10000 samples after it During this delay period the front panel display wili read WAIT The Trigger Fast TF command performs only steps 2 through 4 above reducing the maximum trigger latency The Trigger T command is the normal mode of triggering the module It performs
34. cable improperly set Slot O single step switch or loose or blown fuses Performance Verification Tests A 44 This procedure contains instructions for the example test equipment listed in Table A 1 You may use instrumentation other than the recommended example if 1t meets the minimum requirements listed The order of execution has been chosen to minimize system setup and programming requirements Although not essential 1t 1s recommended that you follow the order presented as some tests rely on previously verified parameters VX4240 Waveform Digitizer Analyzer Module Instruction Manual Appendix H Performance Verification VXibus Interface This sequence verifies that the VX4240 configures correctly and communicates properly with your GPIB system controller Equipment No additional test equipment is required for this sequence Requirements Prerequisites All prerequisites listed on page A 40 1 To verify the system configuration send the TABLE command to the Slot O Resource Manager and confirm the responses shown in table A 5 Your configuration may not be identical but the responses should be similar If you are using a controller other than the VX4521 use the equivalent procedure to observe the system configuration Table A 5 VXIbus System Configuration Command to Type Response to Verify ibic ibfind VX4521 ibwrt table ibrd 200 03 LA 0 IEEE 13 Slot 0 MFG FFDh MODEL VX4521 PASS RM LA 1 IEE
35. chosen For the commands below x and y must be in a valid numeric format as described at the beginning of the Operation section Variables and arithmetic operations are not permitted for the command arguments All responses are of the format x xxxxxxxe xxx lt CR gt lt LF gt where x is a decimal digit O through 9 Command Function Note JC x cosine x is an angle in radians JE x exponential gr base e JFfx hyperbolic sine x is an angle in radians JGIx hyperbolic cosine x is an angle in radians JHIx hyperbolic x is an angle in radians tangent JJix floor rounds x down to the nearest integer 5 23 is rounded to 5 00 JKIx round rounds x up to the nearest integer 5 23 is rounded to 6 00 JLIx log base 10 log x JMIx fy mod x y returns the fractional part of x ly returns the remainder for a division JNIx natural log In x base e Section 3 qq A rr JP x arc sine returns the angle whose sine is equal to x radians Results are in the range pi 2 to pi 2 JO x arc cosine returns the angle whose cosine is equal to x radians Results are in the range O to pi JRIx arc tangent returns the angle whose tangent is equal to x radians Numbers are chosen between pi 2 and pi 2 JS x sine x is an angle in radians JTix tangent x is an angle in radians JXIx1 ty exponential x any base Examples Command Response JL20 1 3010300E 000 lt CR gt lt LF gt JX
36. cycles The duty cycle is defined as pulse high time pulse high time pulse low time 100 the number of samples from 1 to RAMsize If y is not specified it defaults to RAMsize or the size of the record respectively an optional parameter If H is specified each calculated value is returned up to 2000 maximum Each data value will be delimited with the character specified by the L command The response data is the same format as for the AD command optional starting address from RAMsize to RAMsize If y is not specified it defaults to the address of the oldest data in memory or the starting address of the record respectively the record number AWG1000 returns the calculated values of the first 100 samples beginning at the address of the oldest data in memory AWG1000 100 returns the calculated values of the first 100 samples beginning at address 100 AWGR3 returns the calculated values of record 3 AWGR3 1000 returns the calculated values of the first 1000 samples of record 3 Section 3 AWGR3 1000 100 7 returns the calculated values of the first 1000 samples of record 3 beginning 100 locations from the start of record 3 Response Syntax WX maximum WM minimum WA average Cmd Response AWG WX 5 1001334E 006 0068166 WM 4 8788647E 006 0123447 WA _ 4 9872106E 006 AWL Wx 5 1376237E 006 0074826 Wm 4 9135697E 006 0088147 Wa 5 0272752E 006 AWP Px 1 0
37. deviation Period Frequency Duty cycle 1 0 Connections 2 BNC Jacks 1 DB25 25 pin connector Inputs TRIG IN one TTL load programmable to positive or negative edge true CLK IN 50 Ohm load Clock high time minimum 50 ns Clock low time minimum 50 ns ARM IN one TTL load programmable to positive or negative edge true GATE one TTL load active low Gate high time minimum 50 ns Gate low time minimum 50 ns SIG IN BNC CAT Il 150 V DC 120 V AC into 1 M Ohm 10 V DC 50 Ohms SIG IN BNC CAT II 150 V DC 120 V AC into 1M Ohm 10 V DC 50 Ohms Outputs TTL CLK OUT TIL 50 duty cycle 50 Ohm line driver TRIG OUT TTL programmable to active low or high trigger detection ARM OUT TTL programmable to active low or high Self Test The module automatically performs a self test on power up The test consists of verifying the CPU and data memory module s internal buses and analog input circuitry Self test may also be performed on command VXIbus Compatibility Fully compatible with the VXIbus Specification V1 4 for message based instruments with the Halt switch in the ON position VXI Device Type VXI message based instrument VXI Protocol Word serial DO A gs a aaa 1 12 VX4240 Section 1 AAA ea NY Dynamic Configuration Yes set LA switch to FFh VXI Card Size C size one slot wide Module Specific Commands All module specific commands and data are sent via the
38. e g N 10 250 P 0 to 100 w Positive threshold trigger level in volts e g P 10 250 S 0 to 100 w Slope trigger with threshhold Valw VXlbus hardware trigger a O to 7 Input TTL trigger select w optionally allows specifying a VXibus output TTL trigger The format is iw where w O to 7 output trigger select y an optional operator which allows any two trigger conditions to be logically ANDed or ORd y Specifies OR the x and z trigger conditions a AND the x and z trigger conditions If y is not specified the trigger is ORd with itself single trigger condition For the software trigger MA the module will begin digitizing on receipt of the Trigger T command For the VXI Trigger command the module begins digitizing on receipt of the VXlbus word serial Trigger command For the external triggers E and E the module begins digitizing when the programmed edge is seen For example if ME was programmed and the signal was high the module would not trigger until the signal went low and then back high For the VXibus TTL triggers TTLTRGO TTLTRG7 the module begins digitizing when the programmed trigger edge is seen See the W command for information on specifying the active trigger edge for the VXI TTL trigger For a threshold trigger the VX4240 Module begins digitizing when the input voltage is greater than the programmed threshold for the MP command or when the input voltage is less than the p
39. ibwrt r v0 5 tin Observe TRG and MC lights on ibwrt aa n Observe BUSY then RDY on front panel ibrd 100 Observe 0 49 Vpc 4 mV 3 Check the additional voltages listed in Table A 6 Wait for the RDY display before sending the Average Analysis aa command Table A 6 0 5 V Range Verification Set DC Calibrator Command To Send DC Voltage to Verify 0 49000 ibwrt r3v0 5 t n 0 486 to 0 494 VDC step 2 repeated for continuity ibwrt aa n ibrd 100 0 25000 ibwrt tin 0 246 to 0 254 VDC ibwrt aan ibrd 100 0 00000 ibwrt tin 0 004 to 0 004 VDC ibwrt aan ibrd 100 A 48 VX4240 Waveform Digitizer Analyzer Module Instruction Manual Appendix H Performance Verification Table A 6 0 5 V Range Verification Cont Set DC Calibrator 0 25000 0 49000 ibwrt tin ibwrt aa n ibrd 100 Command To Send DC Voltage to Verify ibwrt t n ibwrt aa n ibrd 100 0 254 to 0 246 VDC 0 494 to 0 486 VDC 4 Check the 1 0 V range listed in Table A 7 Verify the voltages to be within 0 4 of the full scale range 4 mV Table A 7 1 V Range Verification Set DC Calibrator 0 90000 0 50000 0 00000 0 50000 0 9000 ibrd 100 ibwrt t n ibwrt aa n ibrd 100 ibwrt t n ibwrt aa n ibrd 100 ibwrt t n ibwrt aa n ibrd 100 ibwrt t n ibwrt aa n ibrd 100 Command To Send DC Voltage to Verify ibwrt r vist n ibwrt aa n 0
40. in Table A 2 Also it is not necessary to complete the entire procedure if you are only interested in a certain performance area However because some performance parameters depend on the correct operation of previously verified functions it is recommended that you follow the order presented The following skills are required to perform this procedure m Thorough knowledge of test instrument operation and proper measurement techniques m Knowledge of VXIbus system components and command language programming m Ability and facility to construct interconnections and fixtures as needed to perform the procedure General Information and Conventions Please familiarize yourself with the following conventions which apply throughout this procedure m Each test sequence begins with a table similar to the one below providing information and requirements specific to that section The item numbers refer to entries in Table A 1 Required Test Equipment Following the table you will be given instructions for interconnecting the VX4240 under test and for checking performance parameters Test results may then be recorded in the Table A 4 Test Record Equipment Digital Volt Meter item 2 Requirements Function Generator item 3 Prerequisites All prerequisites listed on page A 40 m This procedure assumes that you will be using the National Instruments PC GPIB controller and software NI 488 2M configured as described in Table A 3 In the t
41. includes the CPU and all memory A to D s thresholds latches and counters and the analog front end including the signal path using an internal voltage reference common mode coupling offset and range gain A series of LEDs provide visual BITE for sampling clock measurement cycle source gate activity arming and trigger conditions interrupts and input mode source impedance and coupling A four element pixel display on the front panel provides information on operation and error conditions oo VX4240 1 9 Section 1 Do DISPLAY s3 SIGN INA D7 S 7 IN Figure 2 VX4240 Front Panel gg gq gq lt lt lt 1 8 VX4240 Section 1 oem SA SS AAO AAAH et Specifications indicates programmability Input Voltage Ranges 20 5 1 0 2 0 15 0 10 0 20 0 50 0 and 100 0 Volts calibrated range values A continuous virtual ranging capability is provided Sampling Frequencies 0 005 Hz to 10 MHz Sample Intervals 100 ns to 200 s internal and VXI clocks in 100 ns steps External clock 100 ns minimum period Signal Input Type Differential single ended Bandwidth dc to 5 MHz 3 dB 1 dB at 5 MHz Roli off 6 dB octave 5 10 MHz 18 dB octave 10 20 MHz Coupling ac dc ground Impedance 50 Ohm 2196 lt 20 pF 1 Megohm 3 lt 20 pF 929 Kohm 2 lt 20 pF 50V and 100V ranges CMRR gt 40 dB dc to 1 KHz 100 1 gt 50 dB
42. it does not have a VXlbus signal register The VX4240 is a VXlbus message based servant The module supports both the Normal Transfer Mode and the Fast Handshake Mode of the VXibus using the Write Ready Read Ready DOR and DIR bits of the module s Response register A Normal Transfer Mode Read of the VX4240 Module proceeds as follows 1 The commander reads the VX4240 s Response register and checks if the Write Ready and DOR bits are true If they are the commander proceeds to the next step If not the commander continues to poll the bits until they become true 2 The commander writes the Byte Request command ODEFFh to the VX4240 s Data Low register 3 The commander reads the VX4240 s Response register and checks if the Read Ready bit is true If it is the commander proceeds to the next step If not the commander continues to poll the Read Ready bit until it becomes true 4 The commander reads the VX4240 s Data Low register A Normal Transfer Mode Write to the VX4240 Module proceeds as follows 1 The commander reads the VX4240 s Response register and checks if the Write Ready and DIR bits are true If they are the commander proceeds to the next step If not the commander continues to poll the bits until they become true 2 The commander writes the Byte Available command which contains the data OBCXX or OBDXX depending on the state of the End bit to the VX4240 s Data Low register The VX4240 Module also supports the Fas
43. memory AR100 calculates the rise times of 100 samples beginning at the address of the oldest data in memory AR100 3200 calculates the rise times of 100 samples beginning at address 3200 ARR3 calculates the rise times of record 3 ARR7 100 calculates the rise times of the first 100 samples of record 7 ARR3 1000 50 calculates the rise times of 1000 samples beginning 50 locations from the start of record 3 ARH returns the calculated rise times ARHR2 returns the calculated rise times of record 2 gt gt gt YA 3 37 VX4240 Section 3 Response Syntax RX RA maximum rise time RM minimum rise time average rise time RX 1 4375000E 011 0000466 RM 1 2875000E 011 000032 6 RA 1 3808000E 011 lt CR gt lt LF gt Section 3 AD Command Syntax Purpose Description Response Syntax AS Statistics ASI x yJfz ASRIn x y lz This command returns the mean standard deviation and percentage of data within N sigma of the mean x the number of samples from 1 to RAMsize If x is not specified it defaults to RAMsize or the record size respectively ly optional starting address from RAMsize to RAMsize If y is not specified it defaults to the address of the oldest data in memory or the starting address of the record respectively z Px an optional parameter where x is 1 to 9 and specifies the PS return value to be the percentage of data within x o of th
44. only data after the trigger will be collected only 100 samples for the default value of y 1 In addition the time needed to initially fill the VX4240 Module s memory after receiving the T command is the RAMsize times the sampling rate At a slower sampling rate and assuming 262144 bytes of memory for example 25 us sample this time is 2621 44 x 25 ys or approximately 6 544 seconds Therefore an additional 6 544 seconds must be allowed after the trigger to completely fill the memory See the Trigger T command description which has several options for precluding these conditions VX4240 3 57 Section 3 A qq A NOTE Because the memory is recirculating there is a transition point between the oldest and the most recent data stored in memory The transition point is the point where sampling stops For example for CP100 this point will be at address 100 Excluding this transition value in data analysis will prevent any possible misinterpretation of the signal Section 3 I n a Command Syntax Purpose Description Examples VX4240 D Delay DIx ly The D command specifies the time delay or sample delay between the trigger event and the time that the data collection begins The delay command is valid only for the Post trigger and Record modes see the C command and is ignored if specified in any other mode xl a single letter T or S that specifies what is being delayed T delay time defaul
45. period of 125ns 8MHz P250E 9 specifies a period of 200 ns 5 MHz rounded down to the nearest period increment as VX4240 Section 3 mmm Command G Greatest Least value Syntax Gbd Purpose The G command reports the greatest or least value seen for the programmed voltage range since the last trigger event Description x a single letter G or L which specifies G reports the greatest value seen since the last trigger L reports the least value seen since the last trigger not specified the greatest value will be returned if a threshold trigger is programmed the G command returns the threshold value if the trigger event has not occurred If the Record mode is specified C command with a threshold trigger M command the G command returns the threshold value the maximums and minimums are not updated The G command reports values based on the eight most significant bits in the data only See the Mode M command for a more detailed discussion of the G command s operation Issuing a G command immediately halts any data collection in process Input requests immediately following this command return the value Example Command Response GG GV _ 1 00000E 000 lt CR gt lt LF gt GL LV 1 00000E 000 lt CR gt lt LFS Section 3 I Command Input request Syntax I xJ y1 fJ Sz IR n CIyJ f Sz Purpose The command specifies the address control the address relative to the trigger and the fo
46. positive transition found in RAMsize samples beginning at the address of the oldest data in memory returns the maximum positive transition found in 100 samples beginning at the address of the oldest data in memory returns the maximum positive transition found in 100 samples beginning at address 300 Returns the maximum positive transition found in record 23 returns the maximum positive transition found in the first 100 samples of record 23 returns the maximum positive transition found in 10 samples beginning 100 locations from the start of record 1 returns the maximum positive transition found between every fourth memory location beginning at address O for RAMsize 4 samples Maximum positive transition PT 3 2800000E 000 0002082 lt CR gt lt LF gt Section 3 mmm Command AQ Calculate FFT Blackman Harris Syntax AQIxIfyl z w AORInij xJlyjizJ w Purpose The AQ Calculate FFT Blackman Harris command is identical to the AC command and calculates a fast Fourier transform FFT with Blackman Harris leakage reduction compensation Description The Blackman Harris function reduces the leakage inherent in the fast Fourier transform see Appendix E t also resolves closer peaks in the frequency spectrum than the Hanning window Each of the time domain points is first multiplied by the following term before it is transformed into the frequency domain 0 35875 0 48829 cos H 0 14128 cos bad 0 01168 cos
47. set to position X and the switch representing the least significant digit LSD of the logical address is set to position Y then the base physical address of the VX4240 will be 64d XYh 49152d For example M S L L S Base Physical A O DO Addr d Ah O A 64 10 49152 49792d 15h 1 5 64 21 49152 50496d where L A Logical Address MSD Most Significant Digit LSD Least Significant Digit IEEE 488 Address Using the VX4240 Module in an EEE 488 environment requires knowing the module s IEEE 488 address in order to program it Different manufacturers of IEEE 488 interface devices may have different algorithms for equating a logical address with an IEEE 488 address Refer to Appendix K IEEE 488 Address if you are using a National Instruments GPIB VXI C Slot O module If the VX4240 is being used with a Tektronix CDS IEEE 488 interface module consult the operating manual of the Tektronix CDS Resource Manager IEEE 488 Interface Module being used If the VX4240 is being used in a MATE system VXlbus logical addresses are converted to IEEE 488 addresses using the algorithm specified in the MATE IAC standard MATE STD IAC This algorithm is described in detail in the 73A 156 Operating Manual If the VX4240 is not being used with a Tektronix CDS Resource Manager IEEE 488 interface Module consult the operating manual of the EEE 488 interface device being used for recommendations on setting the logical address
48. test passed E 1 Programming error O No programming errors P 1 Measurement in progress O No measurement in progress T 1 Triggered O Not triggered M 1 Memory full O Memory not ful R 1 Real time data updated O Real time data not updated Not specified The default lists the first five above conditions preceded by S in the order SEPTM The default presents the current situation for each condition The Q command can request the status of a single condition or the summary of all five individual conditions Query the status of all five conditions by entering the default Q or query any one of the conditions by entering OS QE OP QT OR or QM All responses to the command are preceded by the ASCII character S unique to the status response Once a Q command is received all subsequent input requests respond with the specified information until another input type command is received Q Response while the module is actively collecting data S00110 lt CR gt lt LF gt This command response indicates that the self test was passed that there are no programming errors that the measurement is in progress that it is triggered and that the memory is not full OE Response after the module has been programmed and no programming errors were found SO lt CR gt lt LF gt Section 3 A gt 3 80 VX4240 Section 3 e ii PPP Command Syntax Purpose VX4240 R Reset The R command resets the VX4240 M
49. the DC calibrator to 1 96V Send the command ks2An and wait for RDY to appear in the display Set the DC calibrator to 1 96V Send the command R CT10002 VD2 TF n Send the command AA 10000 0n Read the VX4240 and get the measured negative voltage Use the voltage measured in step 6 and the following equation to calculate the new calibration voltage Example 1 964695 1 96 1 96939 2 1 96 Set the DC calibrator to 1 964695V Send the command ks2 n and wait for RDY to appear on the display and proceed to the next range Table A 18 DC Gain and Offset Adjustment Set DC Calibrator Range Adjusted 0 49000 ibwrt ks0 51n 0 5 V 0 98000 ibwrt ks1 n 1 0 V 1 96000 ibwrt ks2 n 2 0V 4 90000 ibwrt ks5 n 5 0 V 9 80000 ibwrt ks10 n 10 0 V 19 6000 ibwrt ks20 n 20 0 V 49 0000 ibwrt ks50 n 50 0 V 98 0000 ibwrt ks100 n 100 0 V AC Gain and Common This sequence adjusts the single ended AC gain and the maximum AC common Mode Adjustment mode rejection of the upper ranges 5 and 50 VAC The reference signal is A 62 VX4240 Waveform Digitizer Analyzer Module Instruction Manual Appendix I Adjustment Procedure produced by a 100 kHz sine wave generator which is set to a precise voltage using a DVM 1 Connect the VX4750 FUNC OUT signal to the DVM and to the VX4240 SIG IN and SIG IN inputs with the following steps a Connect a BNC to Dual Banana adaptor and a BNC T co
50. the above four steps in addition to executing a software trigger if programmed All future T commands repeat the appropriate sequence until the module is reset Examples T Arm the trigger s and execute a software trigger if programmed TF The TF Trigger Fast command performs the same sequence as the T command except that data memory is not cleared TEA Enable the external arm and arm the trigger s TD Delay arming the trigger until memory is filled with valid data TD1000 Delay arming the trigger until 1000 samples have been taken Approximate trigger command to trigger arming delays For AC coupling add 500 ms to all the times except TS armed Command Delay T TA 3 sample clock periods RAMsize 2 25ps 10 ms TD sampling period memory size 1 1 10 ms TF 3 sample clock periods 10 ms TS card not armed same as the T command TS card armed lt 100 ps TD1000 sampling period 1000 10 ms Assuming 256K of memory 262144 and a sampling frequency of 10 MHz 100 ns period these delays are nominally TA 3 100e 9 262144 2 25e 6 10e 3 599 824 ms VX4240 3 85 Section 3 mr anna yy TD 100e 9 262144 1 1 10 ms 38 84 ms TF 3 100 e 9 10 ms 10 ms NOTE The module actually begins sampling data 10 ms relay switching delay after receipt of the trigger command but does not arm the trigger until after the trigger delay time described abov
51. time update count x one of the following single letters which specifies C rsads the current record count number of complete records taken and returns information in the format RC _xxxxx lt CR gt lt LF gt Fin real time update count n 1 to 8 3886E6 sample clocks R reads the real time data and returns information in the format X XXXXXXXE xxx lt CR gt lt LF gt B reads the real time data and returns the value in twos complement binary same format as the IT command If x is not specified an error is generated The UC command reports the number of complete records taken at any time see the CR command The UF command controls how often the data is updated and the UR command reports the sampled data value If the UF command is not programmed it defaults to UF1 The real time update function allows reading data in progress when the module is actively sampling Once a UR or UB command is received all subsequent input requests respond with the specified information until another command is written to the card If the real time data has not been updated the value returned will be the last value updated The OR command can be used to tell whether or not the data has been updated The real time update clock is inhibited if the external gate signal is active The command UC could return RC 00001 lt CR gt lt LF gt The command UR could return 1 0000000E 001 lt CR gt lt LF gt UF5 update real time
52. to generate a 1 kHz 9 8 Vp p sine wave ibfind VX4750 ibwrt rst imp le6 ampl 9 8vpp freq le3 3 Set the VX4240 to its power on default state for a single ended 5 V range with a 1 MQ input impedance to trigger an acquisition and then to analyze and read back the true RMS value set VX4240 ibwrt r v5ms t n ibwrt atin ibrd 100 Record the RMS value returned as Vs 4 Set the VX4240 to repeat the acquisition in differential mode and then to analyze and read back the true RMS value ibwrt r3v5md t n ibwrt atin ibrd 100 Record the RMS value returned as Vd 5 Calculate the CMRR 20Log 0 Vs Vd and verify the result to be greater than 40 dB VX4240 Waveform Digitizer Analyzer Module Instruction Manual A 47 Appendix H Performance Verification DC Voltage Accuracy This sequence verifies the DC accuracy of the A D converter and the input attenuator Equipment DC Calibration Generator item 1 Requirements 50 Q BNC cable item 4 BNC to Dual Banana Plug item 6 Prerequisites All prerequisites listed on page A 40 1 Connect the DC Calibrator to the VX4240 SIG IN input using a BNC cable and a BNC to dual Banana adaptor Set the DC Calibrator to 0 49 V 2 With the commands below set the VX4240 to 1ts power on state select the 0 5 V range and trigger an acquisition Then perform an Average Analysis and verify the accuracy of the result to be within 10 4 of the full scale range 4 mV set VX4240
53. use only 1 16 VX4240 Section 2 Preparation For Use Installation Requirements And Cautions The VX4240 Module is a C size VXIbus instrument module and therefore may be installed in any C or D size VXIbus mainframe slot other than slot O If the module is being installed in a D size mainframe consult the operating manual for the mainframe to determine how to install the module in that particular mainframe Setting the module s Logical Address switch defines the module s programming address Refer to the Controls and Indicators subsection for information on selecting and setting the VX4240 Module s logical address To avoid confusion it is recommended that the slot number and the logical address be the same Tools Required The following tools are required for proper installation Slotted screwdriver set AN WARNING To avoid electric shock tighten the module mounting screws after installing the module into the mainframe to ensure that the front panel is properly grounded NOTE There are two labeled printed ejector handles on the card To install the card correctly make sure the ejector labeled VX4240 is at the top In order to maintain proper mainirame cooling unused mainframe slots must be covered with the blank front panels supplied with the mainframe NOTE Verify that the mainframe is able to provide adequate cooling and power with this module installed Refer to the mainframe Operating Manual for instructions
54. value of RAMsize 4 samples for every fourth memory location beginning at address O Example True RMS calculation The TRMS of three voltages 0 25V dc 0 5V dc and 0 25V dc is Y 25 x 25 5 x 5 25 x 25 3 35355V dc True RMS value TR _ 4 5134000E 000 lt CR gt lt LF gt ST VX4240 Section 3 A qq A Command AU Undershoot Syntax AUfHI x ly AU HIRIn x7 ly Purpose This command calculates the undershoots of the sampled signal Description xl the number of samples from 1 to RAMsize If x is not specified it defaults to RAMsize or the record size respectively yl optional starting address from RAMsize to RAMsize If y is not specified it defaults to the address of the oldest data in memory or the starting address of the record respectively H an optional parameter If IH is specified each undershoot calculated is returned up to 2000 maximum Each data value will be delimited with the character specified by the L command The response data is the same format as for the AD command n the record number The undershoot is defined as the difference between the 0 value of a signal and its minimum point The maximum minimum and average undershoots are returned The addresses returned are the locations of the undershoots Examples AU O calculates the undershoots of RAMsize samples beginning at address O the trigger address AU calculates the undershoots of RAMsize sa
55. waveform in the frequency domain An N point FFT is performed which slices the frequency spectrum of the waveform into N 2 frequency components for a spectrum up to one half the sampling frequency Input requests immediately following these commands return the amplitude of each of the frequency components lx V returns the amplitudes as relative voltage gain P returns the amplitudes as power in dB decibels milliwatts Not specified defaults to V ly X returns the maximum amplitude and its frequency exclusive of the dc component S returns the signal to noise ratio SNR the total harmonic distortion THD the spurious free dynamic range SFDR and the signal to noise and distortion SINAD ratios in dBc decibels referenced to the carrier input signal fundamental D returns the frequencies and amplitudes of the fundamental plus the first five harmonics Not specified returns the amplitudes of each of the frequency components z Oto RAMsize Optional starting point If no starting point is specified the FFT is calculated from the address of the oldest data in memory or the starting address of the record respectively When specified the FFT is performed starting at this offset address w Nx where x 7 to 12 This field specifies the size of the FFT to be performed as a power of 2 For example if the w field is N10 then a 1024 point transform is done 2 9 Not specified defaults to 10 nj the record
56. x 13 126 95 Hz The response syntax is al b c d b c d b c d lt cr 5 lt H gt where a a four digit integer indicating the number of peaks to follow b the magnitude in dB of the peak in the format xxx xx cl a four digit integer indicating the frequency index d phase angle in degrees 180 in the format xxx xx Example The command ACKN11 would return the response 0398 049 02 0007 058 04 048 32 0010 149 75 048 60 0013 117 09 049 33 0237 014 43 048 92 0240 111 46 049 1 6 0242 046 57 E mem VX4240 3 17 Section 3 gq q 2 2 2 Command Syntax Purpose Description Examples Response Syntax AD Difference AD x yJ Sz ADRIni x1 y Sz This command returns the difference between successive data points xl the number of samples from 1 to 1000 maximum lf x is not specified it defaults to 1 ly optional starting address from RAMsize to RAMsize If y is not specified it defaults to the address of the oldest data in memory or the starting address of the record respectively Sz Optional parameter specifying a step size where z 1 to 65536 If z is not specified it defaults to 1 n the record number AD10 0 returns 10 values beginning with value 1 value O and ending with value 11 value 10 AD2 20 returns 2 values representing value 21 value 20 and value 22 value 21 ADR2 100 ret
57. 0 V Range Verification Set DC Calibrator Command To Send DC Voltage to Verify 49 0000 ibwrt r3 v50 t n 48 800 to 49 200 VDC ibwrt aan ibrd 100 25 0000 ibwrt tin 24 800 to 25 200 VDC ibwrt aan ibrd 100 00 0000 ibwrt tin 0 200 to 0 200 VDC ibwrt aan ibrd 100 25 0000 ibwrt tin 25 200 to 24 800 VDC ibwrt aan ibrd 100 49 0000 ibwrt tin 49 200 to 48 800 VDC ibwrt aan ibrd 100 10 Check the 100 0 V range listed in Table A 13 Verify the voltages to be within 0 2 of the full scale range 400 mV A 52 VX4240 Waveform Digitizer Analyzer Module Instruction Manual Appendix H Performance Verification Table A 13 100 V Range Verification Set DC Calibrator Command To Send DC Voltage to Verify 99 000 ibwrt rsv100 t n 98 600 to 99 400 VDC ibwrt aa n ibrd 100 50 000 ibwrt t n 49 600 to 50 400 VDC ibwrt aa n ibrd 100 00 000 ibwrt t n 0 400 to 0 400 VDC ibwrt aa n ibrd 100 50 000 ibwrt t n 50 400 to 49 600 VDC ibwrt aa n ibrd 100 99 000 ibwrt tin 99 400 to 98 600 VDC ibwrt aan ibrd 100 VX4240 Waveform Digitizer Analyzer Module Instruction Manual A 53 Appendix H Performance Verification A 54 This sequence verifies the AC RMS accuracy of the VX4240 Equipment Function Generator VX4750 item 3 Requirements DVM item 2 BNC T adaptor item 5 50 Q BNC cable two required item 4 BNC to Dual Banana adaptor item 6
58. 000000 lt more gt CI Block Base lt 0x060000 CI Num Blocks gt 0x00 E Resident Code Instrument Locations 0x00 00000000 0x01 00000000 0x02 00000000 0x03 00000000 0x04 00000000 0x05 00000000 0x06 00000000 0x07 00000000 0x08 00000000 0x09 00000000 0x0A 00000000 OxOB 00000000 gt CT Nonvolatile User Configuration Variables gt 0x00 00000000 0x01 00000000 0x02 00000000 0x03 00000000 0x04 00000000 0x05 00000000 0x06 00000000 0x07 00000000 0x08 00000000 0x09 00000000 0x0A 00000000 0x0B 00000000 0x0C 00000000 0x0D 00000000 0x0E 00000000 Ox0F 00000000 VX4240 Waveform Digitizer Analyzer Module Instruction Manual A 69 Appendix K IEEE 488 Address OXx2102700000000 Ox11 00000000 0x12 500000000 0x13 00000000 0x14 00000000 0 15 00000000 0x16 00000000 0x17 00000000 0x18 00000000 0x19 00000000 Ox1A 00000000 0x1B 00000000 0x1C 00000000 0x1D 00000000 0x1E 00000000 0x1F 00000000 lt lt Press A Key to Return to Main Menu gt gt 8 Press the space bar and the following information should appear on the screen GPIB VXI Nonvolatile Configuration Main Menu C 1995 National Instruments 1 Read In Nonvolatile Configuration Aia Prine Configuracion Latormeat Lon 3 Change Configuration Information 4 Set Configuration to Factory Settings 5 Write Back Save Changes 63 2 QUIE Configquratron Choice 1 6 9 Enter a 3 and press return The following information
59. 1 1 1 1 1 1 O Xx 1 1 1 1 1 1 1 1 This command enables the generation of Request True interrupts of the VXIbus backplane For interrupts to be generated this command and the module specific command must both be received A 6 VX4240 Appendix Byte Available Command 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 0O 1 1 1 1 0O X Xx X X X X X X x This command is used to transfer module specific commands and data to the module Byte Request Command 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 1 O 1 1 1 1 0 1 1 1 1 1 1 1 1 This command is used to request module specific data A read of the Data Low register following this command will return the following data Not used Bits 15 9 1111111 End Bit 8 1 Indicates the module is returning an ASCII line feed character ad data Normally indicates the end of a module specific data return sequence 0 Binary data or non line feed ASCII characters are being returned as data Datum Bits 7 0 xxxx xxxx Actual data item being returned Clear Command 15 14 13 12 1110 9 8 7 6 5 4 3 2 1 0 1 1 11 1 1 1 1 1 1 1 1 1 1 2 1 When this command is received the module responds as follows The Read Ready bit in the Response register is set to O inactive The ERR bit in the Response register is set to 1 inactive Control Event Command 15 14 13 12 1110 9 8 7 16 5 4 3 2 1 O 1 0 1 01 1 1 1 ENB Event This command controls the enabling disabling of the Request True event VX4240
60. 1 4 VX4240 Section 1 INT LEVEL NAI HALT SWITCH LEDs VX4240 VM nterr vel Sel witch Each function module in a VXIbus System can generate an interrupt on the VMEbus to request service from the interrupt handier located on its commander When using the VX4240 with a Tektronix CDS commander module set the interrupt level to the same level as the interrupt handier on that commander The VMEbus interrupt level on which the VX4240 Module generates interrupts is set by a BCD rotary switch Align the desired switch position with the arrow on the module shield Valid Interrupt Level Select switch settings are 1 through 7 with setting 1 equivalent to level 1 etc The level chosen should be the same as the level set on the VX4240 s interrupt handler typically the module s commander Setting the switch to an invalid interrupt level 0 8 or 9 will disable the module s interrupts interrupts are used by the module to return VXIbus Protocol Events to the module s commander Refer to the Operation section for information on interrupts The VXlbus Protocol Events supported by the module are listed in the Specifications section Halt Switch 4 This two position slide switch selects the response of the VX4240 Module when the Reset bit in the module s VXibus Control register is set This switch must be set ON If the Halt switch is in the OFF position this instrument will not operate correctly if the Halt switch is in the OFF posi
61. 10 1 30103 2 0000000E 001 lt CR gt lt LF gt JM5 3 6 6666669E 001 lt CR gt lt LF gt JJ 17 43 1 8000000E 001 lt CR gt lt LF gt DT Ra 3 69 VX4240 Section 3 A Command Syntax Purpose Description K Calibrate K x The K command is used to calibrate the gain and offset parameters of the module or for software calibration during operation x Definition An calibrate the AC gain where n 5 or 50 G range calibrate the gain O range calibrate the offset Strange calibrate both the gain and offset X load RAM with a ramp Zn calibrate the differential gain where n 0 5 or 5 range returns the calculated offset voltage range 0 5 1 2 5 10 20 50 or 100 tf range is incorrectly specified for the KS KG and KO commands an error will be generated The KA command is used to adjust the AC gain of the upper ranges as defined in the Calibration Procedure section in the Service Manual The module will return the RMS voltage on completion While the KA command is being executed the front panel display will be flashing hex values Issuing a read to the module will exit it from the command loop will return the data and will display RDY The KG command performs an automatic gain adjustment for the specified input range as defined in the Calibration Procedure section in the Service Manual The module will return the calibrated voltage value on comple
62. 107840E 005 0000068 Pm 9 9928246E 006 0002772 Pa 1 0014554E 006 AWF Qx 1 0007181E 005 0002772 Qm 9 8933106E 004 0000068 Oa 9 9854673E 004 AWD Dx 5 0888675E 001 0072072 Dm 4 87141 49E 001 0074777 Da 4 9800348E 001 AWHG250 4 9213997E 006 4 8977528E 006 lt CR gt lt LF gt WD VX4240 3 47 Section 3 A rm Command Syntax Purpose Description Examples Response Syntax AX Maximum voltage AX x y Sz AXRIn x y Sz This command returns the maximum voitage stored in memory x the number of samples from 1 to RAM size If x is not specified it defaults to RAMsize or the record size respectively y optional starting address from RAMsize to RAMsize If y is not specified it defaults to the address of the oldest data in memory or the starting address of the record respectively Sz Optional parameter specifying a step size where z 1 to 65536 if z is not specified it defaults to 1 in the record number AX O returns the maximum voltage of RAMsize samples beginning at address O the trigger address AX returns the maximum voltage of RAMsize samples beginning at the address of the oldest data in memory AX8000 returns the maximum voltage of 8000 samples beginning at the address of the oldest data in memory AX200 100 returns the maximum voltage of 200 samples beginning at address 100 AXR7 returns the maximum v
63. 148 6 0Ao 8SNGIWA Y BuissesoJd s ejnpou SSW ene e npow WYSSAS Buiuogouny seyddns Jomod HIMOd BUIMo jo3 SU 8 B9 pU SAJI OM UI USUM UOJOD NU9S Jajiwilop ADOJQ ZHW OL Aduenbea ejppdn eu Boy pojqesip 1088113 Indino IXA pesoBB eBpe eaneBeu sjeuBis Q 101409 V pejqesip sidnusejut V o Ae eg y120 9 jeusoju ZHIN OL Acuenbely indu 9Ng pepue e Duis esuepedu indu WYOW perdnos op ADOL 90BDBYOA OOL Z 18407 OOL 1849 p1e0q uo Alowew JO JUNOLUB OZISNVH OOL ezISWVH Junoo s0BBy 1Sod 199 109 1906113 6i16M JOS BPOJN s1 150 jos dn 18mod OY 19138 BINPOW OPZYXA YI jo UONIPUOD yynejep SUL 1 2d seulopin uonB 1e35u mollo E p d Jes Apoeiloo BIB SOYOIIMS je GINS OG KAR E gg enuey Bunesedo eu ul sjoBed ey 0 10301 soseyjueJed ul SIOQUINN AGIND 319N343438 NIINO ginpow sezAjeuy 19Zz19 151 WAOJBARM OVCVXA ez a zz Xxx JAILOV LON LIA SNLVLS INOQ xxx JALLOV LON LIS SNLVIS 03439918L Xxx JALLOV LON Lid SNIVIS OINYV xxxn JALLOV LON LID SNLVLS 3131dW0 ININIYNASVIN gaaHasas 2222 S31dWVS MAA LNNOD PAXN JUNTIVI HILNNOO ITINVS AMA JAAAAAANA INTVA LOSE JUNNVA INITANOD 9V AAA JAAAAAAA A INIVA HOUMA INANI YYW 1V11N3833310 AAA JAAAAAANA SN TWA LOWE AYNTIVI LNANI 3ALLVOIN AMA JAAMAMA A INIVA LOZ 19 07 LN IYMIVA INANI 3AILISOd 2222 NI AMA 100 ILLN ZYN IENTVIVI AOVEGVAY IAOW YO DIN G3AY3S3YH 22222222 Ni AAAAAAAA INO LE9M LEPN JYMIIV3
64. 24 2856E 3 To play back the data the appropriate trigger command can now be issued For example in the continuous rearm mode TY VX4240 Appendix G Calibration Equipment Required Function Generator 4 Digit Voltmeter Oscilloscope Procedure 1 Send the following command to the VX4240 2A r vi d2e 7 m s 5 f26e3 tx10 2 Apply a 0 1 Hz 1mVpp square wave signal from the Function Generator to SIG IN on the VX4240 3 Connect the voltmeter to the 10VPP output on the Waveform Output Card 4 Adjust R741 to OV 1mV 5 Change the amplitude of the function generator to 4VPP 6 After about 30 seconds the square wave will play back as a plus full scale minus full scale signal Adjust R763 for a difference of 19 998V 10mV between the high and low readings 7 Change the frequency of the function generator to 1 0MHz 8 Remove the voltmeter and connect the oscilloscope to the 10VPP output using a 50 ohm load on the scope input 9 Send the following command to the VX4240 2A fle ty 10 Adjust R643 for minimum overshoot on the scope display of the square wave Ignore the intermediate points that are digitized on the rising and falling edges of the square wave A 38 VX4240 hy eee Appendix H Performance Verification This procedure verifies the performance of the VX4240 Waveform Digitizer Analyzer Module The verification may be performed in your current V XIbus system if it meets the requirements described
65. 521 displays an S for an SRQ pending The response S00011 indicates that the Acquisition memory is full and that Real Time data has been updated see Query command 3 79 NOTE The read command serves to unaddress the Slot O controller allowing it to detect the VXIbus interrupt and to assert the SRO c Perform a Serial Poll of the VX4240 and verify an F9 hex response indicating an IRQ due to trigger and that the Slot O SRQ 1s no longer asserted ibrsp Observe F9 response and VX4521 no longer displays S Common Mode Rejection This sequence verifies a Common Mode Rejection Ratio CMRR of better than 100 1 540 dB DC to 1 kHz Equipment VX4750 item 3 Requirements DVM item 2 50 O BNC cable three required item 4 BNC T adaptor two required item 5 BNC to Dual Banana item 6 Prerequisites All prerequisites listed on page A 40 A 46 VX4240 Waveform Digitizer Analyzer Module Instruction Manual Appendix H Performance Verification 1 Connect the VX4750 FUNC OUT signal to the DVM and to the VX4240 SIG IN and SIG IN inputs with the following steps a Connect a BNC to Dual Banana adaptor and a BNC T connector to the DVM input b Connect the VX4750 FUNC OUT signal to one side of the BNC T c Using equal length coxial cables and a second BNC T connect the VX4240 SIG IN and SIG IN inputs to the other side of the BNC T at the DVM 2 Set the VX4750 to its power on default for a 1 MQ output impedance and
66. 6 words 1Mbyte 1M memory option If y is not specified it defaults to RAMsize 100 for the post trigger mode and to 100 for the pre trigger mode If y is less than 4 or greater than RAMsize an error is generated For the center trigger mode y s equivalent is set to RAMsize 2 y is ignored if specified for the center or free run modes The Collect command locates the trigger event in memory by controlling the number of samples taken prior to or after the trigger event For the pre trigger mode y specifies the number of samples to be taken after the trigger occurs address O The trigger event is thus located to see what occurred RAMsize y samples before it and y samples after it For the center trigger mode the trigger event address O is centered in memory so that RAMsize 2 samples are stored both before and after the trigger For the post trigger mode y specifies the number of samples to be taken prior to the trigger event address O The trigger event is then located to see what occurred y samples prior to it and RAMsize y samples after it Section 3 gq q _ A A T Pre trigger Mode samples y samples Post trigger Mode Figure 5 Collect Modes Assuming 256K 262144 words of memory note that CP131072 CC and CT131072 are all equivalent For the free run mode data collection begins on receipt of the Trigger command and will continue indefinitely until an An
67. E 01 Slot 1 MFG FFCh MODEL VX4240 PASS TRIGGER LOCK READ STB MESG 0 V1 3 NORMAL LA 2 IEEE 02 Slot 2 MFG FFDh MODEL VX4750 PASS TRIGGER LOCK READ STB MESG O V1 3 NORMAL NOTE If you are using National Instruments NI 488 2 software you may wish to select the buffer 1 mode to allow more comfortable viewing of the ASCII response Just type buffer 1 2 With the following commands perform an extended self test and verify that there are no pending errors ibfind VX4240 ibwrt sin Observe status messages on front panel and then RDY VX4240 Waveform Digitizer Analyzer Module Instruction Manual A 45 Appendix H Performance Verification ibrd 100 Observe S00000 see Query command 3 79 3 Verify the VX4240 VXIbus interrupt capability with the following steps NOTE Make sure your Slot O controller and the VX4240 under test are set to the same interrupt level Also if you are using National Instruments NI 488 2 software make sure Auto Serial Polling is disabled to prevent the SRO from being reset prior to a visual check a Set the VX4240 to its power on default state enable VXIbus Request True Backplane interrupt due to a triggered condition assert a trigger and read the result ibwrt r bt t n Observe RFI TRG and MC lights on ibrd 100 Observe S00011 response and VX4521 indicates S b Check that the RFI light 1s now off the TRG and MC lights are on and that the Slot O controller VX4
68. GGER SETUP UYYY AAA ee ee i eee ee e o o E ti im a Figure 7 Trigger Setup VX4240 TRIGGER COMMAND SET UP HARDWARE CLEAR MEMORY CHF APPLICABLE RELAY SWITCHING DELAY 10 mS SETTING DELAY 500 ms COUPLED o a NT A D PIPELINE DELAY 3 SAMPLE CLOCKS Appendix D ca E a a ee TRIGGER ARMING i 1 I LI EXTERNAL ARM ACTIVE COLLECT DATA i i ARM n NATIVE N LS EXECUTE SOFTWARE TRIGGER Figure 8 Trigger Arming e eee A 24 VX4240 Appendix D TRIGGERING ee iii wN TRIGGER S N ACTIVE A Si e e ee ee eee ee gt 22 versos AP ose Figure 9 Triggering VX4240 A 25 Appendix D DATA COLLECTION o ii a a a a e e e me a mm mo i FREE Y Ng ARM e gt s PUN MODE TRIGGERS y 7 i i N A AN SPECIFIED _ SPECIFIED a o 7 S lt OF SAMPLES mmm AA OF RECORDS 7 TAKEN S JAKEN ly a lad a a 7 STOP O E ON N ACTIVE Ds So sa N COLLECT 1G A RA 5 DATA COMMAND es al Figure 10 Data Collection mm if EA A 26 VX4240 Appendix E Using The Fourier Transform For Sampled Signals The following is a brief discussion of the basic principles of Fourier transform theory For more information on the subject refer to The Fast Fourier Transform by E Oran Brigham publ
69. GIN 1 SIG IN 2 These inputs are the same as SIG and SIG but brought in through the DB25 connector to make cabling easier These inputs are enabled SIG SIG disabled and vice versa under program control ANALOG SIGNAL GROUND S3 3 S3 14 S3 15 S3 16 J1 Shield outer conductor J2 Shield DIGITAL GROUND S3 6 S3 19 S3 20 S3 21 S3 22 SI 23 S3 24 S3 25 a A 14 VX4240 Appendix C VXlIbus Glossary The terms in this glossary are defined as used in the VXlbus System Although some of these terms may have different meanings in other systems it is important to use these definitions in VXIbus applications Terms which apply only to a particular instrument module are noted Not all terms appear in every manual Term Definition Accessed Indicator An amber LED indicator that lights when the module identity is selected by the Resource Manager module and flashes during any I O operation for the module ACFAIL A VMEbus backplane line that is asserted under these conditions 1 by the card cage Power Supply when a power failure has occurred either ac line source or power supply malfunction or 2 by the front panel ON STANDBY switch when switched to STANDBY A Size Card A VXIbus instrument module that is 100 0 by 160 mm by 20 32 mm 3 9 by 6 3 in by 0 8 in the same size as a VMEbus single height short module Asynchronous Communication Backplane B Size Card Bus Arbitration Bus Timer Co
70. Hz The cost though is that a 2048 point FFT takes approximately twice as much time as a 1024 point FFT The total harmonic distortion THD is the relationship between the amplitude of the fundamental frequency f relative to the first five harmonics which are at 2 fs 3 fs 4 f 5 f and 6 f For example if the fundamental is at 1 40625 MHz the second harmonic is at 2 8125 MHz the third at 4 21875 MHz etc Using this example note that the fourth through sixth harmonics are beyond the frequency spectrum Nyquist of the FFT 5 MHz for a sampling frequency of 10 MHz Because they are greater than the Nyquist frequency they are aliased or folded back onto frequency components below the Nyquist rate The fourth harmonic 5 625 MHz would be aliased back to 4 375 MHz the fifth 7 03125 MHz to 2 98765 MHz and the sixth 8 4375 MHz to 1 5625 MHz These higher frequencies are effectively a mirror image of the 5 MHz spectrum The D option of the FFT command returns the amplitudes and frequencies of the fundamental and the harmonics Because of this aliasing effect care must be taken in selecting the fundamental frequency to ensure that a harmonic is not aliased onto the fundamental frequency causing an invalid THD measurement To prevent this the fundamental frequency cell or bin should be a prime number 1 3 5 7 11 17 etc input frequency _ N prime number sampling frequency M size of FFT Signal to noise ratio SNR
71. Not used 7 2 XXXX XXXX Defines the logical address during dynamic configuration Once a value other than FFH is written to this register all other writes will have no effect Device Type 15 0 Device Type 1111 1101 1111 0111 Status 15 A24 32 Active 1 Not used 14 MODID 1 MODID line not active 0 MODID line active 13 4 Device dependent 11 1111 1111 Not used 3 Extended 1 Not used 2 Passed 1 Passed self test 0 Failed self test 1 0 Device dependent 11 Not used VX4240 A 3 Appendix A BIT DEFINITIONS continued Register Control Offset Protocol Response Bit Location Bit Usage 15 14 2 y 15 0 15 14 13 12 11 10 15 9 4 3 0 14 13 12 11 A24 32 Enable XXXX XXXX SYSFAIL Inhibit Reset Offset CMDR Signal Reg Master interrupter FHS Shared Memory Defined value of O Reserved Device dependent Reserved DOR DIR ERR VX4240 Value toro 111 1111 1111 11 1 0 1 0 1111 1111 1111 1111 OD sas 111111 1111 VX4240 Usage No effect XXXX XX Disables module from driving Sysfail Enables module to drive Sysfail Reset Not reset Indicates there is only one device using the address decoding hardware Servant only No Signal Reg Slave only interrupter Fast Handshake capability No Shared Memory capability Per VXI Not used Not used Per VXI Module is ready to return data via Byte Request command Module is not ready to
72. Ringing high Fast Fourier transform FFT Difference Ringing low Fall time Record Operations FFT with Hanning compression Integrate Peak to peak voltage Single frequency discrete Fourier transform DFT Minimum value Maximum negative transition Overshoot Maximum positive transition FFT with Blackman Harris window Rise time Statistics mean standard deviation True rms value Undershoot Pulse width periods duty cycles Maximum value Cycle count Zero crossing times periods duty cycles N lt xXSCANDOVOZZETATIONMOOW gt E Each of these commands is described in detail in the following pages This discussion applies to the set of all A commands If the A command permits or requires an x and or y argument following the command that argument is defined as follows unless specified otherwise x Optional count from 1 to RAMsize specifying the number of samples If x is not specified it defaults to RAMsize A a VX4240 3 7 Section 3 NN y Optional starting address from RAMsize to RAMsize If y is not specified it defaults to the address of the oldest data in memory For example if CP100 were programmed the oldest data is at location 100 and is the default starting address CT100 has the oldest data at location 100 CC has the oldest data at RAMsize 2 The trigger address is address O If the module has been programmed in the Record mode the A command can be executed on individual rec
73. Serial queries Bits 15 0 1111 1111 1111 1101 e rcs nar e A 8 VX4240 Appendix Unrecognized command Bits 15 0 1111 1111 1111 1100 in addition when the Data Low register is read the ERR bit in the Response register will be set to 1 inactive Read Protocol Command 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 1 O 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 If the Data Low register is read after this command the contents are as follows VXlbus Version Level Bit 15 1 VXlIbus Version 1 4 Device Device dependent unused Bits 14 13 12 11 1 1 1 Reserved Bits 10 9 8 1 1 1 E Bit 7 0 This module does support the Error Query command pit Bt 6 O IF the interrupt switch is set to O ELSE 1 This module does not support Read Interrupters Read Interrupter Line and Assign Interrupter Line commands PH Bit 1 This module does not support the Read Handlers Read Handler Line and Assign Handler Line commands Triggered supports trigger command Bit 4 0 This module supports the trigger command 14 supports VXibus 488 2 Instrument protocol Bit 3 1 This module does not support 488 2 protocol VX4240 A 9 Appendix Br A a supports VXIbus instrument protocol Bit 2 0 This module supports instrument protocol ELW supports Extended Longword Serial protocol Bit 1 1 This module does not support ELW protocol LW supports Longword Serial protocol Bit O 1 This module does not support LW prot
74. T BE LIABLE FOR ANY INDIRECT SPECIAL INCIDENTAL OR CONSEQUENTIAL DAMAGES IRRESPECTIVE OF WHETHER TEKTRONIX OR THE VENDOR HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES Contacting Tektronix Product Support Service Support For other informa tion To write us For application oriented questions about a Tektronix measurement product call toll free in North America 1 800 TEK WIDE 1 800 835 9433 ext 2400 6 00 a m 5 00 p m Pacific time Or contact us by e mail tm_app_supp tek com For product support outside of North America contact your local Tektronix distributor or sales office Contact your local Tektronix distributor or sales office Or visit our web site for a listing of worldwide service locations http www tek com In North America 1 800 TEK WIDE 1 800 835 9433 An operator will direct your call Tektronix Inc P O Box 1000 Wilsonville OR 97070 1000 EC Declaration of Conformity Tektronix Holland N V Marktweg 73A 8444 AB Heerenveen The Netherlands declare under sole responsibility that the VX4240 and Options 01 and 02 only meets the intent of Directive 89 336 EEC for Electromagnetic Compatibility and Low Voltage Directive 73 23 ECC for Product Safety Compliance was demonstrated to the following specifications as listed in the Official Journal of the European Communities EMC Directive 89 336 EEC EN 55011 Class A Radiated and Conducted Emissions EN 50081 1 Emissions
75. User Manual Tektronix VX4240 Waveform Digitizer Analyzer Module 070 9140 06 la AS bus This document supports firmware version 1 00 and above Warning The servicing instructions are for use by qualified personnel only To avoid personal injury do not perform any servicing unless you are qualified to do so Refer to the Safety Summary prior to performing service CE Copyright O Tektronix Inc 1991 1994 All rights reserved Tektronix products are covered by U S and foreign patents issued and pending Information in this publication supercedes that in all previously published material Specifications and price change privileges reserved Printed in the U S A Tektronix Inc PO Box 1000 Wilsonville OR 97070 1000 TEKTRONIX and TEK are registered trademarks of Tektronix Inc WARRANTY Tektronix warrants that this product will be free from defects in materials and workmanship for a period of three 3 years from the date of shipment If any such product proves defective during this warranty period Tektronix at 1ts option either will repair the defective product without charge for parts and labor or will provide a replacement in exchange for the defective product In order to obtain service under this warranty Customer must notify Tektronix of the defect before the expiration of the warranty period and make suitable arrangements for the performance of service Customer shall be responsible for p
76. V Range 0 2 full scale or 8 MV 5 V Range 0 2 full scale or 20 mV A 42 Temperature and Relative Humidity Verification Performed by Date of Verification Logical Address IEEE Address Slot No MFG Model etc EXT memso om 0 DC Calibrator 0 490V 0 250V 0 000V 0 250V 0 490V Mewes DC Calibrator 0 9000V 0 5000V 0 000V 0 500V 0 9000 V Mee DC Calibrator 1 9000V 1 0000V 0 000V 1 000V 1 9000V Mewes O a DC Calibrator 4 9000V 2 5000V 0 000V 2 500V 4 9000V Measure Min 4 8800v 24800V 0020W 2520v 4 92001 VX4240 Waveform Digitizer Analyzer Module Instruction Manual Appendix H Performance Verification DC Voltage Accuracy Cont 10 V Range 0 2 full scale or 40 mV DC Calibrator 9 9000V 5 0000V 0 000V 5 000V 9 9000 V measure 20 V Range 0 2 full scale or 80 mV Voltage 19 000V 10 000V 0 000V 10 00V 19 000V Mee 50 V Range 0 2 full scale or 200 mV DC Calibrator 49 000V 25 000 V 0 000 V 25 00V 49 000 V Mewes TS 100 V Range 0 2 full scale or 400 mV DC Calibrator 99 000V 50 000V 0 000V 50 00V 99 000 V measure 1 Add Temperature Drift lt 0 03 of full scale 1 C all ranges 7 070 Vams VX4240 Waveform Digitizer Analyzer Module Instruction Manual A 43 Appendix H Performance Verification Self Test The VX4240 includes a built in self test feature BITE which is executed au
77. VXIbus system At a minimum the system must contain the elements listed in Table A 16 Table A 16 Elements of a Minimum VX4240 Adjustment System Item Number and Description Minimum Requirements Example Purpose 1 VXlbus Mainframe Two available slots for the Tektronix VX1400A Power cooling and backplane VX4240 and the Pattern Generator for VXIbus modules in addition to the Slot O controller 2 Slot0 Controller Resource Mgr Slot0 Functions VX4521 Slot 0 Resource Mgr Slot O functions Resource IEEE 488 GPIB Interface Mgr and GPIB VXIbus inter face 3 IBM PC or compatible 286 Processor Talker Listener IBM 486 PC National Insru System Controller Controller GPIB card and software ments GPIB PC2A card amp NI 488 2M software A 58 VX4240 Waveform Digitizer Analyzer Module Instruction Manual Appendix I Adjustment Procedure Table A 16 Elements of a Minimum VX4240 Adjustment System Cont Item Number and Description Minimum Requirements Example Purpose 4 GPIB Cable 2 m length GPIB connectors on Tektronix part number Connecting PC GPIB to Slot 0 each end 0120 0991 00 5 VX4240 on extender Not applicable Not applicable Adjustment board System Configuration Table A 17 describes the VXIbus system configuration which is assumed in this procedure If your configuration 1s different you do not need to change it just note that you will observe your device names and addresses in place of those recommended i
78. VXlIbus Byte Available command All module specific commands are made up of ASCII characters Module specific data may be in either ASCII or binary format VMEbus interface Data transfer bus DTB slave A16 D16 only Interrupt Level Switch selectable levels 1 highest priority through 7 lowest or programmable Interrupt Acknowledge D16 lower 8 bits returned are the logical address of the module VXIbus Commands Supported All VXIbus commands are accepted e g DTACK will be returned The following commands have effect on this module all other commands will cause an Unrecognized Command error ABORT NORMAL OPERATION ASSIGN INTERRUPT LINE ASYNCHRONOUS MODE CONTROL BEGIN NORMAL OPERATION BYTE AVAILABLE with or without END bit set BYTE REQUEST CLEAR CLEAR LOCK CONTROL EVENT END NORMAL OPERATION ERROR QUERY READ INTERRUPT LINE READ INTERRUPTER READ PROTOCOL READ STATUS SET LOCK TRIGGER VXIbus Protocol Events Supported VXIbus events are returned via VME interrupts The following event is supported and returned to the module s commander REQUEST TRUE In IEEE 488 systems this interrupt will cause a Service Request SRQ to be generated on the IEEE 488 bus A e NN aaa VX4240 1 13 Section 1 IPR A VXibus Registers ID Device Type Status Control Protocol Response Data Low See Appendix A for definition of register contents Device Type Register Contents FDF7 Power Requirements All required dc power
79. ackaging and shipping the defective product to the service center designated by Tektronix with shipping charges prepaid Tektronix shall pay for the return of the product to Customer 1f the shipment is to a location within the country in which the Tektronix service center 1s located Customer shall be responsible for paying all shipping charges duties taxes and any other charges for products returned to any other locations This warranty shall not apply to any defect failure or damage caused by improper use or improper or inadequate maintenance and care Tektronix shall not be obligated to furnish service under this warranty a to repair damage resulting from attempts by personnel other than Tektronix representatives to install repair or service the product b to repair damage resulting from improper use or connection to incompatible equipment or c to service a product that has been modified or integrated with other products when the effect of such modification or integration increases the time or difficulty of servicing the product THIS WARRANTY IS GIVEN BY TEKTRONIX WITH RESPECT TO THIS PRODUCT IN LIEU OF ANY OTHER WARRANTIES EXPRESSED OR IMPLIED TEKTRONIX AND ITS VENDORS DISCLAIM ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE TEKTRONIX RESPONSIBILITY TO REPAIR OR REPLACE DEFECTIVE PRODUCTS IS THE SOLE AND EXCLUSIVE REMEDY PROVIDED TO THE CUSTOMER FOR BREACH OF THIS WARRANTY TEKTRONIX AND ITS VENDORS WILL NO
80. al clock or the VXIbus 10 MHz ECL clock Other features include nonvolatile memory for storage of calibration parameters external arm trigger clock and gate inputs trigger clock and armed outputs multiple interrupt conditions in progress reading of the input voltage and extensive status information displayed by LEDs on the front panel Accessories Standard Accessories included with the VX4240 VX1742P VX1782P Data Cable Data Cable VX4240 Section 1 fe 2 Um con cano Figure 1 VX4240 Controls and Indicators VX4240 Section 1 Controls And Indicators The following controls and indicators are provided to select and display the functions of the VX4240 Module s operating environment See Figure 1 for their physical locations Switches Logica Addr witch LOGICAL ADDRESS Each function module in a VXIbus System must be assigned a unique logical address from 1 to 255 decimal The base VMEbus address of the VX4240 is set SN to a value between 1 and FEh 257d by two hexadecimal rotary switches Align MSD LSD the desired switch position with the arrow on the module shield f the switchs are set to FFh 255d the VX4240 becomes dynamically configured Refer to the resource manager manual to determine what wili occur at system configuration The actual physical address of the VX4240 Module is on a 64 byte boundary If the switch representing the most significant digit MSD of the logical address is
81. alues of all the records stored X creates a new record which is the maximum values of the records specified by the y option If y is not specified the new record created will be the maximum values of all the records stored y defines which records are to be operated on For example AGA 1 7 5 will create a new record which is the average of records 1 7 and 5 y can also be specified as R TR which defines records R through R for example AGA 2 5T7 9 will average records 2 5 through 7 and record 9 R must be greater than R or an error will be generated The M option for this command AG x M w y lz allows the operations to be performed on records at regularly spaced intervals x is the same as defined above w is the record interval y is the beginning record and z is the number of records to be operated on For example AGAM 3 2 5 will average every third record beginning with record 2 for a total of five records The newly created record will then be the average of records 2 5 8 11 and 14 The new record created will be appended to the end of the last record in memory For example if 16 records of 10000 samples each O through 159999 or 160000 samples were taken the new record would begin at address 160000 Na a VX4240 3 23 Section 3 Examples and extend 10000 samples to address 169999 All the other Analyze commands could then operate on it as record 17 For example if an AGA com
82. alyze A Greatest Value G Input 1 or Reset R command is received to stop the sampling The trigger event address 0 is the location where sampling stopped The Record mode allows memory to be sub divided into individual records For this mode a is the record size followed by an ASCII followed by the total number of records to be taken b Once the Trigger command has been issued each trigger event will collect a samples 1 minimum until a total of b records 65534 maximum has been taken The Record mode collects only data taken after the trigger event post trigger Each time a complete record has been taken the trigger is rearmed If a delay has been programmed D command it is also reloaded after each trigger event If record size number of records is greater than RAMsize 2 an error will be generated If al is not specified it defaults to b records of RAMsize 2 b samples each If b is not specified it defaults to URAMsize 2 a records 65534 maximum of a samples each If neither a or b is specified the default is one record of RAMsize 2 samples each For example CR1000 will collect 262 records INTEGER 262142 1000 of 1000 samples each To find the number of complete records taken at any time use the Update Record Count UC command Examples The following examples assume 256K of memory 262144 words Section 3 rT C1000 collect 1000 samples after the trigger ev
83. ariable ADDRESS Following the input the variable LENGTH contains the number of bytes read from the instrument The variable STATUS contains the number 0 if the transfer was successful or an 8 if an operating system timeout occurred in the PC Prior to using the CALL ENTER statement the string R must be set to a string of spaces whose length is greater than or equal to the maximum number of bytes expected from the VX4240 CALL SEND ADDRESS WRTS STATUS The CALL SEND statement outputs the contents of the string variable WRTS to the IEEE 488 instrument whose decimal primary address is contained in the variable ADDRESS Following the output of data the variable STATUS contains a O if the transfer was successful and an 8 if an operating timeout occurred in the PC END Terminates the program FOR NEXT Repeats the instructions between the FOR and NEXT statements for a defined number of iterations GOSUB n Runs the subroutine beginning with line n EX GOSUB 750 runs the subroutine beginning on line 750 The end of the subroutine is delineated with a RETURN statement When the subroutine reaches the RETURN statement execution will resume on the line foilowing the GOSUB command VX4240 4 1 Section 4 GOTO n Program branches to line n EX GOTO 320 directs execution to continue at line 320 IF THEN Sets up a conditional IF THEN statement Used with other commands such as PRINT or GOTO so that IF the state
84. ation Table A 14 AC RMS Verification Commands to VX4750 Commands to VX4240 AC Voltage to Verify set vx4750 set vx4240 DVM reading 3 0 lowrt freq 10 kHz ibwrt tin ibwrt atin ibrd 100 set vx4750 set vx4240 DVM reading 3 0 lowrt freq 100 kHz ibwrt tin ibwrt atin ibrd 100 set vx4750 set VX4240 DVM reading 3 0 ibwrt Ampl 7 07vrms freq 1 kHz ibwrt v10 t n ibwrt atin ibrd 100 set vx4750 set VX4240 DVM reading 3 0 ibwrt Freq 10 kHz ibwrt tin ibwrt atin ibrd 100 set vx4750 set VX4240 DVM reading 3 0 lowrt Freq 100 kHz ibwrt tin ibwrt atin ibrd 100 This completes the VX4240 verification procedure VX4240 Waveform Digitizer Analyzer Module Instruction Manual A 55 Appendix H Performance Verification A 56 VX4240 Waveform Digitizer Analyzer Module Instruction Manual WARNING The following servicing instructions are for use only by qualified personnel To avoid injury do not perform any servicing other than that stated in the operating instructions unless you are qualified to do so Refer to all Safety Summaries before performing any service AAVANANANANAANANARANAARARNANARNRAARA RS Appendix Adjustment Procedure In order to meet its published specification the VX4240 must be adjusted every twelve months The adjustment should be performed at the temperature at which the module will be operating If this is not feasible or the module will
85. be operating over a wide temperature variation consult the temperature drift specification in the Operating Manual The following skills are required to perform this procedure m Thorough knowledge of test instrument operation and proper measurement techniques m Knowledge of VXIbus system components and command language programming m Ability and facility to construct interconnections and fixtures as needed to perform the procedure General Information and Conventions This procedure assumes a system configuration as described in Table A 17 and that you will be using the National Instruments PC GPIB controller and software NI 488 2M The adjustment sequences instruct you to issue the corresponding Interface Bus Interactive Control ibic commands to set up the VX4240 and other associated VXIbus test instruments Please refer to the NI 488 2M User Manual for additional information If you are using a different controller simply substitute the equivalent commands in the adjustment steps Prerequisites Proper adjustment of the VX4240 may be achieved when the following requirements are met m The VX4240 module covers are in place and the module is installed in an approved V XIbus mainframe according to the procedures in Section 2 of the Operating Manual The module may be operated on an extender board to allow access to the adjustments m The VX4240 has passed its self test m The VX4240 is operating in an ambient temperature betwee
86. capable of asserting VMEbus interrupts and performing the interrupt acknowledge sequence IRQ The Interrupt ReQuest signal which is the VMEbus interrupt line that is asserted by an Interrupter to signify to the controller that a device on the bus requires service by the controller Local Bus A daisy chained bus that connects adjacent VXIbus slots Local Controller The instrument module that performs system control and external interface functions for the instrument modules in a VXIbus card cage or several card cages See Resource Manager Local Processor The processor on an instrument module Logical Address The smallest functional unit recognized by a VXIbus system It is often used to identify a particular module Mainframe Card Cage For example the Tektronix VX1400 Card Cage an operable housing that includes 13 C size VXIbus instrument module slots Memory Device A storage element such as bubble memory RAM and ROM that has configuration registers and memory attributes such as type and access time Message A series of data bytes that are treated as a single communication with a well defined terminator and message body A A e Aa A 18 VX4240 Appendix C Message Based Device A VXlbus device that supports VXI configuration and communication registers Such devices support the word serial protocol and possibly other message based protocols MODID Lines Module system identity lines Physical Address The addres
87. ce or representative Changes to Tektronix instruments are sometimes made to accommodate improved com ponents as they become available Therefore when ordering parts it is important to in clude the following information in your order Partnumber m Instrument type or model number Instrument serial number m Instrument modification number if applicable VX4240 A 33 Appendix F AAA ANNA User Replaceable Parts Part Description Part Number User Manual 070 9140 XX Label Tek CDS 950 0654 00 Label VXI 950 0944 00 Fuse Micro 5 Amp 125 V Fast 159 0207 00 Fuse Micro 2 Amp 125 V Fast 159 0128 00 Collar Screw Metric 2 5 x 11 Slotted 950 0952 00 Shield Front 950 1335 00 Screw Phillips Metric 2 5 x 4 FLHD SS 211 0867 00 A 34 VX4240 Option 02 VX4240 Option 02 changes the VX4240 to 1 MSample Memory Appendix G Options Appendix G VX4240 Option 2A Waveform Output The Waveform Output Option allows the digitized input signal that has been captured by the VX4240 to be played back after a programmable delay The digitized signal is coupled to the Waveform Output Card via the VXI local bus and converted back to an analog signal A cable connected between the front panel connectors of the two cards enables the output during playback When playback is not enabled the output is set to zero volts When this option is installed there are changes to the Specifications Operation l O connections and Calibrat
88. ce the frequency of the highest frequency component of the time function 2 the time function be band limited no frequencies must exist above one half the sampling frequency 3 the time function be periodic and 4 an integer multiple of the cycles of the time function be within the sample period If the signal is band limited and periodic but the truncation interval is not equal to an integer multiple of the time period non coherent the following errors result The frequency function has an impulse at zero frequency representing the average value of the truncated waveform This occurs because the signal does not average out to zero over time and causes a de component to appear in the spectrum The frequency function no longer appears as a single impulse but rather as a continuous function of frequency with a local maximum centered at the original frequency and a series of other peaks termed side lobes These side lobes are introduced by the sin x x factor and are responsible for the additional frequency components which occur in the spectral representation This effect is called leakage and is inherent in the discrete transform because of time domain truncation To reduce this leakage it is necessary to employ a time domain truncation function which has side lobe characteristics of smaller magnitude than those of the sin x x function The smaller the side lobes the less leakage in the discrete transform The Han
89. conditions the conditions are asynchronous with respect to each other Thatis once one condition is satisfied it is latched internally Then when the second condition is satisfied the module is triggered However for a threshhold or slope trigger the threshhold slope trigger is not activated until after the other trigger condition has occurred if both a VXIbus input trigger and VXlbus output trigger w option are specified it is recommended they be specified on different lines to protect against loss of the output trigger This could happen for example if the input trigger line was still active still low when the VX4240 Module triggers Since the trigger lines are open collector driving the output trigger low would have no effect since the signal is already low and the trigger out would be lost Examples ME specifies a positive edge external trigger MA specifies a software trigger The module will trigger when the T command is received MP9 5 E specifies either a 9 5 volt threshold or a negative edge external trigger MP9 5 amp P9 7 specifies that comparator 1 must be gt 9 5 volts and comparator 2 must be gt 9 7 volts Once triggered the first comparator will save the maximum voltage above 9 5 volts and the second comparator will save the minimum below 9 7 volts MN9 5 N9 3 is the same as the previous example except that it looks for voltages that go below the programmed level Section 3 VX4240
90. cters followed by lt CR gt lt LF gt in the following format Sxxx xxxxxxx lt CR gt lt LF gt where S or x Decimal digit 0 9 E Decimal point lt CR gt Carriage return lt LF gt Line feed Example 012 2378910 lt CR gt lt LF gt or 100 1234567 lt CR gt lt LF gt Binary Transfer If a binary transfer is specified then the data is reported as two bytes of binary data per data value with no lt CR gt lt LF gt characters in between or at the end of the transfer For offset binary transfers hexadecimal 0000 represents negative full scale hexadecimal 8000 represents O and hexadecimal FFFF represents positive full scale For two s complement binary transfers hexadecimal 8000 represents negative full scale hexadecimal 0000 represents O and hexadecimal 7FFF represents positive full scale A binary transfer is terminated by issuing a new command to the module Refer to Appendix J Binary Transfer if you are using a National Instruments GPIB VXI C Slot O module ASCII Block Transfer For ASCII block transfers lt CR gt lt LF gt characters are inserted only at the end of a block and each value in the block is separated by a semicoion or the optionally defined delimiter specified by the L command Step Option The step option can be used for data de multiplexing f specified the data values returned are offset the specified number of locations from each other For example 10K4S4 returns the data in l
91. cy Fora 2 volt range and a measured voltage of 1 932V the amplitude returned would be 20log 1 932 2 0 0 300457 Response Syntax ACP100 1 6381000 001 5 0672000E 001 2 7945000E 001 3 0230000E 01 lt CR gt lt LF gt Assuming a sampling frequency of 10 MHz and a 1024 point transform 9 765625 KHz slice the first value returned 16 381 dBm corresponds to frequency O or dc the second value 50 672 dBm corresponds to 9 765625 KHz etc The data values are delimited by the terminator see the L command ACXN10 FV 2 9878000E 001_ 2 5000000E 006 lt CR gt lt LF gt indicating a relative voltage gain of 0 29878 dB at 2 5 MHz DDD 3 14 VX4240 Section 3 I OO VX4240 ACPX FP 1 31 17000E 001 6 2500000E 005 lt CR gt lt LF gt indicating a signal whose maximum amplitude is 13 117 dBm at 625 KHz ACR3 V returns the voltage FFT of record 3 ACS THD 57 70 SNR 54 13 SND 50 48 SFR 60 02 lt CR gt lt LF gt where THD is the total harmonic distortion SNR is the signal to noise ratio SND is the signal to noise and distortion ratio and SFR is the spurious free dynamic range ACD 2 5390625E 005 Al _ 4 8594112E 000 am 5 0781 250E 005 A2 6 3733299E 001 F3 7 6171875E 005 A3z 6 9593857E 001 F4 1 0156250E 006 A4 8 0922806E 001 _ F5 _1 2695312E 006_A5 _ 8 2780136E 001_ F6 _1 523438E 006_ A6 8 34576243E 001 lt CR gt lt LF gt whe
92. d condition is met THEN the command following is effective EX IF 3 THEN GOTO 450 will continue operation at line 450 when the value of variable is 3 REM or All characters following the REM command ora are not executed These are used for documentation and user instructions EX REM CLOSE ISOLATION RELAYS RETURN Ends a subroutine and returns operation to the line after the last executed GOSUB command lt CR gt Carriage Return character decimal 13 lt LF gt Line Feed character decimal 10 Programming Example In BASIC The following sample BASIC program shows how commands for the VX4240 might be used This example assumes that the VX4240 has logical address 24 and is installed in a VXIbus mainframe that is controlled via an IEEE 488 interface from an external system controller such as an IBM PC or equivalent using a Capital Equipment Corp IEEE 488 interface The VXIbus EEE 488 interface is assumed to have an IEEE 488 primary address of decimal 21 and to have converted the VX4240 module s logical address to an IEEE 488 primary address of decimal 24 Lines which are indented and not numbered are comments which clarify what the program is doing at those points Lines 10 through 70 initialize the PC s IEEE 488 interface module 10 DEF SEG HC400 Defines memory location for PCX I O card 15 GOSUB 1000 Determine memory location of CEC card 20 INIT O initialize PROM offsets for PCX I O card 30 SEND 9
93. d is complete the module will display RDY indicating that the next range may be adjusted If the module does not converge for a specified range the display will indicate an error number The Error command E may be used to read the cause of the failure This usually occurs 1f an incorrect voltage has been set up for the range being adjusted 1 Connect the DC Calibrator to the VX4240 SIG IN input only using a coaxial cable and a BNC to Dual Banana adaptor 2 As specified in Table A 18 adjust the eight voltage ranges by setting the DC Calibrator and sending the auto adjustment command for each calibrator setting according to Table A 18 3 When RDY appears on the display after each auto adjustment command reverse the polarity of the calibrator voltage and read the negative voltage using the following commands ibwrt R CT10002 V D TF n substitute the with the voltage range 0 5 1 2 etc ibwrt AA10000 0 n ibrd measured negative voltage 4 Calculate the new calibration voltage with the following equation New cal voltage cal voltage measured negative voltage 2 cal voltage VX4240 Waveform Digitizer Analyzer Module Instruction Manual A 61 Appendix I Adjustment Procedure 5 Set the calibrator to the new calibration voltage and send the autoadjustment command according to Table A 18 Example To set DC gain and offset in the 2V range do the following L O el e Pe oe Set
94. d is issued while the card is collecting data the command will be queued and executed when the next trigger command is received After one of these commands is received it remains valid until it is respecified or until the card is reset An input Analyze or Greatest Value command will terminate collection of data A Query or Operational Setup command is executed immediately does not terminate collection and will give the present status at any time 3 4 VX4240 Section 3 LD 5 lf any commands are improperly loaded the error number will be shown on the front panel display The invalid command and all subsequent commands will be ignored until either the Error command is issued see the E command or the card is reset see the R command If input from the card is requested while an error is queued the card s status see the O command will be returned instead of the requested data 6 If a character is not enclosed by brackets that character itself is sent otherwise encloses the symbol for the actual argument to be sent These argument symbols are defined under each command heading lt CR gt carriage return lt LF gt line feed lt SP gt space character lt TM gt terminator indicates a line feed or semicolon 7 Any character may be sent in either upper or lower case form in the command descriptions RAMsize refers to the amount of sample memory on the board Numeric Value Formats When specifying numer
95. data every 5 sample clocks ip RR VX4240 Section 3 ANA AAA nin wi Command Syntax Purpose Description VX4240 V Voltage range V wifxl yliz bb The V command specifies the input coupling and the voltage range The voltage range setting includes a variable range setting capability w y z NOTE a single letter A or D which specifies coupling A ac coupling D dc coupling not specified de coupling x specifies the voltage range between 0 5 and 100 volts The range value may be set at any value between these limits and is not limited to standard range values However the module is calibrated at the following range values 0 5 0 5 volts 1 1 volt 2 2 volts 5 5 volts 10 10 volts 20 20 volts 50 50 volts 100 100 volts default Setting the range to a value other than the calibrated values improves the voltage resolution proportional to the decrease in range from the next higher calibrated range Note that accuracy as a percent of reading may be slightly degraded since the range is not at a calibrated value if x is less than 0 5 or greater than 100 an error is generated a single letter M or F which specifies the input impedance M 1 MOhm input impedance F 50 Ohm input impedance not specified defaults to M The 50 Ohm load is only valid for ranges 10 and below and is ignored if specified for a higher range a single letter S or D which speci
96. ddress counters high speed RAM offset gain record counters Commanded Power up tests 32770 locations tests 1000 locations tests all addresses tests the first 1000 addresses tests all RAM tests the first 4100 RAM locations tests all ranges tests range 1 only tests for 65270 records tests for 260 records VX4240 Section 3 A Command Syntax Purpose Description T Trigger arm Tlx y The T command arms the trigger x E an optional parameter If specified it enables the external arm input If x is not specified the external arm input is ignored y a single letter specifying y specifies A arm trigger DIz delay trigger z is the optional delay count from O to RAMsize defaults to RAMsize F fast trigger S software trigger not specified performs the equivalent of a TA and TS command If the external arm signal is programmed the triggers will not be armed until both a trigger command is received and the external arm signal is valid Be careful to ensure that a trigger is not lost when using the external arm since the triggers are not armed until the external arm signal is active See the W command for information on programming the active edge of the arm signal Trigger arming normally follows this sequence 1 Data memory is cleared 2 Hardware is set up based on previously loaded commands or their defaults 3 VX4240 Module is armed 4 Data collection begins following the T command
97. ddress of the oldest data in memory or the starting address of the record respectively Sz Optional parameter specifying a step size where z 1 to 65536 If z is not specified it defaults to 1 n the record number Examples AM O returns the minimum voltage of RAMsize samples beginning at address O AM returns the minimum voltage of RAMsize samples beginning at the address of the oldest data in memory AM8000 returns the minimum voltage of 8000 samples beginning at the address of the oldest data in memory AM20 10 returns the minimum voltage of 20 samples beginning 10 samples prior to address O the trigger address and ending 9 samples after the trigger AMR20 returns the minimum value in record 20 AMR20 100 returns the minimum value of the first 100 samples in record 20 AMR3 10 200 returns the minimum value of 10 samples beginning 200 locations from the start of record 3 AM 054 returns the minimum value of RAMsize 4 samples for every fourth memory location beginning at address O Response Syntax Minimum value of data in memory MV 8 8800000E 000_ 0000410 lt CR gt lt LF gt A VX4240 3 31 Section 3 gt Command Syntax Purpose Description Examples Response Syntax AN Maximum negative transition AN x1 yJ Sz ANRIn x ySz This command returns the maximum negative voltage change between any two successive samples in memory x y
98. de Error Message 00 NO ERRORS 01 LCA LOAD FAILURE The programmable logic array failed to load correctly U68 02 CPU RAM FAILURE Uxxx ADDR yyyyyyyy OUT zz IN ww Where xxx is the U number of the suspected chip VYYYYYYY is the address where it failed zz i data o t and ww is the data read back 03 COMMAND STRING EXCEEDS 16 TES VX4240 Section 3 I o 04 BOARD NOT CALIBRATED 05 INVALID COMMAND x Where x is the first letter of the invalid command 06 NUMBER ABOVE MAXIMUM FOR x COMMAND Where x is the first letter of the invalid command The programmed parameter exceeds the maximum allowed value for the command 07 NUMBER BELOW MINIMUM FOR x COMMAND Where x is the first letter of the invalid command The programmed parameter is less than the minimum allowed value for the command 08 THRESHOLD VALUE EXCEEDS THE VOLTAGE RANGE A threshold was programmed M command which exceeds the voltage range 09 COMMAND NOT IMPLEMENTED x Where x is the non implemented command option 10 IMPROPER COMMAND TERMINATION x Where x is the command being processed when the error occurred 11 RESERVED 12 NUMBER OF RECORDS RECORD SIZE EXCEEDS MEMORY LIMIT 13 RESERVED 14 CONVERSION ERROR NO NUMBER FOUND x Where x is the first letter of the invalid command 15 CONVERSION ERROR INVALID ARGUMENTS x Where x is the first letter of the invalid command 16 CONVERSION ERROR OUT OF RANGE x Where x is the first letter of the
99. devices the VX4240 module has registers located within a 64 byte block in the A16 address space The base address of the VX4240 device s registers is determined by the device s unique logical address and can be calculated as follows Base Address V 40H COQOOH where V is the device s logical address as set by the Logical Address switches or in dynamic configuration as set by the module s commander VX4240 Configuration Registers Below is a list of the VX4240 Configuration Registers with a complete description of each In this list RO Read Only WO Write Only R Read and W Write The offset is relative to the module s base address ST E ee A 2 VX4240 Appendix REGISTER DEFINITIONS Register Address Type Val Bits 15 ID 0000H RO 1011 1111 1111 1101 BFFCh Logical Address 0000H WO See Logical Address definition below Device Type 0002H RO See Device Type definition below Status 0004H RO See Status definition below Control 0004H WO See Control definition below Offset 0006H RO 1111 1111 1111 1111 FFFFh Protocol 0008H RO 1111 0111 1111 1111 F7FFh Response OOOAH RO Defined by state of the interface Data High 000CH Not used Data Low Q00EH W See Data Low definition below BIT DEFINITIONS Bit Register Location Bit Usage VX4240 Value VX4240 Usage ID 15 14 Device Class 10 Message Based 13 12 Address Space 11 A16 only 11 0 Manufact ID 1111 1111 1101 Tektronix Logical Addr 15 8 Logical Address XXXX XXXX
100. e minus 10 ms has elapsed Then once the trigger s has occurred the number of samples specified by the Collect command are taken and then sampling stops The exceptions to this pattern are 1 If programmed in the Record mode sampling does not start until after the trigger s occur 2 if programmed with a delay D command sampling does not start until after the trigger s occur and the programmed delay has elapsed 3 If the External Arm is programmed sampling does not start until the external arm is active which then arms the trigger s The diagram on the next page abbreviated from Appendix D shows the interrelationships between the Trigger T Delay D and Collect C commands mr team 3 86 VX4240 Section 3 TRIGGER DELAY TD CND u SAMPLE DATA L SPECIFIED 1 OF SAMPLES TAKEN TRIGGER ARW TA TRIGGER FAST TF TRIGGER DELAY CONNAND SAMPLE DATA Y gt STOP COLLECT COMMAND DELAY 101 PROGRANED Crue gt B DELAY TINE CONPLETE SPECIFIED t OF SAMPLES TAKEN SAMPLE DATA Figure 6 T D and C Command Relationships tf a delay is programmed with the D command the TD command will have no effect VX4240 3 87 Section 3 eL ea mts Command Syntax Purpose Description Examples U Update Ulx The U command is used to read the number of complete records taken to read the real time data or to set up the real
101. e 10 0 V range listed in Table A 10 Verify the voltages to be within 0 2 of the full scale range 40 mV Table A 10 10 V Range Verification Set DC Calibrator Command To Send DC Voltage to Verify 9 90000 ibwrt r v10 t n 9 8600 to 9 9400 VDC ibwrt aan ibrd 100 5 0000 ibwrt tin 4 960 to 5 040 VDC ibwrt aan ibrd 100 0 0000 ibwrt tin 0 040 to 0 040 VDC ibwrt aan ibrd 100 5 0000 ibwrt t n 5 040 to 4 960 VDC ibwrt aa n ibrd 100 9 90000 ibwrt tin 9 9400 to 9 8600 VDC ibwrt aan ibrd 100 8 Check the 20 0 V range listed in Table A 11 Verify the voltages to be within 0 2 of the full scale range 80 mV Table A 11 20 V Range Verification Set DC Calibrator Command To Send DC Voltage to Verify 19 0000 ibwrt r v20 t n 18 920 to 19 080 VDC ibwrt aan ibrd 100 10 0000 ibwrt tin 9 9200 to 10 080 VDC ibwrt aan ibrd 100 0 0000 ibwrt tin 0 080 to 0 080 VDC ibwrt aan ibrd 100 VX4240 Waveform Digitizer Analyzer Module Instruction Manual A 51 Appendix H Performance Verification Table A 11 20 V Range Verification Cont Set DC Calibrator Command To Send DC Voltage to Verify 10 0000 ibwrt tin 10 080 to 9 9200 VDC ibwrt aan ibrd 100 19 0000 ibwrt tin 19 080 to 18 920 VDC ibwrt aan ibrd 100 9 Check the 50 0 V range listed in Table A 12 Verify the voltages to be within 0 2 of the full scale range 200 mV Table A 12 5
102. e ee FF Ts nn VX4240 2 3 Section 2 eee Installation Checklist Installation parameters may vary depending on the mainframe being used Be sure to consult the mainframe Operating Manual before installing and operating the VX4240 Module Revision Level Serial No Mainframe Slot Number Switch Settings VXIbus Logical Address Switch FFh enables dynamic configuration Interrupt Level Switch Halt Switch must be set ON for correct operation Memory Size Switch Factory Setting S80 C1 C2 C3 C4 Bootstrap Switch __QFF _ Cable Hooded Connector Installed if any RG58 Coax Cable __ 73A 742P Hooded Connector _ Performed by Date EA A rr E E E ec ITIK 2 4 VX4240 Section 3 Operation Overview In addition to the primary capability of capturing waveforms ranging in frequency from de to 5 MHz the module also incorporates extensive waveform analysis routines and includes many programmable features The sample clock can be programmed to select either the internal clock programmable from 0 005 Hz to 10 MHz an external clock or the VXibus 10 MHz ECL clock Input voltage ranges can be set from 0 5 Volts to 100 Volts including any non standard range values Signal inputs can be ac or dc coupled single ended or differential and loaded with 50 Ohms or 1 MOhm The triggering commands that control waveform acquisition support pre triggering center triggering post triggering or free running trigger ind
103. e low pulse is detected the response will lead off with error Multiple pulse detection is provided to detect signal oscillation Any positive edge greater than B 2 followed later by a negative edge B 2 is considered a high pulse Similarly for PI using E 2 When scanning for pulses the program uses a 16 count hysteresis around the mid point values to prevent noise from erroneously causing an extra pulse to be detected 2 C and F must be greater than 2 5 of the programmed input range tor correct command operation 3 If only one high or low pulse is detected the minimum values will equal the maximum values Otherwise the program will attempt to calculate a minimum oscillation pulse width ST VX4240 3 45 Section 3 mo Command Syntax Purpose Description Examples AW Pulse width AWIHI x y1 z AWIHIDIRIn y z This command calculates various parameters relating to the puise widths of a waveform This command is identical to the AZ command except that the zero reference point is taken as x y H 2 n maximum value minimum value 2 a single letter which must be one of the following x returns G the maximum minimum and average times the puise is high L the maximum minimum and average times the pulse is low P the maximum minimum and average periods F the maximum minimum and average frequencies D the maximum minimum and average duty
104. e mean If z is not specified it defaults to 1 n the record number The mean of the signal is defined as N DE MN N where N is the number of sampies and x is the ith data point Note that the mean is equivalent to the average value of the signal The standard deviation 0 sigma is defined as id o gt Y x MNY R 4 1 For a Gaussian bell curve distribution the probability of finding the value between o is 68 13 For 20 the probability is 95 5 and for 30 the probability is 99 7 For the example below 98 1 of the data falls within 0 9801841 volts of the mean 0 049187963 MN mean in volts DS standard deviation in volts PS percentage of data within N o MN 4 9187963E 002 DS 9 8018410E 001 PS 98 1 lt CR gt lt LF gt RQ 3 39 VX4240 Section 3 A OO Examples AS returns the mean standard deviation and 10 percentage of RAMsize samples AS1000 returns the mean standard deviation and 10 percentage of the first 1000 samples AS1000 500P2 returns the mean standard deviation and 20 percentac of 1000 samples beginning 500 locations from the trigger laddress 0 ASR2 returns the mean standard deviation and 10 percentage of record 2 ASP3 returns the mean standard deviation and 30 percentage of RAMsize samples AS 054 returns the mean standard deviation and to percentage of RAMsize 4 samples for every fourth sample beginning at address O
105. earming the trigger These commands operate the same as the TX command except they automatically rearm the card after the playback Playback always begins with the oldest data in memory For these commands n specifies the amount of data to playback If n is not specified it defaults to the amount of memory on the card The greatest value G command is inhibited for these two modes The front panel display will show DACR or DACZ while the card is in the continuous rearm playback mode For the TY command the rearm time is approximately 100 uS collect count sampling period For TZ the rearm time is approximately 100 pS RAMsize 2 25 uS collect count sampling period Example As an example suppose the card were to be triggered by a positive slope crossing at 1 5 volts and the playback was to include 5000 samples prior to this trigger delayed by 50 mS from the trigger The pertinent commands are CT5000 collect RAMsize 5000 samples after the trigger M S1 5 positive slope trigger at 1 5 volts Because the playback delay is relative to the end of sampling there would be a time period of sampling period RAMsize collect count for the card to collect the data At a period of 100 nS 10 MHz and 262144 words of memory with a CT count of 5000 the digitization time is 100e 9 262144 5000 or 25 7144 mS This implies the delay should be programmed to 50 mS 25 7114 mS with the command D
106. em clock that is sourced from Slot O and distributed to Slots 1 12 on P3 It is distributed to each module slot in synchronous with CLK10 as a single source single destination signal with a maximum system timing skew of 2 ns and a maximum total delay of 8 ns Commander In the VXibus interface a device that controls another device a servant A commander may be a servant of another commander Command A directive to a device There are three types of commands in Word Serial Protocol a 16 bit imperative to a servant from its commander In Shared Memory Protocol a 16 bit imperative from a client to a server or vice versa In a Message an ASCIi coded multi byte directive to any receiving device Communication Registers In word serial protocol a set of device registers that are accessible to the commander of the device Such registers are used for inter device communications and are required on all VXIbus message based devices Configuration Registers A set of registers that allow the system to identify a module device type model manufacturer address space and memory requirements In order to support automatic system and memory configuration the VXlbus standard specifies that all VXIbus devices have a set of such registers all accessible from P1 on the VMEbus C Size Card A VXIbus instrument module that is 340 0 by 233 4 mm by 30 48 mm 13 4 by 9 2 in by 1 2 in RR A 16 VX4240 Custom Device Data Transf
107. ent CC center trigger collects 131072 RAMsize 2 samples before and 131072 RAMsize 2 samples after the trigger event thus centering the trigger event in memory CF free run collects data independently from any trigger event Data collection stops on an Input Request command a Greatest Value command G or an Analyze command A CP pre trigger stops data collection based on the trigger event so that 262044 RAMsize 100 samples are collected before the trigger event and 100 samples after the trigger event CP200 collects 261944 RAMsize 200 samples before the trigger event and 200 samples after the trigger event CT post trigger stops data collection when 262044 RAMsize 100 samples have been collected after the trigger event 100 samples will be saved before the trigger event CT500 collects 500 samples before the trigger event and 261644 RAMsize 500 samples after the trigger event CR1000 50 collects 50 records of 1000 samples each 50 000 samples total Note that the number of samples collected depends on when the T Trigger arm command is received when the trigger occurs and what the sampling rate is The VX4240 Module begins sampling data following receipt of the T command If the trigger is already active when the T command is executed then less data may be collected than expected For example if the pre trigger mode is specified and the trigger is active when the T command is executed then
108. ents For signals and harmonics closely lined with the FFT frequency cells N1 should be used This requires careful selection of the FFT size and sampling frequency to match the input signal For general purpose applications the default N should be used Examples NI disable 3 cell summation NO enable 3 cell summation 3 75A VX4240 Section 3 VX4240 3 75B Section 3 O Command Syntax Purpose Description O Operational setup O The O command returns the operational setup parameters for the VX4240 Module The information returned by the O command will reflect the programmed setup parameters The front panel display may not agree with this if the T Trigger command has not yet put the programmed parameters into effect The information returned is in the following format _ indicates an ASCII space character If an optional delimiter has been specified with the L command all semicolons will be replaced with that delimiter MODE A B C1 COLLECT D E RECORDS IF LEVEL1 G LEVEL2 HJ VOLTAGE Il PERBIT KI INPUT LI OHMS MI JJ MM FREQ INI PER O CLKSRC PI DELAY O R INTERRUPT S RAMSIZE T EDG ES Ul _RTCLK_ V VXITO_ W lt CR gt lt LF gt The meaning of each variable is as follows A C B D EJ LF TRGS VXI x VXIC EXT EXT THR THR SLP SLP amp POST PRET CENT FREE RECM XXXXXXX software T command
109. ependent data collection A Record mode is also supplied which automatically rearms the trigger each time a programmed number of samples has been taken Trigger sources are external internal on command the VXI backplane trigger VXI command trigger or two independently programmed threshold triggers Any two AND or OR combinations of these triggers can be set for precise trigger control A time delay is also provided to delay data collection after a trigger The delay can be programmed from 200 nsec to 420 sec The standard VX4240 Module has 256 K words of memory and options can increase this to 1 Mword Data can be rapidly sent from the Waveform Digitizer Analyzer to the system controller in binary two s complement binary ASCII or ASCII blocks starting at any point in memory relative to the trigger point In addition to collecting and transferring waveforms the VX4240 Module contains embedded software routines These routines allow preprocessing the stored data before returning it to the system controller Preprocess signal analysis routines are available for such functions as maximum minimum average and rms values rise and fall times pulse widths peak to peak voltages overshoots and undershoots mean and standard deviation period frequency and duty cycle fast Fourier transforms FFT signal to noise ratio and total harmonic distortion Other features include nonvolatile memory for storage of calibration parameters externa
110. er Bus DC SUPPLIES Indicator Device Specific Protocol D Size Card DTB DTB Arbiter DUT ECLTRG Embedded Address ESTST Extended Self Test External System Controller FAILED Indicator Appendix C A special purpose VXlbus device that has configuration registers so as to be identified by the system and to allow for definition of future device types to support further levels of compatibility One of four buses on the VMEbus backpiane The Data Transfer Bus allows Bus Masters to direct the transfer of binary data between Masters and Slaves A red LED indicator that illuminates when a DC power fault is detected on the backplane A protocol for communication with a device that is not defined in the VXibus specification A VXlbus instrument module that is 340 0 by 366 7 mm by 30 48 mm 13 4 x 14 4 in x 1 2 in See Data Transfer Bus A functional module that accepts bus requests from Requester modules and grants control of the DTB to one Requester at a time Device Under Test Six single ended ECL trigger lines two on P2 and four on P3 that function as inter module timing resources and that are bussed across the VXibus subsystem backplane Any module including the Slot O module may drive and receive information from these lines These lines have an impedance of 50 ohms the asserted state is logical High An address in a communications protocol in which the destination of the message is included i
111. er Configuration Tha HOLE PSOsS Confagurataon 2 Edit VXI Interrupt Handler Logical Addresses 3 Edit Resource Manager Configuration VX4240 Waveform Digitizer Analyzer Module Instruction Manual A 71 Appendix K IEEE 488 Address A 72 4 Edit Il MOE 6 EGIT VJ EGLE o Edit da Edit O QUITE Servant Area and DC Configuration FAILED Device Handling Mode GPIB Configuration Default CI Configuration Resident CI Base Locations CI User Configuration Variables Homo ia Choice to 9 07 15 Enter a Q and press return The following information should appear on the screen GPIB VXI Nonvolatile Configuration Main Menu C 1995 National Instruments 1 Read In Nonvolatile Configuration Z Print Configuration Lnformatciron 3 Change Configuration Information 4 Set Configuration to Factory Settings 5 Write Back Save Changes 6 QUIE Configuration Choice 1 6 16 Enter a 3 and press return The following information should appear on the screen Saving Nonvolatile Configuration Information Will take 59 10 seconds Please walt Done lt lt Press A Key to Return to Main Menu gt gt 17 Press the space bar The following information should appear on the screen GPIB VXI Nonvolatile Configuration Main Menu C 1995 National Instruments VX4240 Waveform Digitizer Analyzer Module Instruction Manual Appendix K IEEE 488 Address 1 Read In Nonvolatile Configuration
112. ers B generates an interrupt to the system controller on a programmed condition 3 53 C specifies the data collection mode 3 55 D specifies the time delay between the trigger event and when data collection begins 3 59 mn s lt cavar r specifies the sampling frequency 3 63 sets up the format and addresses of data read trom the VX4240 s memory 3 65 defines the delimiting character between data values 3 72 specifies the trigger condition for which data collection begins 3 73 specifies the sampling period 3 63 arms the trigger 3 84 specifies voltage range input coupling input load and input type 3 89 specifies the active edges of the control signals 3 91 When set up is complete use the T command to begin sampling A J L The Analyze commands execute pre programmed routines to analyze the sampled data 3 7 Figure 4 3 52 shows the responses graphically The command set consists of 23 two letter commands where the second letter specifies what is to be analyzed A Average value 3 10 F Fall time 3 21 B Ringing high 3 11 G Record operations 3 23 C Fast Fourier transform 3 13 H FFT w Hanning compress 3 25 D Difference 3 18 Integrate 3 26 E Ringing low 3 19 K Peak to peak voltage 3 27 M Minimum value 3 31 N Maximum negative transition 3 32 T True rms value 3 41 O Overshoot 3 33 U Undershoot 3
113. es of the first 100 samples beginning at the address of the oldest data in memory AZG1000 100 returns the calculated values of the first 100 samples beginning at address 100 AZGR3 returns the calculated values of record 3 AZGR3 1000 returns the calculated values of the first 1000 samples of record 3 Section 3 gq AZGR3 1000 100 returns the calculated values of the first 1000 samples of record 3 beginning 100 locations from the start of record 3 Response Syntax ZX maximum ZM minimum ZA average AZG ZX 5 1001 334E 006 0068166 ZM 4 8788647E 006_ 01 23447 ZA 4 9872106E 006 AZL Zx 5 1376237E 006 0074826 Zm 4 9135697E 006 0088147 Za 5 0272752E 006 AZP PX 1 0107840E 005 0000068 PM 9 9928246E 006_ 0002772 PA 1 0014554E 006 AZF QX 1 0007181E 005 0002772 OM 9 8933106E 004_ 0000068 OA _ 9 9854673E 004 AZD DX 5 0888675E 001 0072072 DM _ 4 8714149E 001_ 0074777 DA _ 4 9800348E 001 AZHG250 4 9213997E 006 4 8977528E 006 lt CR gt lt LF gt VX4240 3 51 Section 3 30 Dt LIG KOY IHI NO ONIONIN U 119 HOIN JHL NO DNIONIE Py INIL NOT 9NI 5804 0832 NEI INTL HOT omassowa owal NILO MOL OL SIE 3011 MWI 41 SIE OL OL ANIL asiy t 1941104 AV3d 01 XV3d 10OHSUJONA NN LOOHSHJAO AD a a 10 Figure 4 A Analyze Command Responses VX4240 3 52 Section 3 gg TT Command Syntax Purpose Descr
114. es sampling of the data However before arming the trigger it will delay the count specified by the collect CT command before the trigger is armed This guarantees that old data will never be output by the card Note that the collect count sampling period is added to the trigger rearm time A 36 VX4240 Appendix G Commands TXIn TY n TZ n This command does a single shot digitization of the input signal Memory is first zeroed then the card is armed After the card has triggered and memory filled the programmed delay D command is executed When the delay time has elapsed the A D memory is recirculated to drive the Waveform Output card For the TX command n specifies how many times to playback the data For n lt 2 the data is played back once and the card stops This mode allows the digitized data to be read from the VX4240 after the playback to view analyze the digitized input The data is always output beginning at the oldest data in memory for the full amount of memory on the card When playing back the data each playback is separated by the programmed delay time Because the amount of post trigger data is programmabie CT command playback data can include data prior to the trigger effective pre trigger data The front panel display will momentarily show DACP indicating the playback trigger has been programmed These two commands are identical except that the TZ command zeroes memory prior to r
115. est sequences you will be instructed to issue Interface Bus Interactive Control bic commands to set up the VX4240 under test system Commands to the VX4240 may be entered in upper or lower case Please refer to the NI 488 2M User Manual for additional information If you are using a different controller simply substitute the equivalent commands VX4240 Waveform Digitizer Analyzer Module Instruction Manual A 39 Appendix H Performance Verification Prerequisites The verification sequences in this procedure are valid when the following requirements are met m The VX4240 module covers are in place and the module is installed in an approved V XIbus mainframe according to the procedure in the chapter Getting Started m The VX4240 has passed the self test m The VX4240 has been operating for a warm up period of 10 minutes in an ambient environment as specified in the chapter Specifications Equipment Required This procedure uses traceable signal sources and measurement instruments to check performance Table A 1 lists the required equipment You may use equipment other than the recommended examples if it meets the minimum requirements listed Table A 1 Required Test Equipment Item Number and Description Minimum Requirements Example Purpose 1 DC Calibration Generator Amplitude to 100V accuracy to 0 1 to Amplitude to 100V accuracy to 0 1 accuracy to 0 1 Data Precision 8200 Checking DC accuracy 2 Digital Volt Meter
116. f channel O stored in the VX4240 s memory Similariy for channel 1 the command AX 154 would begin the check every fourth location beginning at address 1 If a data count is given in the command the memory is scanned for that many values For example AX1000 0S4 would scan every fourth memory location beginning at address O and ending at address 3999 1000 data values 4000 memory locations VX4240 3 9 Section 3 A Command Syntax Purpose Description Examples Response Syntax AA Average value AA x yJISz AAR n x y Sz This command calculates the average value of the data in memory xl the number of samples from 1 to RAMsize If x is not specified it defaults to RAMsize or the size of the record respectively y optional starting address from RAMsize to RAMsize If y is not specified it defaults to the address of the oldest data in memory or the starting address of the record respectively Sz Optional parameter specifying a step size where z 1 to 65536 If z is not specified it defaults to 1 in the record number AA O AA AA100 AA100 3200 AAR3 AAR7 100 AAR1 100 200 AA 054 calculates the average value of RAMsize samples beginning at address O the trigger address calculates the average value of RAMsize samples beginning at the address of the oldest data in memory calculates the average value of 100 samples beginning at the addres
117. fault state equivalent to receiving the Asynchronous Mode Control command enabling event interrupts Reception of the module specific command IN see B command enabling interrupts The module will respond with the following data when the IACK cycle for the interrupt level chosen occurs 15 14 13 12 1110 9 8 7 6 5 4 3 2 1 0 l1 1 1 1 1 1 0 1 lt Logical Address gt A new interrupt can only be generated after the previous interrupt has been acknowledged and the Word Serial Read STB command has been received by the module VX4240 A 11 Appendix A A aaaea A A A 12 VX4240 Appendix B Input Output Connections Analog Input SIG 31 SIG 32 These connectors provide the signal interface to the VX4240 Module SIG corresponds to the high side of a differential signal and SIG for the low side Singie ended signals should use only SIG as the signal input input 7 The Gate input is used to inhibit sampling of the VX4240 Module If active the Gate input inhibits data collection the threshold triggers the real time update counters and the delay sample counters The Gate input does not affect the arm signals or any of the other triggers Used in conjunction with the various trigger modes of the VX4240 Module and the external clock input very precise control of the sampled data can be achieved The Gate input is an active low TTL signal External Clock In 13 The external clock input allows control of
118. fies the input S singie ended input D differential input not specified defaults to S AC coupling and 50 Ohm input load are mutually exclusive If both are specified the 50 Ohm input will be ignored Section 3 OO bb a single letter C or B which specifies C connector DB25 signal inputs B BNC signal inputs not specified defaults to B y z and bb may be programmed in any order Examples VD10 specifies a dc coupled 10 volt range VA5 specifies an ac coupled 5 volt range V1 specifies a dc coupled 1 volt range V1 1FD specifies a dc coupled 1 1 volt 50 Ohm differential input VA100S specifies an ac coupled 100 volt 1 MOhm single ended input VISF specifies a dc coupled 1 volt 50 Ohm single ended input VA1MDC specifies an ac coupled 1 volt 1 MOhm differential input from the DB25 connector input NOTE The LEDs on the front panel will refiect the currently programmed state If the module is actively sampling data however the LEDs will not light until after the sampling has stopped e ee 3 90 VX4240 Section 3 Command Syntax Purpose Description Examples VX4240 W Define control signal edges WIx The W command defines the active edges for the arm input the arm output the trigger output and the VXI trigger in signals x is optional and specifies the signal and edge x can be one or more of the following A 1t external arm in edge O arm o
119. five microsecond cycle will light the LED for approximately 0 2 seconds The LED will remain lit if the module is being constantly addressed RFI_ Request for Interrupt When lit this LED indicates a Request True interrupt is pending on the backplane It is cleared when the interrupt is serviced BINARY When tit this LED indicates the Binary Transfer mode is in effect Refer to Appendix J Binary Transfer if you are using a National Instruments GPIB Slot O module GATE Gate Hold When lit this LED indicates that the gate input is active CLOCK Sample Clock This LED flashes at the frequency of the sample clock For sample rates faster than approximately 30 Hz the LED appears to be lit continuously ARM Armed When lit this LED indicates that the module is armed and awaiting or processing the trigger This LED goes out when data sampling is complete DIFF Differential Input When lit this LED indicates the module is in the Differential Input mode TRG Triagered When lit this LED indicates that the module s trigger has occurred 250 50 Ohm Input When lit this LED indicates the input load is 50 Ohms VX4240 Section 1 MIP Measurement In Progress This LED indicates that sampling is taking place The LED is turned off whenever the memory is full the memory is accessed the trigger is rearmed in the Record mode or the VX4240 Module is halted or reset see Operation section AC AC Coupled
120. g at address O the trigger address AK calculates the peak to peaks ot RAMsize samples beginning at the address of the oldest data in memory AK100 calculates the peak to peaks of 100 samples beginning at the address of the oldest data in memory AK100 3200 calculates the peak to peaks of 100 samples beginning at address 3200 A TT VX4240 3 27 Section 3 qq A AKR3 calculates the peak to peaks of record 3 AKR7 100 calculates the peak to peaks of the first 100 samples of record 7 AKR3 1000 900 calculates the peak to peaks of 1000 samples beginning 900 locations from the start of record 3 AKH returns the calculated peak to peak values AKHR3 returns the calculated peak to peak values of record 3 AK12340 calculate the 100 values of 1234 samples beginning at the address of the oldest data in memory AK1E3 0N calculate the 90 values of 1000 samples beginning at address O the trigger address AKR7 100 0T calculate the 10 values of 100 samples beginning at address O of record 7 AKHR3Z return the calculated 0 values of record 3 Response Syntax aX maximum aM minimum a average a is K O N T or Z indicating the type of values returned Peak to peak values KX 1 4080000E 001_ 0001196 _ KM 1 3280000E 001_ 0000336 KA 1 3847000E 001 lt CR gt lt LF gt One hundred percent values OX _ 8 9468384E 001 0000148 OM 8 8909912E 001 _ 0008247 OA _ 8 9339748E 001 lt CR gt
121. he DIR bit in the Response register is set to 1 active The ERR bit in the Response register is set to 1 inactive state The FHS bit in the Response register is set to 1 inactive state Generation of VXIbus interrupts is disabled requires a Begin Normal Operation command to be re enabled The Read Ready bit in the Response register is set to 1 active The Write Ready bit in the Response register is set to 1 active VX4240 Appendix A mm sh Ss Any module specific configuration information will return to its power up default state A read of the Data Low register following this command will return the foliowing data Response Data Bits 15 0 1111 1111 1111 1110 Asynchronous Mode Control Command 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 101010 O O x x x x X Event x Event En Mode Event En 1 Disables generation of events O Enables generation of events Event Mode 0 Any value other than O will disable event operation Events will always be sent as interrupts When this command is received the enabling disabling of event interrupts will occur immediately A read of the Data Low register following this command will return the following data Not used Bits 15 13 1111 1111 1111 1110 Event En Bit2 1 if event generation has been disabled 0 if event generation has been enabled Not used Bit 1 1 Event Mode Bit O 0 Begin Normal Operations Command 15 14131211109 8 7 6 5 4 3 2 1 0
122. ic shock do not touch exposed connections VX4240 Waveform Digitizer Analyzer Module Instruction Manual V Service Safety Summary vi VX4240 Waveform Digitizer Analyzer Module Instruction Manual VX4240 Waveform Digitizer Analyzer Module Section 1 General Information and Specifications Introduction The VX4240 Waveform Digitizer Analyzer Module is a printed circuit board assembly for use in a C or D size mainframe conforming to the VXibus Specification It combines a 12 bit 10 MHz A D analog to digital converter with a state of the art RISC transputer to provide a very sophisticated measurement and analysis tool Capable of capturing waveforms in the dc to 5 MHz frequency range the VX4240 features extensive on card signal analysis and conditioning routines All key parameters are programmable and calibration is greatiy simplified by semi automatic calibration alignment software In addition to collecting and transferring waveforms the VX4240 can analyze and or preprocess sample data before returning it to the system controller The more than 40 signal analysis routines available include such functions as fast Fourier transforms FFT using any of three different windows signal to noise ratio total harmonic distortion maximum minimum average and RMS values rise and fall times pulse widths peak to peak voltages overshoot and undershoot mean and standard deviation and period frequency and duty cycle Another uni
123. ic values fixed or floating point formats are allowed No embedded spaces are allowed All numbers are rounded to the nearest value appropriate for the particular command rounded down if exactly half way except where otherwise noted in the text If no sign is specified the number is assumed to be a positive value A number whose absolute value is 5 can be represented by any of the following 5 5E1 05 50E 1 5 0 0 0000000000000005E 16 0 5E 01 Valid ASCII Characters The valid ASCII characters for the VX4240 Module are as follows VX4240 3 5 Section 3 A LS Character s Hexadecimal Equivalent A through Z 41 through 5A a through z 61 through 7A O through 9 30 through 39 amp 26 23 2B 2D 2E 2F 3B lt LF gt OA Any character other than the above is treated as white space is ignored and is allowed anywhere except in a numeric vaiue Any number of white space characters may be used together 3 6 VX4240 Section 3 e e Command Descriptions In the following descriptions RAMsize refers to the amount of sample Command Syntax Purpose Description memory on the board A Analyze A z The Analyze command executes preprogrammed routines for analysis of the stored information The Analyze command set consists of 23 two letter commands where the second letter z specifies what is to be analyzed z can be any one of the following Definition Average value
124. ield of the VX4240 and switch settings on the Installation Checklist A AA A asa Only qualified personnel should install the VX4240 Module Verify that the switches are switched to the correct values DO NOT adjust the factory settings on the Bootstrap switch or the Memory Size switch The Halt switch should be in the ON position unless it is desired to not allow the resource manager to reset this module Note that with either Hait switch position a hard reset will occur at power on and when SYSRST is set true on the VXIbus backplane If the module s commander is a VX4520 Slot O Device Resource Manager SYSRST will be set true whenever the Reset switch on the front panel of the VX4520 is depressed Also note that when the Halt switch is in the OFF position the module is not in strict compliance with the VXlbus Specification VX4240 Section 2 me e ae e e 3 The module can now be inserted into any slot of the chassis other than slot O RAT ATU NA NG N Figure 3 Module Installation 4 Installation of Cables Use an RG58 Coax Cable to interface between the module BNC connector s and the Unit Under Test UUT If the mainframe has a cable tray route the cable from the front panel of the module down through the cable tray at the bottom of the mainframe and out the rear of the mainframe If a special cable is needed a CDS 73A 742P Hooded Connector may be used to cable between the module s DB25 connector and the UUT
125. imes of record 2 Section 3 2 AS Response Syntax FX FA maximum fall time FM minimum fall time average fall time tl FX 1 1583000E 006 0001366 FM 9 9405000E 007 0000306 _ FA 1 1057000E 006 lt CR gt lt LF gt meme 3 22 VX4240 Section 3 A BBUBvQvvJUQU Command Syntax Purpose Description AG Record Operations AGIxI y AG xJM w y1 z This command creates a new record by performing various operations on the records stored in memory x is a single letter which must be one of the following A creates a new record which is the average of the records specified by the y option If y is not specified the new record created will be the average of ali the records stored D creates a new record which is the difference between the two records specified by the y option If y is not specified the new record created will be the difference between record 1 and record 2 record 1 record 2 AGD 1 2 If more than two records are specified an error will be generated E creates a new record which is the difference between the maximum and minimum values of the records specified by the y option If y is not specified the new record created will be the difference values of all the records stored M creates a new record which is the minimum values of the records specified by the y option If y is not specified the new record created will be the minimum v
126. invalid command 17 CALIBRATION ERROR CANNOT ADJUST RANGE xxx OFFSET Where xxx is the voltage range being adjusted The digital to analog converter was unable to adjust the offset out of the input signal 18 CALIBRATION ERROR CANNOT ADJUST RANGE xxx GAIN Where xxx is the voltage range being adjusted The digital to analog converter was unable to adjust the gain for the input voltage applied and the range being calibrated 19 OFFSET FAILURE RANGE xxx VALUE y yyyyyyyE yyy An offset failure was detected xxx is the voltage range being tested and y yyyyyyyE yyy is the value calculated 20 GAIN FAILURE RANGE xxx VALUE Y VVYYYYYE yyy A gain failure was detected xxx is the voltage range being tested and y yyyyyyyE yyy is the value calculated 21 NON VOLATILE MEMORY FAILURE Uxxx OUTyyyy IN zzzz Where xxx is the U number of the suspected chip yyyy is the data loaded and zzzz is the data read back 22 HIGH SPEED RAM FAILURE ADDR yyyyyyyy OUT zzzz IN wwww Where yyyyyyyy is the address where the failure occurred 222z is the data output and wwww is the data read back 23 RESERVED 24 ADDRESS READBACK FAILURE U02 U22 OUT xxxxxxxx IN vyyyyyyy Where xxxxxxxx is the address loaded and yyYYYYYY is the address read back A VX4240 3 61 Section 3 me 25 ADDRESS COUNTER FAILURE Uxxx OUT yyyyyyyy IN 22222222 Where xxx is the U number of the suspected chip YYYYYYYY is the address loaded and zzzzzzzz is the address read bac
127. ion Specification Changes Waveform Outputs Waveform Delay 200 nS to 420 seconds in 200 nS steps Settling Time 200 nS to 1 50 ohm load 10 0 Vpp 050 Ohms Output Amplitude 10 0 Volts 1 into 1 Megohm 5 00 Volts into 50 Ohms Output Impedance 50 Ohms 5 1 00 Vpp 650 Ohms Output Amplitude 1 00 Volts 1 into 1 Megohm 0 50 Volts into 50 Ohms Output Impedance 50 Ohms 1 Operation Changes To support Option 2A Waveform Output the following trigger commands have been added to the VX4240 These are special purpose commands and should ONLY be used in conjunction with Option 2A Option 2A allows playback of digitized data The amount of data and the time the data is played back are both programmable The Dielay command specifies the time between the END of sampling data and when playback begins from 200 nS to 420 seconds in 200 nS intervals The n option to these trigger commands specifies how much data is played back When using these commands the card must be programmed for the post trigger CT mode Playback always begins with the oldest data in memory To prevent playback of old data in memory the card internally ANDs the trigger condition specified by the M ode command with a soft trigger Therefore only one trigger condition can be specified with the mode command If more than one is specified the card will override the second condition When the card receives a TX TY TZ trigger command it first enabl
128. iption B Backplane interrupt Blz This command defines which condition will generate a Request True interrupt to the system controller iz a single letter which must be one of the following Interrupt condition o Armed Analyze command complete Disable the interrupt default Measurement complete Record complete Triggered IJWZUOS If z is not specified an interrupt will be generated on measurement complete M If programmed the backplane interrupt command generates a Request True interrupt to the VXibus system controller For the VX4240 the interrupt condition is enabled when a Trigger command is received except for the BC command Once the interrupt has occurred it will remain active until either the interrupt is acknowledged by the system controller or the module is reset Condition Interrupt occurs armed when the module is armed by the Trigger command If the external arm signal has been programmed it will occur when both the trigger arm and the external arm signals are active A command complete each time an A command has been completed measurement complete after the module has completed sampling the data record complete each time a complete record has been taken see the Collect command triggered when the module has been triggered or each time the module has been triggered in the record mode If the record mode has been programmed a triggered or record complete interrupt may be l
129. is provided by the Power Supply in the VXlbus mainframe Voltage 5 Volt Supply 4 75 V dc to 5 25 V dc 2 Volt Supply 1 9V dc to 2 1 V de 24 Volt Supply 23 5 V dc to 24 5 V dc 24 Volt Supply 23 5 V dc to 24 5 V dc Current Peak Module loy 5 Volt supply 3 85A 5 2 Volt Supply 0 6A 2 0 Volt Supply 0 026 A 24 Volt Supply 0 22 A 24 Volt Supply 0 23 A Fuses Replacement fuses Littelfuse P N 273005 5 amp and 273002 2 amp 125 V VFBlo very fast blow Cooling Provided by the fan in the VXIbus mainframe Less than 10 C temperature rise with 2 7 liters sec of air at a pressure drop of 0 19 mm of H 0 Temperature 10 C to 65 C operating assumes ambient temperature of 55 and airflow to assure less than 10 C temperature rise 40 C to 85 C storage Humidity Less than 95 R H non condensing 10 C to 30 C Less than 75 R H non condensing 31 C to 40 C Less than 45 R H non condensing 41 C to 55 C Radiated Emissions Complies with VXIbus Specification Conducted Emissions Complies with VXibus Specification Module Envelope Dimensions 197 mm high 221 mm deep 13 mm wide 7 75 in x 8 69 in x 0 5 in 1 14 VX4240 Section 1 LL Dimensions Shipping When ordered with a Tek CDS mainframe this module will be installed and secured in one of the instrument module slots slots 1 12 When ordered alone the module s shipping dimensions are 254 mm x 254 mm
130. ished in 1974 by Prentice Hall Incorporated The Fourier transform is a method for converting a time domain sample signal into the frequency domain to provide a spectral representation of the sample signal The spectral representation is obtained by decomposing a waveform into a sum of sinusoids of different frequencies The Fourier transform identifies the different frequency sinusoids and their respective amplitudes which combine to produce a waveform The discrete Fourier transform approximates the continuous Fourier transform for sampled signals The fast Fourier transform FFT is a method of performing a series of computations to compute the discrete Fourier transform more quickly The discrete Fourier transform approximates the continuous transform when the sampling interval T is sufficiently small If T is chosen too large distortion of the Fourier transform occurs This distortion known as aliasing introduces invalid frequency components into the transform Aliasing occurs because the time function was not sampled at a sufficientiy high rate to accurately represent the signal To minimize aliasing the sampling frequency F must be chosen to be a minimum of twice the frequency of the highest frequency component fic of the signal This may be written F 1 T 2f c where sampling frequency F is known as the Nyquist sampling rate and the Fourier transform is said to be band limited at the highest frequency fic in other words the
131. ize or the record size respectively ty optional starting address from RAMsize to RAMsize If y is not specified it defaults to the address of the oldest data in memory or the starting address of the record respectively H an optional parameter If H is specified each rise time calculated is returned up to 2000 maximum Each data value will be delimited with the character specified by the L command The response data is the same format as for the AD command n the record number The fall time is the time it takes for the signal to complete the transition from 90 to 10 of its steady state value The maximum minimum and average fall times are returned The addresses returned are one location prior to where the signal crossed the 90 point AF O calculates the fall times of RAMsize samples beginning at address O the trigger address AF calculates the fall times of RAMsize samples beginning at the address of the oldest data in memory AF100 calculates the fall times of 100 samples beginning at the address of the oldest data in memory AF100 3200 calculates the fall times of 100 samples beginning at address 3200 AFR3 calculates the fall times of record 3 AFR7 100 calculates the fall times of the first 100 samples of record 7 AFR3 1000 900 calculates the fall times of 1000 samples beginning 900 locations from the start of record 3 AFH returns the calculated fali times AFHR2 returns the calculated fall t
132. k 26 THRESHOLD COMPARATOR FAILURE Uxxx OUT yyyy IN zzzz Where xxx is the U number of the suspected chip yyyy is the data output and zzzz is the data read back 27 DATA EXTENSION FAILURE U431 U631 OUT yyyyyyyy IN zzzzzzzz Where yyyyyyyy is the data output and zzzzzzzz is the data read back 28 RESERVED 29 RECORD MODE READBACK FAILURE U42 U71 OUT yyyyy IN zzzzz Where yyyyy is the number of records programmed and zzzzz is the number of records taken in decimal 30 POSITIVE INPUT FAILURE U120 K1 201 VALUE y yyyyyyyy E YYY Where y yyyyyyyE yyy is the value calculated which S B within 5 of 10 volts 31 NEGATIVE INPUT FAILURE K1401 VALUE Y VYYYYYYE YYY Where y yyyyyyyE yyy is the value calculated which S B within 5 of 10 volts 32 DIFFERENTIAL CMRR INPUT ERROR VALUE y yyyyyyvE yyy Where y yyyyyyyE yyy is the value calculated which S B within 500 mV 33 AC COUPLING FAILURE K1501 VALUE y yyyyyyyE YYY Where y yyyyyyyE yyy is the value calculated which S B within 50 mV 34 SAMPLE COUNTER FAILURE Uxxx COUNT yyyyy SAMPLES zzzzz Where xxx is the U number of the suspected chip yyyyy IS the number of counts programmed and zzzzz is the actual number of counts read in decimal 35 RESERVED 36 MEASUREMENT COMPLETE STATUS BIT NOT ACTIVE Uxxx Where xxx is the U number of the status readback latch 37 ARMED STATUS BIT NOT ACTIVE Uxxx Where xxx is the U number of the status readback latch
133. l arm and gate inputs trigger clock and armed outputs multiple interrupt conditions in progress reading of the input voltage and extensive status information available from the module and displayed on the front panel TG e a a aE VX4240 q q q q AS Start up Section 3 The module is a VXIbus Message Based instrument and communicates using the VXIbus Word Serial Protocol Refer to the manual for the VXibus device that will be the VX4240 Module s commander for details on the operation of that device tf the module is being used in a TEK CDS VX7401 System mainframe the module s commander will be a Slot O Device Resource Manager Refer to the commander s Operating Manual and the programming examples in the Operation section of this manual for information on how the system controller communicates with the VX4520 The VX4240 Module will complete its self test and be ready for programming five seconds after power up The VXibus Resource Manager may add an additional one or two second delay The Power LED will be on The MSG LED will blink during the power up sequence as the VXIbus Resource Manager addresses all modules in the mainframe The default condition of the module after power up is described in the SYSFAIL Self Test and Initialization subsection Whenever a command is being processed the front panel display will show BUSY On completion the display will show RDY or E xx where xx is the error number The VX4240 Modu
134. le is programmed by ASCII characters issued from the system controller to the VX4240 Module via the module s VXIbus commander and the VXibus mainframe backplane The format and syntax for the command strings is described in the Module Command sub section An alphabetical listing of the complete description of each command is in the Command Descriptions sub section A sample BASIC program using these commands is shown in the Programming Examples section To begin operation use the set up commands to define the operating parameters B Backplane Interrupt generates an interrupt to the system controller on a programmed condition C Collect specifies the data collection mode pre trigger center trigger post trigger free run Record mode D Delay specifies the time delay between the trigger event and when data collection begins F Frequency specifies the sampling frequency Input sets up the format and addresses of data read from the VX4240 Module s memory L Define Delimiter defines the delimiting character between data values where large blocks of data are being transferred VX4240 Section 3 SSE M Trigger Mode specifies the trigger condition for which data collection begins P Period specifies the sampling period T Trigger arms the trigger V Voltage specifies the voltage range as a continuous parameter input coupling input load and input type W Control Signal Edges specifies the ac
135. lues default D calculates the DFT using double precision floating point values To prevent numeric overflow in the calculations double precision calculations should be used if number of samples x specified frequency z gt 1 0e If overflow occurs the value s returned in the response will be an ASCII NaN indicating the resuit is Not a Number MG 6 988301E 001 PH 2 7993540E 000 lt CR gt lt LF gt where MG is the amplitude in volts RMS and PH is the phase in radians AL100 200F100E3 calculate the 100 KHz DFT of 100 samples beginning at address 200 with single precision AL1000 0F2500D calculate the 2500 Hz DFT of 1000 samples beginning at address O the trigger address with double precision ALR5 10E3 0F1 1E3S calculate the 1 1 KHz DFT of 10000 samples beginning at address O of record 5 with single precision Section 3 me Approximate Execution Times fin seconds of Samples Single Precision Double Precision 100 0 011 0 013 1000 0 077 0 108 10000 0 730 1 060 100000 6 40 6 40 Section 3 q q Command AM Minimum voltage Syntax AMIx y Sz AMRIn x y Sz Purpose This command returns the minimum voltage stored in memory Description x the number of samples from 1 to RAMsize If x is not specified it defaults to RAMsize or the record size respectively ly optional starting address from RAMsize to RAMsize If y is not specified it defaults to the a
136. mand At the end of a self test initiated by the S command the module is restored to its power up state During a commanded self test 1 SYSFAIL is not asserted VX4240 3 93 Section 3 A ayan 2 The module executes an extended self test 3 The module always returns to its default state after self test SYSFAIL Operation SYSFAIL becomes active during power on hard or soft reset self test or if the module loses any of its power voltages When the mainframe Resource Manager detects SYSFAIL set it will attempt to inhibit the line This will cause the VX4240 Module to deactivate SYSFAIL in all cases except when power is lost mmm SSS SS SS ns 3 94 VX4240 Section 4 Programming Examples This section contains example programs which demonstrate how the various programmable features of the VX4240 are used The examples are written in BASIC using an IBM PC or equivalent computer as the system controller Definition of BASIC Commands The programming examples in this manual are written in Microsoft GW BASIC These examples use the GW BASIC commands described below If the programming language you are using does not conform exactly to these definitions use the command in that language that will give the same result Command Result CALL ENTER R LENGTH ADDRESS STATUS The CALL ENTER statement inputs data into the string R from the EEE 488 instrument whose decimal primary address is contained in the v
137. mand were issued the newly created record would be the average value of the 16 records If an AKR17 command was then issued the peak to peak values of the newly created record 17 the average of the 16 sampled records would be calculated If there is not enough memory left over to create a new record the last record in memory will be overwritten with the new record For example if the card had 256K of memory 262144 and 26 records of 10000 samples each 260000 total were taken issuing an AGA command would overwrite record 26 with the newly calculated values When creating the new record the new values are the applicable operation performed on the same relative values of the records specified For example if AGA 1 2 3 were specified then the first value of the new record would be the sum of the first values of records 1 through 3 divided by 3 The second value of the new record would be the sum of the second values of records 1 through 3 divided by 3 etc Except for the overwrite condition described above the newly created record will always be one greater than the number of records specified by the Collect command For example if ten records are taken the new record is record 11 AGA 1 5 creates the new record as the average of records 1 and 5 AGE 1T9 creates the new record as the difference between the maximum value found in each respective locations of records 1 through 9 and the minimum value found in each respective locatio
138. mander and will affect the module ABORT NORMAL OPERATION END NORMAL OPERATION ASYNCHRONOUS MODE CONTROL ERROR QUERY BEGIN NORMAL OPERATION IDENTIFY COMMANDER BYTE AVAILABLE READ PROTOCOL BYTE REQUEST READ STATUS CLEAR TRIGGER CONTROL EVENT e E Command protocol and syntax for the VX4240 COMMAND SYNTAX is as follows 3 4 1 A command string is a string of up to 160 valid ASCII characters tp 3 5 terminated by a lt LF gt Enter multiple commands in a string by using a semi colon as a delimiter between individual commands 2 Valid command delimiters are lt LF gt and 4 3 If any invalid characters are received they are ignored 4 Commands can be issued at any time 5 If errors occur the error number will be displayed All commands will be ignored until either the E or R command is issued 6 A character not enclosed by brackets is sent a shown otherwise encloses the symbol for the actual argument to be sent lt CR gt carriage return lt SP gt space character lt LF gt line feed lt TM gt terminator lt LF gt or 7 Any character may be sent in either upper or lower case form 8 Numeric values fixed or floating point formats no embedded spaces all numbers rounded to the nearest value If no sign is specified the number is assumed to be a positive value Kama PF NGYYyYAYAy To begin operation use the set up commands to MODULE COMMANDS define the operating paramet
139. mmander Test Monitor n executive routine that is responsible for executing the self tests storing any errors in the ID ROM and reporting such errors to the Resource Manager Test Program A program executed on the system controller that controls the execution of tests within the test system Test System A collection of hardware and software modules that operate in concert to test a target DUT TTLTRG Open collector TTL lines used for inter module timing and communication VXlbus Subsystem One card cage with modules installed The installed modules include one module that performs slot O functions and a given complement of instrument modules The subsystem may also include a Resource Manager Word Serial Protocol A VXlbus word oriented bi directional serial protocol for communications between message based devices that is devices that include communication registers in addition to configuration registers Word Serial Communications Inter device communications using the Word Serial Protocol WSP See Word Serial Protocol 10 MHz Clock A 10 MHz 100 ppm timing reference Also see CLK10 100 MHz Clock A 100 MHz 100 ppm clock synchronized with CLK10 Also see CLK100 488 To VXIbus Interface A message based device that provides for communication between the JEEE 488 bus and VXIbus instrument modules VX4240 A 21 Appendix C A e Jagna aasang SH VX4240 Appendix D Triggering Collection Control TRI
140. mmunications that occur outside the normal command response cycle Such communications have higher priority than synchronous communication The printed circuit board that is mounted in a VXlbus card cage to provide the interface between VX bus modules and between those modules and the external system A VXlbus instrument module that is 233 4 by 160 mm by 20 32 mm 9 2 by 6 3 in by 0 8 in the same size as a VMEbus double height short module in the VMEbus interface a system for resolving contention for service among VMEbus Master devices on the VMEbus A functional module that measures the duration of each data transfer on the Data Transfer Bus DTB and terminates the DTB cycle if the duration is excessive Without the termination capability of this module a Bus Master attempt to transfer data to or from a non VX4240 Appendix C A AK YY yG existent Slave location could result in an infinitely long wait for the Slave response Client In shared memory protocol SMP that half of an SMP channel that does not control the shared memory buffers CLK10 A 10 MHz 100 ppm individually buffered to each module slot differential ECL system clock that is sourced from Slot O and distributed to Slots 1 12 on P2 It is distributed to each module siot as a single source single destination signal with a matched delay of under 8 ns CLK100 A 100 MHz 100 ppm individually buffered to each module slot differential ECL syst
141. mples beginning at the address of the oldest data in memory AU100 calculates the undershoots of 100 samples beginning at the address of the oldest data in memory AU100 3200 calculates the undershoots of 100 samples beginning at address 3200 AUR3 calculates the undershoots of record 3 AUR7 100 calculates the undershoots of the first 100 samples of record 7 AUR3 1000 50 calculates the undershoots of 1000 samples beginning 50 locations from the start of record 3 AUH returns the calculated undershoots AUHR2 returns the calculated undershoots of record 2 A O A VX4240 3 42 Section 3 A q OO Response Syntax UX maximum undershoot UM minimum undershoot UA average undershoot UX 9 6000000E 002_ 0000855 _UM _ 3 60000000E 002_ 0000123 UA _ 5 4000000E 002 lt CR gt lt LF gt a a VX4240 3 43 Section 3 D Command AV Syntax AV xJ y Purpose This command calculates specific parameters for a pulse of the type shown below Description xl the number of samples from 1 to RAMsize if x is not specified it defaults to RAMsize or the record size respectively y optional starting address from RAMsize to RAMsize If y is not specified it defaults to the address of the oldest data in memory or the starting address of the record respectively Response Syntax A Ph B PI B A C D B C D IC DJ E CI F CI D G C HX C D HM CI DI LX _ CJ D LM
142. n AGM creates the new record as the minimum value found in each respective location of all the records AGD 5 4 creates the new record as the difference between each respective location of record 5 minus record 4 AGX 2 5T7 9 creates the new record as the maximum value found in each respective location of records 2 5 through 7 and 9 VX4240 Section 3 sm e gi Command Syntax Purpose Description Response Syntax VX4240 AH Calculate FFT Hanning AHI xI y z w AHRinI xilyi zi w The AH Calculate FFT Hanning command is identical to the AC command and calculates a fast Fourier transform FFT with Hanning leakage reduction compensation The Hanning function reduces the leakage inherent in the fast Fourier transform see Appendix E Each of the time domain points are first multiplied by the following term before it is transformed into the frequency domain Y Y Cos 2nt N where t O to N and N the number of points in the transform e g 1024 Refer to the AC command response Responses to the AH and the AC commands have the same format Section 3 I 2 2 Command Syntax Purpose Description Examples Response Syntax NOTE Al Integrate Al x ly Sz AIR n x y1 Sz This command returns the sum of successive data points x the number of samples from 1 to RAMsize If x is not specified it defaults to RAMsize or the record size respectivel
143. n 0 C and 55 C and has been operating for a warm up period of 10 minutes VX4240 Waveform Digitizer Analyzer Module Instruction Manual A 57 Appendix I Adjustment Procedure Equipment Required This procedure uses traceable signal sources and measurement instruments Table A 15 lists the required equipment You may use equipment other than the recommended examples 1f 1t meets the minimum requirements listed Table A 15 Required Adjustment Equipment 1 DC Calibration Generator Variable amplitude to 100V accuracy Data Precision 8200 Adjusting DC accuracy to 0 190 2 Sine Wave Generator 1 MHz 7 07 Vays 0 004 Vp ms Tektronix CDS VX4750 Adjusting AC accuracy 3 Digital Volt Meter DVM 5 1 2 digit 100 VDC range accuracy gt FLUKE 8842A Checking voltage accuracy 0 002 4 VXIbus Extender Board Full length extension of C size VXIbus Tektronix CDS 73A 850 Providing adjustments access 5 BNC T two required 50 impedance BNC female to BNC Tektronix part number Interconnect electrical signals female to BNC male 103 0030 00 6 BNC Female to Dual 50 Q impedance BNC female to Dual Tektronix part number Interconnect electrical signals Banana Banana 103 0090 00 7 50QBNC Coxial Cable 50 Q impedance BNC male connec Tektronix part number Interconnect electrical signals three required tors 012 0057 01 System Requirements In order to perform this procedure the VX4240 must be installed in an approved
144. n table A 17 Table A 17 VXIbus Adjustment System Configuration Device Name VXI Slot a Address GPIBO GPIBO PC PCcard VX4240 on extender Adjustment Procedure The following sequences reestablish internally stored adjustment parameters and adjust AC and DC offset imbalance in the differential input signal paths The steps must be followed in the order presented to ensure adjustment parameter interdependencies Refer to Figure 12 for the location of module adjustments NOTE If you are using National Instruments NI 488 2 software you may wish to select the buffer 1 display mode to allow more comfortable viewing of the ASCII response Just type buffer 1 VX4240 Waveform Digitizer Analyzer Module Instruction Manual A 59 Appendix I Adjustment Procedure A 60 SIG IN _ SIG IN DC Common Mode Adjustment 4 mu A C1411 C1422 C1511 C1513 NE Figure 12 VX4240 Adjustment Locations This sequence first adjusts the DC gain and input signal path imbalances for the 0 5 V and 5 0 V ranges and then adjusts for maximum common mode rejection New adjustment constants are stored in non volatile memory 1 Connect the DC Calibrator to the VX4240 SIG IN and SIG IN using equal length coxial cables a BNC T and a BNC to Dual Banana adaptor Set the DC Calibrator for 0 49000 Vpc Set the VX4240
145. n the message Extended STart STop protocol used to synchronize VXIbus modules Any self test or diagnostic power up routine that executes after the initial kernel self test program The host computer or other external controller that exerts overall control over VXIbus operations A red LED indicator that lights when a device on the VXIbus has detected an internal fault This might result in the assertion of the SYSFAIL line A E Pi A 17 Appendix C 35G 6 C q 6 6 6 6 6 6I fkee npgp Cec cc C eeeore rerrerorerereeeooV CT E E TurwW G6G6G f y 9 6ve6er eecec ST Tr Ee IACK Daisy Chain Driver The circuit that drives the VMEbus interrupt Acknowledge daisy chain line that runs continuously through all installed modules or through jumpers across the backplane ID ROM An NVRAM storage area that provides for non volatile storage of diagnostic data Instrument Module A plug in printed circuit board with associated components and shields that may be installed in a VXIbus card cage An instrument module may contain more than one device Also one device may require more than one instrument module Interface Device A VXlbus device that provides one or more interfaces to external equipment Interrupt Handler A functional module that detects interrupt requests generated by Interrupters and responds to those requests by requesting status and identity information Interrupter A device
146. nd is being executed the front panel display will be flashing hex values Issuing a read to the module will exit it from the command loop will return the data and will display RDY The K range command may be used for software calibration during operation By taking an offset reading at the voltage range of interest the offset can be compensated for in subsequent measurements by subtracting the offset reading from the measurement value to get a more accurate measurement value This technique can be used to compensate for long term drift or temperature drift This command returns the offset voltage but does not save the value in non volatile memory Examples Command Response KS1 KS _ 0 0000000 E 000 01 29 9 8001099E 001_ 3408 lt CR gt lt LF gt The first value is the offset the second value is the gain voltage and the numbers in parentheses are the corresponding internal DAC load values KG2 KG _ 1 9599609E 000 lt CR gt lt LF gt The value is the calculated gain voltage KO5 KO _ 1 5258789E 004 lt CR gt lt LF gt The value is the calculated offset KX Loads RAM with a ramp no data is returned K20 KV 5 4931641 E 003 lt CR gt lt LF gt The value is the calculated offset voltage KZ5 KD 3 7819824E 002 lt CR gt lt LF gt The vaiue returned is the calculated common mode RMS voltage KA5 KA _ 3 4602302E 000 lt CR gt lt LF gt The value returned is the calculated RMS voltage _ indica
147. nframe power cord To avoid electric shock the grounding conductor must be connected to earth ground Before making connections to the input or output terminals of the product ensure that the product 1s properly grounded Observe All Terminal Ratings To avoid fire or shock hazard observe all ratings and markings on the product Consult the product manual for further ratings information before making connections to the product Do not apply a potential to any terminal including the common terminal that exceeds the maximum rating of that terminal Do Not Operate Without Covers Do not operate this product with covers or panels removed Use Proper Fuse Use only the fuse type and rating specified for this product Avoid Exposed Circuitry Do not touch exposed connections and components when power 1s present Do Not Operate With Suspected Failures If you suspect there is damage to this product have it inspected by qualified service personnel Do Not Operate in Wet Damp Conditions Do Not Operate in an Explosive Atmosphere Keep Product Surfaces Clean and Dry Provide Proper Ventilation Refer to the manual s installation instructions for details on installing the product so 1t has proper ventilation Terms in this Manual These terms may appear in this manual VX4240 Waveform Digitizer Analyzer Module Instruction Manual lil General Safety Summary A WARNING Warning statements identify conditions or practices that could re
148. ning function AH command is a particularly good truncation windowing function and is given by x t Y Ya cos 2mt Tc where t is the relative time of the sample and Tc is the truncation interval This significantly reduces the leakage However reducing the leakage means that the non zero frequency components are considerably broadened or smeared with respect to the impulse function maana aaa e an A 28 VX4240 Appendix E Em HH AA Another good truncation function is the Blackman Harris window AQ command This further narrows the leakage around the fundamental frequency If the input signal is an integer multiple of the FFT frequency resolution no truncation factors are required or desired Since real world signals are generally complex or pulse like and rarely occur at a multiple of the frequency resolution it is generally good practice to use the windowing functions to obtain more accurate representation of the frequency domain The frequency resolution of an FFT is sampling frequency FFT size For example if the sampling frequency is 10 MHz and a 1024 point FFT is performed the resolution of each frequency component 512 total is 10e6 1024 or 9 76563 KHz Since the first component is is DC O Hz the total represented spectrum is 511 9 76563 KHz or 4 99023 MHz Note that increasing the FFT size increases the frequency resolution For example a 2048 point FFT resolves each slice to 4 88281 K
149. ning on using the binary transfer capabilities of the modules above you will need to load a CI Code Instrument into the GPIB VXI C Slot 0 NOTE The GPIB VXI C Slot0 has an internal buffer that holds the data to be read out The buffer will automatically take a reading from the module upon a GPIB read The buffer will read the module until it receives an END BIT bit 8 set in the response to a byte request command The Tektronix products above do not set bit 8 on readback thus the GPIB VXI C Slot0 will fill its buffer with data approximately 450 Kbytes If you only request 1 Kbytes of data over GPIB there still will be 449 Kbytes of data in the buffer This data will remain in the buffer until read out If you should request data from another module the data that you will receive back will be from the data that is left over in the buffer 449 Kbytes National Instruments has developed a code instrument that will read the exact number of bytes that was requested over the GPIB bus from the module The code instrument will not read more data then requested and will have no leftover data in the buffer Refer to the National Instruments GPIB VXI C manual for information on code instruments If you need any assistance call 1 800 TEK WIDE or contact your local Tektronix representative VX4240 Waveform Digitizer Analyzer Module Instruction Manual A 65 Appendix J Binary Transfer A 66 VX4240 Waveform Digitizer Analyzer Module Instruction Man
150. nnector to the DVM input b Connect the VX4750 FUNC OUT signal to one side of the BNC T c Using equal length coxial cables and a second BNC T connect the VX4240 SIG IN and SIG IN inputs to the other side of the BNC T at the DVM 2 Set the VX4750 to its power on default and then for a 1 MQ output impedance and to generate a 100 kHz 3 464 Vpms sine wave set VX4750 ibwrt rst imp 1e6 ampl 3 464vrms freq 100e3 3 Allow a minute for the VX4750 to stabilize and then readjust its output voltage For example 1f the DVM indicates 3 578 reset the VX4750 amplitude to 3 464 3 578 3 464 3 350 with the following command Repeat until the DVM reads 3 464 Vrms 0 004 Vrms ibwrt ampl 3 350vrms Readjust for 3 464 Vrms 0 004 Vrms 4 Momentarily disconnect the coxial cable from the VX4240 SIG IN input 5 Using the commands which follow set the VX4240 to display the RMS input voltage for the 5 0 V range and while observing the front panel display adjust C1411 for the closest reading to 3464 10 NOTE Very small adjustments will cause large changes in the display set VX4240 ibwrt ka5 n Adjust C1411 for 3464 10 6 Reconnect the coaxial cable to the VX4240 SIG input VX4240 Waveform Digitizer Analyzer Module Instruction Manual A 63 Appendix I Adjustment Procedure A 64 10 11 12 13 14 15 Set the VX4240 to display the Common Mode input voltage for the 5 V range and while ob
151. number For x V the amplitudes are returned in decibels dB relative to the programmed input voltage range Va Amplitude dB 20 log V V Section 3 LL For x P the amplitudes are returned as power in decibels milliwatts dBm into 50 ohms Amplitude dBm 10 log V R 30 R 50 ohms To determine the power in decibel watts subtract 30 from the returned values To determine the power into a load other than 50 ohms add 17 to the returned values and subtract 10log RL where RL equals the resistance of the load For example the power in Watts into 100 Ohms equals returned value 30 17 10log 100 The frequency resolution of each slice is determined by dividing the sampling frequency by the size of the transform The frequency spectrum is one half the sampling frequency For example a waveform sampled at 10 MHz gives a frequency spectrum to 5 MHz Using a 1024 point transform the resolution of each slice is 1066 1024 9 765625 kHz slice The first value returned corresponds to frequency O or dc the second value corresponds to 9 765625 kHz the third value corresponds to 19 53125 kHz and so on for each of the 512 slices Examples ACP100 calculates the FFT starting at address 100 and returns the amplitudes as dBm Since no size is specified it defaults to 1024 2 and a total of 512 1024 2 values are returned ACXN10 would return the maximum voltage in dB and its corresponding frequen
152. ocations O 4 8 and 12 There is a negligible time difference when specifying a step size for ASCII transfers For maximum binary transfer rates the step option should not be used This process allows direct memory access to the card s data If a step is specified the binary transfer rate will decrease because the CPU must reload the address after each transfer WI OA or simply specifies an ASCII transfer with auto increment and an offset of 0 Input requests following this command return the data in the ASCII format starting with the data at the trigger event address O This is the default mode ID 10A specifies an ASCII transfer with auto decrement starting 10 samples before the trigger event The input requests following this command return the data in ASCII format A VX4240 Section 3 gg 11 5K10 ID10K5 reports ten values including the trigger value in the ASCII block format starting five samples before the trigger event and ending four samples after the trigger event reports five values in the ASCII block format starting ten samples after the trigger event The command is input auto decrement start 10 locations after the trigger event and return 5 ASCII values in a block for example 001 2960000 000 0320000 000 7840000 001 0240000 001 7041111 lt CR gt lt LF gt VX4240 IR47K100 returns the first 100 values of record 47 f record 47 does not IR3 100 B IT
153. ocol Read STB Command 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 O 1 1 0 01 1 1 1 1 1 1 1 11 I 1 This command is used to place a status word in the Data Low register A read of the Data Low register following this command will return data in the following format Not used Bits 15 7 111111110 Service Request Bit 6 1 If the module has asserted an interrupt line and has been acknowledged 0 If the module has not asserted an interrupt line or if an asserted interrupt has not been acknowledged Not used Bits 5 4 11 Channel 4 Bit 3 1 0 The channel 4 bit is 1 if the interrupt was caused by the module s channel 4 Channel 3 Bit 2 1 O The channel 3 bit is 1 if the interrupt was caused by the module s channel 3 Channel 2 Bit 1 1 0 The channel 2 bit is 1 if the interrupt was caused by the module s channel 2 Channel 1 Bit O 1 0 The channel 1 bit is 1 if the interrupt was caused by the module s channel 1 errr O Pada Ay A 10 VX4240 Appendix A VX4240 Interrupts The VX4240 will interrupt its commander with a Request True event when ail the following conditions have been met The interrupt level is set to level 1 7 The module has received a Begin Normal Operation command Generation of the Request True event is enabled This is the power up default state equivalent to receiving a Control Event command enabling the Request True event Generation of events has been enabled This is the power up de
154. odule to its default power up state The default operational setup parameters are Mode software trigger Collect Post trigger count RAMsize 100 Threshold Level 1 100 Threshold Level 2 100 Voltage 100V dc coupled 1 MOhm input impedance single ended BNC input Frequency 10 MHz internal clock Delay O All interrupts disabled All control 1 O signals negative edge triggered VXI output trigger disabled Real time update frequency 10 MHz update every 1 sample clock Block delimiter semi colon Section 3 KEBS AA AA yy NAA Command S Self test Syntax S Purpose The S command causes the VX4240 Module to execute a self test and return to its power up state The results of the self test can be obtained by issuing the O Query status or E Error command The following tests are performed Character Error Display Test No Function RAM CPU RAM 2 loads 32770 bytes of CPU memory with an incrementing count and then verifies that the data read back matches the data loaded NVRM non volatile memory 21 performs a write read operation to verify the non volatile memory ACNT high speed address counters 24 25 this test first loads and then verifies via readback the A D address counters error 24 It then verifies each of the address counters by reading the address each time it is clocked up to the total RAM size HRAM high speed RAM 22 verifies all of the A D memory in the same manner as the CPU RAM test
155. oltage in record 7 AXR7 20 returns the maximum voltage of the first 20 samples in record 7 AXR2 10 100 returns the maximum voltage of 10 samples beginning 100 locations from the start of record 2 AX 054 returns the maximum value of RAMsize 4 samples for every fourth memory location beginning at address O Maximum value of data in memory XV 9 5200000E 000_ 0001850 lt CR gt lt LF gt Section 3 I Command AY Syntax AYIx ly AYR In x ly Purpose This command returns the number of complete cycles found in memory One complete cycle is the interval between consecutive low to high transitions of the signal The zero reference point is taken as maximum value minimum value 2 Description x the number of samples from 1 to RAMsize If x is not specified it defaults to RAMsize or the record size respectively y optional starting address from RAMsize to RAMsize If y is not specified it defaults to the address of the oldest data in memory or the starting address of the record respectively n the record number R Syntax CY _XXXXXXX lt CR gt lt LF gt where XXXXXXX is the number of cycles found Examples AY returns the number of cycles found in memory AY 1000 returns the number of cycles found in the first 1000 samples AYR3 returns the number of cycles found in record 3 AYR3 1000 500 returns the number of cycles found in 1000 samples beginning 500 locations from the start of rec
156. on triggered programmed ARM if interrupt on armed programmed RCP if interrupt on new record complete programmed If an interrupt is not programmed the data displayed will be DIS XXXXXXX amount of data memory on the module abcd programmed control line active edges Or a corresponds to the VXI input trigger b corresponds to the output trigger c corresponds to the arm input d corresponds to the arm output Section 3 I mI 2 A AS If no active edges are programmed the value displayed will be a V XXXXXXX number of sample clocks for every real time data update W O to 7 for the programmed VXI output TTL trigger or X if no VXI output trigger is programmed The default operational response is MODE TRGS TRGS COLLECT POST 0262044 RECORDS 0000001 LEVEL1 1 00000E 002 LEVEL2 1 00000E 002 VOLTAGE 1 00E 002 PERBIT 4 882812E 002 INPUT 1M OHMS DIFF DC BNC FREQ 1 0000000E 007 PER 1 0000000E 007 CLKSRC INT DELAY TIME 0 000000000E 000 INTERRUPT DIS RAMSIZE 0262144 EDGES RTCLK 0000001 VXITO X A 3 78 VX4240 Section 3 RR naan Pix Command Syntax Purpose Response Syntax VX4240 See F Frequency command for a description of the P x command Q Query status O x The Q command returns the current status of the VX4240 Module for the next input request to the module x can be any one of the following x Definition S 1 Self test failed O Self
157. ord 3 A VX4240 3 49 Section 3 qq Command Syntax Purpose Description Examples AZ Zero Crossing Times AZ HI xily z AZI HJ xJRfn 1 y7 Zz This command calculates various parameters relating to the pulse widths or 3 waveform This command is identical to the AW command except that the zero reference point is taken as absolute zero x y H z n a single letter which must be one of the following x returns G the maximum minimum and average times the puise is high L the maximum minimum and average times the pulse is low P the maximum minimum and average periods F the maximum minimum and average freguencies D the maximum minimum and average duty cycles The duty cycle is defined as pulse high time puise high time pulse low time 100 the number of samples from 1 to RAMsize If y is not specified it defaults to RAMsize or the size of the record respectively an optional parameter If H is specified each calculated value is returned up to 2000 maximum Each data value will be delimited with the character specified by the L command The response data is the same format as for the AD command optional starting address from RAMsize to RAMsize If y is not specified it defaults to the address of the oldest data in memory or the starting address of the record respectively the record number AZG 1000 returns the calculated valu
158. ords The syntax is AzRInJAx1 y where In is the record number from 1 to the total number of records x and y are as defined above except that y defaults to the starting address of the record When using the waveform analysis commands the signal should be oversampled by a minimum of 10 with an amplitude greater than 5 of the programmed range That is the sampling frequency should be a minimum of 10 times the input signal frequency The greater the oversampling and or the greater the amplitude the more accurate are the results This applies to the AB AE AF AK AO AR AU AW and AZ commands If a response value is followed by a number in parenthesis that number is the memory location of the response value relative to the trigger location 0 For records that number is the address relative to the start of the record An underscore _ in any example of a command response represents an ASCII space character 20 hex All numerical responses to the A commands are of the format X XXXXXXXE XXX where x is a decimal digit O through 9 Figure 3 at the end of the A command set page 3 50 illustrates how the data is interpreted and gives a graphic example of the measurements taken for many of the A commands Input requests immediately following an A command return the appropriate information The 0 and 100 points are determined by a complex algorithm that establishes a steady state maximum or minimum level o
159. ost if an additional record was automatically taken prior to reading the interrupt from the previous record gt VX4240 Section 3 I The interrupt on Analyze A command complete is provided because many of the Analyze commands can take a relatively long time to complete The BC command should be issued once before issuing any A command to enable this interrupt Then each time an A command has been completed an interrupt will be generated Using the BC command does not preciude the use of any other interrupts For example if the measurement complete interrupt were programmed once it becomes valid an interrupt wouid be generated Issuing a BC AA lt LF gt command would then generate an interrupt when the average value has been calculated The READ STB VX command can be used to determine the status of these signals when the interrupt occurred The data returned in the status byte is as follows A O in the bit position true and 1 false except as noted If no interrupts are enabled or active the READ STB command will respond with an ASCII 30 W Meaning measurement complete triggered armed Analyze command complete high not used SRO request 1 true O false Record complete YJAOABUN O O Examples BT generate an interrupt when the module is triggered The READ STB command will respond with an ASCII F9 BA generate an interrupt when the module is armed The READ STB command will respond wi
160. que feature of the VX4240 is its ability to directly set the desired input range Eight of the ranges 0 5 1 2 5 10 20 50 and 100 Volts are calibrated but any range of less than 100 Volts may be set If a range other than a calibrated range is selected the VX4240 will pre scale the signal using a Tek developed virtual ranging circuit This circuit in effect adjusts the incoming signal so that 12 bit weighting is provided at any voltage within the VX4240 s range allowing it to outperform many 14 bit digitizers The input can be programmed to be ac or dc coupled and single ended or differential with either 50 Ohms or 1 MOhm input impedance Besides triggering commands that support pre triggered center triggered post triggered or free running data collection a Record mode is available which automatically rearms the trigger each time a programmed number of samples has been taken Any of the analysis routines can be performed on any record or records Trigger sources may be external on command the VXI backplane the VXI command trigger or either or both of two independently programmable threshold triggers Any two AND or OR combinations of these triggers can be set for more precise trigger control VX4240 1 1 Section 1 A programmable time delay will delay data collection after a trigger for from 200 nsec to 420 sec The sample clock is programmable from 0 005 Hz to 10 MHz and can be referenced to an internal clock an extern
161. r slope and uses the maximum or minimum respectively of that steady state term as the 100 and 0 points In a perfect sine square or triangular wave the 100 and 0 points will be equal to these maximum and minimum values To provide the capability to de multiplex data a step option has been provided for selected Analyze commands software revision levels 1 5 and later This option performs the requested analysis on the data at regularly spaced intervals It is intended primarily for use with a multiplexer connected to the VX4240 The commands affected are the average value AA difference AD integrate Al minimum value AM maximum negative transition AN maximum positive 3 8 VX4240 Section 3 mm Ty transition AP statistics AS true RMS voltage AT and the maximum value AX As an example suppose the multiplexer was programmed to scan channels O through 3 in sequence The multiplexer data for each of the four channels would be stored every fourth memory location in the VX4240 s memory Assuming synchronization between the triggers of the two cards channel O s data would be at addresses O 4 8 channel 1 s at 1 5 9 etc You would use the command AX 0S4 to determine the maximum value of channel O This causes the card to search for the maximum value every fourth memory location beginning at address O the trigger address for RAMsize 4 data values The value returned would be the maximum value o
162. re F1 and A1 are the frequency and amplitude of the fundamental F2 A2 are the frequency and amplitude of two times the fundamental etc FFT Approximate Ex ion Time Transform AC command AH command AQ command Iw Field Size Exec Time Exec Time Ex im N7 128 64 ms 70 ms 80ms N8 256 130 ms 138 ms 158 ms N9 512 258 ms 276 ms 312 ms N10 1024 516 ms 552 ms 624 ms N11 2048 1 04 s 1 11 s 1 25 s N12 4096 2 08 s 2 228 2 51 s Transtorm ACX command ACS command ACD command 128 18 ms 18 ms 30 ms 256 32 ms 34 ms 46 ms 512 60 ms 66 ms 76 ms 1024 120 ms 128 ms 138 ms 2048 240 ms 256 ms 264 ms 4096 490 ms 520 ms 532 ms Section 3 e a y Options The following y options to the FFT commands AC AH and AO are special purpose routines for processing composite waveforms with multiple frequency components and apply only to software V1 8 and later They are not recommended for general use All of these options assume that x V y F y Z performs a quadratic log curve fit on the spectral data This option returns the coefficients of the quadratic equation the resonant frequency in radians Wr and Hertz Fr and the damping factor zeta Ze For y Z only Wr Fr and Ze are returned The response syntax is Y Tal bltx cMx Wr Id Fr e Ze Ifj lt cr gt lt lf gt where al b c are the DC X and x terms of the quadratic equation respectively d e f are the resonant frequency in radians Her
163. red system resources performing system self test diagnostics and initializing system commanders Self Calibration A routine that verifies the basic calibration of the instrument module circuits and adjusts this calibration to compensate for short and long term variables Self Test A set of routines that determine if the instrument module circuits will perform according to a given set of standards A self test routine is performed upon power up A Qe oo t4 rVeeE 6 CdQ hid DAA Naa VX4240 A 19 Appendix C e 1 1 1 1 nn Servant A VXIbus message based device that is controlled by a commander Server A shared memory device that controls the shared memory buffers used in a given Shared Memory Protocol channel Shared Memory Protocol A communications protocol that uses a block of memory that is accessible to both client and server The memory block operates as a message buffer for communications Slot O Controller See Slot O Module Also see Resource Manager Slot O Module A VXIbus device that provides the minimum VXlbus slot O services to slots 1 through 12 CLK10 and the module identity lines but that may provide other services such as CLK100 SYNC100 STARBUS and trigger control SMP See Shared Memory Protocol STARX Two 2 bi directional 50 ohm differential ECL lines that provide for inter module asynchronous communication These pairs of timed and matched delay lines connect slot O and each of slots 1 th
164. reparation For Use Installation Requirements And Cautions a 2 1 Installation Procedure a eee eee en ee nen een e nnn n nnn 2 2 Installation Checklist ccc eee eee ee ee nee een eee ee ee nnn nnn nnas 2 4 Section 3 Operation OMS ri erario aa a bng 3 1 O AA e AA AA 3 2 System o A Pe 3 3 Module GOMMAndsS asszamuscanrsres Ras rara PES RISE bers DRESS DEDE 3 4 SVC rae RAN 3 4 NUme etlC Valle FORMAIS os rsss as PASS PANDA EA EAS 3 5 Valid ASCII CGRNaracters esposas ae TESS LET RED TIS HOTS r n 3 5 Command Descriptions e e E E ers 3 7 SYSFAIL Self Test and Initialization a 3 93 Section 4 Programming Examples Definition of BASIC Commands rise 4 1 Programming Example In BASIC 22 eet eee eee e eee nnee 4 2 Appendices Appendix A VXIbus Operation 0 ccc o A 1 Appendix B Input Output Connections a A 13 Appendix C VXI Glossary 2423In ee A 15 Appendix D Triggering Collection Control re A 23 Appendix E Using the Fourier Transform For Sampled Signals A 27 Appendix F User Sence socia pag da a ad ii NEN A 33 Appendix G ODINS scams daa a e dr A 35 Appendix H Performance Verification ro A 39 Appendix Adjustment and Calibration anaana anaana anaana A 57 Appendbed Binary TT NSIEN ssa a E ED ad Sa PAA Kan bka A 65 Appendix K IEEE 488 Address mccain PEL pr
165. return data via Byte Request command Module is ready to accept data via Byte Available command Module is not ready to accept data via Byte Available command No Word Serial Protocol errors detected Word Serial Protocol error detected a dy VX4240 Appendix BIT DEFINITIONS continued Bit Register Location Bit Usage VX4240 Value 10 Read Ready loro 9 Write Ready 1 or O 8 FHS Active 0 1 7 Locked 1 6 0 Device dependent 1111111 Data High not implemented Data Low read write Word Serial Commands VX4240 Usage Indicates that the instrument portion of the module has data available to be read Set by the instrument following a Byte Request command and cleared on a read from the Data Low register or on reset Cleared upon receipt of any Word Serial command Set when the instrument is ready to receive another Word Serial command FHS active FHS inactive Not used Not used A write to the Data Low register causes this module to execute some action based on the data written This section describes the device specific Word Serial commands this module responds to and the results of these commands Abort Normal Operation Command 15 14 13 12 11 10 9 8 7 1 1 0 O 1 0 0 0 1 4 3 2 1 O 1 1 11 1 When this command is received the module responds as follows Any pending VXlbus interrupts are cleared Generation of the Request True event is enabled see Control Event command T
166. rigger Any AND OR combinations of the above lt 1 sample clock period Trigger to first sample 1 sample clock period Record mode 0 to 100 full scale 8 bits 5 ppm yr TTL level 1 50 Ohm load de to 10 MHz E PG JKJZJ gL qjyqjpIjjjj jj l PK 1 10 VX4240 Section 1 A aaaea Delay Times External clock rising edge to sample delay 30 ns 10 ns Sample clock to clock out delay 12 ns 5 ns Delayed Triggering Range 200 ns to 420 s in 200 ns increments Delay Uncertainty lt 200 ns delay time lt 1 sample clock delay sample Gate Uncertainty s 1 sample clock gate transition to sampling Data Output Formats ASCII Binary Two s complement binary ASCII blocks DMA Memory Control offset from trigger Auto increment Auto decrement Processor CPU INMOS T800 floating point transputer Memory 128K bytes RAM 128K bytes EPROM Embedded Preprocessor Software Routines Maximum value Minimum value Maximum value since trigger Minimum value since trigger Maximum positive transition Maximum negative transition Average value RMS value Ringing Integrate Difference Peak to peak Pulse width Rise time Fall time Distortion overshoot undershoot Fast Fourier Transform FFT Signal to noise ratio Total harmonic distortion Signal to noise and distortion nn SS rr traem VX4240 NP Section 1 EO Spurious free dynamic range Mean standard
167. rmat for data reporting Description x the address control can be one of the following Dad Definition D Automatic decrement to the next address Automatic increment to the next address Not specified Defaults to ly the address relative to the trigger can be one of the following y Definition 0 to RAMsize Positive offset from trigger or start of the record 0 to RAMsize Negative offset from trigger or start of the record Not specified Defauits to 0 RAMsize 262144 for 256K 524288 for 512K or 1048576 for 1MB f the data reporting format can be one of the following f Definition A ASCII transfer B Offset binary transfer K b ASCII block transfer where b is the block size 1 to 2500 The data values will be separated with the delimiter defined by the L command T Two s compiement binary transfer Not specified Defaults to A nl the record number Input requests immediately following this command return the data Additional input requests automatically address and output the data for the next appropriate location An command immediately stops any data collection in process Sz optional parameter specifying a step size where Sz 1 to 65536 If Sz is not specified it defaults to 1 ST VX4240 3 65 Section 3 A PP NN E A Examples ASCII Transfer Data is automatically scaled for ASCII transfers based on the programmed input range and reported as twelve ASCII chara
168. rogrammed threshold for the MN command The threshold value may be positive or negative for both cases If a threshold level is defined outside the voltage range an error is generated when the T command is received MT VX4240 3 73 Section 3 gg For the slope trigger the module begins digitizing one sample clock after the specified threshhold is exceeded with the specified slope This allows triggering the module at a threshhold value in any quadrant of the signal The actual threshold value is based on the per bit value of the range programmed and rounded to the nearest increment The per bit values are given in the Specifications section of this manual under Resolution Only the most significant eight bits of resolution are used for the thresholds The operational setup O command can be used to view the actual values programmed NOTE Two comparators are used to monitor the incoming signal Once triggered the first comparator is updated every time the data exceeds the previous value The second comparator is updated every time the data is less than the previous value These values can be read using the G command The comparators are not updated if the module is programmed in the Record mode If a threshold trigger is not programmed the comparators will be loaded with full scale and full scale respectively The comparators are inhibited if the external gate signal is active When specifying the AND of two trigger
169. rough 12 in a card cage The delay between slots is less than 5 nanoseconds and the lines are well matched for timing skew STARY Two 2 bi directional 50 ohm differential ECL lines that provide for inter module asynchronous communication These pairs of timed and matched delay lines connect slot O and each of slots 1 through 12 in a card cage The delay between slots is less than 5 nanoseconds and the lines are well matched for timing skew STST STart STop protocol used to synchronize modules SYNC100 A Slot O signal that is used to synchronize multiple devices with respect to a given rising edge of CLK100 These signals are individually buffered and matched to less than 2ns of skew Synchronous Communications A communications system that follows the command response cycle model In this model a device issues a command to another device the second device executes the command then returns a response Synchronous commands are executed in the order received SYSFAIL A signal line on the VMEbus that is used to indicate a failure by a device The device that fails asserts this line System Clock Driver A functional module that provides a 16 MHz timing signal on the Utility Bus Da mm eee A 20 VX4240 Appendix C System Hierarchy The tree structure of the commander servant relationships of all devices in the system at a given time In the VXIbus structure each servant has a commander A commander may also have a co
170. s Control register During a power up or hard or soft reset the following actions take place 1 The SYSFAIL VME system failure line is set active indicating that the module is executing a self test and the Failed LED is lit 1f this is a comman self SYSFAIL is not asserted In the case of a soft reset SYSFAIL is set However all Tek CDS commanders such as the VX4520 4 will simultaneously set SYSFAIL INHIBIT This is done to prevent the resource manager from prematurely reporting the failure of a module 2 Once the self test is complete the SYSFAIL line is released and the module enters the VXIbus PASSED state ready for normal operation SYSFAIL will be released within five seconds in normal operation If the self test fails the module makes an internal record of what failure s occurred which allows an error message to be returned to the module s commander The default condition of the VX4240 Module after the completion of power up self test is as follows Mode software trigger Collect Post trigger count RAMsize 100 Level 1 100 Level 2 100 Voltage 100V de coupled 1 MOhm input impedance single ended input Frequency 10 MHz internal clock Delay O All interrupts disabled All contro I O signals negative edge triggered VXI output trigger disabled Real time update frequency 10 MHz Block delimiter semi colon Self test can aiso be run at any time during normal operation by using the S com
171. s assigned to a backplane slot during an access Power Monitor A device that monitors backpiane power and reports fault conditions P1 The top most backplane connector for a given module slot in a vertical card cage such as the Tektronix VX1400 The left most backplane connector for a given slot in a horizontal card cage P2 The bottom backpiane connector for a given module slot in a vertical C size card cage such as the VX1400 or the middle backplane connector for a given module slot in a vertical D size card cage such as the VX1500 P3 The bottom backplane connector for a given module slot in a vertical D size card cage such as the Tektronix VX1500 Query A form of command that allows for inquiry to obtain status or data READY Indicator A green LED indicator that lights when the power up diagnostic routines have been completed successfully An internal failure or failure of 5 volt power will extinguish this indicator Register Based Device A VXIbus device that supports VXI register maps but not high level VXIbus communication protocols includes devices that are register based servant elements Requester A functional module that resides on the same module as a Master or interrupt Handler and requests use of the DTB whenever its Master or interrupt Handler requires it Resource Manager A VXlIbus device that provides configuration management services such as address map configuration determining system hierarchy aliocating sha
172. s of record 3 calculates the overshoots of the first 100 samples of record 7 calculates the overshoots of 1000 samples beginning 900 locations from the start of record 3 returns the calculated overshoot values returns the calculated overshoot values of record 2 Section 3 A qq q Response Syntax OX maximum overshoot OM minimum overshoot OA average overshoot OX 1 2800000E 000 0000336 OM 4 2000000 002 0001 275 OA 7 1000000E 002 lt CR gt lt LF gt Section 3 III Command Syntax Purpose Description Examples Response Syntax VX4240 AP Maximum positive transition AP x1 y 157 APRIn x1 y Sz This command returns the maximum positive voltage change between any two successive points in memory x the number of samples from 1 to RAMsize If x is not specified it defaults to RAMsize or the record size respectively ly optional starting address from RAMsize to RAMsize If y is not specified it defaults to the address of the oldest data in memory or the starting address of the record respectively Sz Optional parameter specifying a step size where z 1 to 65536 If z is not specified it defaults to 1 n the record number AP O AP AP100 AP100 300 APR23 APR23 100 APR1 10 100 AP 054 returns the maximum positive transition found in RAMsize samples beginning at address O the trigger address returns the maximum
173. s of the oldest data in memory calculates the average value of 100 samples beginning at address 3200 calculates the average value of record 3 calculates the average value of the first 100 samples of record 7 calculates the average value of 100 samples of record 1 beginning 200 locations from the start of the record calculates the average value of RAMsize 4 samples for every fourth memory location beginning at address O Average value of data in memory AV _ 4 8828125E 002 lt CR gt lt LF gt a eee 3 10 VX4240 Section 3 a re Command AB Ringing high Syntax ABIH x y ABEHIR n x ly Purpose This command calculates the ringing on the high portion of a signal Description xl the number of samples from 1 to RAMsize If x is not specified it defaults to RAMsize or the size of the record respectively y optional starting address from RAMsize to RAMsize If ly is not specified it defaults to the address of the oldest data in memory or the starting address of the record respectively H an optional parameter If H is specified each ringing high value calculated is returned up to 2000 maximum Each data value will be delimited with the character specified by the L command The response data is the same format as for the AD command n the record number The ringing is calculated as the dip below the 100 point following the peak of the signal The maximum minimum and average val
174. serving the front panel display adjust C1511 for the minimum count possible lt 75 ibwrt kd5 n Adjust C1511 for minimum count lt 75 Momentarily disconnect the coxial cable from the VX4240 SIG IN input Repeat step 3 and readjust if necessary Reset the VX4750 amplitude to 7 07 Vpms and then readjust its output voltage For example 1f the DVM indicates 7 25 reset the VX4750 amplitude to 7 07 7 25 7 07 6 890 Repeat until the DVM reads 7 070 Vrms 0 004 Vpms set VX4750 ibwrt ampl 7 07vrms ibwrt ampl 6 890vrms Readjust for 7 070 Vrms 0 004 Vrms Set the VX4240 to display the RMS input voltage for the 50 V range and while observing the front panel display adjust C1422 for the closest reading to 7070 20 set VX4240 ibwrt ka50 n Adjust C1422 for 7070 20 Reconnect the coaxial cable to the VX4240 SIG input Set the VX4240 to display the Common Mode input voltage for the 50 V range and while observing the front panel display adjust C1513 for the minimum count possible lt 350 ibwrt kd50 n Adjust C1513 for minimum count lt 350 Disconnect the cable from the VX4240 SIG input and repeat step 11 Reset the VX4240 to its power on default state ibwrt r n This completes the VX4240 adjustment procedure VX4240 Waveform Digitizer Analyzer Module Instruction Manual ON A Appendix J Binary Transfer If you are using a National Instruments GPIB VXI C Slot O module and are plan
175. should appear on the screen GPIB VXI Nonvolatile Configuration Changer OF HOLE 1J BOLT Al BOLE Sa OT 44 a BOTE C 1995 National Instruments Local Register Configuration DEO Configuration VXI Interrupt Handler Logical Addresses Resource Manager Configuration Servant Area and DC Configuration A 70 VX4240 Waveform Digitizer Analyzer Module Instruction Manual Appendix K IEEE 488 Address 5 Edit FAILED Device Handling Mode 6 ECG GPIB Configuration Na Baste Default CI Comtigiration 8 Edit Resident CI Base Locations 9 Edit CI User Configuration Variables Oke COULE EGELECOT Choice 07970 10 Enter a 3 and press return The following information should appear on the screen a Resource Manager Configuration Seconds to wait before starting Resource Manager default 0x0000 11 Enter a 5 and press return The following information should appear on the screen A24 Base Address to Start Assigning Memory Map de fault 0x20 0 000 12 Press return The following information should appear on the screen A32 Base Address to Start Assigning Memory Map de fault Ox20000000 13 Press return The following information should appear on the screen lt lt Press A Key to Return to Main Menu gt gt 14 Press the space bar and the following information should appear on the screen GPIB VXI Nonvolatile Configuration Changer C 1995 National Instruments 0 Edit Local Regist
176. sult in injury or loss of life CAUTION Caution statements identify conditions or practices that could result in damage to this product or other property Terms on the Product These terms may appear on the product DANGER indicates an injury hazard immediately accessible as you read the marking WARNING indicates an injury hazard not immediately accessible as you read the marking CAUTION indicates a hazard to property including the product Symbols on the Product The following symbols may appear on the product A m A WARNING Double Protective Ground CAUTION High Voltage Insulated Earth Terminal Refer to Manual Iv VX4240 Waveform Digitizer Analyzer Module Instruction Manual ER AA Service Safety Summary Only qualified personnel should perform service procedures Read this Service Safety Summary and the General Safety Summary before performing any service procedures Do Not Service Alone Do not perform internal service or adjustments of this product unless another person capable of rendering first aid and resuscitation 1s present Disconnect Power To avoid electric shock switch off the instrument power then disconnect the power cord from the mains power Use Care When Servicing With Power On Dangerous voltages or currents may exist in this product Disconnect power remove battery if applicable and disconnect test leads before removing protective panels soldering or replacing components To avoid electr
177. t S delay samples delays y number of sample clocks y areal number fixed or floating point that specifies the delay y Delay 0 0 No delay default O to 420 seconds Delay time in 200 ns increments O to 2 0e9 Delay samples if y is greater than 420 seconds for delay time or greater than 2 0e9 for delay sample then an error is generated If x is not specified delay time is assumed If y is not specified the delay value will be set to zero If the specified time delay is not divisible by 200 ns the delay is rounded down to the nearest divisible increment The Operational Setup 0 command can be used to view the actual value programmed For the delay time mode data collection will begin after the specified amount of time has elapsed relative to the trigger For the delay sample mode data collection begins after the specified number of sample clocks have elapsed relative to the trigger For example if DS100 was programmed and the sampling frequency was 1 MHz 1 ys period data collection would begin 100 x le 100 us after the trigger event If delay sample is programmed the delay clocks are inhibited from counting if the external gate signal is active The last delay value programmed will remain in effect until a new delay value is programmed or the module is reset DO O or simply D specifies no delay D150E 6 specifies a 150 us delay DO 032767 specifies a 32 767 ms delay DT100 specifies a 100 second
178. t Handshake mode during some commands In this mode the module is guaranteed to return DTACK within the 20 microsecond window defined by the VXlbus Specification The VX4240 Module asserts BERR to VX4240 A 1 Appendix A A A AAPP e switch from Fast Handshake Mode to Normal Transfer Mode The VX4240 s Read Ready and Write Ready bits react properly during Fast Handshake A Fast Handshake Transfer Mode Read of the VX4240 Module proceeds as follows 1 The commander writes the Byte Request command ODEFFh to the VX4240 s Data Low register 2 The commander reads the VX4240 s Data Low register A Fast Handshake Transfer Mode Write to the VX4240 Module proceeds as follows The commander writes the Byte Available command which contains the data OBCXX or OBDXX depending on the state of the End bit to the VX4240 s Data Low register The VX4240 Module has no registers beyond those defined for VXIbus message based devices All communications with the module are through the Data Low register the Response register or the VXIbus interrupt cycle Any attempt by another module to read or write to any undefined location of the VX4240 s address space will have no affect on the operation of the module If the card cage has other manufacturer s computer boards operating in the role of VXibus foreign devices the assertion of BERR as defined by the VXIbus Specification may cause operating problems on these boards As with all VXIbus
179. tax Purpose Description Examples VX4240 AO Overshoot AO HI xi Ly AO HIRIn x Ly This command calculates the overshoots of the sampled signal xl the number of samples from 1 to RAMsize If x is not specified it defaults to RAMsize or the record size respectively y optional starting address from RAMsize to RAMsize If y is not specified it defaults to the address of the oldest data in memory or the starting address of the record respectively H an optional parameter If H is specified each overshoot calculated is returned up to 2000 maximum Each data value will be delimited with the character specified by the L command The response data is the same format as for the AD command nj the record number The overshoot is defined as the difference between the maximum value of a signal and its 100 point The maximum minimum and average overshoots are returned The addresses returned are the locations of the overshoots AO O AO AO100 A0100 3200 AOR3 AOR7 100 AOR3 1000 900 AOH AOHR2 calculates the overshoots of RAMsize samples beginning at address O the trigger address calculates the overshoots of RAMsize samples beginning at the address of the oldest data in memory calculates the overshoots of 100 samples beginning at the address of the oldest data in memory calculates the overshoots of 100 samples beginning at address 3200 calculates the overshoot
180. tes an ASCII space character VX4240 3 71 Section 3 gt gt Command Syntax Purpose Description Examples L Define Delimiter LIx This command defines the delimiting character to be used between data values of large data blocks x is one of the following xl Delimiter ASCII S Space character 20h C Comma 2Ch 0 Null 00h N Semi colon 3Bh Not specified defaults to N The L command allows changing the data value delimiters when large data blocks are being transferred to optimize software for the language being used nce an L command has been issued all data blocks are delimited with the specified character The affected commands are any A command issued with the H parameter AD AC AQ and AH commands Input command with the block K option O operational setup command LS defines the delimiter as an ASCII space character LO defines the delimiter as an ASCII null character 00 hex Section 3 A Command M Trigger Mode Syntax MIx tyJ z Purpose The M command specifies the trigger condition which starts data collection following a T command Description x and z can be any one of the following x 2 Definition A w Software trigger module begins digitizing on T command default Clw VXI command trigger E w External trigger positive TTL edge E w External trigger negative TTL edge N 0 to 100 w Negative threshold trigger level in volts
181. th an ASCII FB BD disable the interrupt B or BM generate an interrupt when the measurement is complete The READ STB command will respond with an ASCII 7C BR generate an interrupt each time a complete record has been taken The READ STB command will respond with an ASCII 79 BC generate an interrupt each time an Analyze command is complete The READ STB command response will vary based on the conditions that were active when the command was issued However bit 3 will always be low for this condition Section 3 qq OS Command Syntax Purpose Description VX4240 C Collect CDdiy The C command specifies the relative location of the trigger event in memory by controlling the number of samples taken prior to or after the trigger event x specifies the data collection mode relative to the trigger and can be any one of the following x Definition C Center trigger F Free run P Pre trigger saves data prior to the trigger T Post trigger default saves data following the trigger R al b Record mode If x is not specified the card will collect y samples following the trigger y is an optional decimal integer from 4 to the total RAM size which controls the number of samples taken relative to the trigger address O for the pre and post trigger modes The total RAM size depends on the option ordered 262144 words 256K Standard board 524288 words 512K 512K memory option 104857
182. the sampling rate of the VX4240 Module The clock can be varied up to a maximum frequency of 10MHz Any duty cycle is permitted with the constraint that the minimum clock high and clock low times are 50 ns each Data is sampled on the low to high transition of the clock The external clock is a TTL level input terminated in 50 Ohms External Triager Input S3 11 The external trigger input allows control of when the VX4240 Module begins sampling data This is a TTL level edge triggered signal with the active edge programmable to either high or low Trigger Out S3 10 The trigger out signal is a TTL output indicating that the VX4240 Module trigger event has occurred programmable to either active high or active low true Once the trigger has occurred this signal remains active until the trigger is rearmed or the module is reset Clock Out 53 12 The clock out signal corresponds to the frequency of the sampling clock Clock out is a 50 duty cycle TTL level signal and is active only while the VX4240 Module is sampling data Clock out uses a 50 Ohm line driver circuit VX4240 A 13 Appendix B er ARM IN 83 9 The arm in input allows you to control when the triggers are armed It is an edge triggered input programmable to either positive or negative edge true ARMED S3 8 The armed output is a TTL output indicating that the triggers have been armed It is programmable to either positive or negative edge triggered true I
183. time delay DS40 specifies a 40 sample clock delay DS1E6 specifies a 1 000 000 sample clock delay D1 5E 6 is rounded down to a 1 4 ys delay Section 3 mmm Command Syntax Purpose Description Response Syntax Error Codes E Error Elx The E command is used to examine error conditions NOTE This command must be issued by itself and not as part of a command string x can be either of the following letters bd Definition A An ASCII error message is returned N The numeric value of the error code is returned Not specified Defaults to N Input requests immediately following this command return the error information The front panel display will show E xx where xx is the error number Issuing this command and reading the error information clears the error and the front panel display Since all commands are ignored following an error condition only the first error is recorded and returned The Error command is most useful during the initial program development The error codes and the corresponding messages for all error conditions are listed below Command Re ns EA THRESHOLD VALUE EXCEEDS THE VOLTAGE RANGE lt CR gt lt LF gt EN 08 lt CR gt lt LF gt The error codes and corresponding error messages which may be returned by the VX4240 Module are as follows Except where noted all numbers are in decimal All addresses output data and read back data are in hexadecimal notation Error Co
184. tion While the KG command is being executed the character display will be flashing hex values and will display RDY when the command is complete The KG command can take several minutes to complete The KO command performs an automatic offset calibration for the input range specified as defined in the Calibration Procedure section in the Service Manual The module will return the calibrated offset value when finished While the KO command is being executed the character display will be flashing hex values and will display RDY when the command is complete The KO command can take several minutes to complete The KS command performs the equivalent of a KO and a KG command and returns both the offset and gain values on completion For the KS KG and KO commands the calibrated values are automatically stored in non volatile memory for recall during operation If the module can not be calibrated an error is generated for these commands The KX command is used for debugging when operation of the memory IS suspect Issuing this command loads the data memory with a ramp offset 16 A am VX4240 3 70 Section 3 ga PBB 0000 0010 0020 FFFO 0000 for subsequent readback verification No data is returned by this command The KZ command is used to adjust the differential gain of the input circuit as defined in the Calibration Procedure section The module will return the differential voltage on completion While the comma
185. tion the module will ignore the Reset bit and no action will take place Note that the module is not in strict compliance with the VXIbus Specification when the Halt switch is OFF Control of the Reset bit depends on the capabilities of the VX4240 s commander witch This two position slide switch is only used for factory testing and must be set to the OFF position Mem i wi This switch is factory set to specify the amount of memory present on the module The settings are Words of 980 Memory C1 C4 256K C2 C4 512K C2 C3 1M The following LEDs are visible at the top of the VX4240 Module s front panel to indicate the status of the module s operation Section 1 POWER LED This LED is normally lit and is extinguished if the 5V 2V or 24V power supplies fail or if the 5V 2V or 24V fuses blow SYSFAIL LED This normally off red LED is lit whenever SYSFAIL is asserted indicating a module failure Module failures include failure to correctly complete a self test loss of a power rail or failure of the module s central processor if the module loses any of its power voltages the Failed LED will be lit and SYSFAIL asserted A module power failure is indicated when the module s Power LED is extinguished MSG LED Message This LED is normally off When lit it indicates that the module is processing a VMEbus cycle The LED is controlled by circuitry that appears to stretch the length of the VMEbus cycle For example a
186. tive edges of the control signals When set up is complete and the module is correctly programmed use the T Trigger command to begin sampling The A Analyze commands execute pre programmed routines to analyze the sampled data The J Math Operations command allows the VX4240 to be used as a calculator to perform arithmetic operation which may be required for data analysis The set of status commands report information about the system the module or the current operation E Error used to examine error conditions G Greatest Value reports the greatest or least value seen since the last trigger K Calibrate calculates the gain and offset for a specified voltage range O Operational Setup returns the operational setup parameters of the VX4240 Module Q Query returns module status information R Reset returns the VX4240 Module to its default power up state S Self Test causes the module to execute a self test U Update allows reading the current record number in progress data or loading the real time update count Z Version Level returns the card number and the current software version level System Commands Although these non data commands are initiated by the VX4240 s commander for example the VX4520 Module rather than the system controller they have an effect on the VX4240 Module The following VXIbus Instrument Protocol Commands will affect the VX4240 E A VX4240 3 3 Section 3
187. to auto adjust DC gain and offset for the 0 5 V range Note While the auto adjustment is converging the front panel will display hexadecimal values and when complete will display RDY ibfind VX4240 ibwrt ks0 5 n Observe hex values and then RDY Set the VX4240 to display the differential input voltage for the 0 5 V range and while observing the front panel display adjust R1111 for the closest reading to 0 0 15 0 maximum ibwrt kz0 5 n Observe display and adjust R1111 Repeat steps 3 and 4 until no additional adjustment is required in step 4 Set the DC Calibrator for 4 90000 Vpc VX4240 Waveform Digitizer Analyzer Module Instruction Manual Appendix I Adjustment Procedure 7 Set the VX4240 to auto adjust DC gain and offset for the 5 0 V range ibwrt ksSn Observe hex values and then the RDY 8 Set the VX4240 to display the differential voltage for the 5 0 V range and while observing the front panel display adjust R1514 for the closest reading to 0 0 15 0 maximum ibwrt kz5 n Observe display and adjust R1514 9 Repeat steps 7 and 8 until no additional adjustment is required in step 8 DC Gain and Offset This sequence auto adjusts the DC gain and balances the differential offset for all Adjustment eight voltage ranges New adjustment constants are stored in non volatile memory While the auto adjustment is converging the front panel will display changing hexadecimal values When the comman
188. tomatically at power on and more extensively when the Self Test command S is issued Internal test routines and reference circuitry verify the CPU RAM A D converter and the analog input amplifiers Parameters tested include common mode coupling offset and range gain No external test equipment 1s required In addition to BITE two of the front panel indicator lights display the current status of power and the SYSFAIL error condition The front panel alphanu meric display will show error codes due to a hardware failure or incorrect programming The error command E may be used at any time during operation to determine the current state of the module Following the system initialization the front panel will normally display RDY and the green PWR light will be on indicating that the self test has passed and that the power supplies are operational If the 5 V 24 V including the derived 15 V 5 2 V or 2 V power supplies fail or if a corresponding fuse opens the PWR light will be off and the red FAILED light will be on indicating that SYSFAIL has been asserted due to a failure NOTE If you experience an error indication from the Slot O Resource Manager the VX4240 under test or other VXIbus module investigate and correct the problem before proceeding Common items to check are logical address conflicts primary and secondary see Table A 3 breaks in the VXIbus daisy chain signals improper seating of a module loose GPIB
189. trigger VX hardware trigger TTLTRGO 7 where x is the input trigger number VXI command trigger external positive edge trigger external negative edge trigger positive greater than threshold trigger negative less than threshold trigger positive slope trigger negative slope trigger logical AND of A and C triggers logical OR of A and C triggers post trigger collect mode pre trigger collect mode center trigger collect mode free run trigger collect mode record mode collection integer number O to RAMsize indicating the collect count and number of records to take padded with leading zeros if required Section 3 i i VX4240 G H 1 J K L M MM N O P Q R S T U X XXXXXE XXX floating point number indicating the programmed threshold leveis X XXE XXX the programmed voltage range AC ac coupled input DC dc coupled input X XXXXXXE XXX perbit value of the data 50 50 Ohm input load 1M 1 MOhm input load SING single ended input DIFF differential input CON connector S3 input BNC BNC input X XXXXXXXE XXX sampling frequency period INT internal clock source EXT external clock source VXI VXI clock TIME delay time SAMP delay samples X XXXXXXXXXE XXX time value or sample count ACP if interrupt on Analyze command complete programmed MCP if interrupt on measurement complete programmed TRG if interrupt
190. tz and the damping factor respectively All values are in the exponential format x xxxE xxx Examples The command ACZN12 would return the response Wr 6 863E 003 Fr 1 092E 003 Ze 1 155E 001 The command acfn11 would return the response Y 4 812E 001 1 619E 003 X 1 022E 006 X 2 Wr 6 863E 003 Fr 1 092E 003 Ze 1 155E 001 y L determines the 3 to 18 dB frequencies in 3 dB steps The option returns the reference low frequency amplitude and the 3 dB step frequencies A frequency value of zero indicates the data did not drop below the respective dBs relative to the reference The response syntax is REF a 03 b 06 b 09 b 1 2 b 15 _ b 18 _ b lt cr gt lt If gt where a b reference amplitude in dBs 3 dB to 18 dB frequencies A ms 3 16 VX4240 Section 3 A ASAS Example The command ACLN12 would return the response REF 4 86714E 001 03 1 15463E 003 06 1 77116E 003 09 0 00000E 000 12 0 00000E 000 15 0 00000E 000 18 0 00000E 000 y K determines the peaks of the composite waveform and returns the number of peaks found followed by the amplitude frequency index and phase angle of each of the peaks The actual frequency of a value is sampling frequency FFT size x frequency index For example if the sampling frequency were 10 KHz and a 1024 point FFT was performed a frequency index of 13 indicates a frequency of 10 KHz 1024
191. ual NAAA AAA Appendix K IEEE 488 Address If you are using a National Instruments GPIB VXI C Slot O module you may have trouble attaining an IEEE 488 address for the VX4240 When the system is powered on the GPIB VXI C Slot O resource manager does not assign a GPIB address because the RESMAN delay is too short to allow the VX4240 to perform its self test To correct the problem change the RESMAN delay when you power on to set the GPIB VXI C Slot O nonvolatile memory Perform the following steps 1 Connect an RS 232 cable to the GPIB VXI C Slot O serial port and the opposite end to a terminal Refer to the National Instruments User manual 2 Power on the GPIB VXI C Slot 0 The following information should appear on the screen GELB MATO 3 Type in CONF and press enter The following information should appear on the screen GPIB VXL gt CONE 4 The following information should appear on the screen GPIB VXI Nonvolatile Configuration Main Menu C 1995 National Instruments 1 Read In Nonvolatile Configuration Za PPM Onn tou rato Information 3 Change Configuration Information 4 Set Configuration to Factory Settings 5 Write Back Save Changes 6 Quit Configuration Choice 1 6 5 Type in and press return The following information should appear on the screen Reading in Nonvolatile Configuration Done VX4240 Waveform Digitizer Analyzer Module Instruction Manual A 67 Appendix K IEEE 488 Address
192. ues are returned The addresses returned are the locations of the signal dips Examples AB O calculates the ringing high of RAMsize samples beginning at address O the trigger address AB calculates the ringing high of RAMsize samples beginning at the address of the oldest data in memory AB100 calculates the ringing high of 100 samples beginning at the address of the oldest data in memory AB100 3200 calculates the ringing high of 100 samples beginning at address 3200 ABR3 calculates the ringing high of record 3 ABR7 100 calculates the ringing high of the first 100 samples of record 7 ABR3 1000 50 calculates the ringing highs of 1000 samples beginning 50 locations from the start of record 3 ABH returns the calculated ringing values ABHR3 returns the calculated ringing values of record 3 re re ter rt er VX4240 3 11 Section 3 mm Response Syntax BX ringing maximum BM ringing minimum BA ringing average BX 4 0000000E 002 0010380 BM 1 1 000000E 002 0001100 BA 3 20000000E 002 lt CR gt lt LF gt 3 12 VX4240 Section 3 mg a Command Syntax Purpose Description VX4240 AC Calculate FFT AC xJ y iz iw ACRln x y z w The AC command performs a fast Fourier transform FFT on the sampled data See Appendix E for an overview of Fourier transform theory This command the Hanning command AH and the Blackman Harris command AQ analyze the sampled
193. urns the difference values for the first 100 samples of record 2 ADR3 10 200 returns 10 difference values beginning 200 locations from the start of record 3 AD100 054 returns the difference of every fourth memory location for 100 values beginning at address O If the delimiter was defined as a semi colon by the L command the command AD3 could return 1 6000000E 002 2 4000000E 002 0 0000000E 000 lt CR gt lt LF gt If the delimiter was defined as a space by the L command the command ADR5 3 could return 1 6000000E 002 2 4000000E 002 0 0000000E 000 lt CR gt lt LF gt WD o AR VX4240 3 18 Section 3 O a Command AE Ringing low Syntax AE HI x ly AE HIRIin xi y Purpose This command calculates the ringing on the low portion of a signal Description x the number of samples from 1 to RAMsize If x is not specified it defaults to RAMsize or the record size respectively ly optional starting address from RAMsize to RAMsize If y is not specified it defaults to the address of the oldest data in memory or the starting address of the record respectively H an optional parameter If H is specified each ringing low value calculated is returned up to 2000 maximum Each data value will be delimited with the character specified by the L command The response data is the same format as for the AD command n the record number Ringing is calculated as the rise above the
194. ut edge Ti trigger out edge Vi VXI input trigger edge If a signal is not programmed it remains in its previously defined state or the default state of negative true If the VXI triggers are not enabled with the M command the W command will have no effect on them Note that the VXIbus input trigger edge is programmable while the VXlbus output trigger is fixed at negative edge true The arm out signal remains in its active state as long as the card is armed The trigger out signal remains in its active state until the card is re armed WA 0 T defines the arm in and trigger out signals as positive edge true and the arm out signal as negative edge true WO defines the arm out signal as positive edge true Section 3 a Command Z Version Level Syntax Z Purpose The Z command returns the module number and the current software version level The format of the response is TEK_VX4240_VX X lt CR gt lt LF gt where X X is the current software version level for example 1 0 II eee 3 92 VX4240 Section 3 SYSFAIL Self Test And Initialization The VX4240 Module will execute a self test at power up or upon direction of a VXibus hard or soft reset condition or upon command A VXlbus hard reset occurs when another device such as the VXlbus Resource Manager asserts the backplane line SYSRST A VXlIbus soft reset occurs when another device such as the VX4240 s commander sets the Reset bit in the VX4240
195. x 127 mm 10 in x 10 in x 5 in Weight Fully configured with Option 02 and Option 03 1 6 kg 3 Ib 8 4 oz Weight Shipping When ordered with a Tek CDS mainframe this module will be installed and secured in one of the instrument module slots slots 1 12 When ordered alone the module s shipping weight is 2 1 kg 4 Ib 8 4 oz Mounting Position Any orientation Mounting Location Installs in an instrument module slot slots 1 12 of a Cor D size VXIbus mainframe Refer to D size mainframe manual for information on required adapters Front Panel Signal Connectors 2 BNC inputs 1 DB25S connector Refer to Appendix B for connector pinouts Equipment Supplied 1 VX4240 Waveform Digitizer Analyzer Module 1 Spare fuse 5V 1 Spare Fuse 24V 2V 5 2V Optional Equipment 1 73A 742P 5 meter 25 pin cable unterminated Options 01 512K memory 02 1 Meg memory 03 Digital Signal Processor e et VX4240 1 15 Section 1 Conditions for Safety Certification Operating Temperature 5 to 40 C Maximum Operating Altitude 2000 m Equipment Type Test and measuring Safety Class Class as defined in in IEC1010 1 Annex H grounded product Overvoltage Category Supply Input Overvoltage Category as defined in IEC1010 1 Annex J Measuring Inputs Overvoltage Category II as defined in IEC1010 1 Annex J Pollution Degree Pollution Degree 2 as defined in IEC1010 1 Rated for indoor
196. y y optional starting address from RAMsize to RAMsize If y is not specified it defaults to the address of the oldest data in memory or the starting address of the record respectively Sz Optional parameter specifying a step size where z 1 to 65536 If z is not specified it defaults to 1 n the record number AI O Al AIZO A120 100 AiR20 AIR20 100 AIR2 5 10 A1 054 returns the sum of RAMsize samples beginning at address O the trigger address returns the sum of RAMsize samples beginning at the address of the oldest data in memory returns the sum of 20 samples beginning at the address of the oldest data in memory returns the sum of 20 samples beginning at address 100 returns the sum of record 20 returns the sum of the first 100 values of record 20 returns the sum of 5 values beginning 10 locations from the start of record 2 returns the sum of RAMsize 4 samples for every fourth location beginning at address O Multiplying the sum by the number of samples gives the area under the curve normalized to a delta time interval of 1 rectangular approximation IT 4 0000000E 001 lt CR gt lt LF gt VX4240 Section 3 A kh PBB 0890070 Command AK Peak to Peak Syntax AKIHIJ x y w AKIHJR n x y w Purpose This command calculates the peak to peak voltage or the 10096 90 10 or 0 values of the sampled signal Description H an optional parameter if
Download Pdf Manuals
Related Search
Related Contents
HD KFZ-Kamera HP DL280 White Paper ELCART QDS™ Newsletter Summer 2006 5 series PhatNotes 5.4 User`s Guide 取扱説明書 FSLJ014-B Guide des TDC Altec Lansing orbit-M Legrand AU8001-V1 Copyright © All rights reserved.
Failed to retrieve file