Home

VM1602 - BiS Sistem

image

Contents

1. ee e ee He eir ede d e te de e 65 TEEE 488 2 COMMON COMMANDS R 66 ik E BS M ECL TEE E E 66 iip 67 oj gc Ep RU 68 ppp PEPERIT 69 E N 70 ERST LM dM MM TE 71 SSRE eet ES 72 E LEE AA tatum rites tst AA 73 ERA 74 SWAT oc E RR ECT ER UE EUER ERREUR e EGRE NER P EET He ete 75 INSTRUMENT SPECIFIC SCPI 2 2 2 2 4220440000000 00000000000000 000080000000 0 0005 76 ABOREDXS i s mette nieder ER nt eer ere ie LM D DS RE 76 tette in D I a ere ede 77 EVENCGDATA RU T e un Ute eee eS 78 EX ENETIMe incest tenaci tite manete te fied eee too tee eee eter 79 4 ette hehe ee haee ee We EE vir vites 80 EVENCGTIMe PREVIO0US 7 5 ere Ae C Sl 81 PREQUCNCY eno eiae ten 82 br eda v x 83 INDEX TIMe NEX tM r 84 INDex TIME
2. 10 VM1602 Preface www vxitech com SUPPORT RESOURCES Support resources for this product are available on the Internet and at VTI Instruments customer support centers VTI Instruments Corp World Headquarters VTI Instruments Corp 2031 Main Street Irvine CA 92614 6509 Phone 949 955 1894 Fax 949 955 3041 VTI Instruments Cleveland Instrument Division 5425 Warner Road Suite 13 Valley View OH 44125 Phone 216 447 8950 Fax 216 447 8951 VTI Instruments Lake Stevens Instrument Division 3216 Wetmore Avenue Suite 1 Everett WA 98201 Phone 949 955 1894 Fax 949 955 3041 VTI Instruments Pvt Ltd Bangalore Instrument Division 642 80 Feet Road Koramangala IV Block Bangalore 560 034 India Phone 91 80 4040 7900 Phone 91 80 4162 0200 Fax 91 80 4170 0200 Technical Support Phone 949 955 1894 Fax 949 955 3041 E mail support vtiinstruments com Instruments Visit http www vtiinstruments com for worldwide support sites and service plan information VM1602 Preface 11 VXI Technology Inc 12 VM1602 Preface www vxitech com SECTION 1 INTRODUCTION INTRODUCTION The VM1602 is a high performance time stamp module that has been designed for accurate relative time measurements and flexibility of configuration The instrument uses the message based word serial interface for programming and data retrieval The VM16
3. oa onte deo ne ROO PURI 108 EVENt COUNt cata aae deri epe 25 63 77 EVENUDATA 55 5 pieno odinm i Rs 26 63 78 2 122 000000000002 28 63 80 EVENt TIMe PREVi0US ccccecccceeseceeseees 29 63 81 EVENtPIMe tes deri es 27 63 79 F TIFIWWATO ire te c eee 108 PRGA go noon RERO Ue ER TM E 108 FREQuency DELTa2 eee 30 63 82 STANdalone MASTer or SLAVe e 41 front paneles RIED HERE Tels see 14 STATus OPERation CONDition 64 98 H STATus OPERation ENABle 2 64 99 64 100 highwater 49 50 STATus PRESet 64 101 STATus QUEStionable CONDition 64 102 64 103 104 64 INDex TIMe NEXT esses 32 63 84 ec mM EC 110 112 VM1602 Index www vxitech com 65 40 63 93 SY NG sciopero i ed 41 63 94 SYSTem ERROr i aide Med nre tien DAR 64 105 SYSTem VERSIOD eb 64 106 T time nennen enne 107 time stamp
4. Related Commands VM1602 Command Dictionary 77 VXI Technology Inc EVENt DATA 2 RST Value Data Cleared Query Syntax EVENt DATA lt index_1 gt lt index_2 gt Query Parameters lt index_1 gt 0 to 131 071 0 to 524 287 if 512 k RAM option is installed lt index_2 gt 0 to 131 071 0 to 524 287 if 512 k RAM option is installed A value of 1 indexes to the end of the data set the end of RAM or the last recorded event whichever is less Query Response A comma separated string of ASCII numeric values from 0 to 4 294 967 295 Description The Event Data query reports the sourcing channels of events between the index points specified Each channel is represented by a bit in a 32 bit integer value where Channel 1 is in the LSB position and Channel 32 is in the MSB position If the optional second index is not included then a single index point source is reported If Index 1 and Index 2 are the same value only one event will be reported Command Quer Response Description EVEN DATA 122 32 EVEN DATA 122 126 32 1 64 65 256 Related Commands 78 VM1602 Command Dictionary www vxitech com EVENt TIMe Query Response ASCII numeric value from 0 to 131 071 0 to 524 287 if 512 k RAM option is installed Description The Event Time query reports the event number that occurred at a specific time The specified time must be an exact match with an event or an error is generated Examples Command
5. Examples Command Query Response Description STAT QUES COND 0 Related Commands None 102 VM1602 Command Dictionary www vxitech com STATus QUEStionable ENABle Purpose Sets the Questionable Status Enable Register Type Required SCPI command Command Syntax STATus QUEStionable ENABle lt NRf gt lt NRf gt numeric ASCII value from 0 to 32767 RST Value NRf must be supplied Query Syntax STATus QUEStionable ENABle Query Parameters None Query Response Numeric ASCII value from 0 to 32767 Description The Status Questionable Enable command sets the bits in the Questionable Status Enable Register This command is provided only to comply with the SCPI standard The Status Questionable Enable query reports the contents of the Questionable Status Enable Register The VM1602 does not alter the bit settings of this register and will report the last programmed value Examples Command Query STAT QUES ENAB 64 STAT QUES ENAB 64 Related Commands None VM1602 Command Dictionary 103 VXI Technology Inc STATus QUEStionable EVENt Purpose Queries the Questionable Status Event Register Type Required SCPI command Command Syntax None Query Only N A RST Value N A Query Syntax STATus QUEStionable EVENt Query Parameters None Query Response 0 Description
6. 29 VXI Technology Inc FREQUENCY DELTA This query is used with the indices to return the equivalent frequency for the time period between the two indices The frequency returned is in hertz and is calculated as 1 t This command enables the time stamp recorder to act as a low frequency counter The event data query is selected using the following SCPI command FREQuency DELTa index 1 lt index_2 gt Where lt index_I gt lt index_2 gt is a numeric value of 0 to 131 071 EXAMPLES FREQ DELT 1028 1 Since Index 2 is denoted as 1 the 0 00005 frequency is calculated using the points 1028 and the last recorded event FREQ DELT 256 257 Returns the frequency of events that have 100000 000000 occurred between index values 256 and 257 30 VM1602 Programming www vxitech com INDEX TIME This query is used to return the index number that correlates to the specified time The index time query returns a value from 0 to 131 071 524 287 if optional RAM is installed which correlates to the address in RAM The time parameter must be an exact match or an error is generated The index time query is selected using the following SCPI command INDex TIMe time Where time is a numeric value of 0 to 1 099 511 62778 seconds EXAMPLES IND TIM 100 00000 Returns the location in RAM where the event 15 753 data is stored for the time of 100 0000 Assuming that an event occurred at the time of 10 00566 IND T
7. E Technology VM1602 TIME STAMP MODULE USER S MANUAL P N 82 0024 000 Released August 20 2009 VXI Technology Inc 2031 Main Street Irvine CA 92614 6509 949 955 1894 VXI Technology Inc www vxitech com TABLE OF CONTENTS INTRODUCTION ert GEL es BELEK ta ree i AE 6 teenies 6 6 Restricted Rights Legend Aiea rae 6 DECLARATION OF CONBORMELY D n nha tesi a He Dens 7 GENERAL SAFETY 1 8 8 2200 EE eub ee E Eeo ee ecd 9 8 9 Ua tin Pathe ML Sate ods 9 SUPPORT RESOURCES acp e e D oe De eee 11 hos O ULOIN eere 13 INTRODUCTION side ssc n nn ee e be eee Btn Deh eo OR etate eres 13 Inttod ction c is 0 E er A E E 13 DIa a AAEN E EN EE 14 V
8. essen nennen enne 108 110 TIMeDAT AT iier ore 42 63 95 Me DB eere to ete Den 43 63 96 TIS OCT 108 TRIGger LEVel eere 44 63 97 TTE 108 TTE Tri SB Or sos E ART petiere 14 108 V VM1602 Index 113
9. lt index_2 gt 0 to 131 071 0 to 524 287 if 512 k RAM option is installed A value of 1 indexes to the end of the data set the end of RAM or the last recorded event whichever is less channel list Standard channel list format supporting Channels 1 through 32 If the channel list is not supplied all channels are used Query Response Single ASCII numeric value Description The Event Count query returns the total number of time stamp events that have occurred on all of the selected channels In the event that more than one channel has a time stamp event at a given time the event will only be counted once The optional channel list selects the channels of interest If the channel list is omitted then all channels will be included Index 1 and Index 2 are specific time stamp events in the collection RAM The numeric value indicates a specific RAM location that contains the time and source information on a specific event If the optional indices are not used the event count returned covers the entire data set collected If the optional indices are included in the query then the returned number of events is constrained between the specified index points Index 1 should precede Index 2 in time and therefore the value of Index 1 would be less than Index 2 If Index 1 and Index 2 are the same only one event will be considered Examples Command Query Response Description EVEN COUN EVEN COUN 1 3 7 9 EVEN COUN 25 256 1 3 7 9
10. vtvm1602 sendWSCmd instrHndl EVEN COUN strlen EVEN COUN if status lt VI_SUCCESS return status status vtvm1602 readInstrBuff instrHndl readBuf vtvm1602 READ BUFF SIZE if status VI SUCCESS return status numElems atol readBuf If no time stamp events have been captured return an error to the same effect a if numElems VI_NULL return vtvm1602 NO TIME STAMP DATA sourceChannel ViInt32 calloc numElems sizeof ViInt32 if sourceChannel VI NULL return vtvm1602_ MALLOC ERROR Querying the source of channels for the registered time stamp events sy status vtvm1602 querySourceChannel instrHndl 0 1 sourceChannel amp count if status VI SUCCESS free sourceChannel return status VM1602 Programming 57 VXI Technology Inc Determining the first two consecutive index points on the on board memory where the specified transition channel has caused time stamp events for i 0 i lt count i if sourceChannel i amp int pow 2 transistionChannel 1 i break Returning an error if the specified transition channel has not sourced any time stamp events if i count free sourceChannel return vtvm1602 NOT ENOUGH EVENTS for i 1i lt count i if sourceChannel i amp int pow 2 transistionChannel 1 tmpIndex2 i break Returning an error if the specifi
11. Inc VM1602 Preface www vxitech com GENERAL SAFETY INSTRUCTIONS Review the following safety precautions to avoid bodily injury and or damage to the product These precautions must be observed during all phases of operation or service of this product Failure to comply with these precautions or with specific warnings elsewhere in this manual violates safety standards of design manufacture and intended use of the product Service should only be performed by qualified personnel TERMS AND SYMBOLS WARNINGS These terms may appear in this manual WARNING Indicates that a procedure or condition may cause bodily injury or death CAUTION Indicates that a procedure or condition could possibly cause damage to equipment or loss of data These symbols may appear on the product ATTENTION Important safety instructions Frame or chassis ground placed in accordance with EN 50419 Marking of electrical and electronic equipment in accordance with Article 11 2 of Directive 2002 96 EC WEEE End of life product can be returned to VTI by obtaining an RMA number Fees for take back and recycling will apply if not prohibited by national law Indicates that product was manufactured after August 13 2005 This mark is Follow these precautions to avoid injury or damage to the product Use Proper Power Cord To avoid hazard only use the power cord specified for this product Use Proper Power Source To avoid electri
12. PREVIOUS porci certet oe E TR REDE e ARR E PH REEL dr o eU da Cou ede e eua 85 INPUt M ASK octets ord ie ete eM tev Mate Santon Sah IM 86 INPUt MASK ENADBlSe c AER REIR RE DEW S RENTRER EGER a EEG 87 INP t POLAT ci eie cott ue oe E e Ce Een tI a pe RERO A e EU UR EE Shenton 88 INP t SOURGe ic oi ee ele dp tee e de Se diae ett es 89 tee ree ada et adeat ana ES 90 TINE ate oe ee 91 MEGTEST MEMOEy etie tede ttu esequi d edem rede lade s 92 SW Hep STEP s ni er Setia nd itus E ew teat si e 93 SYNC sp ES ONE BEEN 94 TIMe DATA ais ete nette e re Ee T EE ee e E V DER HERE Te EE UR Ie 95 TIMe DELDT3 2 nete tete e OR TR e RTT RTI TU IE Ege EE RT 96 DRIGSerbEVelz22 unbedingt be tei 97 SCPLREQUIREP COMMANDS eee eU EROR Meus vue teaser nent 98 STATUs OPERation COND it10n2 iet cte RIA ete 98 STATuUs OPERatio mENADBIS eee tette Caw sda Moa ecd tete te tees PR 99 STATus OPERation EVENt ie ee reet e eie rete pere 100 S DAT S PRESSU s ertt te eR SEDENT SRL S es 101 nennen nin 102 STA Tus QUEStionable ENABle esssesseessseeee eene nennen ennt nnne ettet entente 103 STATus QUEStionable EVENIt
13. avrete retro c das teet ere cases re Ere eee aden UE 104 SYSTenmcERROr netter ee de aee see eere tec Fete e e e er ee Tee eT Ee eed 105 SYSTem VERSIO E 106 4 VM1602 Preface www vxitech com THEORY OF OPERATION i eene gti 107 Introduction Input FPGA Ititerface ek onte e no NN 110 Data Retrieval iz eere eet aee e et ede IRR 111 VM1602 Preface 5 VXI Technology Inc CERTIFICATION VXI Technology Inc certifies that this product met its published specifications at the time of shipment from the factory VTI further certifies that its calibration measurements are traceable to the United States National Institute of Standards and Technology formerly National Bureau of Standards to the extent allowed by that organization s calibration facility and to the calibration facilities of other International Standards Organization members WARRANTY The product referred to herein is warranted against defects in material and workmanship for a period of three years from the receipt date of the product at customer s facility The sole and exclusive remedy for breach of any warranty concerning these goods shall be repair or replacement of defective parts or a refund of the purchase price to be determined at the option of VTI For warranty service or repair this product must be retu
14. not used on this instrument The Operation Status Condition Register query is provided for SCPI compliance Examples Command Query Response Description STAT OPER COND 0 None 98 VM1602 Command Dictionary www vxitech com Purpose Type Command Syntax Command Parameters RST Value Query Syntax Query Parameters Query Response Description Examples Related Commands STA Tus OPERation ENABle Sets the Operation Status Enable Register Required SCPI command STATus OPERation ENABle lt NRf gt lt NRf gt numeric ASCII value from 0 to 32767 NRf must be specified STATus OPERation ENABle None Numeric ASCII value from 0 to 32767 The Operation Status Enable Register is included for SCPI compatibility and the VM1602 does not alter any of the bits in this register The register layout is as follows Bit 0 Calibrating Bit 1 Setting Bit 2 Ranging Bit 3 Sweeping Bit 4 Measuring Bit 5 Waiting for trigger Bit 6 Waiting for arm Bit 7 Correcting Command Query Response Description STAT OPER ENAB 0 0 None VM1602 Command Dictionary 99 VXI Technology Inc STATus OPERation EVENt Purpose Queries the Operation Status Event Register Type Required SCPI command Command Syntax None Query Only N A RST Value N A Query Syntax STATus OPERation EVENt Qu
15. 3 Device Dependent Error Bit 4 Execution Error Bit 5 Command Error Bit 6 User Request Bit 7 Power On The Operation Complete bit is set when it receives an command The Query Error bit is set when data is over written in the output queue This could occur if one query is followed by another without reading the data from the first query The Execution Error bit is set when an execution error is detected Errors that range from 200 to 299 are execution errors The Command Error bit is set when a command error is detected Errors that range from 100 to 199 are command errors The Power On bit is set when the module is first powered on or after it receives reset via the VXI Control Register Once the bit is cleared by executing the ESR command it will remain cleared Command Query Description ESR 68 VM1602 Command Dictionary www vxitech com IDN Purpose Queries the module for its identification string Type IEEE 488 2 Common Command Command Syntax N A N A RST Value N A Query Syntax IDN Query Parameters N A Query Response ASCII character string Description The Identification IDN query returns the identification string of the module The response is divided into four fields separated by commas The first field is the manufacturer s name the second field is the model number the third fi
16. 68 FIGURE 2 2 J200 J201 AND J202 PIN LOCATIONS VM1602 Preparation for Use 19 TABLE 2 1 J200 J201 AND J202 PINOUT SIGNAL FUNCTION CH1 CH2 CH2 CH3 CH3 CH4 CH4 CH5 5 CH6 CH6 CH7 CH7 CH8 CH8 GND CH9 CH9 CH10 CH10 11 CH11 CH12 CH12 CH13 CH13 CH14 CH14 15 15 16 16 GND Zz 5 c d Z Z GIG dd fani fani bani fani lani lanl zizzzzzizz izizziz aei isci ulus GIGIGIGIGIGIGIGIGIGICIG Z gz 2 2 4 4 4 Ti Sle Z 4 212121212 o GIG sc 51315155 Stes ls Z Z N N Z Z 5 GIG 515 Z gz 29 gt Z Z Z C 2 t2 r2 t2 t2 t2 t2 t2 2 2 2 2 2 2 le DIN BIW MTR o 2 SIN NIN 921921 Go Go SIGNAL 17 17 CH18 CH18 CH19 CH19 CH20 CH20 CH21 CH21 CH22 CH22 CH23 CH23 CH24 CH24 GND CH25 CH25 CH26 CH26 CH27 CH27 CH28 CH28 CH29 CH29 CH30 CH30 CH31 CH31 CH32 CH32 GND VXI Technology Inc FUNCTION PIN 35 36 37 38 39 40 41 42 43 44 45 INPUT 46 47 48 49 INPUT 50 REF 51 52 INPUT 53 54 55 56 57 58 59
17. Dictionary 89 VXI Technology Inc INPut TYPE Purpose Sets the input for either differential or single ended mode of operation Command Syntax INPut TYPE lt type gt lt channel_list gt channel list Standard channel list format supporting Channels 1 through 32 If the lt type gt DIFFerential SINGle channel list is not supplied all channels are used RST Value type SINGle channel list channels selected INPut TYPE channel Query Parameters channel 1 to 32 Query Syntax Query Response DIFF SING Description The Input Type command selects differential or single ended mode for a specified input In differential mode the inputs switch state when the voltage on one input side exceeds the other input side i e a high level is recorded when the plus input of a channel is at a more positive voltage than the negative input of the same channel In single ended mode the negative inputs are not used and the positive inputs are compared to an internal voltage generated by an 8 bit DAC Any input that exceeds the programmed threshold voltage is recorded as a high state and any input below the threshold is recorded as a low state The RST command sets all inputs to the single ended mode Command Quer Response Description INP TYP SING 12 24 INP TYPE 15 Related Commands 90 VM1602 Command Dictionary www vxitech com INITiate Purpose Enables
18. INPUT SOURCES Front Panel TTL Trigger Bus INPUT TYPE Differential or Single Ended INPUT RANGE 5 V INPUT IMPEDANCE 20 Single Ended 40 Differential INPUT THRESHOLD 5 V 39 mV resolution THRESHOLD ACCURACY 2 of range DAMAGE THRESHOLD 12V TIME STAMP CLOCK SOURCE VXIbus Clock 10 CLOCK ACCURACY 0 0196 may be improved by supplying a superior clock source to the slot 0 controller TIME STAMP CLOCK PERIOD 1 ps 10 us 100 us or 1 ms TIME STAMP ACCURACY X time stamp clock period MAXIMUM NUMBER OF EVENTS 128 k events standard 512 k events optional TIME STAMP COUNTER ROLLOVER 40 bit counter 12 7 days with 1 us resolution POWER REQUIREMENTS VM1602 1 5 V 2 15 A 5 2 V 0 40 A VM1602 2 5 V 3 56 A 5 2 0 75 A VM1602 3 5 V 4 97 A 5 2 V 1 10 A COOLING REQUIREMENTS See Power Cooling Table MANUFACTURER S ID 3915 MODULE MODEL CODE 265 VM1602 Introduction 15 VXI Technology Inc 16 VM1602 Introduction www vxitech com SECTION 2 PREPARATION FOR USE INSTALLATION When the VM1602 is unpacked from its shipping carton the contents should include the following items 1 VM1602 VXIbus module 1 VM1602 Time Stamp Module User s Manual this manual All components should be immediately inspected for damage upon receipt of the unit Once the VM1602 is assessed to be in good
19. The Questionable Status Event Register is provided for SCPI compliance only The VM1602 does not alter the bits in this register and queries always report a 0 Examples Command Query Response Description STAT QUES 0 Related Commands None 104 VM1602 Command Dictionary www vxitech com SYSTem ERRor Purpose Queries the Error Queue Type Required SCPI command Command Syntax None Query Only Oem N A RST Value N A Query Syntax SYSTem ERRor Query Parameters None Query Response ASCII string Description The System Error query is used to retrieve error messages from the error queue The error queue will maintain the two error messages If additional errors occur the queue will overflow and the second and subsequent error messages will be lost In the case of an overflow an overflow message will replace the second error message See the SCPI standard Volume 2 Command Reference for details on errors and reporting them Refer to the Error Messages section of this manual for specific details regarding the reported errors Examples Command Query Response Description SYST ERR 350 Queue overflow Related Commands None VM1602 Command Dictionary 105 VXI Technology Inc SYSTem VERSion Purpose Queries the SCPI version number to which the VM1602 complies Type Required SCPI command Command Syntax None Query O
20. There are 40 bits of time information associated with each event The lower 32 bits of information are in the read only registers at offsets 0x28 and 0x2A the information is 32 bits wide so there is a lower 16 bit part of the number and upper 16 bit part of the number To obtain the upper 8 bits requires some post processing which is described below For most users 32 bits of time information should be enough The time of the start of the data collection is called 0 All times are relative to this time To convert the 32 or 40 bits of time to a time value multiply the time number by the sweep rate For example if the sweep rate is set at 1E 6 and a time value of 1234567 then the time of the associated event is 1 234567 seconds after the start of the data collection There are 32 channels that become the 32 bits of EVENt data at offsets 0x2C and 0x2E The information is 32 bits so there is a lower 16 bit part of the number and an upper 16 part of the number Channel is the LSB and Channel 32 is the MSB The way the data is recorded in memory is affected by the INPut MASK If a channel is enabled mask 0 then a one is recorded when there is a transition of the correct polarity in the time period preceding the clock If a channel is disabled mask 1 then a one is recorded when there is a high when the clock occurs this 1s called the logic analyzer mode Because the index will auto increment when the event information is read at Ox2E a user pro
21. automatically be set to the switch set address plus two If dynamic address configuration is desired the address switch should be set for a value of 255 Upon power up the slot 0 resource manager will assign logical addresses to each instrument in the VMIP module 18 VM1602 Preparation for Use www vxitech com FRONT PANEL INTERFACE WIRING The VM1602 s serial interface is made available on the front panel of the instrument The 32 channel version VM1602 1 will have J201 that contains all signals for this instrument The 64 channel version VM1602 2 will have J201 and J202 provided while the 96 channel version VM1602 3 will have J200 J201 and J202 The wiring for each of these connectors is identical and since each group of four channels is treated as a separate instrument the module will have three Channel 1s three Channel 2s three Channel 3s etc The connector used in the VM1602 is a commonly available 68 pin high density type commonly known as a 68 pin version of the SCSI 2 connector The mating connector is an IDC Insulation Displacement Connector component and is available from a variety of sources The connector attaches to two 34 conductor 0 050 centers ribbon cable Some manufacturers also allow the use of discrete 30 GA stranded wire Contact the factory for more connector information The pin locations for J200 J201 and J202 are shown in Figure 2 2 and the pinout reference is shown in Table 2 1 PIN 35 PIN
22. condition it may be installed into an appropriate C size or D size VXIbus chassis in any slot other than slot zero The chassis should be checked to ensure that it is capable of providing adequate power and cooling for the VM1602 Once the chassis is found adequate the VM1602 s logical address and the backplane jumpers of the chassis should be configured before the VM1602 s installation CALCULATING SYSTEM POWER AND COOLING REQUIREMENTS It is imperative that the chassis provide adequate power and cooling for this module Referring to the chassis user s manual confirm that the power budget for the system the chassis and all modules installed therein is not exceeded and that the cooling system can provide adequate airflow at the specified backpressure It should be noted that if the chassis cannot provide adequate power to the module the instrument may not perform to specification or possibly not operate at all In addition if adequate cooling is not provided the reliability of the instrument will be jeopardized and permanent damage may occur Damage found to have occurred due to inadequate cooling would also void the warranty of the module VM1602 Preparation for Use 17 VXI Technology Inc SETTING THE CHASSIS BACKPLANE JUMPERS Please refer to the chassis user manual for further details on setting the backplane jumpers SETTING THE LOGICAL ADDRESS The logical address of the VM1602 is set by a single 8 position DIP switch l
23. if 512 k RAM option is installed Description The Index Time Next query reports the next index number that occurs after a specified time If the specified time exactly matches an event then the next index is reported The optional channel list is provided to mask the search for the next index to include only events caused by one or more of the specified channels in the list Examples Command Query Response Description IND TIM NEXT 0 011004 1024 IND TIM NEXT 0 11004 1 8 Related Commands INDex TIMe INDex TIMe PREVious 84 VM1602 Command Dictionary www vxitech com INDex TIMe PREVious RST Value Data Cleared Query Syntax INDex TIMe PREVious lt time gt lt channel_list gt Query Parameters lt time gt ASCII numeric value ranging from 0 to 1 099 511 62778 seconds channel list Standard channel list format supporting Channels 1 through 32 If the channel list is not supplied all channels are used Query Response ASCII numeric value from 0 to 131 071 0 to 524 287 if 512 k RAM option is installed Description The Index Time Previous query reports the index number that corresponds with an event occurring before the specified time If the specified time exactly matches an event then the preceding index to that time is reported The optional channel list is provided to mask the search for the previous index to include only events caused by one or more of the specified channels in the list Ex
24. is initialized The interface FPGA also controls all functions needed to interface with the VMIP host When the VM1602 operation is aborted the event time and data is available to the user through the VMIP CPU The interface FPGA receives the BEENHIT signal from the capture FPGA signifying that an event has occurred The memory control logic will verify that memory space exists based on the last address signal This signal is generated by the address register logic when the last address has been reached If the last memory location has not been reached the memory control logic will generate the next signal that will increment the address register The memory control logic will then generate write enables to the event and time stamp data registers The memory control logic then generates the control word that is decoded by the memory read write decoder This decoder provides the write and output enables to the source and time stamp RAMs based on the decoder s input The time stamp and event data is recorded into their respective memories and is available to the CPU upon completion or termination of the program being executed INTERFACE ANDCONTROL FPGA CPU ADDRESS READ ADDRESS REGISTER CPU MEMORIES BUEEERSS VMIP WRITE ENABLE OUTPUT EN BLE CPU READ MEMORY READ WRITE BEENHIT DECODER FIGURE 5 3 INTERFACE AND CONTROL FPGA 110 VM1602 Theory of Operation www vxitech com
25. may be queried for its threshold but only specific channels may be programmed Also note that the trigger level applies only to channels that are set for single ended operation Differential inputs do not use the threshold DACs and switch state when the voltage on one input side exceeds the other input side The RST command will set the threshold to 1 80 volts for compatibility with standard TTL logic The trigger level is selected using the following SCPI command TRIGger LEVel lt voltage gt lt channel_list gt Where lt voltage gt is 4 96 V to 5 0 V Where lt channel_list gt is standard channel list syntax for Channels 1 through 32 EXAMPLES TRIG LEV 0 8 Sets the input signal threshold for all channels to 0 8 V TRIG LEV 2 0 1 9 13 Sets the input signal threshold for Channels 1 through 4 and 9 through 13 to 2 0 V 44 VM1602 Programming www vxitech com APPLICATION EXAMPLES This section contains examples of using SCPI command strings for programming the VM1602 module The code is functional and will contain a brief description and block diagram of the operation TRIGGERING OF BOTH EDGES OF THE INPUT SIGNAL In this example the time stamp module is used to verify that the device under test is operating properly With the device in the built in test mode and operating it will transmit a series of 3 pulses 300 us wide every 2 seconds VM1602 will be used to measure the duration and frequency that the puls
26. not used Bit 5 Message Available Bit 6 Master Summary Status Bit 7 Operation Status Summary Examples Command Query Response Description STB 16 Queries the Status Byte Register Related Commands N A VM1602 Command Dictionary 73 VXI Technology Inc TST Purpose Causes a self test procedure to occur and queries the results Type IEEE 488 2 Common Command Command Syntax N A N A RST Value N A Query Syntax TST Query Parameters N A Query Response Numeric ASCII value from 0 to 143 Description The Self Test query causes the VM1602 to run a self test and report on the results The self test checks the time stamp RAM and reports either a pass or a fail status If the self test passes the query returns a 0 value If the self test fails the query returns a non zero value Examples Command Query Response Description TST 0 Begins the self test procedure returns the result Related Commands N A 74 VM1602 Command Dictionary www vxitech com WAI Purpose Halts execution of additional commands and queries until the No Operation Pending message is true Type IEEE 488 2 Common Command Command Syntax WAI Command Parameters N A RST Value N A Query Syntax N A Query Parameters N A Query Response N A Description Examples
27. responds to the first channel number of a group Note that any channel may be queried for its threshold but only specific channels may be programmed Also note that the trigger level applies only to channels that are set for single ended operation Differential inputs do not use the threshold DACs and switch state when the voltage on one input side exceeds the other input side i e a high level is recorded when the plus input of a channel is at a more positive voltage than the negative input of the same channel The RST command will set the threshold to 1 79 volts for compatibility with standard TTL logic Examples Command Query Response Description TRIG LEV 1 68 1 5 9 TRIG LEV 5 Related Commands A VM1602 Command Dictionary 97 VXI Technology Inc SCPI REQUIRED COMMANDS Purpose Type Command Syntax Command Parameters RST Value Query Syntax Query Parameters Query Response Description Related Commands STA Tus OPERation CONDition Queries the Operation Status Condition Register Required SCPI command None Query Only N A N A STATus OPERation CONDition None Bit 0 Calibrating not used on this instrument Bit 1 Settling not used on this instrument Bit 2 Ranging not used on this instrument Bit 3 Sweeping not used on this instrument Bit 4 Measuring Bit 5 Waiting for trigger Bit 6 Waiting for arm Bit 7 Correcting
28. same as in the command form unless described otherwise Query Response Describes the format of the query response and the valid range of output De ptio Describes in detail what the command does and refers to additional sources Present the proper use of each command and its query when available ed Co and Lists commands that affect the use of this command or commands that are affected by this command VM1602 Command Dictionary 65 VXI Technology Inc IEEE 488 2 COMMON COMMANDS Purpose Type Command Syntax Command Parameters RST Value Query Syntax Query Parameters Query Response Description Examples Related Commands CLS Clears all status and event registers IEEE 488 2 Common Command This command clears the Status Event Register Operation Status Register and the Questionable Data Signal Register It also clears the OPC flag and clears all queues except the output queue Command Query Response Descriptions Clears all status and event registers 66 VM1602 Command Dictionary www vxitech com Purpose Type Command Syntax Command Parameters RST Value Query Syntax Query Parameters Query Response Description Examples Related Commands ESE The Event Status Enable ESE command is used to set the bits of the Event Status Enable Register See ANSI IEEE 488 2 1987 section 11 5 1 for a complete description of the ESE register A value o
29. 0 001 vtvm1602 TIME INTERVAL 2 0 0001 vtvm1602 TIME INTERVAL 3 0 00001 vtvm1602 TIME INTERVAL 4 0 000001 Vilntl6 transistionChannel This parameter specifies the channel whose frequency of transition i e the frequency of time stamping is to be calculated If the channel specified has been disabled for time stamping events then an error is returned Valid Range vtvm1602 MIN CHANNEL NO 1 to vtvm1602 MAX CHANNEL NO 32 ViPReal64 frequency This parameter returns the frequency of transition for the specified transition channel VM1602 Programming 53 VXI Technology Inc Return Values Returns VI_SUCCESS if successful value else returns error Description This function sets up the specified channels and calculates the frequency of transition of the specified transition channel This function allows 10 seconds for event captures HR KK RR RK KK KK KK KK RRR KR k k RR KK KK KK KKK KK KK ViStatus VI FUNC vtvm1602 setupAndCalcFreq ViSession instrHndl ViInti6 channelList VilInt16 numOfChannels ViBoolean mask ViBoolean polarityl ViBoolean inputType ViReal32 voltagel l ViInti16 source l ViReal64 timeInterval Vilnt16 transistionChannel ViPReal64 frequency Variable used to store return status of the function ViStatus status VI NULL Array used to read the results from the instrument ViChar readBuf vtvm1602 READ BUFF SIZE 1 Vilnt32 sourceChannel VI N
30. 0 MHz clock to be used as the time reference This reference has a resolution of 1 ms 40 VM1602 Programming www vxitech com SYNC The sync command will synchronize multiple VM1602 time stamp modules together This is achieved by designating which module is the master and which is the slave If only one VM1602 time stamp module is used this command will designate it as a standalone If two or three 32 channel VM1602 modules are to be used together where all 64 or 96 channels are to be in sync in terms of sample time and start time then the instrument to be configured as the Master is to be set up for the desired SWEep STEP First all the instruments to be used are to be configured as Slaves and initiated then the designated instrument is to be changed to Master Measurement data will not begin to be captured until the designated unit is set to Master Once a master slave setup has been established the instrument set up as Master will set the sample rate for all the slaves Note The RST command sets the sync to the standalone mode The sync command is selected using the following SCPI command SYNC lt type gt Where lt type gt is STANdalone MASTer or SLAVe EXAMPLES SYNC STAN Designates the module as the only VM1602 time stamp being used SWE STEP Selects the internal 10 MHz clock to be used as the time reference The SWEep STEP setting on the instrument that is eventually to be designated as the Master will set t
31. 02 command set conforms to the SCPI standard for consistency and ease of programming The VM1602 is a member of the VXI Technology VMIP VXI Modular Instrumentation Platform family and is available as 32 64 or 96 channel single wide V XIbus instrument Figure 1 1 shows the 96 channel version of the VM1602 The 64 channel version would not have J200 and its associated LEDs and nomenclature while the 32 channel version would eliminate J202 as well In addition to these three standard configurations the VM1602 may be combined with any of the other members of the VMIP family to form a customized and highly integrated instrument see Figure 1 1 This allows the user to reduce system size and cost by combining the VM1602 with two other instrument functions in a single wide C size V XIbus module FIGURE 1 1 VMIP PLATFORM VM1602 Introduction 13 m a a a a u a a a a u m u a u a a a m u a u a a a a u a a a a eee Ere Eb EEE DEE EEE EEE EEE ELE 0 e 9 I HHHUHHHBHBHHHHHHHHHHHHHHEHHEHZEHHHH HBHHBHHHHBHBHHBHHEHEHBEHEHBHHEHBHHH HHHHBBBBHHBHBHHHEBDHHHEHHHHHBHHERHSEH olig D VXI Te
32. 024 99 27 Returns the total number of events that have 33 occurred forChannels 9 through 27 between the two index times VM1602 Programming 25 VXI Technology Inc EVENT DATA This query is used with the indices to return the source of events that happened between the lower and upper indices The event data query returns a 32 bit number that correlates to the source or sources of the events When index 1 is the only parameter specified the query will report the source of a single index point The returned value of 4 294 967 295 equals all 32 channels The event data query is selected using the following SCPI command EVENt DATA lt index_1I gt lt index_2 gt Where index 1 index 2 gt are numeric values from 0 to 131 071 EXAMPLES EVEN DATA 1028 Since index 1 is the only index specified the 256 returned value is a single point source of the channel that triggered the event The returned value represents Channel 9 as the source EVEN DATA 256 258 Returns the source of events that have 1024 13 1072 56 occurred between index values 256 257 and 258 The returned value represents Channels 11 18 and 4 5 and 6 as the sources respectively 26 VM1602 Programming www vxitech com EVENT TIME This query is used to return the event number that occurred at a specified time The event time query returns a value from 0 to 131 071 524 287 if 512 k RAM option is installed which correlates to the event or e
33. 1 t where t is the time period in seconds between the specified index points The frequency is Description The Frequency Delta command calculates and reports the equivalent frequency for the reported in Hertz cycles per second Command Quer Response Description Related Commands TIMe DELTa Examples 82 VM1602 Command Dictionary www vxitech com INDex TIMe Query Syntax INDex TIMe lt time gt Query Parameters lt time gt ASCII numeric value ranging from 0 to 1 099 511 62778 seconds Query Response ASCII numeric value from 0 to 131 071 0 to 524 287 if 512 k RAM option is installed Description The Index Time query reports the index number that corresponds with a specified time If the specified time does not exactly match an event then no index exists for that time and an error is generated Examples Command Query Response Description IND TIM 0 011004 13 Related Commands INDex TIMe NEXT INDex TIMe PREVious VM1602 Command Dictionary 83 VXI Technology Inc INDex TIMe NEXT RST Value Data Cleared Query Syntax INDex TIMe NEXT lt time gt lt channel_list gt Query Parameters lt time gt ASCII numeric value ranging from 0 to 1 099 511 62778 seconds lt channel_list gt Standard channel list format supporting Channels 1 through 32 If the channel list is not supplied all channels are used Query Response ASCII numeric value from 0 to 131 071 0 to 524 287
34. DATA RETRIEVAL The CPU notifies the interface FPGA which data is requested and at what address The address register is loaded with the requested address and the memory control logic generates the proper control word to the read write decoder The read write decoder generates an output enable and the data is placed onto the data bus The interface FPGA generates the enable and clock signal to latch the data into the CPU data buffer VM1602 Theory of Operation 111 ise entire eres 24 46 48 63 76 110 111 euro eod e dere qu vee 21 B asse 18 21 bit COUDtet siete ctio dier ro dei C eR HIN OS 108 110 C VXI Technology Inc 1 33 63 85 INDex ode ps 31 63 83 Index 1 Index 2 INITiate D ceto n dete deo e d a dd une Input Signal 3 dba need eed E diee INPut MASK INPut MASK ENABle ee 35 63 87 INPut POL fity ossee 36 63 88 INPut SOURce INPut TYPE interface FPGA K KEV WOTdS i uie RE ERR ese 21 23 L data buffer eei E 111 REICH 108 0 digital to analog converter DAC 2 38 44 108 aa eaa re eA Er E E 22 Id 18 R E event data osi eed OO dad aoa pets 108 110
35. IM 10 05666 The designate that an error was id generated This is because no event occurred at the specified time VM1602 Programming 31 INDEX TIME NEXT VXI Technology Inc This query is used to return the next index occurring after the specified time The index time next query returns a value from 0 to 131 071 that correlates to the index number The channel list parameter is used to exclude unwanted events during the search The index time next query is selected using the following SCPI command INDex TIMe NEXT lt time gt lt channel_list gt Where lt time gt is a numeric value of 0 to 1 099 511 62778 seconds Where lt channel_list gt is standard channel list syntax forChannels 1 through 32 EXAMPLES IND TIM NEXT 0 00250 1059 IND TIM NEXT 1 00000 3 15074 All channels are evaluated during the search The returned index value of 1059 is the first occurring event or events after an execution time of 0 00250 This command will search for the first occurrence of Channel 3 causing an event after the 1 second of run time The returned index value is 15074 32 VM1602 Programming www vxitech com INDEX TIME PREVIOUS This query is similar to the index time next query the difference being that it returns the index number that occurred before the specified time The index time previous query returns a value from 0 to 131 971 that correlates to the index number The index time previous qu
36. IM DATA 10 Since Index 2 is not specified a single time 0 002567 is returned TIM DATA 6526 6528 Returns the time data of events that have 0 75890 0 87583 0 98956 occurred between index values 6526 and 6528 42 VM1602 Programming www vxitech com TIME DELTA The Time Delta query is used with the indices to return the time differences between the two indices The time period is returned in seconds with microsecond resolution regardless of the time stamp interval selected The event data query is selected using the following SCPI command TIMe DELTa index I index 2 Where index 1 index 2 is a numeric value of 0 to 131 071 EXAMPLES TIM DELT 1028 1 Since Index 2 is denoted as a 1 the time 10 5378 period is calculated using the points 1028 and the last recorded event TIM DELT 526 527 Returns the time period of events that have 0 75890 occurred between index values 526 and 527 VM1602 Programming 43 VXI Technology Inc TRIGGER LEVEL The Trigger Level command sets the trigger threshold for a group of four channels An 8 bit Digital to analog Converter DAC is used to provide the input voltage level to the signal comparators The input signals are grouped in fours bits 1 4 are set by trigger level 1 bits 5 9 are set by trigger level 5 and so on To avoid redundancy of setting thresholds this command only responds to the first channel number of a group It is important to note that any channel
37. INPUT 60 61 INPUT 62 63 64 65 INPUT 66 INPUT 67 REF 68 20 VM1602 Preparation for Use www vxitech com SECTION 3 PROGRAMMING INTRODUCTION The VM1602 module is a VXIbus message based device whose command set is compliant with the SCPI Standard Command for Programmable Instrument programming language See the Sample Program later in this section for specific programming examples and command usage In addition there are individual command descriptions located in the Command Dictionary section All module commands are sent over the VXIbus backplane to the module Commands may be in upper lower or mixed case All numbers are sent in ASCII decimal unless otherwise noted The module recognizes SCPI commands SCPI is a tree structured language based on IEEE STD 488 2 Specifications It uses the IEEE STD 488 2 Standard command and the device dependent commands are structured to allow multiple branches off the same trunk to be used without repeating the trunk To use this facility terminate one branch with a semicolon and start the next branch with a colon See the Standard Command for Programmable Instruments SCPI Manual Volume 1 Syntax amp Style Section 6 for more information The SCPI commands in this section are listed in upper and lower case Character case is used to indicate different forms of the same command Keywords can have both a short form and a long form some commands only have one form The sh
38. K 0 8 20 INP MASK 13 RARE EE INPut MASK ENABle 86 VM1602 Command Dictionary www vxitech com INPut MASK ENABle Purpose Selects if masked channels will be used in time stamp data queries Command Syntax INPut MASK ENABle lt boolean gt iNew lt boolean gt 0 1 OFF RST Value Enabled Query Syntax INPut MASK ENABle Query Response 0 1 Description The Input Mask Enable command controls whether masked disabled input channels are included in the data searches that are performed when data queries are requested If the input mask is enabled then all disabled channels will not affect the response to queries made to the time stamp data If the input mask is disabled then a logic high in the time stamp data will be interpreted as an event and allows the user to determine when a disabled input logic level goes to the true state The RST command enables the mask The module records time stamp events only when a transition occurs on any of the enabled channels It records the particular instance of time when the event occurred It also records the state of transition of the disabled channels However a transition occurring on a disabled channel does not cause any events Events can be generated only on enabled channels Since the transition state of disabled channels is also recorded when an event occurs on an enabled channel the user can configure the module to include or exclude the events on the
39. KING FIGURE 5 1 VM1602 FUNCTIONAL BLOCK DIAGRAM VM1602 Theory of Operation INPUT FPGA VXI Technology Inc In addition to accepting inputs from the front panel the VM1602 can also monitor all the VXIbus TTL Trigger bus lines To keep the hardware to a reasonable level of complexity TTL Trigger 0 may be routed to Channels 1 2 17 or 18 Similarly TTL Trigger 1 may be routed to Channels 3 4 19 20 etc To further enhance the flexibility of the instrument all even numbered channels may be routed to their N 1 channel input This allows both the rising and falling edges of a signal to be time stamped For example Channel 5 may be routed to TTL Trigger bus 2 and set to stamp on the rising edge and Channel 6 may be routed to Channel 5 and set to stamp on the falling edge In this case both rising and falling edges of the TTL Trigger bus 2 will be recorded The VM1602 allows each channel to be enabled or disabled This prevents unused channels that may have signal activity from creating unwanted time stamp events When a channel is enabled a value is recorded in RAM the corresponding channel bit position every time an event occurs on that channel a rising or falling edge as 1s programmed for that channel The firmware of the instrument scans the RAM s data and reports relative times between events on the same or different channels When a channel is disabled the logic state of the input is recorded whenever an enabled ch
40. M1602 General Spee A A OA Sre e a a a R E Eaa EE EAE ECETES 15 SECTION ler 17 PREPARATION FOR USE eE E EE E A 17 Installations Be Rae eS A os A e dt e Qa wad nates RI S 17 Calculating System Power and Cooling Requirements sss eee nnne 17 Setting the Chassis Backplane eene enne en rennen R 18 Setting the Logical Address eee eterne hee iles e edid 18 Front Panel Interface Wiring eese enne aeaa aa eaaa iae i nn nennen 19 DBE TION ES PROGRAMMING Introduction uires e RU Oe CR EXAMPLES OF SCPI COMMANDS Eur DELE EVENt COUNC xi cR ee ee tias ette e e AS ti 25 EVENUDATA uei E d eee duet feed ete nce tete 26 ttes dte uS Mo E e EI e ME shia leet t M Nd dis 27 EVENtETIMe NEXT2 iiid ROO eR Die dud eh f OE a Rd 28 EVENE TIME PRE Vi0US i e dede aetate e RR Ee 29 EREQuency DEE T2 eire reet ette or dn Eee desee ia eive eoe ewe dee 30 INDER TIMEN oen iis tede teet tie eo eter teme aee ee nre teda e diee Te ed eee ews queden eee a eae al ete 31 INDexzDIMe NE IE frees 32 INDex TIMe PREViOusS NB inis 33 aes 34 INPut MASK ENABle 4 5
41. N TIM NEXT 1 00000 3 This command will search for the first 36 occurrence of Channel 3 causing an event after the 1 second of run time The returned value of 36 shows that Channel 3 and 6 triggered this event 28 VM1602 Programming www vxitech com EVENT TIME PREVIOUS This query is similar to the event time next query the difference being that it returns the event that occurred before the specified time The event time previous query returns a value from 0 to 4 294 967 295 that correlates to the event or event s number The channel list is used to exclude unwanted events during the search The returned event data includes all channels regardless of the mask The event time previous is selected using the following SCPI command EVENt TIMe PREVious lt time gt lt channel_list gt Where time is a numeric value of 0 to 1 099 511 62778 seconds Where lt channel_list gt is standard channel list syntax for Channels 1 through 32 EXAMPLES EVEN TIM PREV 60 00000 8 388 608 EVEN TIM PREV 300 00000 012 15 18 433 All channels are evaluated during the search The returned value of 8 388 608 Channel 24 is the last event or events occurring before one minute of execution time This command will search for the first occurrence of Channels 12 and 15 causing an event before 5 minutes of run time The returned value of 18 433 shows that Channel 1 12 and 15 triggered this event VM1602 Programming
42. Query Response Description Related Commands EVENt TIMe NEXT EVENt TIMe PREVious VM1602 Command Dictionary 79 VXI Technology Inc EVENt TIMe NEXT Queries the event data which occurred after a given time Type Command Syntax Command Parameters RST Value Query Syntax Query Parameters Query Response Description Examples Related Commands lt time gt ASCII numeric value ranging from 0 to 1 099 511 62778 seconds lt channel_list gt Standard channel list format supporting Channels 1 through 32 If the channel list is not supplied all channels are used ASCII numeric value from 0 to 4 294 967 295 The Event Time Next query reports the event data on the next event that occurs after the specified time If the time exactly matches an event the reported event data is for the following event index The optional channel list is provided to mask the search for the next event to include only events caused by one or more of the specified channels in the list The returned event data includes all channels regardless of the mask Command Query Response Description EVEN TIM NEXT 12 075 48 EVEN TIM NEXT 13 000102 1 3 5 9 53 EVENt TIMe EVENt TIMe PREVious 80 VM1602 Command Dictionary www vxitech com EVENt TIMe PREVious Lec RR RST Value Data Cleared Query Syntax EVENt TIMe PREVious lt time gt lt channel_list gt Query Parameters lt time gt A
43. SCII numeric value ranging from 0 to 1 099 511 62778 seconds channel list Standard channel list format supporting Channels 1 through 32 If the channel list is not supplied all channels are used Query Response ASCII numeric value from 0 to 4 294 967 295 Description The Event Time Previous command reports the event data on the previous event that occurs before the specified time If the time exactly matches an event the reported event data is for the previous event index The optional channel list is provided to mask the search for the previous event to include only events caused by one or more of the specified channels in the list The returned event data includes all channels regardless of the mask Examples Command Query Response Description EVEN TIM PREV 12 075 EVEN TIM PREV 13 00102 1 3 5 9 Related Commands EVENt TIMe EVENt TIMe NEXT VM1602 Command Dictionary 81 VXI Technology Inc FREQuency DELTa ee RST Value Data Cleared Query Syntax FREQuency DELTa lt index_1 gt lt index_2 gt Query Parameters lt index_1 gt 0 to 131 071 0 to 524 287 if 512 k RAM option is installed lt index_2 gt 0 to 131 071 0 to 524 287 if 512 k RAM option is installed A value of 1 indexes to the end of the data set the end of RAM or the last recorded event whichever is less Query Response ASCII numeric floating point value time period between the specified indices The frequency is calculated as
44. The Wait to Continue command halts the execution of commands and queries until the No Operation Pending message is true This command makes sure that all previous commands have been executed before proceeding It provides a way of synchronizing the module with its commander Command Que Response Description Pauses the execution of additional commands until the No Operation Pending message is true Related Commands VM1602 Command Dictionary 75 VXI Technology Inc INSTRUMENT SPECIFIC SCPI COMMANDS Purpose Type Command Syntax Command Parameters RST Value Query Syntax Query Parameters Query Response Description Examples Related Commands ABORt Command ABORt Stops a data collection in progress The Abort command will cause the instrument to stop taking time stamp readings if the unit is currently running The Abort command does not change any other instrument settings The data collected before the Abort command is then available for query Command Query Response Description Pauses the execution of additional commands until the No Operation Pending message is true INITiae o O 76 VM1602 Command Dictionary www vxitech com EVENt COUNt 2 aea Ce RST Value Query Syntax EVENt COUNt lt index_1 gt lt index_2 gt lt channel_list gt Query Parameters lt index_1 gt 0to 131 071 0 to 524 287 if 512 k RAM option is installed
45. Timer Overflow Data Low Read Only 25 A 32 Bit Timer Overflow Data High Read Only o N 16 Bit High Water Overflow Index Read Write 2 16 Bit High Water Timer Overflow Read Only t2 Ie 32 Bit Event Low Read Only v 32 Bit Event High Read Only N gt 32 Bit Time Low Read Only N o 32 Bit Time High Read Only N e 32 Bit Index Event Time Low Read Write N A 32 Bit Index Event Time High Read Write 32 Bit High Water Event Time Low Read Only 32 Bit High Water Event Time High Read Only N N gt A32 Pointer Low i eine ORS RR VM1602 Programming VXI Technology Inc VXIPLUG amp PLAY Driver Examples APPLICATION FUNCTION i FB r NS ee S KR KK KK KK KK RRR KKK KK KK RR RR RR RK RK KK KKK KR KR RR RR RRR KK k k Function vtvm1602 setupAndCalcFreq Formal Parameters ViSession instrHndl A valid session handle to the instrument Vilntl6 channelList This parameter specifies the channels which are to be configured and enabled disabled for time stamping Each channel number in the array has the valid range vtvm1602 MIN CHANNEL NO 1 to vtvm1602 MAX CHANNEL NO 32 Vilntl6 numOfChannels This parameter specifies the number of channels in the channel list Valid Range vtvm1602 MIN CHANNEL NO 1 to vtvm1602 MAX CHANNEL NO 32 ViBoolean mask This parameter specifies the mask to b
46. ULL count VI NULL numElems VI NULL Vilnt32 i VI NULL tmpIndex1 VI NULL tmpIndex2 VI NULL Vilnt16 channelGroup VI NULL The instrument is reset to its default state ur Status vtvm1602 reset instrHndl if status VI SUCCESS return status 54 VM1602 Programming www vxitech com for i 0 i numOfChannels i if channelList i transistionChannel Validating the transition channel to ensure that it has been enabled 27 if mask i vtvm1602 MASK ON return vtvm1602 TRANSITION CHANNEL NOT ENABLED break If the transition channel has not been set up return an error s if i numOfChannels return VI ERROR PARAMETER10 Enabling Disabling the specified channels for time stamping status vtvm1602 maskUnmaskChannels instrHndl channelList numOfChannels mask vtvm1602 MASK DISABLE if status VI SUCCESS return status Configuring the polarity source etc for the specified channels status vtvm1602 configChannels instrHndl channelList numOfChannels polarity inputType source if status VI SUCCESS return status Configuring the trigger level for the group of 4 channels depending on which group the specified channels fall nr for i 0 i lt numOfChannels i VM1602 Programming 55 VXI Technology Inc if channelList i gt 28 channelGroup v
47. amples Command Query Response Description IND TIM PREV 0 011004 8192 IND TIM PREV 0 011004 1 8 8183 Related Commands INDex TIMe INDex TIMe NEXT VM1602 Command Dictionary 85 VXI Technology Inc INPut MASK Purpose Selects which channels will cause time stamp events to occur Command Syntax INPut MASK lt boolean gt lt channel_list gt Oem lt boolean gt 0 1 OFF channel list Standard channel list format supporting Channels 1 through 32 If the channel list is not supplied all channels are used Description The Input Mask command controls which input channels are enabled disabled to cause time stamp events to occur An input channel must be enabled in order for that channel to cause a time stamp event to be recorded channels which are disabled will have their input state recorded when a time stamp event occurs This allows the VM1602 to act like a simple logic analyzer and only record levels when specific inputs make transitions It should be noted that a set bit in the capture RAM represents a transition rising or falling edge as programmed for an enabled channel while a set bit represents a high logic level or low level if programmed for inversion on disabled masked channels The Input Mask query reports the enabled channels using the standard channel list format The RST command enables all channels Examples Command Query Response Description INP MAS
48. and Computer Software clause in DFARS 252 227 7013 VXI Technology Inc 2031 Main Street Irvine CA 92614 6509 U S A 6 VM1602 Preface www vxitech com DECLARATION OF CONFORMITY Declaration of Conformity According to ISO IEC Guide 22 and EN 45014 MANUFACTURER S NAME VXI Technology Inc MANUFACTURER S ADDRESS 2031 Main Street Irvine California 92614 6509 PRODUCT NAME Time Stamp Module MODEL NUMBER S VM1602 PRODUCT OPTIONS All PRODUCT CONFIGURATIONS All VXI Technology Inc declares that the aforementioned product conforms to the requirements of the Low Voltage Directive 73 23 EEC and the EMC Directive 89 366 EEC inclusive 93 68 EEC and carries the CE mark accordingly The product has been designed and manufactured according to the following specifications SAFETY EN61010 2001 EMC EN61326 1997 w A1 98 Class A CISPR 22 1997 Class A VCCI April 2000 Class A ICES 003 Class A ANSI C63 4 1992 AS NZS 3548 w A1 amp A2 97 Class FCC Part 15 Subpart B Class A EN 61010 1 2001 The product was installed into a C size VXI mainframe chassis and tested in a typical configuration I hereby declare that the aforementioned product has been designed to be in compliance with the relevant sections of the specifications listed above as well as complying with all essential requirements of the Low Voltage Directive March 2003 C Jerry Patton QA Manager VM1602 Preface 7 VXI Technology
49. annel has a time stamp event This allows the VM1602 to function as a rudimentary logic analyzer The time and event data are available to the user through the VMIP message based interface Each time an enabled channel has a time stamp event the value in a 40 bit counter is recorded along with the channel or channels that caused the event to occur The rate at which the counter increments sets the overall resolution of the instrument and may be programmed for 1 us 10 us 100 us or 1 ms channel pairs operate identically therefore only Channel 1 and 2 are shown in Figure 5 2 By using op amps as input receivers the VM1602 can receive either differential or single ended signals see Figure 5 2 A Digital to analog Converter DAC is tied to the negative or inverting input of the receiver to provide signal threshold The DAC has an output of 2 5 V to 2 5 V anda RST Value 1 8 V The capture FPGA selects an input signal for triggering an event from the front panel the VXI TTL triggers or the front panel input s adjacent channel This 18 accomplished through a pair of muxes that are user definable The signal is then verified to be the proper polarity This is done by exclusively oring the input signal with the user defined rising or falling polarity command bit The signal is then routed through a mask register If the signal is masked it will not be capable of generating an event trigger but will be stored in RAM if another non ma
50. ax INPut SOURce lt source gt lt channel_list gt Command Parameters FPAN TTLTrig ADJacent is only valid with odd numbered channels ADJacent is only valid with even numbered channels lt channel_list gt Standard channel list format supporting Channels 1 through 32 If the channel list is not supplied all channels are used RST Value lt source gt FPAN lt channel_list gt All channels selected Query Syntax INPut SOURce lt channel gt Query Parameters lt channel gt 1 to 32 Query Response ASCII string Odd channels respond with FPAN TTLT Even channels respond with FPAN ADJ Description The Input Source command selects the channel input source All channels may come from the front panel The odd numbered channels have the option of being sourced from the VXIbus TTL trigger bus Channels 1 and 17 may source from TTL Trigger 0 while Channels 3 and 19 source from TTL Trigger 1 etc This option is selected using the TTLTrig parameter The even numbered channels have the option of being sourced from the input connections of the channel above it 1 Channel 2 sources from Channel 175 inputs This allows a single signal to be stamped on both rising and falling edges This option is selected using the ADJacent parameter The RST command sets all channels to FPAN Examples Command Query Response Description INP SOUR FPAN 1 3 INP SOUR 2 Related Commands VM1602 Command
51. be time stamped For example Channel 5 may be routed to TTL Trigger bus 2 and set to stamp on the rising edge and Channel 6 may be routed to Channel 5 and set to stamp on the falling edge In this case both rising and falling edges of the TTL Trigger bus 2 will be recorded The VM1602 allows each channel to be enabled or disabled This prevents unused channels that may have signal activity from creating unwanted time stamp events When a channel is enabled a 1 value is recorded in RAM in the corresponding channel bit position every time an event occurs on that channel a rising or falling edge as 1s programmed for that channel The firmware of the instrument scans the RAM s data and reports relative times between events on the same or different channels When a channel is disabled the logic state of the input is recorded whenever an enabled channel has a time stamp event This allows the disabled channels to function as a rudimentary logic analyzer Each time an enabled channel has a time stamp event the value in a 40 bit counter 18 recorded along with the channel or channels which caused the event to occur The rate at which the counter increments sets the overall resolution of the instrument and may be programmed for 1 us 10 us 100 us or 1 ms FIGURE 1 2 FRONT PANEL LAYOUT VM1602 Introduction www vxitech com VM1602 SPECIFICATIONS CHANNELS VM1602 1 32 VM1602 2 64 VM1602 3 96
52. cal overload electric shock or fire hazard do not use a power source that applies other than the specified voltage Use Proper Fuse To avoid fire hazard only use the type and rating fuse specified for this product VM1602 Preface VXI Technology Inc WARNINGS CONT Avoid Electric Shock To avoid electric shock or fire hazard do not operate this product with the covers removed Do not connect or disconnect any cable probes test leads etc while they are connected to a voltage source Remove all power and unplug unit before performing any service Service should only be performed by qualified personnel Ground the Product This product is grounded through the grounding conductor of the power cord To avoid electric shock the grounding conductor must be connected to earth ground Operating Conditions To avoid injury electric shock or fire hazard Do not operate in wet or damp conditions Do not operate in an explosive atmosphere Operate or store only in specified temperature range Provide proper clearance for product ventilation to prevent overheating NOT operate if any damage to this product is suspected Product should be inspected or serviced only by qualified personnel Improper Use The operator of this instrument is advised that 1f the equipment is used in a manner not specified in this manual the protection provided by the equipment may be impaired Conformity is checked by inspection
53. chnology Inc Regardless of whether the VM1602 is configured with other VM1602 modules or with other VMIP modules each group of 32 channels is treated as an independent instrument in the VXIbus chassis Each group has its own FAIL and ACCESS light DESCRIPTION The 1602 is a high performance time stamp recording module The instrument monitors 32 differential inputs for either rising or falling edges as programmed and records their relative time of occurrence The instrument can collect a total of 128 k events or optionally 512 k events when the extended memory option is installed Each input may be configured for either differential or single ended operation In differential mode a high input occurs when the positive input of a channel is at a higher potential than the negative input In single ended mode a high input occurs when the positive input of a channel is at a higher potential than the programmed threshold voltage corresponding to that channel In addition to accepting inputs from the front panel the VM1602 can monitor all of the VXIbus TTL Trigger bus lines In order to keep the hardware to a reasonable level of complexity TTL Trigger 0 may be routed to Channels 1 2 17 or 18 Similarly TTL Trigger 1 may be routed to Channels 3 4 19 20 etc To further enhance the flexibility of the instrument all even numbered channels may be routed to their N 1 channel input This allows both the rising and falling edges of a signal to
54. d must first be set up as Slaves The instrument to be set up as the Master will set the sample rate for all Slaves but first the SWEep STEP needs to be set at the same value for all the units together All instruments must then be initiated and then the instrument to be used as the Master is set to Master to begin the measurement cycle No data will be collected until the Master unit is set Data collection will continue until all instruments are aborted It should be noted that the memory resource for each instrument is used independently This means that one instrument is likely to deplete its RAM resource before the other instruments It also means that a given index for one group of 32 channels will not correspond to the same index for another group The time between events caused by channels on different 32 channel groups must be calculated in time and not referenced by their indices See Section 3 for more detail on synchronizing multiple instruments The RST command sets the SYNC to STANdalone mode Examples Command Query Response Description SYNC MAST Related Commands ABORt INITiate 94 VM1602 Command Dictionary www vxitech com TIMe DATA RI RST Value Data Cleared Query Syntax TIMe DATA index 1 gt lt 2 gt Query Parameters index 1 gt 0 to 131 071 0 to 524 287 if 512 k RAM option is installed index 2 0 to 131 071 0 to 524 287 if 512 k RAM option is installed A
55. disabled channels while performing time stamp data queries using the INPut MASK ENABle command Examples Command Query Response Description INP MASK ENAB 1 INP MASK ENAB Related Commands INPut MASK VM1602 Command Dictionary 87 VXI Technology Inc INPut POLarity Purpose Sets the input polarity of one or more channels Command Syntax INPut POLarity lt polarity gt lt channel_list gt channel list Standard channel list format supporting Channels 1 through 32 If the IWON lt polarity gt RISing FALLing channel list is not supplied all channels are used RST Value polarity RISing channel 115 All channels selected Query Syntax INPut POLarity channel Query Parameters channel 1 to 32 Query Response RIS FALL Description The Input Polarity command selects which edge of an input signal is recorded as an event If a polarity of a channel is RISing then a time stamp event will be recorded on the rising edge If a polarity of a channel is FALLing then the event will be recorded on the falling edge of the input signal The RST command sets all channels for the rising edge Command Query Response Description FALL 1012 150000 POL 12 FALL POL RIS 01 16 POL 1 RIS Related Commands 88 VM1602 Command Dictionary www vxitech com INPut SOURce Purpose Sets the input source for a list of channels Command Synt
56. e used for the Specified channels Each element of the array must have the value vtvm1602 MASK ON or vtvm1602 MASK OFF ViBoolean polarity This parameter specifies the polarity to be configured for the specified channels Each element of the array must have the value vtvm1602 POLARITY RIS or vtvm1602 POLARITY FALL ViBoolean inputType This parameter specifies the type either differential or single ended operation to be configured for the specified channels 52 VM1602 Programming www vxitech com Each element of the array must have the value vtvm1602 INPUT TYPE DIFF Differential vtvm1602 INPUT TYPE SING Single ended ViReal32 voltage This parameter specifies the threshold voltage to be configured for the specified channels It must be noted that if different voltage values are specified for the channels within the same group of 4 channels only the last configured voltage for that group of channels will be in effect Each element of the array must be in range vtvm1602 VOLTAGE MIN 5 0 to vtvm1602 VOLTAGE MAX 4 96 Vilntl6 source This parameter specifies the input source to be configured for the specified channels Each element of the array must have a value vtvm1602 SOURCE FPAN Front Panel vtvm1602 SOURCE TTLT TTLTrig vtvm1602 SOURCE ADJ Adjacent ViReal64 timeInterval This parameter specifies the time stamp resolution period to be configured Valid Values vtvm1602 TIME INTERVAL 1
57. ed transition channel has not sourced at least two events if i count free sourceChannel return vtvm1602 NOT ENOUGH EVENTS free sourceChannel 58 VM1602 Programming www vxitech com Calculating the frequency of transition between the first two consecutive events sourced by the specified transition channel status vtvm1602 queryFrequency instrHndl tmpIndex1 tmpIndex2 frequency if status VI SUCCESS return status return VI SUCCESS VM1602 Programming 59 VXI Technology Inc 60 VM1602 Programming www vxitech com SECTION 4 COMMAND DICTIONARY INTRODUCTION This section presents the instrument command set It begins with an alphabetical list of all the commands supported by the VM1602 divided into three sections IEEE 488 2 commands the instrument specific SCPI commands and the required SCPI commands With each command is a brief description of its function whether the command s value is affected by the RST command and its default value The remainder of this section is devoted to describing each command one per page in detail The description is presented in a regular and orthogonal way assisting the user in the use of each command Every command entry describes the exact command and query syntax the use and range of parameters and a complete description of the command s purpose ALPHABETICAL COMMAND LISTING The following tables provide an a
58. eld is an optional serial number and the fourth field is the firmware revision number If a serial number is not supplied the third field is set to 0 zero Examples Command Query Response Description IDN VXI Technology Inc 1602 0 1 xx The revision listed here is for reference only the response will always be the current revision of the instrument Related Commands VM1602 Command Dictionary 69 VXI Technology Inc OPC Purpose Sets the OPC bit in the Event Status Register Type IEEE 488 2 Common Command Command Syntax OPC N A RST Value N A Query Syntax OPC Query Parameters N A Query Response 1 Description The Operation Complete command sets the OPC bit in the Event Status Register ESR when all pending operations have completed The VM1602 will continue to process other commands after receiving the OPC command and the ESR register should be polled to determine when the operation has completed The Operation Complete query will return a 1 to the output queue when all pending operations have completed While waiting for the operation to complete the VM1602 suspends the processing of further commands preventing changes from occurring before the current operation is complete The only pending operation on the VM1602 is the collection of time stamp data that can literally take years to complete In the case that
59. els I through 8 as differential INP TYPE SING Sets the input type for all channels default as single ended 38 VM1602 Programming www vxitech com INITIATE The INITiate command starts the process of collecting time stamp events The INITiate command clears the counters and registers on the VM1602 After power up or after an ABORt command the VM1602 will not start measuring time or recording events until the INITiate command is received INITiate No command parameters EXAMPLES INIT Clears the counters and registers Enables the collection of time stamp events VM1602 Programming 39 VXI Technology Inc SWEEP STEP The sweep step command sets the time stamp resolution period The sample rate sets the time interval that the time stamps can resolve and all times reported have an uncertainty equal to the sample rate The purpose of reducing the sample rate from the highest resolution is to reduce the amount of data to consider and to increase the amount of time before the internal time stamp clocks over The RST command sets the time interval to 1E 6 seconds The sweep step command is selected using the following SCPI command SWEep STEP time interval Where time interval is 1E 3 1 ms 1 4 100 us 1E 5 10 us or 1E 6 1 us EXAMPLES SWE STEP 1E 6 Selects the internal 10 MHz clock to be used as the time reference This reference has a resolution of 1 ps SWE STEP 1E 3 Selects the 1 kHz divided 1
60. ery Parameters None Query Response 0 Description The Status Operation Event Register query is included for SCPI compliance Examples Command Query Response Description STAT OPER Related Commands None 100 VM1602 Command Dictionary www vxitech com STATus PRESet Purpose Presets the Status Registers Type Required SCPI command Command Syntax STATus PRESet celia None RST Value N A Query Syntax None Command Only Query Parameters N A Query Response N A Description The Status Preset command presets the Status Registers The Operational Status Enable Register is set to 0 and the Questionable Status Enable Register is set to 0 This command is provided for SCPI compliance only Examples Command Query Response Description STAT PRES Presets the Status Registers Related Commands None VM1602 Command Dictionary 101 VXI Technology Inc STATus QUEStionable CONDition Purpose Queries the Questionable Status Condition Register Type Required SCPI command Command Syntax None Query Only N A RST Value N A Query Syntax STATus QUEStionable CONDition Query Parameters None Query Response 0 Description The Questionable Status Condition Register query is provided for SCPI compliance only The VM1602 does not alter any of the bits in this register and a query always reports a 0
61. ery returns a value from 0 to 131 071 that correlates to the index number The channel list parameter is used to exclude unwanted events during the search The index time previous is selected using the following SCPI command INDex TIMe PREVious lt time gt lt channel_list gt Where lt time gt is a numeric value of 0 to 1 099 511 62778 seconds Where lt channel_list gt is standard channel list syntax forChannels 1 through 32 EXAMPLES IND TIM PREV 60 00000 All channels are evaluated during the 8608 search The returned value of 8608 is the index value of the last event or events occurring before one minute of execution time IND TIM PREV 300 00000 12 15 This command will search for the first 18433 occurrence of Channels 12 and 15 causing an event before 5 minutes of run time The returned index value of 18 433 shows the location of the occurrence VM1602 Programming 33 VXI Technology Inc INPuT MASK The input mask selects which channels will cause time stamp events to occur The input mask register will not allow a signal to cause a time stamp event to occur if it is masked out This command is used to disable unwanted inputs from generating time stamp events An input channel must be enabled INPut MASKO in order for the channel to cause a time stamp event to be recorded The input mask 15 selected using the following SCPI command INPut MASK ON OFF 1 0 lt list Where ON OFF
62. es occur Channel 2 will be sourced from Channel 175 input Channel will be initialized to trigger on the rising edge and Channel 2 the falling edge Channels 3 through 32 are masked out to prevent unwanted event triggering It is assumed that another VXI instrument is controlling the test duration of 10 to 15 seconds in length COMMANDS DESCRIPTION SWE STEP 1E 6 Selects a resolution of 1 us INP TYPE DIFF 1 2 Sets up Channel 1 and 2 as differential inputs INP SOUR ADJ Q2 Configures Channel 2 to be sourced from its adjacent channel 1 Channel 1 INP MASK ON 3 32 Masks out Channels 3 through 32 from generating an event INP POL RIS 1 Sets up Channel 1 to trigger on rising edge INP POL FALL 2 Sets up Channel 2 to trigger on falling edge INIT Starts the collection of time stamp events VM1602 Programming 45 VXI Technology Inc Upon completion of the test send the ABORt command the following is used to verify the pulse widths and repetition rates COMMANDS DESCRIPTION TIMe DATA 1 7 Queries for time between pointers 1 and 7 1 0003 1 0006 1 0009 Data shows that first event occurred at 1 0003 seconds into 1 0012 1 0015 1 0018 run and contained 3 pulses of 600 us period 50 duty cycle 3 0003 TIMe DELTa 1 2 Queries time delta between pointers 1 and 2 0 0003 Data shows pulse width to be 300 us TIMe DELTa 1 7 Queries time delta between pointers and 7 2 0000 Data shows repetition rate to be 2 second
63. f 1 in a bit position of the ESE register enables generation of the Event Status Bit ESB in the Status Byte by the corresponding bit in the Event Status Register ESR If the ESB is set in the Service Request Enable SRE register then an interrupt will be generated See the ESR command for details regarding the individual bits The ESE register layout is Bit 0 Operation Complete Bit 1 Request Control Bit 2 Query Error Bit 3 Device Dependent Error Bit 4 Execution Error Bit 5 Command Error Bit 6 User Request Bit 7 Power On The Event Status Enable query reports the current contents of the Event Status Enable Register Command Query Response Description ESE 36 ESE 36 Returns the value of the event status enable register VM1602 Command Dictionary 67 Purpose VXI Technology Inc ESR Queries and clears the Standard Event Status Register Type Command Syntax Command Parameters RST Value Query Syntax Query Parameters Query Response Description Examples Related Commands IEEE 488 2 Common Command N A Numeric ASCII value from 0 to 255 The Event Status Register ESR query queries and clears the contents of the Standard Event Status Register This register is used in conjunction with the ESE register to generate the Event Status Bit ESB in the Status Byte The layout of the ESR is Bit 0 Operation Complete Bit 1 Request Control Bit 2 Query Error Bit
64. f the command has a query form with character response data the short form is always returned in upper case As an example to find out what the current input source is for Channel 2 use the following command INP SOUR 2 The response could be FPAN This tells the user that the Channel 2 input source is FPAN Multiple commands can also be combined on one line To do this terminate one command with a semicolon and start the next command with a colon As an example Channel 1 through Channel 3 input polarity and source could be set as follows INP POL RIS SOUR 81 3 22 VM1602 Programming www vxitech com When combining commands keep in mind the size of the input buffer Command lines that are too long will generate an error and not be used The IEEE STD 488 2 Common Commands can be placed anywhere set off from the rest of the command by a semicolon They can also be placed alone on a line For example RST INP POL RIS SOUR FPAN 1 3 NOTATION Keywords or parameters enclosed in square brackets are optional If the optional part is a keyword the keyword can be included or left out Omitting an optional parameter will cause its default value to be used Parameters are enclosed by angle brackets lt gt Braces are used to enclose one or more parameters that may be included zero or more times A vertical bar read as is used to separate parameter alternatives VM1602 Progra
65. gram to extract the information might do something as follows VM1602 Programming 49 VXI Technology Inc a Read the HIGHWATER MARK at 0x20 and 0x22 to determine the number of points to process b Set the INDEX at 0x24 and 0x26 to 0 this is automatically done at the end of a data capture but it can be done in any case to be on the safer side c Loop for the number of points Read TIME HIGH at 0x28 and store Read TIME LOW at 0x2A and store Read EVENT HIGH at 0x2C and store Read EVENT LOW at 0x2E and store End of loop The hardware records 32 bits of time data but the module keeps track of 40 bits To do this the processor is interrupted every time there is a 31 bit overflow of the timer When this interrupt occurs the processor records the current event number in an array that will hold up to 512 entries Because there are 32 bits of hardware time stored with each event there is no ambiguity as to where a timer overflow occurred With this extra information it is possible to determine an extra 8 bits of timer information The raw data for extracting this information is available through the pseudo register access The number of 31 bit timer overflows the high water mark that occurred during a data collection is recorded in the register at offset 0x30 This tells the user the maximum number of data items that can be retrieved from the overflow array The number can range from 0 to 512 The INDEX is a pointer to the overflow da
66. he clock rate for the Master and for the Slaves The Slave units need to have the SWEep STEP configured the same as the Master unit prior to initiating the instruments so that time data will be reported correctly SYNC SLAV Designates the modules as slaves All instruments are initially set up as Slaves INIT Initiates the modules All modules used in SYNC mode need to be initiated SYNC MAST Designates the module as the master Note If the Master is configured as the Master prior to initiating the Slaves units the Slaves will begin capturing data as soon as they are initiated VM1602 Programming 41 VXI Technology Inc TIME DATA The Time Data query is used with the indices to return the time stamp data for single or multiple indices The time data is returned in seconds with 1 microsecond resolution regardless of the time stamp interval selected The time reported is relative to when the instrument was initiated and is in a fixed format numeric value It should be noted that the time stamp counter is reset with each INITiate or TRG command Therefore there is no correlation between independent data collection runs The time data is intended to be used to determine the time between events within a single collection run The time data query is selected using the following SCPI command TIMe DATA lt index_I gt lt index_2 gt Where lt index_I gt lt index_2 gt is a numeric value of 0 to 131 071 EXAMPLES T
67. ious index which occurred before a given time TABLE 4 2 INSTRUMENT SPECIFIC SCPI COMMANDS Description RST Stops a data collection in progress Queries the number events registered Queries the source of events between two indices Queries the event data which occurred at a given time between two indices time value time to occur Selects which channels will cause time stamp events X NPut MASK ENABle Selects if masked channels will be used in time ES stamp data queries NPut POLarity NPut SOURce Sets the input polarity of one or more channels Sets the input source for a list of channels Sets the input for either differential or single ended X mode of operation Enables the collection of time stamp events Reports memory available on the VM1602 221 Sets the time stamp resolution period Synchronizes multiple VM1602 boards within a X VMIP host Queries the time stamp data for one or more indices Queries the time difference between time stamp X indices Sets the trigger level of a group of four channels X RST Value N A 0 Data cleared Data cleared Data cleared Data cleared Data cleared Data cleared Data cleared Data cleared All enabled Enabled RISing edge Front panel Single ended N A lus Stand alone Data cleared Data cleared 1 79 volts VM1602 Command Dictionary 63 VXI Technology Inc TABLE 4 3 SCPI REQUIRED COMMANDS Comma
68. it is set in the mask that newly enables a bit set in the status byte and interrupts are enabled the module will generate a REQUEST TRUE event via an interrupt See the STB Command for the layout of bits Note Bit 6 is always internally cleared to zero as required by IEEE 488 2 section 11 3 2 3 The layout of the Service Request Enable Register is Bit 0 Unused Bit 1 Unused Bit 2 Error Queue Has Data Bit 3 Questionable Status Summary Not Used Bit 4 Message Available Bit 5 Event Status Summary Bit 6 0 per IEEE 488 2 section 11 3 2 3 Bit 7 Operation Status Summary Examples Command Quer Response Description SRE 4 Sets the service request enable register SRE 4 Returns the value of the SRE register Related Commands N A 72 VM1602 Command Dictionary www vxitech com STB Purpose Queries the Status Byte Register Type IEEE 488 2 Common Command Command Syntax N A N A RST Value N A Query Syntax STB Query Parameters N A Query Response Numeric ASCII value from 0 to 255 Description The Read Status Byte STB query fetches the current contents of the Status Byte Register See the IEEE 488 2 specification for additional information regarding the Status byte Register and its use The layout of the Status Register 1s Bit 0 Unused Bit 1 Unused Bit 2 Error Queue Has Data Bit 4 Questionable Status Summary
69. lphabetical listing of each command supported by the VM1602 along with a brief description If an X is found in the column titled RST then the value or setting controlled by this command is possibly changed by the execution of the RST command If no X is found then RST has no effect The default column gives the value of each command s setting when the unit is powered up or when a RST command is executed VM1602 Command Dictionary 61 Command WAI TABLE 4 1 IEEE 488 2 COMMON COMMANDS VXI Technology Inc Description RST Reset Value Set the Event Status Enable Register Query the Standard Event Status Register Query the module identification string Reset the module to a known state Set the Service Request Enable Register Query the Status Byte Register Starts and reports a self test procedure Halts execution and queries 62 VM1602 Command Dictionary WWW I vxitech com Command ABORt EVENt COUNt EVENt DATA EVENt TIMe EVENt TIMe NEXT Queries the event data which occurred after a given time EVENtTIMe PREVious Queries the previous event data which occurred before a given time FREQuency DELTa NDex TIMe NPut MASK NPut TY PE NITiate MFGTEST MEMory SWEep STEP SYNC TIMe DATA TIMe DELTa TRIGger LEVel NDex TIMe NEXT NDex TIMe PREVious Queries the prev
70. me stamped on the rising edge When the input polarity is set to FALLing an event will be time stamped on the falling edge It is important to note that the RST command sets all the channels for the rising edge The input signal polarity is selected using the following SCPI command INPut POLarity lt polarity gt lt channel_list gt Where lt polarity gt is RISing or FALLing Where lt channel_list gt is standard channel list syntax forChannels 1 through 32 EXAMPLES INP POL RIS 1 Sets input polarity for Channel I to RISing This will generate a time stamp event on the rising edge of Channel I input signal INP POL FALL 3 5 16 21 Sets input polarity for Channels 3 through 5 and Channels 16 through 21 for falling edge 36 VM1602 Programming www vxitech com INPuT SOURCE The input source command will select where the input of the channel will originate This command will select either the front panel or the VXIbus The odd numbered channels can be sourced from the TTL triggers The even channels can be sourced from the channels directly above Channel 2 can be sourced from Channel 1 This allows an input signal to generate an event from both the rising and falling edges This option is selected using ADJacent parameter The RST command sets all channels to FPAN The input source is selected using the following SCPI command INPut SOURce source lt channel_list gt Where source is FPAN TTLTrig or ADJace
71. mes reported have an uncertainty equal to the sample rate 1 with a 10 us sample rate a reported time will have a 0 to 10 us uncertainty relative to another event The purpose of reducing the sample rate from the highest resolution is to reduce the amount of data to consider and to increase the amount of time before the internal time stamp clock rolls over The time stamp clock rollover periods are as follows Step Size Roll Over Period 1 us 12 7 days 10 us 127 days 100 us 3 479 years 1 ms 34 79 years The RST command sets the time interval to 1E 6 seconds Examples Command Query Response Description SWE STEP 1E 3 SWE STEP 0 001000 Related Commands None VM1602 Command Dictionary 93 VXI Technology Inc SYNC Purpose Synchronizes multiple VM1602 boards within a VMIP host Command Syntax SYNC lt type gt 772 Description The Sync command allows up to three VM1602 modules to be synchronized within a VMIP host If only one VM1602 module is installed or if each module should function independently the default standalone parameter is used If two or three 32 channel VM1602 modules are to be used together where all 64 or 96 channels are to be in sync in terms of sample time and start time then one of the instruments must be set to Master mode and all other modules set to Slave mode In order to use the instruments in the Master Slave setup all instruments to be synce
72. mming 23 VXI Technology Inc EXAMPLES OF SCPI COMMANDS ABORT The abort command will cause the instrument to stop collecting time stamp readings if the unit is currently running It is important to note that this command does not change any other instrument settings The data collected before the abort command is the available for query ABORt No command parameters EXAMPLES ABORt Stops the data collection in progress 24 VM1602 Programming www vxitech com EVENT COUNT The event count query returns the total number of registered events that have occurred on all of the selected channels This query when used with the optional indices will return the number of events that happened between the lower and upper indices The index values represent a specific time in which an event occurred Index_1 represents the lower time and index_2 represents the upper time The event count query is selected using the following SCPI command EVENt COUNt lt index_1 gt lt index_2 gt lt channel_list gt Where lt index_I gt index 2 is a numeric value of 0 to 131 071 Where lt channel_list gt is standard channel list syntax forChannels 1 through 32 EXAMPLES EVEN COUN Since no index values or channel list is 105798 specified the query returns the total number of events that have occurred EVEN COUN 2 4 6 15 Returns the total number of events that have 65 occurred forChannels 2 4 and 6 through 15 EVEN COUN 756 1
73. n S RN is E ER ERN RE 35 INPut POLarity siete eee ea ee tte feeit pfe e dace Rete de deer dela 36 37 TYPE n oM eee c e 38 TINT Vat 22 nie enat tiet eit iw mta etia 39 SWBeDp STEP esee t EE OE I RE REY REVENU ROPA T REI RSU ERE NY EUIS ETE 40 SYN CO E 41 42 reir t vts eee 43 ICI MEAE EE 44 VM1602 Preface 3 VXI Technology Inc APPLICATION EXAMPLES et ore cet feste tte eoa Eee aee eo ee eed Yea ese ce EY e Eye xb ee 45 Triggering of Both Edges of the Input Signal sss nennen nnne 45 Process Flow Monitoring pisinisi eese tested e erede ee re RR 46 REGISTER ACCESS E UR Ue CARE EAR EPIRI Qs EE tun B OU tma S 49 Register ACCESS EN 51 VXIPLUG amp PEAY Dtiver Examples 5 ER eec e et ere REA ee RS 52 SECTION ETO O 61 COMMAND DICTIONARY n eere ve euet e PARERE 61 Introduction nette i m Et eds 61 Alphabetical Command Listing Ree etg eres ee Ae 61 Command
74. nd Description RST RT MEV STATUSOPERAoCONDiiony 922995 the Operation statas X i Condition Register STATus OPERation ENABle Sets the Operation Status Enable X i Register STATus OPERation EVENt Queries the Operation Status Event x i Register STATus PRESet Presets the Status Register STATUS OURStonable CONDI 09299705 Questionable Stotis X Condition Register STATus QUEStionable ENABle DetS the Questionable X Enable Register STATnSOUESGonablspEVENG 92999 tbe Questionable Statis X Event Register SYSTem ERRor Queries the Error Queue queue Queries which version of the SCPI 9 standard the module complies with VM1602 Command Dictionary www vxitech com COMMAND DICTIONARY The remainder of this section is devoted to the actual command dictionary Each command is fully described on its own page In defining how each command is used the following items are described Purpose Describes the purpose of the command Describes the type of command such as event or setting 0 Details the exact command format 0 and Paramete Describes the parameters sent with the command and their legal range Reset Value Describes the values assumed when the RST command is sent Que Details the exact query form of the command Query Paramete Describes the parameters sent with the command and their legal range The default parameter values are assumed the
75. nly N A RST Value N A Query Syntax SYSTem VERSion Query Parameters None Query Response Numeric ASCII value Description The System Version query reports version of the SCPI standard to which the VM1602 complies Examples Command Query Response Description SYST VERS 1994 0 Related Commands None 106 VM1602 Command Dictionary www vxitech com SECTION 5 THEORY OF OPERATION INTRODUCTION The VM1602 is a high performance Time Stamp module that has been designed for accurate relative time measurements and flexibility of configuration see Figure 5 1 The instrument uses the message based word serial interface for programming and data retrieval The instrument monitors 32 inputs for either rising or falling edges as programmed and records their relative time of occurrence INPUT FPGA VXITTL TRIGGERS ADDRESS MASK ad APTURE DATA mux gt AND CAPTU gt SOURCE TS c Loaic RAM FROM 4 POLARITY READ WRITE HOST ERONT DIFFERENTIAL REGISTER RECEIVERS i PANEL 1 MEMORY A CONTROL SELECT DECODE ENABLE INTERFACEFPGA CONTROL DATA 4 CLOCKS DEN TIMING g SELECT c RAM ADDRESS ANALOG SWITCH CONTROL ADDRESSING AND CONTROL al CONTROL DAC CONTROL AND HANDSHA
76. nt TTLTrig is valid with odd numbered channels ADJacent is valid with even numbered channels Where lt channel_list gt is standard channel list syntax for Channels 1 through 32 EXAMPLES INP SOUR FPAN Sets input source for all channels to the front panel input connector pins INP SOUR TTLT 1 3 5 Sets input source for Channels 1 3 and 5 as TTL triggers 0 1 and 2 respectively INP SOUR ADJ 2 4 6 Sets input source for Channels 2 4 and 6 as Channels 1 3 and 5 TTL triggers 0 1 and 2 respectively VM1602 Programming 37 INPuT TYPE VXI Technology Inc The input type command will select whether the input is in differential or single ended mode In differential mode the inputs switch state when the voltage on one input side exceeds the other input side i e a high level is recorded when the plus input of a channel is at a more positive voltage than the negative input of the same channel In single ended mode the negative inputs are not used and the positive inputs are compared to an internal voltage generated by an 8 bit Digital to analog Converter DAC The RST command sets all the inputs to single ended mode The input type is selected using the following SCPI command INPut TYPE lt type gt lt channel_list gt Where lt type gt is DIFF or SING Where lt channel_list gt is standard channel list syntax for Channels 1 through 32 EXAMPLES INP TYPE DIFF 1 8 Sets the input type for Chann
77. ocated near the module s backplane connectors this is the only switch on the module The switch is labeled with positions through 8 and with an ON position A switch pushed toward the ON legend will signify a logic 1 switches pushed away from the ON legend will signify a logic 0 The switch located at position 1 is the least significant bit while the switch located at position 8 is the most significant bit See figure 2 1 for examples of setting the logical address switch EY eld spatial osition alue 12345678 12345678 1 1 SET TO 4 SET TO 8 2 2 3 4 4 8 ON ON 5 16 6 32 12345678 12345678 7 64 SET TO 168 SET TO 255 8 128 Dynamic FIGURE 2 1 LOGICAL ADDRESS SWITCH SETTING EXAMPLES The VMIP may contain three separate instruments and will allocate logical addresses as required by the VXIbus specification revisions 1 3 and 1 4 It is necessary that the address of the first instrument the instrument closest to the top of the module be set at an address which is divisible by 4 and not set to 0 Switch positions 0 and must always be set to the OFF position Therefore only addresses of 4 8 12 16 252 are allowed The address switch should be set for one of these legal addresses and the address for the second instrument the instrument in the center position will automatically be set to the switch set address plus one while the third instrument the instrument in the lowest position will
78. ort form uses just the keyword characters in uppercase The long form uses the keyword characters in uppercase plus the keyword characters in lowercase Either form is acceptable Note that there are no intermediate forms All characters of the short form or all characters of the long form must be used Short forms and long forms may be freely intermixed The actual commands sent can be in upper case lower case or mixed case case 1s only used to distinguish long form and short form for the user As an example these commands are all correct and all have the same effect stat oper enab 0 stat operation enab 0 stat oper enable 0 stat operation enable 0 status oper enab 0 status operation enab 0 status oper enable 0 status operation enable 0 The following command is not correct because it uses part of the long form of STATus but not all letters of the long form statu oper enab 0 incorrect syntax VM1602 Programming 21 VXI Technology Inc All of the SCPI commands also have a query form unless otherwise noted Query forms contain a question mark The query form allows the system to ask what the current setting of a parameter is The query form of the command generally replaces the parameter with the question mark Query responses do not include the command header This means only the parameter is returned no part of the command is returned When character data is used for a parameter both short and long forms are recognized I
79. rned to a VXI Technology authorized service center The product shall be shipped prepaid to VTI and VTI shall prepay all returns of the product to the buyer However the buyer shall pay all shipping charges duties and taxes for products returned to VTI from another country VTI warrants that its software and firmware designated by VTI for use with a product will execute its programming when properly installed on that product VTI does not however warrant that the operation of the product or software or firmware will be uninterrupted or error free LIMITATION OF WARRANTY The warranty shall not apply to defects resulting from improper or inadequate maintenance by the buyer buyer supplied products or interfacing unauthorized modification or misuse operation outside the environmental specifications for the product or improper site preparation or maintenance VXI Technology Inc shall not be liable for injury to property other than the goods themselves Other than the limited warranty stated above VXI Technology Inc makes no other warranties express or implied with respect to the quality of product beyond the description of the goods on the face of the contract VTI specifically disclaims the implied warranties of merchantability and fitness for a particular purpose RESTRICTED RIGHTS LEGEND Use duplication or disclosure by the Government is subject to restrictions as set forth in subdivision b 3 11 of the Rights in Technical Data
80. s PROCESS FLOW MONITORING In this example the VM1602 Time Stamp module will be used to monitor the steps in a process flow The process has 16 steps that are required before the finished product is ready for testing The assembly steps take varying amounts of time to complete The product travels down a conveyor belt and stops at each station where a different assembly process is performed The conveyor belt has light beam switches that trigger as the product passes through the beam The light switches are located at the entrance to the assembly station The VM1602 will be used to gather the time and station ID number as product travels through the process flow The data will be gathered at midnight everyday to identify possible bottlenecks The program for terminating time stamp collection and subsequent restarting will not be covered in this example This example will concentrate on the actual time stamping as it pertains to the VM1602 The VM1602 will be set up to monitor Channels 1 through 16 only The resolution will be 1 ms as the process is labor intensive The light switch has a falling edge when the beam is broken 46 VM1602 Programming www vxitech com COMMANDS SWE STEP 1E 3 INP TYPE SING 1 16 TRIG LEV 1 0 1 16 INP POL FALL 1 16 INP SOUR FPAN 1 16 INP MASK ON 17 32 INP MASK ENAB ON INIT DESCRIPTION Selects a resolution of 1 ms Sets up Channel through 16 as single ended inputs Set
81. s trigger level threshold for Channels 1 through 16 to 1 0 V Sets Channel through 16 for falling edge trigger Configures Channel through 16 to be sourced from the front panel connector Masks out Channel 17 through 32 from generating an event Disables masked channels from event queries Starts the collection of time stamp events VM1602 Programming 47 VXI Technology Inc At midnight the program is terminated send the ABORt command and the following information gathered For clarity only the first five events and times will be examined COMMANDS DESCRIPTION TIMe DATA 1 10 Queries for time between pointers 1 and 10 10 0 910 0 1660 0 Data shows that first event occurred at 10 0 seconds into run 1810 0 2530 0 2560 0 2710 0 the second occurrence was at 15 minutes and 10 seconds The 910 0 3160 0 3460 0 3490 0 subsequent events occurred at 27 minutes 40 seconds 30 minutes and 10 seconds 42 minutes and 10 seconds etc TIMe DELTa 2 3 Queries time delta between pointers 2 and 3 750 0 Data shows that step 2 took 750 seconds or 12 minutes and 30 seconds to complete EVEN DATA 1 5 Queries for events occurring between pointers and 5 1 3 4 3 8 Shows thatChannel 1 was the Ist occurrence Channel 1 and 2 the 2nd Channel 3 for the 3rd Channel 1 and 2 for the 4th and Channel 4 for the 5th occurrence EVENt TIMe 3160 0 Queries the events that happened at 3160 0 seconds 19 Shows that Channels 1 2 5 were all acti
82. sked signal triggers an event If the signal is indeed the proper polarity and enabled non masked it will be synchronized to the user defined clock through a series of latches and captured The capture FPGA notifies the interface FPGA that an event has occurred by generating the BEENHIT signal The data 1s latched and output onto the data bus 108 VM1602 Theory of Operation www vxitech com INPUT CONTROL AND CAPTURE FPGA 330K 10K 10K CH1 s m MUX e POLARITY REGISTER LATCH CH1 Ae gt 10K THRESHOLD1 BEENHIT OR MUX MASK LATCH K POLARITY REGISTER B 330K CH20UT 10K 10K 4CH2 ANN 10K CH2 RISING ENABLE FALLING DISABLE CLOCK 10K THRESHOLD2 SELECTS DACDATA DAC DACOUT1 ANALOG CTRL1 SWITCH p DACLOAD CTRL2 THRESHOLD2 p _cTats THRESHOLDS p THRESHOLD4 FIGURE 5 2 INPUT CONTROL AND CAPTURE FPGA BLOCK DIAGRAM 109 VM1602 Theory of Operation VXI Technology Inc INTERFACE FPGA The interface FPGA generates the write enables addresses and strobes to the appropriate memories for logging of the event time and data see Figure 5 3 The event time is calculated by a 40 bit counter that is started when the VM1602
83. ta It is available the read write register at offset 0x32 It can be set written from 0 to the high water mark 1 It is auto incremented when offset 0x36 is read Offset 0x36 is part of the event index information The timer overflow data is really event index information recorded when the 31 bit timer overflows The information is up to 19 bits 512 k 1 so there is a lower 16 part of the number and an upper 16 part of the number The information is read at offsets 0x34 and 0x36 Reading the data at offset 0x36 auto increments the INDEX for this information Because the index will auto increment when the event information is read at offset 0x36 a user program to extract the information might do something as follows a Read the HIGHWATER MARK at 0x30 to determine the number of points to process b Setthe INDEX at 0x32 to 0 this is automatically done at the end of a data capture but it can be done anyway just to be safe Loop for the number of points Read the event index high at 0x34 and store Read the event index low at 0x36 and store End of Loop VM1602 Programming www vxitech com REGISTER ACCESS The model VM1602 Time Stamp Module supports access to various 32 bit data registers via the device dependent registers of the VXIbus interface The specific registers are located in 16 memory The following table shows A16 memory and the model VM1602 data register map TABLE 3 1 MEMORY MAP Ww G9 w 55228 32 Bit
84. the collection of time stamp events Command Syntax INITiate IMMediate None RST Value N A Query Syntax None Query Parameters N A Query Response N A Description The Initiate command starts the process of collecting time stamp events The Initiate command clears the counters and registers on the VM1602 After power up or after an Abort command the VM1602 will not start measuring time or recording events until the Initiate command is received This allows for other equipment in the system to be set up before recording data and prevents the collection of unnecessary data Examples Command Quer Response Description INIT MERNTTMMEVCOS 1 VM1602 Command Dictionary 91 VXI Technology Inc MFGTEST MEMory Query Response 131071 524287 Description The MFGTEST MEMory query allows the user to determine the memory option installed on the VM1602 The standard unit has 128 k 131071 and the available addition memory option provides 512 k 524287 Examples Command Quer Response Description NA 8 L1 8 8 92 VM1602 Command Dictionary www vxitech com SWEep STEP Purpose Sets the time stamp resolution period Command Syntax SWEep STEP lt time_interval gt Description The Sweep Step command sets the sample rate of the time stamp module The sample rate sets the time interval that the time stamps can resolve and all the ti
85. the query is used the slot 0 controller should be set up to time out in a reasonable period of time Examples Command Query Response Description Sets the OPC bit in the Event Status Register Returns the value of the Event Status Register Related Commands 70 VM1602 Command Dictionary www vxitech com RST Purpose Resets the module s hardware and software to a known state Type IEEE 488 2 Common Command Command Syntax RST N A RST Value N A Query Syntax N A Query Parameters N A Query Response N A Description The Reset RST command resets the module s hardware and software to a known state See the command index at the beginning of this chapter for the default parameter values used with this command Examples Command Query Response Description RST Resets the module Related Commands N A VM1602 Command Dictionary 71 VXI Technology Inc SRE Purpose Sets the service request enable register Type IEEE 488 2 Common Command Command Syntax SRE lt mask gt lt mask gt Numeric ASCII value from 0 to 255 RST Value None Required Parameter Query Syntax SRE Query Parameters N A Query Response Numeric ASCII value from 0 to 255 Description The Service Request Enable SRE mask is used to control which bits in the status byte generate back plane interrupts If a b
86. tvm1602 CHANNEL GROUP 8 else if channelList i gt 24 channelGroup vtvm1602 CHANNEL GROUP 7 else if channelList i 20 channelGroup vtvm1602 CHANNEL GROUP 6 else if channelList i 16 channelGroup vtvm1602 CHANNEL GROUP 5 else if channelList i 12 channelGroup vtvm1602 CHANNEL GROUP 4 else if channelList i 8 channelGroup vtvm1602 CHANNEL GROUP 3 else if channelList i 4 channelGroup vtvm1602 CHANNEL GROUP 2 else channelGroup vtvm1602 CHANNEL GROUP 1 Configuring the trigger level for the specified channels 224 status vtvm1602 configTriggerLevel instrHndl channelGroup voltage i if status lt VI_SUCCESS return status Configuring the sample rate of the time stamping xj status vtvm1602 configSweep instrHndl timeInterval if status VI SUCCESS return status Enabling the collection of time stamp events status vtvm1602 startStopData instrHndl vtvm1602 START STOP INIT if status VI SUCCESS return status Providing a delay of 10 seconds for the module to collect time stamp data 7 Delay 10 56 VM1602 Programming www vxitech com Stopping the data collection in progress status vtvm1602 startStopData instrHndl vtvm1602 START STOP ABOR if status VI SUCCESS return status Querying the number of registered events on the specified channels status
87. ue of 1 indexes to the end of the data set the end of RAM or the last recorded event whichever is less ASCII numeric value ranging from 0 000000 to 1 099 511 627780 seconds Query Response time is reported in seconds with 1 us resolution regardless of the time stamp interval Description The Time Delta query reports the time period between two time stamp indices The selected The response is represented in a fixed format numeric value Command Quer Response Description Related Commands FREQuency DELTa Examples 96 VM1602 Command Dictionary www vxitech com TRIGger LEVel Purpose Sets the trigger level for a group of four channels Command Syntax TRIGger LEVel lt voltage gt lt channel_list gt lt voltage gt 5 0 to 4 96 lt channel_list gt Standard channel list format supporting Channels 1 5 9 13 17 21 25 and 29 only RST Value lt voltage gt 1 79 V lt channel list gt All channels selected Query Syntax TRIGger LEVel lt channel gt Query Parameters lt channel gt 1 to 32 Query Response ASCII numeric value from 5 0 to 5 0 volts for single ended channels OFF for channels which are differential Description The Trigger Level command sets the trigger threshold for a group of four channels Because each group of four consecutive channels share a common threshold DAC it is only necessary to set eight levels To avoid redundancy of setting thresholds this command only
88. value of 1 indexes to the end of the data set the end of RAM or the last recorded event whichever is less Query Response ASCII numeric value ranging from 0 000000 to 1 099 511 627780 seconds Description The Time Data query reports the time stamp data when the specific time stamp occurred for a single index or series of indices The time reported is relative to when the instrument was initiated and is in a fixed format numeric value The time value is reported in seconds with 1 us resolution regardless of the time stamp interval selected It should be noted that the time stamp counter is reset with each initiate or command Therefore there is no correlation between independent data collection runs The time data is intended to be used to determine the time between events within a single collection run The time data may be used between instruments if they are synchronized and is actually the only way to correlate events between synchronized instruments Examples Command Query Response Description TIM DATA 5 0 000123 TIM DATA 5 7 0 00123 0 002005 0 101134 Related Commands VM1602 Command Dictionary 95 VXI Technology Inc TIMe DELTa a RST Value Data Cleared Query Syntax TIMe DELTa lt index_1 gt lt index_2 gt Query Parameters lt index_1 gt 0 to 131 071 0 to 524 287 if 512 k RAM option is installed lt index_2 gt 0 to 131 071 0 to 524 287 if 512 k RAM option is installed A val
89. ve at 3160 0 seconds into the run 48 VM1602 Programming www vxitech com REGISTER ACCESS The VM1602 module provides pseudo register access for high speed data transfers There are two different RAM configurations that the module supports One allows up to 128 k events and the other allows up to 512 k events Each event is 32 bits of information Associated with each event is 40 bits of time information This information is available through pseudo register access Some of the information is simple and straightforward to use Some of the information requires more post processing The number of events stored is called HIGHWATER MARK This is available in the read only registers at offsets 0x20 and 0x22 the information is up to 20 bits so there is a lower 16 bit part of the number and the upper 16 part of the number The information is valid only after a data collection has stopped While a data collection is in progress this will most likely to be read as 0 This is the same number that is retrieved with the word serial EVENt COUNt query The INDEX is a pointer to the event and time data It is available in the read write registers at offset 0x24 and 0x26 this information is up to 19 bits so there is a lower 16 bit part of the number and an upper 16 bit part of the number It can be set written from 0 to HIGHWATER MARK 1 It is auto incremented when the offset 0x2E is read Offset 0x2E is a part of the EVENT information
90. vents address in RAM The time parameter must be an exact match or an error is generated The event time query is selected using the following SCPI command EVENt TIMe time Where lt time gt is a numeric value of 0 to 1 099 511 62778 seconds EXAMPLES EVEN TIM 1 00566 Returns the location in RAM where the event 15 753 data is stored for the time of 1 00566 Assuming that an event occurred at the time of 0 00276 EVEN TIM 0 00275 The designate that an error was bee generated This is because no event occurred at the specified time VM1602 Programming 27 VXI Technology Inc EVENT TIME NEXT This query is used to return the next event data occurring after the specified time The event time next query returns a value from 0 to 4 294 967 295 that correlates to the event or events number The channel list parameter is used to exclude unwanted events during the search The returned event data includes all channels regardless of the mask The event time next query is selected using the following SCPI command EVENt TIMe NEXT lt time gt lt channel_list gt Where lt time gt is a numeric value of 0 to 1 099 511 62778 seconds Where lt channel_list gt is standard channel list syntax forChannels 1 through 32 EXAMPLES EVEN TIM NEXT 0 All channels are evaluated during the 8 192 search The returned value of 8 192 Channel 14 is the first occurring event or events after the trace began EVE
91. will disable or enable an input Where channel list is standard channel list syntax for Channels 1 through 32 EXAMPLES INP MASK ON 91 7 Disables Channels 1 through 7 to generate time stamp events INP MASK 0 9 11 13 15 16 Enables Channels 9 11 13 15 and 16 from generating time stamp events 34 VM1602 Programming www vxitech com INPuT MASK ENABLE The input mask enable command controls whether masked disabled input channels are included in the data searches which are performed when data queries are requested For example if Channels 15 through 32 are disabled using INPut MASK command INPut MASK ON 15 32 and then the INPut MASK enable is turned on only the data for Channels 1 through 14 would be reported If the INPut MASK ENABle is turned off all channel data 1 through 32 would be reported The input mask enable command is selected using the following SCPI command INPut MASK ENABle ON OFF 1 0 Where ON OFF will disable enable a channel during data searches EXAMPLES INP MASK ENAB ON Disables masked channels from affecting query responses INP MASK ENAB 0 During data queries all events will be reported including masked channels Note The RST command enables the mask VM1602 Programming 35 VXI Technology Inc INPUT POLARITY The input polarity command will select which edge will cause the time stamp event to occur When the input polarity is set to RISing an event will be ti

Download Pdf Manuals

image

Related Search

Related Contents

Massive Table lamp 43126/17/10      Fujitsu M9000 User's Manual  Télécharger notre plaquette  040379 QSE-CI-DMX Installation Instructions  "user manual"    HBW-20 bass combo user manual  Section 2. Hardware Connectivity  

Copyright © All rights reserved.
Failed to retrieve file