Home
82-0127-007--Manual, User`s, EX1200-1538--Rev
Contents
1. Tooth Count 12 lt 9 B lt 4 LL RPM 100 RPM 100 Tooth Count 12 FIGURE 3 17 NOMINAL TOOTH COUNT FOR RPM MEASUREMENTS When using the RPM function ramp up time ramp down time and derivative parameters such as acceleration deceleration etc can be measured by tweaking the averaging window sample trigger etc Time Interval Measurement Time Interval or pulse edge separation measurements determine the time elapsed between the transition states of two signals on two different channels as shown in Figure 3 18 When the Slope of the signal is set to Positive the Time Interval function uses the positive going state transition while the negative transition state is used when the Slope parameter is Negative Since the Time Interval function is comparative one channel must be defined as the Reference channel while the other channel is referred to as the Measurement channel If a Measurement channel is not defined the EX1200 1538 automatically uses the next adjacent channel as the reference channel If the input signal is not present or if the input signal does not crosses the configured threshold limit the measurement will be waiting continuously for the signal To prevent this A
2. inputs 22 OVEIVIEW eee 2l period measurements sese eee eee eee 25 phase measurements eee eee eee eee eee 31 polarity conversion d pulse width measurement sese eee eee eee eee 27 quadrature Measurements sees eee eee eee eee 31 RPM measurements 29 signal conversion 23 time interval measurements 30 STE TT 24 Counter timer operaton sees eee 21 32 D IR digital UO circuit protection digital UO function sss eee eeeee digital UO operation dynamic update mode formulas sss eee eee eee eee 34 current formula L voltage STT 35 E edge Counting function sss eee eee eee eee 42 F firmware VETSION EE 58 Frequency TE 42 COM PANE oisi oire E e EEN eee cease tins 17 I JEBE E Dt id Ae 58 index web page eee 58 initializing closing the mmstrument eee ee eee eee 37 TT 58 J bT C 28 L LAN Instrument Connection and Upgrade utility 00 57 LXT ClASS es reant SR Taa SYR carte RREO 58 EXT VGrSlOM S52 dss suas esesie A ieestava tan crest E E vase Gb vest dass 58 M MOVIN vergi See average count mode 0 option TT 38 P phase difference fUNCtiON 0 cee S002521 51 plug in module EE EE TE POWER EEN power consumption Drogramming analog output function TTT digital T O functi n TT edge counting function fr quenicy E TS option strings phase difference function sss eee 51 Quadrature encoder function sss 51 related software compnents 37 RPM function
3. Module Front Module panel Backplane Scaled input voltage of AIN_Ch_x gt o gt gt Frequency o Range yo MUX Hysteresis Threshold selection level DAC level DAC Freq Max i Coupling Freq Min S i selection A D Refresh AIN_Ch_x SS ice O E Threshold Detector O TL E DH i Z rape TS Er Disable O QV AOC S Polarity Raising Edge tection modifier Noise Fiter EES Falling Edge O TOXO Ret Electronic Channel lection Oscillator 50MHz Counter Logic Normal Active High gt Sme ova oc S protection Inverted Active Low C Noise Filter ro Index 2 pulses of quadrature encoder Digital input T Digtal output O Opto Isolator gt 4 a KC E High Voltage Transient JA Direction Control DIO Control DIO_CHx_N Protection section Solid state switch when Output le 24V internal 24mA Current 424V Ret e power supply nae a non isolated Opto Isolation Barrier Le Ale Static Update gt Dregeie n Gi DAC Control Section Output Ampl
4. Upgrade eg Wi Reset v FIGURE 6 3 EX1200 SOFT FRONT PANEL MAIN PAGE 60 EX1200 1538 SFP Operation www vtiinstruments com COUNTER CONTROL PAGE By default the EX1200 1538 SFP opens to the Counter page From this view the user can define a channel s function input mode aperture time etc A channel can only be configured with the Enabled checkbox is not selected Once Enabled is selected for a channel all configuration options are grayed out and cannot be modified Device Information Monitor Commen Dio Dac CH CHZ Channel Name CH2 Enabled LC Fifo Enabled Li Function Totalize otalize Vv Input Mode SingleEnded v Coupling DC amp v Impedance 195 000 195 000 0 0 0 002 0 002 0 05 0 05 0 05 1 000 000 1 000 000 1 000 000 Normal Normal Y Normal Vv Digital Y Digital v Positive Positive Y Positive K CH2 CH3 Y CH4 v Channel CH1 CH1 WICH v Preset Count 0 0 low Mode Wraparound Y Wraparound Vv v Averaging Mode ApertureTime Y ApertureTime v rture Time 0 001 0 001 0 001 Average Count 1 1 Average Repeat Tooth Count 1 1 Tooth State Normal Y Normal Y Normal v Connected FIGURE 6 4 EX1200 1538 COUNTER PAGE THREE CHANNELS SHOWN The following configuration options are provided for each counter channel Note that some options may be dependent on the function selected or other parameters Each parameter indicates when it is available for configuratio
5. 45 time interval function 48 Ve EE 39 sing the diiy enirigis esiritta iiae iA N Ei 37 Quadrature encoder function sss sese 51 R revolutions per minute sees eee eee eee eee eee RPM TTT tooth count parameter ais RPM TUNGU ON eege Eeer A simple averaging onnsa See aperture time mode soft front panel counter control Pages secsssnsssssseaierssastesssesseassnesstreeeeesetetes 61 EX1200 1538 SFP Operation 69 VTI Instruments Corp DAG control pages gedd KENE Ee 64 system power requirements see eee ee eee eee eee 15 DAC status 65 data acquisition data D I T SE Re ae pie pe an pg es ys terminal bloCk tege eege 18 See accessories DIO Control e si T TE aE L terminal block receiver sicscsecssevesssceesedesaenassessesssossensenatssvassizeenss 18 DIO status pag e time interval function sese 48 EBD Bangl EE tOtalize TunctiOn 22 EE 39 lock Setahun U monitor page reset Tee lt T 15 specifications analog output Ww counter input ET EE KAREN 16 general KO DEE 5 SUPPOFt EEGENEN dE 70 EX1200 1538 Index
6. For warranty service or repair this product must be returned to a VTI Instruments 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 VTI Instruments Corp shall not be liable for injury to property other than the goods themselves Other than the limited warranty stated above VTI Instruments Corp 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 TRADEMARKS Java Runtime Environment are trademarks or registered trademarks of Sun Microsystems Inc or its
7. a Vulle Instruments EX1200 1538 MULTIFUNCTION COUNTER TIMER USER S MANUAL P N 82 0127 003 Released May 4 2011 VTI Instruments Corp 2031 Main Street Irvine CA 92614 6509 949 955 1894 VTI Instruments Corp TABLE OF CONTENTS Table of Contents ennen ined ela lel ke ed Rea Sa eee elcome lam eens 2 Certificat om TTT 4 KE E EE 4 Limitation Of Warranty sciens nenin a EENS EE REA ENEE Eder Ed 4 BR LEE 4 Restricted Rights Legend eReRE EENS ENEE de 4 EIN REENERT EE 5 Terms and Symbols isciecisiscehi sedis sek Scie okie eedil teagan a dt Nhe dete eee ae 5 Warning EE 5 SUPPORT RESOURCES eT SETT ONET TTNET rN EA 7 SECTION Liv sssciesssissssssticdsncsssatsvascoocbavesssosesensoctseesseceassedootesonssoseseasedsesessesseesdestsesbensssssbadsuaesboovasscsocdasonsoudedessecdssesseetesoas 9 INTRODUCTION BEE 9 LSR 9 Feat ES AE TE EE tei davon E cas E lesen inning uscecavea ERE AAE A EERE E EENES E 10 EX 1200 1538 Specifications nni e e E r EREE TES Ea PESEE S RE EREE IVa ENEE ENEE 11 Frequency Measurement Using Digital Input 13 Frequency Measurement Using Analog Input 13 Period Measurement Using Digital Input 13 Period Measurement Using Analog Input 13 Pulse Width Measurement Accuracy Using Digital and Analog Inputs sese ee eee eee 14 Duty TEE 14 Time Interval Measurement Accuracy Using Analog and Digital Inputs sss sss sss sese ee eee eee eee 14 E et H LE 15 USING THE INSTRUMEN T TTT 15 Ui EE 15 Determine Sys
8. e Description Enter to getchar mac win ID BEN el ErrorMessage MB ICONERROR 56 EX1200 1538 Programming the Instrument www vtiinstruments com SECTION 6 SFP OPERATION INTRODUCTION EX1200s offer an embedded web page which provides network configuration control time configuration and the ability to perform firmware upgrades To facilitate discovery of the mainframe VTI provides the LAN Instrument Connection and Upgrade LInC U utility on the VTI Instruments Corp Drivers and Product Manuals CD included with the EX1200 mainframe To open the embedded web page start the LInC U utility by navigating to Start Programs VTI Instruments Corporation LInC U Utility LInC U Utility Once the utility is run LInC U will scan the network to discover all LAN based VTI instruments Once the scan is complete the Discovery Devices tab will appear and show the instruments that were discovered as shown in Figure 6 1 To open the web page click on the hostname hyperlink in the Discover Devices tab The IP address of the EX1200 can also be view from this window as well as its firmware version SR fs EICH UIT File Configure Help Discover Devices Firmware Drivers Add device _ Hostname Version IP Address eg EX1268 124079 ex 124079 local 3 9 0 devel 10 1 4 88 EX1208 635240 ex 635240 local 3 9 0 devel 10 1 4 67 EX1266 125225 ex 125225 local 3 9 0 devel 10
9. gt Channels gt Item CH2 gt Function VTEXMultifunctionCounterFunctionTotalize Totalize measurement setting You can also work with the following functions by changing the channel function VTEXMultifunctionCounterFunctionEdgeCount SE 5V hysteresis for measuring the sine wave mfunction gt Counter gt Channels gt Item CH2 gt ConfigureThreshold 0 5 VTEXMultifunctionCounterSlopePositive Polarity setting will NOT have any effet on totalize measurement since it counts both the rising and falling edges But in case of Edgecount measurement normal polarity will count rising edges and inverse polarity will count falling edges mfunction gt Counter gt Channels gt Item CH2 gt Polarity VTEXMultifunctionCounterPolarityNormal This measures the frequency between 5000Hz and 1Hz mfunction gt Counter gt Channels gt Item CH2 gt UpperFrequencyLimit 5000 Maximum frequency of 5000Hz mfunction gt Counter gt Channels gt Item CH2 gt LowerFrequencyLimit 1 Lower frequency of 1Hz Enable Fifo for the channels mfunction gt Counter gt Channels gt Item CH2 gt FifoEnabled VARIANT TRUE EX1200 1538 Programming the Instrument 39 VTI Instruments Corp Aperature time setting is not required for Edge count and totalize measurement This setting will NOT have any effect on totalize and edge count Measurements measuring
10. gt Polarity VTEXMultifunctionCounterPolarityInverse Enable Fifo for the channels mfunction gt Counter gt Channels gt Item CH3 gt FifoEnabled VARIANT TRUE Aperature time setting is not required for Edge count and totalize measurement This setting will NOT have any effect on totalize and edge count Measurements L Here we are using software trigger Using immediate trigger will store the value for every edg Since we need the count say after 2 seconds we are using software trigger mfunction gt Trigger gt Source VTEXMultifunctionTriggerSourceSoftware Start measurement mfunction gt Measurement gt Initiate HiME ZE DEE 2 do Wait for 2 seconds for collecting no of edges rising and falling printf Waiting for 2 seconds n Sleep 2000 printf sending software trigger n 40 EX1200 1538 Programming the Instrument www vtiinstruments com send a software trigger for transferring data to get a snap short of totalize count mfunction gt Measurement gt SendSoftwareTrigger fifocount mfunction gt Measurement gt FifoCount E wale Geshixoeeinc lt 1O No of enabled channels here it is two Channel 1 and channel 2 int mG Cit Chennels mettel 27 For each trigger all channels data will be stored In our case 2 channels is enabled and 10 readings are taken So we will get 20 data points in the data array SAFEARRAY data NULL
11. ine MG Oi Cliciamols enabled 2 For each trigger all channels data will be stored In our case 2 channels is enabled and 10 readings are taken So we will get 20 data points in the data array SAFEARRAY data NULL SAFEARRAY time NULL SAFEARRAY time fraction NULL Read the measurements mfunction gt Measurement gt ReadFifo 0 fifocount amp data amp time amp time fraction Ee GONG enn 0 mS Call Err OCOUNE aS Gallas double dSecond dFraction SafeArrayGetElement time amp scan void amp dSecond SafeArrayGetElement time fraction amp scan void amp dFraction fprintf stderr Time f n dSecond dFraction for int channel 0 channel lt no of channels enabled channel Jeng Gert aime Seam mo Of Cleimmeils Gmealolec Clieimmeil lt double dData SafeArrayGetElement data amp dataindex void amp dData fprintf stderr Channel d Frequency f r n channelt l dData Abort the measurement mfunction gt Measurement gt Abort Cave Chive 1 emt EE MessageBox NULL e Description e ErrorMessage MB ICONERROR 44 EX1200 1538 Programming the Instrument www vtiinstruments com if mfunction NULL amp amp mfunction gt Initialized Close driver mfunction gt Close ste Gom error el MessageBox NULL e Description e ErrorMess
12. up to 60 V AC DC UPDATE CONTROL Software paced ANALOG OUTPUT DAC SPECIFICATIONS NUMBER OF CHANNELS 2 OUTPUT TYPE Constant voltage or constant current VOLTAGE MODE RANGE 10 V bipolar can supply up to 20 mA per channel CURRENT MODE RANGE 20 mA bipolar can drive up to 250 Q load 10V compliance OUTPUT RESOLUTION 16 bit ISOLATION Channel to channel galvanic OUTPUT MODE Static Mode or Dynamic mode frequency to voltage current conversion PROTECTION Open and short circuit for continuous duration of time ACCESSORIES MATING CONNECTOR NO CRIMP Description 104 pin HD D sub mating connector with hood and pins fixed contacts no crimp tool required VTI part number 27 0389 104 Manufacturer part number _Positronics ODD104M210GEX MATING CONNECTOR CRIMP STYLE Description 104 pin HD D sub mating connector backshell and pins crimp style VTI part number 27 0390 104 Manufacturer part number Positronics ODD104M10Y0X CRIMP TOOL Description Crimp tooling includes handle and positioner 22 AWG VTI part number 70 0297 001 Manufacturer part number Positronics 9507 tool and 9502 4 0 0 positioner PRE ASSEMBLED UNTERMINATED WIRING HARNESS Description 104 pin HD D sub mating connector and backshell with 3 ft unterminated 22 AWG wire VTI part number 70 0363 501 TERMINAL BLOCK Description EX1200 TB104P 1 single ended VTI
13. world signal without the need for external signal conditioners Programmable hysteresis and threshold levels over the entire input voltage range help to extract the fundamental frequency from even the noisiest of analog input signals Electronic counter channels can directly measure the RPM of tooth wheel and similar sensors The EX1200 1538 provides a unique functionality that prevents the frequency bumps caused by the missing extra tooth used for marking a tooth wheel sensor s reference Additionally counter channels can measure position and speed from Quadrature encoder signal pairs including index channel A B and Z The onboard memory of EX1200 1538 can store up to 256 000 measurement readings and supports the unified EX 1200 triggering system By utilizing IEEE 1588 time stamps data samples can be easily correlated with other systems Measurements can be paced at a constant rate so that time differential parameters such as acceleration can be calculated The EX1200 1538 DIO channels can be configured as inputs or outputs on a per channel basis Each channel is isolated from the other and accepts voltages between 2 5V and 60 V The output channels use solid state switches that work in any polarity Setting the output logic levels and reading the input logic states are fully programmable DAC output channels are configurable as either constant voltage or current mode and are independent of each other The output range is fixed 10 V in v
14. 1 Lower frequency of 1Hz Measure on all the Rising edges mfunction gt Counter gt Channels gt Item CH2 gt Polarity VTEXMultifunctionCounterPolarityNormal Aperture time of 10 seconds say the minimum frequency to be measures is 1Hz i e lsecond period This setting averages the measured frequency for timespan of 10seconds mfunction gt Counter gt Channels gt Item CH2 gt AverageMode VTEXMultifunctionCounterAverageModeApertureTime mfunction gt Counter gt Channels gt Item CH2 gt ApertureTime 1 2 aperature time in seconds EX1200 1538 Programming the Instrument 43 VTI Instruments Corp Enable Fifo for the channels mfunction gt Counter gt Channels gt Item CH2 gt FifoEnabled VARIANT TRUE mfunction gt Trigger gt Source VTEXMultifunctionTriggerSourceImmediate Start measurement mfunction gt Measurement gt Initiate int fifocount loopcount 0 do Take measurement for 10 times fifocount mfunction gt Measurement gt FifoCount Sleep 1000 if loopcount gt 10 printf Expected Fifo count 10 is not Available Exiting OOO MEN 3 break loopcountt Jk mt ke Geshixeceuiae lt TOJ SERRE Et Een Count TCA E LEER HET y if fifocount lt 0 Exiting function when no data available Dramen ONO WES T L He 4 a FZ return 0 No of enabled channels here it is two Channel 1 and channel 2
15. 1 4 4 EX1266 122749 ex 122749 local 3 7 0 10 1 4 135 Ex7000 583670 ex 583670 local 3 9 2 10 1 4 83 Ex25004 125294 EX25004 646864 local 2 1 0 10 1 4 23 Ex1629 119639 10 1 4 115 1 6 0 10 1 4 115 Found 7 devices i FIGURE 6 1 LINC U DISCOVERY TAB WITH AN EX1268 SELECTED Alternatively the EX1200 may also be discovered using Internet Explorer s Bonjour for Windows plug in by entering the mainframe s IP address into the address bar of any web browser to view the embedded web page or using VXI 11 For more information on discovery methods refer to the EX1200 Series Leer e Manual P N 82 0127 000 EX1200 1538 SFP Operation 57 VTI Instruments Corp GENERAL WEB PAGE OPERATION When initial connection is made to the EX1200 the instrument home page Index appears see Figure 6 2 This page displays instrument specific information including Model Manufacturer Serial Number Description LXI Class LXI Version Hostname MAC Address IP Address Netmask Instrument Address String Firmware Version IEEE 1588 Time The Index is accessible from any other instrument page by clicking on the EX1200 web page header The EX1200 Command Menu is displayed on the left hand side of every internal web page The entries on the command menu represent three types of pages Status This type of page performs no action and accepts no entries It provides operational status and information only The Index page is an example of a
16. 1538 has only TTL logic for Digital channels So range setting is ignored Digital channels configuration Coupling setting is ignored for Digital channel Only DC coupling is possible for Digital channel mfunction gt Counter gt Channels gt Item CH2 gt ConfigureInput VARIANT TRUE EXMultifunctionCounterInputTypeDigital VTEXMultifunctionCounterInputModeSingleEnded 0 rEXMultifunctionCounterCouplingDC 3 7 V V RPM measurement setting mfunction gt Counter gt Channels gt Item CH2 gt Function VTEXMultifunctionCounterFunctionRpm Threshold limits setting for Digital signal measurements are not required This measures the frequency between 10000Hz and 1Hz mfunction gt Counter gt Channels gt Item CH2 gt UpperFrequencyLimit Maximum frequency of 10000Hz mfunction gt Counter gt Channels gt Item CH2 gt LowerFrequencyLimit 1 Lower frequency of 1Hz 10000 This setting determines the no of pulses for each revolution In our case it is 32 So 32 pulses makes one full revolution mfunction gt Counter gt Channels gt Item CH2 gt RpmToothCount 32 No missing count would be added or subtracted from actual count mfunction gt Counter gt Channels gt Item CH2 gt RpmToothState VTEXMultifunctionCounterRpmToothStateNormal Aperture time of 1 sencond It averages the RPM for timespan for every second mfunction gt
17. 1Hz Aperture time of 1 seconds This setting averages the measured frequency for timespan of 10seconds mfunction gt Counter gt Channels gt Item CH1 gt AverageMode mfunction gt Counter gt Channels gt Item CH1 gt ApertureTime 1 time in seconds Channel 1 measuremen Si s VTEXMultif 2 VTEXMultif at al VTEXMultif case it is VTEXMultif second Set Channel 2 as the referenc is for A signal channel B signal of quadrature endcoder mfunction gt Counter gt Channels gt Item CH1 gt ReferenceChannel CH2 Using 1st index channel Note that this refers to Index channel name not t channel name mfunction gt Counter gt Channels gt Item CH1 gt IndexChannel CH1 mfunction gt Counter gt Channels gt Item CH2 gt ConfigureInput VARIANT TRUE unctionCounterInputTypeDigital VTEXMultifunctionCounterInputModeSingleEnded 0 unctionCounterCouplingDC mfunction gt Counter gt Channels gt Item CH2 gt Function unctionCounterFunctionRpm Enable Fifo for the channels mfunction gt Counter gt Channels gt Item CH1 gt FifoEnabled mfunction gt Counter gt Channels gt Item CH2 gt FifoEnabled This setting determines the no 32 So 32 pulses makes one full revolution mfunction gt Counter gt Channels gt I VARIANT TRU VARIANT TRU ER Cl les ER of pulses for e
18. Counter gt Channels gt Item CH2 gt AverageMode VTEXMultifunctionCounterAverageModeApertureTime 46 EX1200 1538 Programming the Instrument www vtiinstruments com mfunction gt Counter gt Channels gt Item CH2 gt ApertureTime 1 aperature time in seconds Enable Fifo for the channel mfunction gt Counter gt Channels gt Item CH2 gt FifoEnabled VARIANT TRUE L mfunction gt Trigger gt Source VTEXMultifunctionTriggerSourceImmediate Start measurement mfunction gt Measurement gt Initiate int fifocount loopcount 0 do Take measurement for 10 times fifocount mfunction gt Measurement gt FifoCount Sleep 1000 aie leen 1O printf Expected Fifo count 10 is not Available Exiting TOONA break loopcount while fifocount lt 10 primei Winking Count E EE if fifocount lt 0 Exiting function when no data available printe WING ITALIE Cleve PXI TINn ZE ON A return 0 No of enabled channels here it is two Channel 1 and channel 2 Lime no Cie Channels enabled 2 For each trigger all channels data will be stored In our case 2 channels is enabled and 10 readings are taken So we will get 20 data points in the data array SAFEARRAY data NULL SAFEARRAY time NULL SAFEARRAY time fraction NULL Read the measurements mfunction gt Measurement gt ReadFifo 0 fifocount amp data amp
19. Frequency Measurement As the inverse of the Period function the EX1200 1538 can also make Frequency f measurements The reciprocal counting technique is used to calculate the frequency of an input signal To do so the period of incoming signal is measured and the inverse of the result is reported provide a frequency result As is true with the period measurements frequency measurements typically utilize averaging methods in their calculations Frequency measurements however can be made without averaging results To do so set the Averaging Mode to the Average Count then set the Average Count value to 1 By doing so the EX1200 1538 returns a frequency measurement for each incoming pulse When measuring frequency a period measurement is made from one rising edge to the next If the rise time of an input is long however frequency measurement accuracy can be affected by the jitter in the transition time To obtain the most accurate frequency measurement jitter on the rising edges should be reduced as much as possible 28 EX1200 1538 Counter Timer Operation www vtiinstruments com Jitter Jitter T FIGURE 3 15 EFFECT OF JITTER ON FREQUENCY MEASUREMENTS In Figure 3 15 the logic pattern has a long rise time and sharp fall time When the signal is read by the analog digital counter input channels the jitter creates uncertainty when trying to identify the point at which the logical high begins To redu
20. Phone 949 955 1894 Fax 949 955 3041 VTI Instruments Pvt Ltd Bangalore Instrument Division 135 II amp III Floors Infantry Road Bangalore 560 001 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 Visit http www vtiinstruments com for worldwide support sites and service plan information EX1200 1538 Preface 7 VTI Instruments Corp EX1200 1538 Preface www vtiinstruments com SECTION 1 INTRODUCTION OVERVIEW The EX1200 1538 is a high performance multifunction card designed to provide frequency measurement digital I O DIO and digital to analog conversion DAC output capability on a single card This allows users the ability to accommodate a wide range of mixed signals into a standard EX1200 series mainframe Combining the EX1200 1538 with other cards instruments in the EX1200 series allows for the creation of a complete measurement system in as small as a 1U rack space The EX1200 1538 provides eight channels of independent 32 bit counters sixteen channels of isolated DIO and two DAC channels with isolated analog output While the refined electronic counter functions enhance the accuracy of time and frequency domain measurements configurable DIO and analog output channels offer flexibility to measure and control various industrial systems A wide rang
21. TE Eae EE ESKE oere iE S SEENEN ri 58 VH Instruments oo go E 59 EX1200 1538 Sott Bront Panel arre aT Er R ETE EAE E EaR A 60 Counter Control Page cs enina e a E e eaer aE EEE REESEN 6l DIO Control Pagerinta E ra aer E a E E rE E E T SE rE S E E eer ET EEr 63 DAC RRE 64 Monitor T 65 EED EE Ea E E E E TE R E E E E sagan neae 65 DIO Status Section EE 65 DAC T E 65 Data L g KEE 66 Data Acquisition Section seu ctre DEENEN AER RT R TdT 3 Yay SS E 66 Lock Unlock UTI T 66 Reset B ttoN EE 66 Device Information L 67 IN DER 69 EX1200 1538 Preface 3 VTI Instruments Corp CERTIFICATION VTI Instruments Corp VTI 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 one year 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
22. are available on VTI IVI drivers Simulate Allows the user to run a program without commanding switch card or instruments This option is useful as a debugging tool Cache Per the IVI specification this option specifies whether or not to cache the value of attributes Caching allows IVI drivers to maintain certain instrument settings to avoid sending redundant commands The standard allows for certain values to be cached always or never In VTI IVI drivers all values used are of one of these types As such any values entered will have no effect on functionality QueryInstrumentStatus Queries the instrument for errors after each call is made As implemented in the VTI IVI drivers instruments status is always queried regardless of the value of this property DriverSetup Must be last and contains the following properties o Logfile Allows the user to specify a file to which the driver can log calls and other data o Logmode Specifies the mode in which the log file is opened The allowed modes are w truncate s the file to zero length or creates a text file for writing a opens the file for adding information to the end of the file The file is created if it does not exist The stream is positioned at the end of the file o LogLevel Allows the user to determine the severity of a log message by providing a level indicator to the log entry o Slots This is the most commonly used option and it allows for a slot number or a slot number an
23. can be configured as static outputs that generate a scalar voltage or current value on the specified digital I O channel As a static output the value is controlled by the application software only and cannot respond to triggers Dynamic Update Mode Any counter channel can be configured for dynamic update allowing the channel s frequency to be converted into either a current 0 mA to 20 mA or voltage 0 V to 10 V output based on the drive mode of the DAC channel The conversion formulae are based on the Lower Frequency Limit Upper Frequency Limit of the counter channel and the DAC channel s Refresh rate 34 EX1200 1538 Digital I O and Analog Output Operation www vtiinstruments com Voltage Formula Co z F RFr a Oy Y _ x 10 Far Fro Current Formula Co R F RFr LO Oc mA x 20 Fur Fro Where Oy Voltage output from DAC in volts Oc Current output from DAC in mA Co Number of pulses counted within Refresh rate window RFr Refresh rate setting of DAC Fy Upper frequency limit of the counter channel Fa Lower frequency limit of the counter channel The dynamic update mode and the counter channel s measurement function are independent of each other For example the measurement function of a counter channel can be configured for pulse width or edge counting measurements but can still be used for frequency to voltage current conversion The refresh inter
24. coupling is selectable on a per channel basis for analog inputs In DC coupling mode the signal is passed as is without modification DC coupling is suitable for most applications However if the input signal contains a large unpredictable DC offset AC coupling mode may be used In this mode each channel contains a series capacitor 0 47 uF which helps block the DC component from the input signal while allowing the AC component of the signal to pass The digital input channels are always DC coupled 22 EX1200 1538 Counter Timer Operation www vtiinstruments com Signal Conversion A programmable threshold detector is used to convert the analog input signals to digital states The high and low trigger levels of a signal can be programmed using the level and hysteresis parameters as shown in Figure 3 4 Noe VLevel Vuysreresis Viow V Level VHYSTERESIS Trigger Points Input Vua Signal High Threshold Level Ground Level Low Threshold T i 1 1 i Digital F l igi ech SCH Output Je Signal FIGURE 3 4 THRESHOLD AND HYSTERESIS LEVELS Level and hysteresis are programmed in 1 mV steps over the entire voltage input range These values should not exceed the minimum and maximum voltage limits of the input range 48 V VruresHoLp Vuysteresis lt 48 V When setting the level and hysteresis it is important to note improper settings can adversely affect measurements In Fig
25. directory and access all relevant VIs INITIALIZING CLOSING THE INSTRUMENT The base interface of the EX1200 1538 IVI driver VTEXMultifunction LibMultifunction on Linux is used to open and close connections to the instrument as well as containing pointers to all other interfaces to access the functionality of the instrument Visual Studio C import IviDriverTypeLib dll no namespace import VTEXMultifunction dll no namespace int main EX1200 1538 Programming the Instrument 37 VTI Instruments Corp Windows driver creation CoInitialize NULL Start the COM layer TEV IVTEXMultifunctionPtr mfunction uuidof VTEXMultifunction The driver is given an empty options string If more than one FGEN card in included in the mainframe an option such as a slot number must be provided This is because the Multifunction driver does not support more than one card per driver instance clean MENACE OM EE LES 1 TCPTES SO 20 1 6533 INSTRU VARIANT MRU Note that the reset flag is also set so that the unit is started Fl lea E EE VARIANT TRU ZA Uae the Driver mfunction gt Close CEC ee Handle any exceptions return 0 Option Strings The VTEX drivers provide option strings that can be used when initializing an instrument The option string values exist to change the behavior of the driver The following options strings
26. frequency in a Digital channel Only single measurement possible with EX1200 1538 X1200 1538 has only TTL logic for Digital channels So range setting is ignored Digital channels configuration mfunction gt Counter gt Channels gt Item CH3 gt ConfigureInput VARIANT TRUE VTEXMultifunctionCounterInputTypeDigital VTEXMultifunctionCounterInputModeSingleEnded 0 C E VTEXMultifunctionCounterCouplingDC mfunction gt Counter gt Channels gt Item CH3 gt Function VTEXMultifunctionCounterFunctionTotalize Totalize measurement setting You can also work with the following functions by changing the channel function VTEXMultifunctionCounterFunctionEdgeCount S Threshold limits setting for Digital signal measurements are not required This measures the frequency between 2000Hz and 2Hz mfunction gt Counter gt Channels gt Item CH3 gt UpperFrequencyLimit 2000 Maximum frequency of 2000Hz mfunction gt Counter gt Channels gt Item CH3 gt LowerFrequencyLimit Lower frequency of 2Hz ll N ER Polarity setting will NOT have any effet on totalize measurement since it counts both the rising and falling edges But in case of Edgecount measurement normal polarity will count rising edges and inverse polarity will count falling edges Alternatively Slope can also be used for the measurement mfunction gt Counter gt Channels gt Item CH3
27. function configured to WTEXMultifunctionCounterFunctionEdgeCount for example mfunction gt Counter gt Channels gt Item CH2 gt Function VTEXMultifunctionCounterFunctionEdgeCount FREQUENCY FUNCTION The following code shows how to configure the EX1200 1538 to make a frequency measurement on an analog channel and a digital channel Visual Studio C Program cpp Defines the entry point for the console application LE include stdafx h import IviDriverTypeLib d1ll no namespace import VTEXMultifunction dll no namespace This example measures the frequency of a sinewave 10 volts and a TTL digital signal int tmain int argc _TCHAR argv CoInitialize NULL try Create Multifunction object IVTEXMultifunctionPtr mfunction uuidof VTEXMultifunction GEY Initialize new session MeN uge e EOS O ENTO TRAE TAN ER UE VARTAN RVE E measuring frequency in a anaglog channel Differential measurement X1200 1538 has only two voltage ranges 48V and 100mV Since the sine wave is of 10 volts 48V range is being used This example uses AC coupling to cutoff offset voltage in the sinewav Analog channels Configuration mfunction gt Counter gt Channels gt Item CH1 gt ConfigureInput VARIANT TRUE VTEXMultifunctionCounterInputTypeAnalog VTEXMultifunctionCounterInputModeDifferential 48 VTEXMultifunctionCounterCouplingAC
28. get 20 data points in the data array SAFEARRAY data NULL SAFEARRAY time NULL SAFEARRAY time fraction NULL Read the measurements mfunction gt Measurement gt ReadFifo 0 fifocount amp data amp time Celme Eee LST 3 for long scan 0 scan lt fifocount scan t double dSecond dFraction SafeArrayGetElement time amp scan void amp dSecond SafeArrayGetElement time fraction amp scan void amp dFraction fprintf stderr Time f n dSecond dFraction tor int Channel Of Caemcl lt no Of lees enabled Channa long Cleiveulineles lt scan me OF Geiss enabled chennel double dData SafeArrayGetElement data amp dataindex void amp dData fprintf stderr Channel d s Sf n channeltl channel 0 Pulse count RPM dData Abort the measurement mfunction gt Measurement gt Abort carech eem oe MessageBox NULL e Description e ErrorMessage MB ICONERROR if mfunction NULL amp amp mfunction gt Initialized Close driver mfunction gt Close catch _com_error el MessageBox NULL e Description e ErrorMessage MB ICONERROR 5 S COlWinatinst we Ee SEDER Rice S RENTO ico Iesel 7 getchar RECUENTO EX1200 1538 Programming the Instrument VTI Instruments Corp DIGITAL I O FUNCTION This example il
29. part number 70 0367 011 12 EX1200 1538 Introduction www vtiinstruments com ACCURACY CALCULATIONS This section explains accuracy calculations for different measurements Frequency Measurement Using Digital Input Ss Fin X T HFerror Fin m ae x Foase Foase base X Fagu X 1076 XTapt 1 Where Feror Absolute frequency error in measurement in Hz Fin Input frequency in Hz Tapt Aperture time in s Pas Base clock frequency in Hz E Base clock accuracy in ppm Frequency Measurement Using Analog Input an 1 F error z Ferror T Fin p 1 p Trgerror Fin N SR X2 e TTT srar d 2x i s Where Feror Absolute frequency error in measurement in Hz Fin Input frequency in Hz Faerror Analog input absolute frequency error in measurement in Hz Trerror Trigger error in ns X System noise in V maximum 60 x 10 V en Source noise in V S Slew rate at trigger point V ns Typically 8 30 x 10 V ns Tapt Aperture time in Sec N Number of samples Fin X Tapt Period Measurement Using Digital Input P oe SC Fin F ren Where Pace Absolute period measurement error in s Re Absolute frequency error in measurement in Hz Fin Input frequency in Hz Period Measurement Using Analog Input P k a ae Fin Fin FQerror Where Paenor Absolute period measurement error using analog inputs in s EX1200 1538 Introduction 13 VTI Instruments Corp
30. status page Action This type of page initiates a command on the instrument but does not involve parameter entry The Reboot page is an example of an action page Entry This type of page displays and accepts changes to the configuration of the instrument The Time Configuration page is an example of an entry page Use of the entry type web pages in the EX1200 are governed by a common set of operational characteristics e Pages initially load with the currently entered selections displayed e Each page contains a Submit button to accept newly entered changes Leaving a page before submitting any changes has the effect of canceling the changes leaving the instrument in its original state e Navigation through a parameter screen is done with the Tab key The Enter key has the same function as clicking the Submit button and cannot be used for navigation Notes on Web Page Use If a window needs to be resized this should be done when the window opens Resizing requires a refresh which causes the current state to be lost 58 EX1200 1538 SFP Operation www vtiinstruments com Vii instruments Corporation XA SH Index Windows Internet Explorer Geo Ki i http ex 122764a local cai bin jindex cgi Up Favorites vn Instruments Corporation EX1200 Index VYTH J Instruments d Index VTI Instruments Corporati ll SFP Soft Front Panel EX1200 122764A Network Configuration A
31. subsidiaries in the United States and other countries LabVIEW and LabWindows CVI are trademarks of National Instruments Corporation Visual Basic Windows and Internet Explorer are registered trademarks of the Microsoft Corporation or its subsidiaries Linux is a registered trademark of the Linux Foundation IVI is a trademark of the IVI Foundation Bonjour is a trademark of Apple Inc RESTRICTED RIGHTS LEGEND Use duplication or disclosure by the Government is subject to restrictions as set forth in subdivision b 3 ii of the Rights in Technical Data and Computer Software clause in DFARS 252 227 7013 VTI Instruments Corp 2031 Main Street Irvine CA 92614 6509 U S A 4 EX1200 1538 Preface www vtiinstruments 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 Note that this product contains no user serviceable parts or spare parts Service should only be performed by qualified personnel Disconnect all power before servicing TERMS AND SYMBOLS WARNINGS These terms may appear in this manual WARNING Indicates that a procedure or condition may cause bodily i
32. terminals can be interchanged if desired EX1200 1538 Digital I O and Analog Output Operation 33 VTI Instruments Corp The EX1200 1538 also provides a 24 V dc output This can be used for reading dry relay contacts and limit switches and removes the need for an additional external power supply This output current is limited to 24 mA and referenced to instrument ground EX1200 1538 Front Panel DIO_CHx_P o INANE DIO_CHx_N Shielded Twisted Pair Voltage Source GND Up to 60 V When configured as an output the positive and negative channel polarities can be interchanged However they need ES to be driven externally i e no internal sourcing sinking FIGURE 4 2 DIGITAL OUTPUT CHANNEL CONNECTIVITY ANALOG OUTPUT OPERATION The EX1200 1538 has two on board 16 bit digital to analog converters DACs that are capable of producing either voltage or current output The outputs are bipolar and can be configured either as a 10 V voltage source or as a 20 mA current source The analog output updates can either be dynamic frequency to voltage current mode or static mode EX1200 1538 Front Panel AOUT_CHx_P Load T Controller DUT AOUT CHS N Analog Output Channel Shielded Twisted Pair AOUT_GND_x GND FIGURE 4 3 ANALOG DAC OUTPUT CHANNEL CONNECTIVITY Static Update Mode Counter channels
33. time peime Fraction for long scan 0 scan lt fifocount SCAN double dSecond dFraction SafeArrayGetElement time amp scan void amp dSecond SateArrayGethlement time fraction amp scan void amp dFraction fprintf stderr Time f n dSecond dFraction tor aime Caannel Of Channel lt no of channels enabled channel Jemg Gerti Scam moO Of Clemmeils Gaalolec e aei double dData SafeArrayGetElement data amp dataindex void amp dData fprintf stderr Channel d RPM Sf n channel l dData Abort the measurement mfunction gt Measurement gt Abort carech COM eo MessageBox NULL e Description e ErrorMessage MB ICONERROR EX1200 1538 Programming the Instrument 47 VTI Instruments Corp if mfunction NULL amp amp mfunction gt Initialized Close driver mfunction gt Close Gace Com errore MessageBox NULL e Description e ErrorMessage MB ICONERROR 8 sCoWimilinat ics hal we 2 primen UI inDroigve IPiceysis TENCE rn iti EI getchar return 0 TIME INTERVAL FUNCTION This example measures the Time interval between two sine waves of 10 V and 5 V Visual Studio C Time Interval cpp Defines the entry point for the console application U4 include stdafx h import Ivi
34. 00 1538 can be initiated data can be read and card level tasks independent of measurements can be performed such as Locking and Self Test DACO DAC1 0 020000 9 999992 Channel Function Clear Table Clear Fifo Save Data Connected FIGURE 6 8 EX1200 1538 MONITOR PAGE LED Panel The LED Panel reflects shows the status of the EX1200 1538 s counter channels Using CH1 from Figure 6 8 as an example the LED displays the channel e g CH1 the return value e g Infinity and the channel s Function e g Frequency These fields are only populated when 1 the counter channel is enabled and 2 the EX1200 1538 has been initiated DIO Status Section From the DIO section of the Monitor page the user can determine the state of the DIO lines by examining the provided LEDs When the LED is green the DIO line is a logical High A red LED indicates a logical Low Status is returned independent of the Enabled state of the channel DAC Status Section From the DAC section of the Monitor page the user can view the output level of the two DAC channels Status is returned independent of the Enabled state of the channel EX1200 1538 SFP Operation 65 VTI Instruments Corp Data Log Table Once a read of the FIFO is initiated the data from FIFO becomes available in the Event Log Table at the bottom of the SFP e No Indicat
35. 1 1 Ge Time Configuration 00 0D 3F 01 0C F1 10 1 4 25 LXI Synchronization EIE LXI Identification TCPIP 10 1 4 25 INSTR 231 Us SZ 7 Blink LAN Indicator Change Password Upgrade JH y Reset VAN Reboot internet 7 Qio FIGURE 6 2 EX1200 MAIN WEB PAGE VTI Instruments Logo The VTI Instruments logo that appears on the upper left of all EX1200 web pages is a link to the VTI Instruments corporate website http www vtiinstruments com The remainder of this discussion will focus on the EX1200 1538 soft front panel For more information on other EX1200 soft front panel elements please refer to the EX 200 Series Leer e Manual EX1200 1538 SFP Operation 59 VTI Instruments Corp EX1200 1538 SOFT FRONT PANEL To navigate to the EX1200 1538 soft front panel click on Soft Front Panel in the Command Menu see Figure 6 3 Next select ex1200 1538 Multi Function from the list of instruments installed in the EX1200 WU hiswtnisnits Corporation EXI UU Sure Prone Panel Windows Internet E zOltrzr GS k E http 10 20 11 158 cgi bin sfp cai S ll X Uy Favorites 29 VTI Instruments Corporation EX1200 Soft Front Panel SFP Soft Front Panel led e Network Configuration kend Ey Time Configuration LXI LXI Synchronization J ID LXI Identification ga Blink LAN Indicator gi 2 Change Password e
36. 1200 1538 Using the Instrument www vtiinstruments com Rear locking latch Terminal Block Flange Cabling removed for clarity FIGURE 2 3 TERMINAL BLOCK INSTALLATION INTO THE EX1200 TBR CALIBRATION Every EX1200 1538 is factory calibrated using NIST traceable standards Optionally the EX1200 1538 can be returned the factory for a complete factory calibration VTI recommends annual factory calibration of the EX1200 1538 EX1200 1538 Using the Instrument 19 VTI Instruments Corp 20 EX1200 1538 Using the Instrument www vtiinstruments com SECTION 3 COUNTER TIMER OPERATION OVERVIEW The EX1200 1538 s electronic counter can be used to measure many time and frequency domain signal parameters for time continuous waveforms and non continuous burst pulse train waveforms These parameters include 1 Frequency 2 RPM 3 Pulse width 4 Counter totalize functions 5 Quadrature input 6 Duty cycle The EX1200 1538 counter mechanism uses reciprocal counting technique always makes a period measurement on the input signal The benefit of the counting method is that it is based on an internal clock so errors are dependent on the clock and not external sources Hence for a noiseless input signal and assuming negligible trigger and time base error the resolution of the reciprocal counter would also be independent of the input signal frequency
37. 2 QUAD_INDEX2 69 UNUSED UNUSED GND 44 DIO3 33 GND 91 UNUSED UNUSED CH6_N 27 DIO4 13 QUAD_INDEX3 71 UNUSED UNUSED CH6_P 6 DIO4 34 GND 98 UNUSED UNUSED CH7_N 28 DIO5 14 QUAD_INDEX4 92 UNUSED UNUSED CH7_P 7 DIO5 35 GND 100 UNUSED UNUSED GND 45 DIO6 15 AOND DAC 18 UNUSED UNUSED GND 81 DIO6 36 AOUT_CH1 40 UNUSED UNUSED CH8_N 29 DIO7 16 AOUT_CHI1 19 UNUSED UNUSED CHS P 8 DIO7 37 AOUT_CH2 21 UNUSED UNUSED DIGI_SE1 51 DIO8 17 AOUT_CH2 42 UNUSED UNUSED GND 46 DIO8 38 AGND_DAC2 20 UNUSED UNUSED DIGI_SE2 70 DIO9 52 GND 43 UNUSED UNUSED GND 47 DIO9 73 24V_OUTPUT 104 UNUSED UNUSED DIGI_SE3 72 DIO10 53 GND 101 UNUSED UNUSED GND 84 DIO10 74 GND_C 103 UNUSED UNUSED TABLE 2 2 EX1200 1538 TO EX1200 104P 1 PIN AND SIGNAL MAPPING Terminal Block Receiver The EX1200 TBR chassis is a 1U receiver capable of housing six terminal blocks The EX1200 TBR ships with rubber feet for tabletop installations but may be fitted with rackmount ears for installation into a test rack P N 70 0367 010 To install a terminal block into the EX1200 TBR insert the flanges on the side of the terminal block into the guide rails of the desired slot Continue to push the terminal block into the receiver until it is secured by the rear locking latch of the receiver To remove the terminal block from the EX1200 TBR hold the center thumbscrew on the terminal block then pull the terminal block from the receiver 18 EX
38. AGE VTI Instruments Corp By clicking on the DAC button on the SFP the DAC Control page can be viewed where the DAC lines can be configured and enabled Device formation Monitor s Counter DIS Refresh Interval 1 cH1 v Voltage v 0 001 Output Mode Output Output Mode Output Connected FIGURE 6 7 DAC CONTROL PAGE e Enabled checkbox When selected the channel act as configured once the EX1200 1538 is initiated Once a channel is Enabled it is automatically initiated and its logical is monitored e Drive Mode Sets the DAC channel as either a Voltage or Current output e Output Mode Sets the DAC channel as either Static or Dynamic e Counter Channel When the Output Mode is set to Dynamic this parameter sets the counter channel for which the conversion will be performed e Output When the Output Mode is set to Dynamic this parameter sets the voltage current level that is output by the DAC channel s Refresh Interval When the Output Mode is set to Dynamic this parameter sets the rate at which frequency is averaged and the counter channel is updated 64 EX1200 1538 SFP Operation www vtiinstruments com MONITOR PAGE When the Monitor button of the EX1200 1538 web page is clicked the Monitor page is viewed From this page the states of the counter DIO and DAC channels can be viewed and the EX12
39. DANCE 195 kQ INPUT COUPLING AC DC COMMON MODE INPUT 250 V pp ak SIGNAL FREQUENCY RANGE DC coupling mode 0 05 Hz to 1 MHz AC coupling mode 3 Hz to 1 MHz MAIN TIME BASE CLOCK 50 MHz TCXO TIME BASE CLOCK STABILITY 1 ppm COUNTER TYPE 32 bit reciprocal counting type MAXIMUM TOTALIZE TICK COUNT E MINIMUM DETECTABLE PULSE Digital channels 50 ns Analog channels 600 ns RPM MEASUREMENT RANGE 3 RPM min to 90 000 RPM max single range SAMPLE DATA CORRELATION IEEE 1588 time stamp ONBOARD MEMORY 256 000 readings REAL TIME DATA OPERATIONS Time based and pulse count based averaging 256 sample depth AVERAGING METHODS Moving average and simple average APERTURE TIME WINDOW 1 ms to 30 s 1 ms programming step Max DATA SAMPLING SPEED 1 000 000 samples s into onboard buffer TRIGGERING Software Immediate EX1200 based LXI triggers QUADRATURE MEASUREMENT Two channels to be paired for each encoder input UTILITY 24V POWER SUPPLY PIN 104 Regulated power supply 20 mA Fused maximum EX1200 1538 Introduction 11 VTI Instruments Corp NUMBER OF CHANNELS 16 DIO INPUT SIGNAL LEVEL Logical High 2 5 V to 60 V Logical Low lt 2 5V DIO ISOLATION Channel to channel optical isolation DIO OUTPUT SIGNALS Optically isolated solid state switch OUTPUT SIGNAL COMPATIBILITY 50 mA sink source
40. Dac Version Information e Soft Front Panel Version 3 10 1 S Firmware Version 3 10 1 Hardware Version FPGA Yersion 23 HW Version 1 Connected E FIGURE 6 9 DEVICE INFORMATION PAGE EX1200 1538 SFP Operation 67 VTI Instruments Corp 68 EX1200 1538 SFP Operation www vtiinstruments com INDEX A BER IEREN NEE Ee CHIMP TT OTT Te ieee ieie estei E TE ee Eedee mating terminal block terminal block unterminated wiring harness sss esse eee eee eee 12 accuracy calculations Sie 13 analog measurement using digital input 13 b e T 14 frequency measurement using analog mput cece 13 frequency measurement using digital input sss 13 period measurement using digital input E pulse width measurements using digital and analog inputs 14 time interval using analog and digital inputs sss sese 14 analog output CITCUIt protection i is sscisccscsssvescsssvaceccessvetesasacecouaseetesasedsecoazeees 35 Dynamic Update mode 34 parallel operation 35 analog output function analog output operation 34 aperture Ome mode 25 EAT COUN Te T 26 C calibration SE connector pin signal assignment a Va ONET aY AREA MEENE EA S E counter timer aperture average count Tode 26 aperture time mode arestes etesen a E 25 duty cycle measurements sese ee eee eee 28 edge counting ze frequency measurements sse eee eee ee eee eee eee 28 PUNCH EE 24 input coupling 122
41. DriverTypeLib d1ll no namespace import VTEXMultifunction dl1l no namespace This example measures the Time interval between two sinewaves of 10 volts and 5 WOILIES o This example can be also used for measuring Phase measurement Note that for finding the phase measurement and time interval measurement of continuous signal both the signal should be of same frequency Mie man ene ArGe DU are H CoInitialize NULL EEV IVTEXMultifunctionPtr mfunction ouidof VTEXMultifunction GEV Initialize a new session EIERE Heger ee MMNCPR IPs 810 30 i 63 3 NSH SEN 0 VARIANT TRUE Differential measurement X1200 1538 has only two voltage ranges 48V and 100mV Since the sine wave is of 10 volts 48V range is being used This example uses AC coupling to cutoff offset voltage in the sinewav Analog channels Configuration mfunction gt Counter gt Channels gt Item CH1 gt ConfigureInput VARIANT TRUE EXMultifunctionCounterInputTypeDigital VTEXMultifunctionCounterInputModeSingleEnded 48 EXMultifunctionCounterCouplingDC Setting reference channel configuration mfunction gt Counter gt Channels gt Item CH2 gt ConfigureInput VARIANT TRUE EXMultifunctionCounterInputTypeDigital E V at d V at sl V 48 EX1200 1538 Programming the Instrument www vtiinstruments com VTEXMultifuncti
42. E e 3 Z 5V 1V treshold for measuring the sine wave mfunction gt Counter gt Channels gt Item CH1 gt Function VTEXMultifunctionCounterFunctionFrequency Frequency measurement setting You can also work with the following functions by changing the channel function VTEXMultifunctionCounterFunctionFrequency VTEXMultifunctionCounterFunctionPulseWidth VTEXMultifunctionCounterFunctionDutyCycle VTEXMultifunctionCounterFunctionPeriod mfunction gt Counter gt Channels gt Item CH1 gt ConfigureThreshold 0 2 5 VTEXMultifunctionCounterSlopePositive F R i 42 EX1200 1538 Programming the Instrument www vtiinstruments com Measure on all the falling edges by inversing the polarity mfunction gt Counter gt Channels gt Item CH1 gt Polarity VTEXMultifunctionCounterPolarityInverse This measures the frequency between 1000Hz and 1Hz mfunction gt Counter gt Channels gt Item CH1 gt UpperFrequencyLimit 10000 Maximum frequency of 1000Hz mfunction gt Counter gt Channels gt Item CH1 gt LowerFrequencyLimit 1 Lower frequency of 1Hz Aperture time of 2 senconds since the minimum frequency to be measures is 1Hz i e lsecond period It averages the frequency of the signal for timespan of 2seconds mfunction gt Counter gt Channels gt Item CH1 gt AverageMode VTEXMultifunctionCounterAverageModeApertureTime mfunction gt Co
43. IO12 97 DIGI_SE8 14 DIOS 35 DIO5 56 DIO13 77 DIO13 98 GND 15 DIO6 36 DIO6 57 DIO14 78 DIO14 99 UNUSED 16 DIO7 37 DIO7 58 DIO15 79 DIO15 100 GND 17 DIO8 38 DIOS 59 DIO16 80 DIO16 101 GND 18 AGND_DACI 39 UNUSED 60 AGND DACI 81 GND 102 GND 19 AOUT_CHI 40 AOUT_CHI 61 AGND DACI 82 UNUSED 103 GND_C 20 AGND_DAC2 41 AGND_DAC1 62 AGND_DAC2 83 UNUSED 104 24V_OUTPUT 21 AOUT_CH2 42 AOUT CH2 63 AGND_DAC2 84 GND TABLE 2 1 EX1200 1538 CONNECTOR PIN SIGNAL ASSIGNMENT 16 EX1200 1538 Using the Instrument www vtiinstruments com Pin 21 Pin 42 Pin 63 Pin 84 Pin 104 1U Orientation Pin 1 Pin 22 Pin 43 Pin 64 CONNECTOR DETAIL Pin 85 3U Orientation FIGURE 2 2 EX1200 1538 FRONT PANEL DETAIL Front Panel Connector Pins Description Pin Name Description CHx Analog input differential channels P Positive N Negative AOUT_CHx_ Analog output channels P Positive N Negative AGND_DACx Isolated GND for analog output DIGI_SEx Digital single ended channels QUAD _INDEXx Quadrature encoder s index signals DIO_x Digital input output channels GND Common ground GND_C Chassis ground 24V_OUTPUT 24 V power supply output Limited to 24 mA EX1200 1538 Using the Instrument 17 VTI Instruments Corp EX1200 TB104P 1 TERMINAL BLOCK VTI offers a single ended te
44. Item CH2 gt ConfigureThreshold 0 2 5 VTEXMultifunctionCounterSlopeNegative This measures the frequency between 1000Hz and 1Hz Both the channel s input signal frequency should be same mfunction gt Counter gt Channels gt Item CH1 gt UpperFrequencyLimit 100000 Maximum frequency of 1000Hz mfunction gt Counter gt Channels gt Item CH1 gt LowerFrequencyLimit 1 Lower frequency of 1Hz mfunction gt Counter gt Channels gt Item CH2 gt UpperFrequencyhimit 1000 Maximum frequency of 1000Hz mfunction gt Counter gt Channels gt Item CH2 gt LowerFrequencyLimit 1 Lower frequency of 1Hz Aperture time of 2 seconds It averages the timeinterval for 2 seconds mfunction gt Counter gt Channels gt Item CH1 gt AverageMode VTEXMultifunctionCounterAverageModeApertureTime mfunction gt Counter gt Channels gt Item CH1 gt ApertureTime 2 aperature time in seconds Aperture time of 1 senconds It averages the frequency for 1 second mfunction gt Counter gt Channels gt Item CH2 gt AverageMode VTEXMultifunctionCounterAverageModeApertureTime mfunction gt Counter gt Channels gt Item CH2 gt ApertureTime 1 aperature time in seconds mfunction gt Trigger gt Source VTEXMultifunctionTriggerSourceImmediate Start measurement mfunction gt Measurement gt Abort mfunction gt Measurement gt Initiate Amt ET E
45. MultifunctionPtr mfunction ouidof VTEXMultifunction CEV EE EE ge e THE RHS ss 10 530 1 n INSTR VAREANT MAUI VARIANT TRUE Any channel can be configured for voltage or current mfunction gt Dac gt Channels gt Item DAC1 gt DriveMode VTEXMultifunctionDacDriveModeVoltage mfunction gt Dac gt Channels gt Item DAC1 gt Voltage mfunction gt Dac gt Channels gt Item DAC1 gt Enabled the voltage 6 6 Voltage in volts true Start giving out cout lt lt mfunction gt Dac gt Channels gt Item DAC1 gt DriveMode lt lt endl cout lt lt mfunction gt Dac gt Channels gt Item DAC1 gt Voltage lt lt endl cout lt lt mfunction gt Dac gt Channels gt Item DAC1 gt Enabled lt lt endl mfunction gt Dac gt Channels gt Item DAC2 gt DriveMode VTEXMultifunctionDacDriveModeCurrent mfunction gt Dac gt Channels gt Item DAC2 gt Current 0 003 Current in Amperes mfunction gt Dac gt Channels gt Item DAC2 gt Enabled true Start giving out the voltage cawe Com EE MessageBox NULL e Description e ErrorMessage MB ICONERROR EX1200 1538 Programming the Instrument 55 VTI Instruments Corp if mfunction NULL amp amp mfunction gt Initialized Close driver mfunction gt Close carc em errore MessageBox NULL Statt se al O printf nDone Press
46. N ft FA 4g Count Value 0 1 2 3 1 Edge Count Negative Slope FIGURE 3 8 EDGE COUNTS FOR RISING AND FALLING SIGNAL TRANSITIONS Edge Count also utilizes the same start stop control preset count and overflow behaviors as the Totalize function Period Measurements The period T of input signal can be measured using the EX1200 1538 counter The data acquired from period measurements are the result of using one of two different averaging modes Aperture Time mode and Average Count mode Aperture Time Mode In Aperture Time mode periods from all cycles contained within the aperture window are averaged and this is returned as the measurement result once the defined aperture time window elapses This is referred to as simple averaging This window has 1 ms resolution and starts immediately after the instrument is armed Once armed the window is continuous and remains until the operation is aborted In this method periods of each input cycle within aperture time window will be averaged to determine the period which may be stored in the FIFO Aperture Aperture Window Start Window End Aperture Window Input Signal gt Invalid time period data as the aperture time windows has elapsed FIGURE 3 9 PERIOD MEASUREMENT USING APERTURE TIME AVERAGING EX1200 1538 Counter Timer Operation 25 VTI Instruments Corp For the input signal in Figure 3 9 the period T of the input signal is calcula
47. Operation www vtiinstruments com Here the period is determined using consecutive non overlapping samples If n gt N and for every N cycle Tn N 1 Tn N 2 E af Average Window N T T Measured period for each cycle N Average count n Number of cycles occurred x Averaging window count Pulse Width Measurements Pulse Width measurements measure the duration of an input signal s high cycles Tyc The EX1200 1538 only measures the time between a positive and negative slope Thus to determine a high cycle s duration the polarity parameter should be set to Normal high To measure an input signal s low cycle the polarity must be set to Inverted low As a result both measurements cannot be performed simultaneously As a derivative of the Period function pulse width measurements use the same averaging methodologies i e Aperture Time and Average Count mode The implementation of these methods is shown in the figures below Aperture Window End Aperture Window Aperture Window Start ty Vi K Tuc T To T3 Ts Ts Te 6 Availability of Measurement Result FIGURE 3 12 PULSE WIDTH MEASUREMENT USING APERTURE TIME AVERAGING E Averaging Window 1 gt Ss Averaging Window 2 E K Averaging Window 3 gt K semaine Window 4 y Averaging automatically starts on the first raising edge noe 1 L U 1 LR AE ZA St LR GC ca E K e E Measureme
48. Pulse Width Measurement Accuracy Using Digital and Analog Inputs For digital inputs 20 Tpx10 ns Where Tp Input pulse width in s For analog inputs 20 Tp xX10 2 TrQerror NS Where Tp Input pulse width in s Trerror Trigger error in ns Duty Cycle Measurement T Measured X x 100 ToN TOFF Where Tow Input pulse ON time in s Torr Input pulse OFF time in s For Toy and Torr measurement accuracy refer to the Pulse Width Measurement Accuracy Using Digital and Analog Inputs calculations Time Interval Measurement Accuracy Using Analog and Digital Inputs Refer to the Pulse Width Measurement Accuracy Using Digital and Analog Inputs calculations Addition of 1 48 x 10 s offset to the pulse width measurement error for comparator slew rate compensation Slew rate of the comparator is 400 ns 0 V 3 3 V LVTTL threshold 1 2 V to detect as high Positive offset if analog input is the reference channel and negative offset if digital channel is the reference EX1200 1538 Introduction www vtiinstruments com SECTION 2 USING THE INSTRUMENT UNPACKING When an EX1200 1538 is unpacked from its shipping carton the contents should include the following items e AnEX1200 1538 s LXI Quick Start Guide e EX1200 1538 User s Manual this manual All components should be immediately inspected for damage upon receipt of the unit ESD precautions should be observed whi
49. Reference and Measurement channels For phase measurement the frequency of the Reference and Measurement signals must be same AAAA AA e LALAY T z E L TE i Eas Si Measurement Channel Aperture Window 1 Aperture Window 2 Logical Reference Signal Logical Measurement Signal t T te T 360 2 ts T t4 T T5 T 360 2 FIGURE 3 19 PHASE DIFFERENCE MEASUREMENTS Quadrature Measurements The EX1200 1538 can resolve a digital quadrature signal pair into an absolute 32 bit count The quadrature position function increases decreases the counter each time there is a transition on quadrature channel pair When the Measurement channel s signal leads the Reference channel the function counts up when it lags the reference channel the function counts down Quadrature position measurements use two channels one as the Reference channel A and one as the Measurement channel B Any two free channels can be selected and defined as a pair Optionally an Index channel Z can be used to mark the reference position The EX1200 1538 supports high resolution X2 and X4 encoding methods By enabling the Index pulse input the counter is automatically set to X4 mode When an Index pulse is not used the counter is set to X2 mode by default EX1200 1538 Counter Timer Operation 31 VTI Instruments Corp In X2 mode the EX1200 1538 increments decrements dependent on which signal leads or la
50. SAFEARRAY time NULL SAFEARRAY time fraction NULL Read the measurements mfunction gt Measurement gt ReadFifo 0 fifocount amp data amp time amp time fraction tor lomeg eum Of see Eegen uge double dSecond dFraction SafeArrayGetElement time amp scan void amp dSecond SafeArrayGetElement time fraction amp scan void amp dFraction fprintf stderr Time f n dSecond dFraction tor int channel 07 chennel lt me Ci channels Cmelolecle Chamis log Giersch Can OO HSS La Saad e aC double dData SafeArrayGetElement data amp dataindex void amp dData fprintf stderr Channel d Totalize f n channel l dData Channel 1 is measuring time interval and channel 2 is measuring Frequency Abort the measurement mfunction gt Measurement gt Abort catea Com Srror MessageBox NULL e Description e ErrorMessage MB ICONERROR if mfunction NULL amp amp mfunction gt Initialized Close driver mfunction gt Close Gs IL Com errore el MessageBox NULL e Description e ErrorMessage MB ICONERROR CoUninitialize EE getchar vertunt O EX1200 1538 Programming the Instrument 41 VTI Instruments Corp EDGE COUNTING FUNCTION Totalize example can also be used for edge counting functionality To do so change the
51. T EDE LEE OTRE a Is do EX1200 1538 Programming the Instrument 49 VTI Instruments Corp Take measurement for 10 times fifocount mfunction gt Measurement gt FifoCount Sleep 1000 if loopcount gt 10 printf Expected Fifo count 10 is not Available Exiting loop n break loopcount IL mt Les Geikitoeoume lt LON enee Elte Coume eet e OCONEE 2 if fifocount lt 0 Exiting function when no data available I WING Eden Clete eener Emtee eet 4 4 ial 5 return 0 No of enabled channels here it is two Channel 1 and channel 2 ine nG Of Channels enabled 27 For each trigger all channels data will be stored In our case 2 channels is enabled and 10 readings are taken So we will get 20 data points in the data array SAFEARRAY data NULL SAFEARRAY time NULL SAFEARRAY time fraction NULL Read the measurements mfunction gt Measurement gt ReadFifo 0 fifocount amp data amp time titre Fraction for long scan 0 scan lt fifocount scant t double dSecond dFraction SafeArrayGetElement time amp scan void amp dSecond SafeArrayGetElement time fraction amp scan void amp dFraction fprintf stderr Time f n dSecond dFraction ior ime Channel OF channel lt no of Channels emelolecle channel long dataindex scan no of channels enabled channel double dData SafeA
52. ach revolution In our tem CH2 gt RpmToothCount 32 No missing count would be added or subtracted from actual count mfunction gt Counter gt Channels gt I Aperture time of 1 sencond I mfunction gt Counter gt Channels gt I r VTEXMultifunctionCounterAverageModeApertureTim aperatur mfunction gt Counter gt Channels gt I time in seconds totalize c mfunction gt Trigger gt Source VT Start measurement mfunction gt Measurement gt Initia TIME IETIEOSCOMINE 2 do tem CH2 gt RpmToothState unctionCounterRpmToothStateNormal t averages the RPM for timespan for every tem CH2 gt AverageMode U tem CH2 gt ApertureTime 1 EXMultifunctionTriggerSourceSoftware ESU Wait for 2 seconds for collecting no of edges rising and falling printf Waiting for 2 seconds n Sleep 2000 printf sending software trigger n send a software trigger for transferring data to get a snap short of ount mfunction gt Measurement gt SendSoftwareTrigger fifocount mfunction gt Measurement gt FifoCount while fifocount lt 10 52 EX1200 1538 Programming the Instrument www vtiinstruments com No of enabled channels here it is two Channel 1 and channel 2 imt no OF Channels mais 22 For each trigger all channels data will be stored In our case 2 channels is enabled and 10 readings are taken So we will
53. age MB ICONERROR CoUninitialize printf nDone Press Enter to Exit getchar H TEE RPM FUNCTION This example measures the RPM using an encoder or syncro resolver Visual Studio C RPM measurement cpp Defines the entry point for the console application include lt stdio h gt include stdafx h import IviDriverTypeLib dll no namespace import VTEXMultifunction dll no namespace This example measures the RPM using an encoder or syncro resolver less voltage type WOE IEEE Gime arge INC ISIN SHS il CoInitialize NULL IEA IVTEXMultifunctionPtr mfunction uuidof VTEXMultifunction CEY Initialize a new session eeo T EE EE VARIANT TRUE Differential measurement X1200 1538 has only two voltage ranges 48V and 100mV Since the sine wave is of 10 volts 48V range is being used This example uses AC coupling to cutoff offset voltage in the sinewav Analog channels Configuration mfunction gt Counter gt Channels gt Item CH1 gt ConfigureInput VARIANT TRUE EXMultifunctionCounterInputTypeAnalog VTEXMultifunctionCounterInputModeDifferential 48 rEXMultifunctionCounterCouplingAC C al V sl V mfunction gt Counter gt Channels gt Item CH1 gt Function EXMultifunctionCounterFunctionRpm E d V EX1200 1538 Programming the Instrument 45 VTI Instrument
54. ately pulled from FIFO memory e Get All checkbox When enabled clicking the Get button will retrieve all of the current data Once the FIFO is empty it will stop acquiring retrieving data e Get Count field Indicates the number of data points that will be returned when the Get button is clicked Should be less than or equal to the FIFO Count e FIFO Count field Indicates the number of data points available in the FIFO memory e Clear Table button When clicked all of the data currently in the table is erased e Clear FIFO button When clicked any data points currently stored in the FIFO memory will be erased e Save Data button When clicked the data in the table can be saved A csv file is generated by default Lock Unlock Button The Lock button requests or releases exclusive access to the EX1200 1538 If the function generator will be calibrated using the SFP a lock should be established to prevent any unintended access to the instrument Reset Button Clicking the Reset button returns the EX 1200 1538 to its power on default settings and values EX1200 1538 SFP Operation www vtiinstruments com DEVICE INFORMATION PAGE When the Device Information button is clicked the user can access information regarding the EX1200 1538 s version This information includes the revision of the soft front panel the firmware revision the FPGA revision and the hardware revision Device Information Monitor Counter Dio
55. ature Measurements E 31 2 EX1200 1538 Preface www vtiinstruments com SECTION 4 WEE 33 DIGITAL I O AND ANALOG OUTPUT OPERATION ENEE 33 Digital O E EE 33 Analog Output Operation cssissecesciss cy casessadessavdes ENEE ENEE eSEE ES E ee roe E rS T EEE SES E o eE ri 34 Static Update Mode scsse csssssscevcisscecueeseeteasistes sesasstevkeuat rE EEE EEr TE E ESEE EEE EE E rE E r 34 Dynamic Update EE 34 Parallel Operation sanina re EDERT ET EE E ETENEE EET een 35 Circuit Prove ctrOmsis 2 ana rea E a EA EEATT R E E EES ET REER ETRE 35 SECTION e EAEE EEE E RT A RTE EEA EREE EESEL ATE EE 37 PROGRAMMING THE INSTRUMENT T kripen a a an a a EE E Ea oa SE NE E NEER 37 R lated Software Components g et dE iad Museen nud E E E E a R 2 esas 37 Usine the DEM TT 37 Initialzing Closing the Instrument iunis ed Eeer a EEN 37 EDITEUR eege SEENEN 38 Totalize PUNCH STT 39 Edge Counting FugcHon Gesbee EENS ESE SEENEN eebe TEE SERES EErEE S EE EEE rss 42 Frequency PUNCH OM aeir e ees thas E O Tarca Ya E DEER ge done capes HAYE Taa Reg 42 RPM PUNCHING TTT 45 Tame Interval FUNCH ON agereechte ca ra EE Ee geleed 48 Phase Difference Functionare an Te T EE DEER geet a Taa ra Ka aT rs 51 Quadrature Encoder bunctpon eea rE e E r e E e E E E a a 51 Digital O Functio EE 54 Analog Output Te 55 SECTION EE 57 SEP OPERATION aien as E aeaee dee E e EEE E E E E Eea a S Eo S E astute ss 57 eer one 57 General Web Page Operation isciti epesi res espoir ako reese
56. be viewed where the DIO lines can be configured and enabled DIO 1 Data Enabled M Output Normal o Input Normal E M Input Inverse Input Normal Connected DIO2 Data Enabled Direction L IS Input Normal O Input Normal EI M Output Inverse Input Input Normal M Input Inverse z Input Normal Input Normal Normal DIO 4 Data Enabled Direction Direction Polarity O Device Information Monitor Counter AMO Dac Input Normal e IS Input Normal Input Normal Input Normal FIGURE 6 6 DIO CONTROL PAGE e Data LED Indicates the logical state of the DIO line When the LED is green the DIO line is a logical High A red LED indicates a logical Low e Enabled checkbox When selected the channel acts as configured For the DIO channels it is automatically initiated once Enabled Direction Sets the DIO channel as either an Input or an Output Polarity Sets the DIO signal to be sent received as being either Inverted or Normal default EX1200 1538 SFP Operation 63 DAC CONTROL P
57. ce the effect of jitter the signal can be inverted as shown in Figure 3 16 to utilize the sharp fall time of the signal as the rise time on which the measurement is based Jitter Jitter l T Stable i FIGURE 3 16 SIGNAL INVERSION TO DECREASE THE EFFECT OF JITTER RPM Measurement The RPM revolutions per minute function measures the rotational velocity of a toothed wheel sensor This function measures the tooth to tooth period similar to Frequency mode and converts it into units of revolutions per minute RPM In line with frequency measurements RPM measurements use averaging methods to determine the returned value The RPM measurement algorithm compensates for toothed wheels that have a missing or extra tooth to mark their index position Without this feature RPM measurement would have bumps or sags When configuring the Tooth Count parameter the nominal number of teeth should be used For example a wheel nominally has twelve teeth but has a missing tooth A or an extra tooth B to provide an index position as shown in Figure 3 17 In this case the Tooth Count parameter should be set to 12 and RpmToothState should be set to CounterRpmToothStateExtra or CounterRpmToothStateMissing and the measurement will be compensated accordingly EX1200 1538 Counter Timer Operation 29 VTI Instruments Corp Averaging Window a er Averaging Window a E C a A I H Tooth Period 50 ms
58. d a card model to be specified Slots 2 Just slot 2 Slots 2 EX 1200_1538 slot and card model Slots 2 3 Multiple slots 38 EX1200 1538 Programming the Instrument www vtiinstruments com TOTALIZE FUNCTION This example counts totalize the rising and falling edges of a 19 V sine wave Visual Studio C Totalize Measurement cpp Defines the entry point for the console application include stdafx h import IviDriverTypeLib d1ll no namespace import VTEXMultifunction dll no namespace This example counts the Rising and Falling edges of the sinewave 19 volts This example can be also used for Edge count measurement iag teiieliia Gime ager INC BUN ere RIE CoInitialize NULL way IVTEXMultifunctionPtr mfunction uuidof VTEXMultifunction ERY meone rione ainnean 0 UL LE SIONS RY T ITIS VARIANT TRUE Differential measurement X1200 1538 has only two voltage ranges 48V and 100mV Since the sine wave is of 19 volts 48V range is being used This example uses AC coupling to cutoff offset voltage in the sinewav Analog channels Configuration mfunction gt Counter gt Channels gt Item CH2 gt ConfigureInput VARIANT TRUE EXMultifunctionCounterInputTypeAnalog VTEXMultifunctionCounterInputModeDifferential 48 EXMultifunctionCounterCouplingAC V y all V mfunction gt Counter
59. e of measurement functions make this card suitable for both electronic functional test using ATE as well as precision data acquisition applications The electronic counter utilizes a high stability 1 ppm 50 MHz TCXO base clock oscillator along with a reciprocal counting method to achieve a wide frequency measurement ranges spanning from 0 05 Hz to 1 MHz The following functionality is provided by the EX1200 1538 e Frequency Counter Frequency measurements RPM measurements Pulse width measurements Edge count totalize functions Duty cycle measurement e Frequency Counter 2 channel measurement o Time interval measurement o Phase difference measurement o Quadrature measurements e Digital I O o Configurable direction per channel o Read and write discrete channels directly o Isolated inputs outputs e Analog Outputs DAC o Programmable 16 bit DAC o Isolated outputs o Frequency to voltage current mode oo0o0o00 The electronic 32 bit counter measures the time and frequency domain parameters of repetitive and non repetitive waveforms The reciprocal counting technique used ensures high resolution and accuracy even when the input signals are low frequency and not synchronized with the aperture window Counter channels accept both analog and digital inputs The analog counter channels accept inputs up to 48 V true differential voltages making it suitable to use with almost any real EX1200 1538 Introduction 9 VTI Instruments Corp
60. er functionality the EX1200 1538 has sixteen independent digital input output DIO lines that can be used independent of counter operation Each channel can serve as either input or output When configured as a digital input the logical state of the digital line is read via software Digital input channels are isolated differential pairs positive and negative Any differential voltage between 2 5 V and 60 V is detected as a logical High while voltages lower than 2 5 V are treated as logical Low To improve noise immunity the grounds of the digital input channels use internal optical isolation EX1200 1538 Front Panel DIO_CHx_P 2 5 V to 60 V D DIO Input Channel DIO_CHx_N 24 V Output External Limit Switch Dry Contact DIO_CHx_P D DIO Input Channel The positive input channels should not be driven DIO_CHx N low in reference to the negative channels FIGURE 4 1 DIGITAL INPUT CHANNEL CONNECTIVITY When configured as digital outputs the logical state of the digital lines are controlled via software The digital output channels use solid state switches and are isolated from each other Each output channel can handle voltages up to 60 V and currents up to 50 mA Unlike the digital inputs the output channels use a switch instead of an open collector so the polarity of the outputs do not need to be strictly maintained meaning that positive and negative
61. es the row number for reference e Time Indicates the IEEE 1588 time the event occurred e Channel Indicates the channel where the measurement the Data was acquired at the specified Time This data will be in hexadecimal format For example 0x1 0001 refers to the first channel 0x2 0010 refers to the second channel oe channel etc e Function Indicates the Function that the channel was set to when the Data was acquired e Data Displays the value acquired by the Channel at the Time indicated e Units Displays the unit of measure for the acquired Data Data Acquisition Section When data is received it is placed in FIFO memory and remains there until read from memory The EX1200 7500 can be configured to read the FIFO data by using the Data Acquisition Field which provides the following options e Initiate Abort button Selecting this button will start or stop data acquisition depending on the current state of the EX1200 1538 e Trig Source Sets the external trigger source that will initiate abort a data acquisition The trigger can be Immediate Software or one of the EX1200 mainframe backplane lines BPLO through BPL7 e Software Trigger Clicking on this button generates a software trigger that causes data the instrument to be initiated e Get Continuous checkbox If enabled this button disables the Get button and continually populates the data table as data is acquired e Get button When clicked data is immedi
62. for Totalize EdgeCount or Quadrature functions Aperture Time Sets the duration over which the EX1200 1538 will make a measurement Not available for Totalize EdgeCount or Quadrature functions Also not available when Average Count is selected for Averaging Mode Average Count Sets the number of function events i e periods pulse widths etc that will be counted and averaged before a value is returned Average Repeat When Average Count is selected the Average Count checkbox can be selected When selected the EX1200 1538 average of consecutive non overlapping samples Tooth Count Indicates the nominal number of teeth on a toothed wheel Only available for Rpm measurements Tooth State Indicates whether the toothed wheel has an Extra or Missing toothed wheel as a point of reference This allows for measurement compensation The default for this parameter is Normal Only available for Rpm measurements To begin a counter measurement click on the Monitor button at the top of the Counter page Once a measurement is initiated the LED Panel will populate with the measurement values and indicate the type of measurement that was made on each channel as shown in Figure 6 5 The Monitor Page is discussed in more detail below FIGURE 6 5 LED DISPLAY AFTER MEASUREMENT INITIATION 62 EX1200 1538 SFP Operation www vtiinstruments com DIO CONTROL PAGE By clicking on the Dio button on the SFP the DIO Control page can
63. gs the count on the rising and falling edge of the Reference channel A As such each cycle results in two increments or decrements X2 mode behavior is shown in Figure 3 21 and X4 behavior is shown in Figure 3 20 Incrementing Decrementing Logical Reference MAM 4S SN ab NK NR 4 I Signal Logical K i l l l 7 Measurement Signal Counter Value O F FIGURE 3 21 X2 MODE COUNTER INCREMENTS In X4 mode the counter increments or decrements similarly on each edge of Reference and Measurement channels A and B Counter increments or decrements depends on which channel leads the other Each cycle results in four increments or decrements increasing the resolution by four times Incrementing Decrementing Logical Reference AN AN N AN MW AW A A Signal Logic 7 Ti Ti Alife Ti FT FT Measurement ANI ANI ANI ANI AWN MN l Signal Counter A ep 10 1214 16 lt 1614 12 10 8 614 Value 3 5 7 9 11 13 15 17 17 15 13 119 7 5 3 FIGURE 3 22 X4 MODE COUNTER INCREMENTS NOTE The results are only for the Measurement channel Hence the Reference channel can be used for other measurements as well such as frequency measurements pulse width etc 32 EX1200 1538 Counter Timer Operation www vtiinstruments com SECTION 4 DIGITAL I O AND ANALOG OUTPUT OPERATION DIGITAL I O OPERATION In addition to its counter tim
64. ifier AOUT_CHx P Mode selection Wl Analog Output evel conve Li TTL Discrete signal AOUT Oe N sov O Tag n Analog Digital signal EC Differential analog eae pant amp BPL_TRIG AOUT GND sl EC Isolated unit signal A power 256 000 z aiea E Frequency to Voltage current converter samples Chassis Ground FIGURE 3 1 COUNTER BLOCK DIAGRAM EX1200 1538 Counter Timer Operation 21 VTI Instruments Corp INPUTS The EX1200 1538 counter has eight differential digital and eight analog input channels The digital input channels can receive ground referenced TTL signals 5 V maximum and allow for fast operating speeds EX1200 1538 Front Panel DIN_CHx Digital Input Channel Shielded Twisted Pair GND FIGURE 3 2 COUNTER DIGITAL INPUT CHANNEL CONNECTIVITY Analog channels offer the threshold level control and voltage compliance required to interface real world sensors and transducers The analog inputs are positive and negative differential pairs and receive differential voltage waveforms up to 48 V maximum Analog input lines must be connected to the device under test DUT as detailed in Figure 3 3 EX1200 1538 Front Panel AIN_CHx_P Analog Input Channel AIN_CHx_N Shielded Twisted Pair Channel GND FIGURE 3 3 COUNTER ANALOG INPUT CHANNEL CONNECTIVITY Input Coupling AC DC
65. imit Sets the high frequency limit for measurements 0 05 to 1 000 000 Hz Not available for Totalize EdgeCount or Quadrature functions Polarity Indicates whether the input signal will remain Normal default or if it will be Inverted Input Type Sets the channel as a Digital or Analog mode Slope Sets the channel for measurement on a Positive or Negative slope Ref Channel Sets the channel that the currently configured channel is referenced against when a comparative measurement is taken Only available for the Phase and Quadrature functions Index Channel Indicates the index channel that will be used during a measurement comparison Only available for Quadrature measurements Preset Count Sets the start value for counting functions Only available for Totalize EdgeCount or Quadrature functions Overflow Mode Determines how a channel handles data if the count exceeds the maximum Only available for Totalize EdgeCount or Quadrature functions o Stop When an overflow occurs the instrument stops counting and returns an invalid value NaN as a result o Preset When an overflow occurs the instrument counter rolls over and begins counting from the defined Preset Count o Wraparound default When an overflow occurs the instruments counter rolls over and begins counting from 0 Averaging Mode Sets the channel to a specified averaging methodology The user can select from Aperture Time or Average Count Not available
66. ion is Aborted Any pulse with a width greater than 20 ns can be counted Input Logic Pattern 0 1 2 34 5 6 7 23 1 Count Value FIGURE 3 7 TOTALIZE FUNCTION Typically counting begins from zero 0 and can continue up to 4 294 967 295 2 1 counts If however it is necessary to begin counting at some positive number other than 0 the Preset Count parameter can be used Should the EX1200 1538 exceed the maximum count number the user can use one of three overflow modes for controlling how the data is managed STOP PRESET and WRAPAROUND e STOP mode the instrument stops counting once it rolls over i e exceeds the maximum count number and returns an invalid value NaN as a result e PRESET mode the instrument counter rolls over and begins counting again from the defined Preset Count parameter e WRAPAROUND mode the instruments counter rolls over and begins counting again from zero 24 EX1200 1538 Counter Timer Operation www vtiinstruments com Edge Counting By using the Edge Count function the EX1200 1538 can count the number of rising or falling edge transitions The Slope parameter determines whether rising or falling transitions are counted If set to Positive the EX1200 1538 only counts rising transitions while it counts falling transitions when set to Negative Input Logic Pattern in LT LT Count Value 0 1 2 3 5 2 1 Edge Count Positive Slope Input Logic Pattern FI
67. ionDioPolarityInverse Data will be inverted before writing mfunction gt Dio gt Channels gt Item DI02 gt Data VARIANT FALSI will write the data as true since this channel is being inverted cate om tata ta S E a V E a V D ERNES MessageBox NULL e Description e ErrorMessage MB ICONERROR if mfunction NULL amp amp mfunction gt Initialized Close driver mfunction gt Close Carca Con errort MessageBox NULL e Description e ErrorMessage MB ICONERROR 54 EX1200 1538 Programming the Instrument www vtiinstruments com 8 BCom stioalic SIE 27S 2 prame aiDioiwS Jl HEE ico E getchar mac wim ID ANALOG OUTPUT FUNCTION This example illustrates the DAC functionality of EX1200 1538 Channel lis configured to produce voltage output and channel 2 is configured to produce current output The channels are configured to produce 2 V and 10 mA respectively Visual Studio C Analog Output cpp Defines the entry point for the console application include stdafx h include lt iostream gt import IviDriverTypeLib dll no namespace import VTEXMultifunction dl1l no namespace using namespace std This example explains how to program voltage and current output using Multifunction DAC int tmain int argc _TCHAR argv CoInitialize NULL EE IVTEX
68. l When configured as a digital output channel the current flowing in either direction should be limited to 50 mA Analog outputs have internal open and short circuit protected Any external voltage applied should not exceed 25 V irrespective of whether channel enabled or not 36 EX1200 1538 Digital I O and Analog Output Operation www vtiinstruments com SECTION 5 PROGRAMMING THE INSTRUMENT RELATED SOFTWARE COMPONENTS IVI COM Driver IVI C Driver LabView Driver Linux C Driver USING THE DRIVER The EX1200 1538 may be used in a variety of environments including Visual Basic C C LabView VTI Instruments provides an IVI C and IVI COM compliant driver as well as a shared object that can be used on Linux systems that comply with the Linux Standard Base Version 3 1 Here is how to use the driver in each environment 1 2 3 4 5 Visual Studio C import IviDriverTypeLib dll no namespace import VTEXMultifunction dll no namespace CH Add a reference to VTEXMultifunction dll in the project Include the following at the top of any code file that will access the driver using VTII VTEXFgen Interop C C on Windows Link against VTEXFgen lib and include VTEXMultifunction h in the file C on Linux Link against opt vti lib libmultifunction so and include all the headers in opt vti include in the source file LabView Copy the driver package to the lt Labview gt instr lib
69. le unpacking and installing the instrument into an EX1200 series mainframe DETERMINE SYSTEM POWER REQUIREMENTS The power requirements of the EX1200 1538 is provided in the Specifications section of Section 1 It is imperative that the EX1200 mainframe provides adequate power for the modules installed For more information on EX1200 mainframe power consumption please refer Appendix B of the EX1200 Series User s Manual P N 82 0127 000 The user should confirm that the power budget for the system for the chassis and all modules installed therein is not exceeded on any voltage line It should be noted that if the mainframe cannot provide adequate power to the module the instrument might not perform to specification and possibly damage the power supply 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 will void the warranty on the instrument in question PLUG IN MODULE INSTALLATION Before installing a plug in module into an EX1200 system make sure that the mainframe is powered down Insert the module into the base unit by orienting the module so that the metal cover of the module can be inserted into the slot of the base unit Position the cover so that it fits into the module s slot groove Once the module is properly aligned push the module back and firmly insert it into the backplane connecto
70. lustrates the DIO functionality of EX1200 1538 Channel lis configured as digital input and channel 2 is configured as digital output with inverse polarity Channel 1 state will be read and print in the screen and channel state is set Visual Studio C DIO example cpp Defines the entry point for the console application Va include stdafx h import IviDriverTypeLib dl1l no namespace import VTEXMultifunction dl1l no namespace This example explains how to use Digital inputs and outputs LAE mme Gime eeng MERA arcy CoInitialize NULL EGY IVTEXMultifunctionPtr mfunction uuidof VTEXMultifunction CEV MME DUNC a Cye Sigaticae bie MUNCIE HESE VARIANT TRUE Any channel can be configured as input or output Digital input configuration mfunction gt Dio gt Channels gt Item DIO1 gt Direction EXMultifunctionDioDirectionInput Digital input operation mfunction gt Dio gt Channels gt Item DIO1 gt Polarity EXMultifunctionDioPolarityNormal Data will be read without inverting printf Channel 1 Sait mfunction gt Dio gt Channels gt Item DIO1 Daad PURI 8 MINIS IE K Z M 2 gl V Digital Output configuration mfunction gt Dio gt Channels gt Item DIO2 gt Direction EXMultifunctionDioDirectionOutput Digital Output operation mfunction gt Dio gt Channels gt Item DI0O2 gt Polarity EXMultifunct
71. ming any service Service should only be performed by qualified personnel 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 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 DO NOT operate if any damage to this product is suspected Product should be inspected or serviced only by qualified personnel The operator of this instrument is advised that if 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 EX1200 1538 Preface www vtiinstruments 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 n stru mMm E nts 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
72. n Channel Name Indicates the name of the EX1200 1538 channel that is configured when the column parameters are modified Enabled When selected this checkbox indicates that the counter channel is configured and ready for measurements To modify any channel the Enabled checkbox must be unselected FIFO Enabled When selected data on the channel will be saved to FIFO memory and can be viewed using the Data Log Table on the Monitor Page Function Allows the user to select from one of the several functions offered by the counter These functions are as follows Totalize Frequency Pulse Width TimeInterval Rpm Quadrature Duty Cycle Phase EdgeCount and Period Each mode is discussed in detail in 0 Input Mode Sets the channel for either SingleEnded or Differential operation All channels are SingleEnded by default Coupling Sets the channel for either DC default or AC coupling mode This parameter can only be configured for Input Type is set to Analog EX1200 1538 SFP Operation 61 VTI Instruments Corp Impedance The input impedance for the channel Default value is 195 000 ohms Level Sets the threshold level for an analog channel Hysteresis Sets the hysteresis level for an analog channel Lower Limit Sets the low frequency limit for measurement Programmable from 0 05 to 1 000 000 Hz Not the Lower Limit should be less than the Upper Limit Not available for Totalize EdgeCount or Quadrature functions Upper L
73. njury 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 Indicates that the product was manufactured after August 13 2005 This mark is 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 SEL 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 electrical overload electric shock or fire hazard do not use a power source that applies other than the specified voltage The mains outlet that is used to power the equipment must be within 3 meters of the device and shall be easily accessible EX1200 1538 Preface WARNINGS CONT Avoid Electric Shock Ground the Product Operating Conditions Improper Use VTI Instruments Corp 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 perfor
74. nt Result 1 Tuc T1 T2 T3 3 Measurement Result 2 Tuc T2 T3 T4 3 Measurement Result 3 Tuc T3 T4 Ts 3 Measurement Result 4 Tuc T4 T5 T6 3 FIGURE 3 13 PULSE WIDTH MEASUREMENT AVERAGE REPEAT FALSE EX1200 1538 Counter Timer Operation 27 VTI Instruments Corp If n N and after every cycle Tn N 1 BIEN E Ty Average Window N T Tz Measured pulse width for each cycle N Average count n Number of cycles occurred x Averaging window count l K Averaging Window 1 Averaging Window 2 Averaging Windown gt Averaging automatically starts on l the first raising edge Input Singal ey Klas cs sm es Se j Tuc T T2 T3 3 Tuc T4 T5 T6 3 FIGURE 3 14 PULSE WIDTH MEASUREMENT AVERAGE REPEAT TRUE If n gt N and for every NT cycle KH Ty_n ot T N T T Measured pulse width for each cycle N Average count n Number of cycles occurred x Averaging window count Duty Cycle Measurement Duty cycle is defined as the ratio between the high cycle duration and the total period for one input logic cycle as a percentage EX1200 1538 counter directly calculates the duty cycle of the input signal and makes the results available at the end of every averaging cycle As this measurement is derived from the period function all configuration parameters including averaging modes for period measurements apply to duty cycle measurements as well
75. oltage mode and 20 mA in current mode and its levels are programmable with 16 bit resolution Both channels are isolated from each other and fully protected providing the capability to be connected in series or parallel for an even wider output range The channel s output can be statically updated using the API SFP or can be used to convert frequency measured from a counter channel to voltage current output FEATURES s 195 KQ input impedance and AC DC coupling for counter channels e Single frequency measurement range that works from 0 05 Hz to 1 MHz e Stable TCXO base clock 50 MHz 1 ppm e Wide differential input voltage range 48 V with up to 250 V working common mode voltage e Programmable threshold and hysteresis levels with 1 mV resolution e Support for Quadrature encoder e Isolated DIO channels with up to 60 V compliance e Isolated independent 16 bit DAC channels configurable for voltage or current output 10 EX1200 1538 Introduction www vtiinstruments com EX1200 1538 SPECIFICATIONS GENERAL SPECIFICATIONS FRONT PANEL CONNECTOR 104 pin high density D sub POWER CONSUMPTION 3 3 V 0 380 A 5V 0 0081 A 24 V 0 15 A NUMBER OF CHANNELS 8 channels analog digital DIGITAL INPUT SIGNAL RANGE TIL ANALOG INPUT SIGNAL RANGE 48 V differential SENSITIVITY 500 mV THRESHOLD amp HYSTERESIS Programmable 1 mV step INPUT IMPE
76. onCounterInputModeSingleEnded 48 VTEXMultifunctionCounterCouplingDC mfunction gt Counter gt Channels gt Item CH1 gt Function VTEXMultifunctionCounterFunctionTimelInterval Time interval measurement setting You can also work with the following functions by changing the channel function Phase measurement S Set channel 2 as the reference channel mfunction gt Counter gt Channels gt Item CH1 gt ReferenceChannel CH2 Reference channel can be used for any measurement even though it is used as the reference channel for channel 1 measurement mfunction gt Counter gt Channels gt Item CH2 gt Function VTEXMultifunctionCounterFunctionFrequency Enable Fifo for the channels mfunction gt Counter gt Channels gt Item CH1 gt FifoEnabled VARIANT TRU mfunction gt Counter gt Channels gt Item CH2 gt FifoEnabled VARIANT TRU ER Cl les ER In case of Digital channel type Level and Hysteresis settings are ignored 5V treshold for measuring the sine wave Measure on the Rising edges only mfunction gt Counter gt Channels gt Item CH1 gt ConfigureThreshold 0 5 VTEXMultifunctionCounterSlopePositive 2 5V treshold for measuring the sine wave Note that this will affect only the Channel 2 frequency measurement only NOT Time interval measurement The slop configuration will NOT have any effect mfunction gt Counter gt Channels gt
77. perture Time should be defined for this measurement so that the instrument indicates the averaged measurement reading if at least one complete measurement was acquired and resets itself at the end of each aperture time window Reference i 4 SS es Channel i l i 4 Measurement i l _ Channel t l l i i Ti Te gt lt gt o Aperture Time Window Time Interval Result in the Last Aperture Window T T2 2 FIGURE 3 18 TIME INTERVAL MEASUREMENTS The initial time interval measurements are always based on the first pulse detected on Reference channel Should one or more pulses occur on the Reference channel prior to the first pulse occurring on the Measurement channel the time interval value returned will be the time between the first pulse on the Reference channel and the first on the Measurement channel If any pulses occur on the Measurement channel prior to the first pulse on the Reference channel these pulses are ignored If multiple pulses occur in the aperture window on both the Reference and Measurement channels the average of these time intervals will be returned as the result of the 30 EX1200 1538 Counter Timer Operation www vtiinstruments com measurement The measured value can be stored in the FIFO memory of the card at the end of each aperture window Phase Measurements Phase measurements are used to determine the phase shift angular velocity between the
78. r See Figure 2 1 for guidance EX1200 1538 Using the Instrument 15 VTI Instruments Corp FIGURE 2 1 MODULE INSTALLATION EX1200 3048 USED AS EXAMPLE WARM UP TIME The specified warm up time for an EX1200 system is 30 minutes If however the unit is being subjected to an ambient temperature change greater than 5 C extra stabilization time is recommended to achieve maximum performance CONNECTOR PIN SIGNAL ASSIGNMENT The EX1200 1538 uses a 104 pin high density D type connector for front panel signal interface The tables below provides signal and connector pin assignment for the EX1200 1538 For mating connector information please refer to the EX 200 1538 Specifications in this manual Pin Signal Pin Signal pe Signal 1 CH P 22 CHI N 43 GND 64 USR_SHIELD 85 GND 2 CH2_P 23 CH2_N 44 GND 65 UNUSED 86 GND 3 CH3_P 24 CH3_N 45 GND 66 GND 87 GND 4 CH4_P 25 CH4_N 46 GND 67 UNUSED 88 GND 5 CH5_P 26 CH5_N 47 GND 68 UNUSED 89 GND 6 CH6_P 27 CH6_N 48 GND 69 QUAD_INDEX2 90 GND 7 CH7_P 28 CH7_N 49 GND 70 DIGI_SE2 91 GND 8 CH8_P 29 CH8_N 50_ QUAD_INDEX 71 QUAD_INDEX3 92 QUAD_INDEX4 9 GND 30 GND 51 DIGI SE1 72 DIGI SE3 93 DIGI SE4 10 DIO1 31 DIO1 52 DIO9 73 DIO9 94 DIGI SPS 11 DIO2 32 DIO2 53 DIO10 74 DIO10 95 DIGI_SE6 12 DIO3 33 DIO3 54 DIO11 75 DIO11 96 DIGI_SE7 13 DIO4 34 DIO4 55 DIO12 76 D
79. rminal block for the EX1200 1538 P N 70 0367 011 The terminal block simplifies cabling by providing screw terminal blocks for user wiring Signal pin mapping for the EX1200 1538 can be seen in Table 2 2 CHIN DIGI_SE4 DIOI1 USR_SHIELD CH1_P 1 GND 85 DIO11 75 GND 102 GND 9 DIGI_SE5 94 DIO12 55 UNUSED UNUSED GND 48 GND 86 DIO12 76 UNUSED UNUSED CH2_N 23 DIGI_SE6 95 DIO13 56 UNUSED UNUSED CH2_P 2 GND 87 DIO13 771 UNUSED UNUSED CH3_N 24 DIGI_SE7 96 DIO14 57 UNUSED UNUSED CH3_P 3 GND 88 DIO14 78 UNUSED UNUSED GND 49 DIGI_SE8 97 DIO15 58 UNUSED UNUSED GND 30 GND 89 DIO15 79 UNUSED UNUSED CH4_N 25 DIOI 10 DIO16 59 UNUSED UNUSED CH4_P 4 DIO1 31 DIO16 80 UNUSED UNUSED CHS N 26 DIO2 11 QUAD_INDEX1 50 UNUSED UNUSED CH5_P 5 DIO2 32 GND 90 UNUSED UNUSED GND 66 DIO3 1
80. rrayGetElement data amp dataindex void amp dData fprintf stderr Channel d s Sf n channelt l channel 0 Time interval Frequency dData Channel 1 is measuring time interval and channel 2 is measuring Frequency Abort the measurement mfunction gt Measurement gt Abort cavea eem EEE S T MessageBox NULL e Description e ErrorMessage MB ICONERROR if mfunction NULL amp amp mfunction gt Initialized fi Clase cerven mfunction gt Close caren Com errore el 50 EX1200 1538 Programming the Instrument www vtiinstruments com MessageBox NULL e Description e ErrorMessage MB ICONERROR 5 S ColWimatiniskieate bai ys 9 mae RIS Eier HEE ico Iesel 2 getchar R EREE PHASE DIFFERENCE FUNCTION Time interval example can also be used to measure phase difference To do so change the function configured to WTEXMultifunctionCounterFunctionPhase for example mfunction gt Counter gt Channels gt Item CH1 gt Function VTEXMultifunctionCounterFunctionPhase QUADRATURE ENCODER FUNCTION This example illustrates RPM measurement from TTL quadrature encoders using digital channels To use analog quadrature encoders change the counter input type to analog and set the threshold parameters accordingly Visual Studio C Quadrature Encoder cpp Defines the entry point for the con
81. s Corp 5V treshold for measuring the sine wave Note that slope configuration will NOT have any effect mfunction gt Counter gt Channels gt Item CH1 gt ConfigureThreshold 0 5 VTEXMultifunctionCounterSlopePositive Enable Fifo for the channel mfunction gt Counter gt Channels gt Item CH1 gt FifoEnabled VARIANT TRUE ER This measures the frequency between 10000Hz and 1Hz mfunction gt Counter gt Channels gt Item CH1 gt UpperFrequencyLimit 10000 Maximum frequency of 10000Hz mfunction gt Counter gt Channels gt Item CH1 gt LowerFrequencyLimit Lower frequency of 1Hz 1 This setting determines the no of pulses for each revolution In our case it is 32 So 32 pulses makes one full revolution mfunction gt Counter gt Channels gt Item CH1 gt RpmToothCount 32 No missing count would be added or subtracted from actual count mfunction gt Counter gt Channels gt Item CH1 gt RpmToothState VTEXMultifunctionCounterRpmToothStateNormal Aperture time of 1 sencond It averages the RPM for timespan for every second mfunction gt Counter gt Channels gt Item CH1 gt AverageMode VTEXMultifunctionCounterAverageModeApertureTime mfunction gt Counter gt Channels gt Item CH1 gt ApertureTime 1 aperature time in seconds measuring frequency in a Digital channel Only single measurement possible with EX1200 1538 X1200
82. sole application include stdafx h import IviDriverTypeLib d1ll no namespace import VTEXMultifunction dll no namespace This example measures the RPM and shaft position quadrature measurement using TTL quadrature encoders WOE Emmel mt arge INC SDE ere 13 CoInitialize NULL eaten IVTEXMultifunctionPtr mfunction uuidof VTEXMultifunction ERY Mometi on gt m eia EE SINS RY VARTAN RUI VARIANT TRUE Channel configuration Note that coupling will NOT have any effect on Digital inputs mfunction gt Counter gt Channels gt Item CH1 gt ConfigureInput VARIANT TRUE VTEXMultifunctionCounterInputTypeDigital VTEXMultifunctionCounterInputModeSingleEnded 0 VTEXMultifunctionCounterCouplingDC Quadrature measurement setting mfunction gt Counter gt Channels gt Item CH1 gt Function VTEXMultifunctionCounterFunctionQuadrature Threshold limits setting for Digital signal measurements are not required EX1200 1538 Programming the Instrument 51 VTI Instruments Corp Maximum VTEXMultifunctionCounterAverageModeApertureTime aperatur This measures the frequency betw iol LOOO az iit mfunction gt Counter gt Channels gt Item CH1 gt UpperFrequencyLimit 10000 frequency of 10000Hz mfunction gt Counter gt Channels gt Item CH1 gt LowerFrequencyLimit 1 Lower frequency of
83. ted as follows pe TA T2 T34 74 T5 5 Average Count Mode When Average Count mode is used the period of the input signal is determined by averaging a user defined number of input cycles This is referred to as a moving average The Average Count parameter defines the number of cycles that are used when this calculation is performed Figure 3 11 shows an input signal where the Average Count method is being used to calculate the period Here Average Count is set to 3 When Average Repeat is set to true then every three consecutive cycles will be averaged When set to False the EX1200 1538 uses consecutive overlapping cycles to calculate the period When Average Repeat is set to False Averaging Averaging Window 1 gt Bee Ene K Averaging Window 2 gt raising edge K Averaging Window 3 gt Se t lt Averaging Window 4 3 Input Signal FIGURE 3 10 PULSE COUNT AVERAGING AVERAGE REPEAT FALSE Ifn N and after every cycle E RTI T N T Tz Measured period for each cycle N Average count n Number of cycles occurred x Averaging window count When Average Repeat is set to True Averaging automatically Averaging Window 1 aes Averaging Window 2 3k Averaging Window n gt starts on the first raising edge N Input Signal Tito Aye L ee G k x x k x x ed FIGURE 3 11 PULSE COUNT AVERAGING AVERAGE REPEAT TRUE EX1200 1538 Counter Timer
84. tem Power Requirements sese eee eee eee ee eee 15 Plug in Module Installation ssn n e ee a rE o KAE ES EE PRERE E PeR oTe TE VIER e Enee SiS 15 Warm p Time E a eE C E RE Rotate das da diene Ae este ledge eel eae 16 Connector Pin Signal Assignment TT 16 Front Panel Connector Pins Description sees sese sees eee eee 17 EX1200 TB104P 1 Terminal Block TTT 18 Terminal Ee 18 Gahbratton 2 70iougee teg EES tes tech an aieraned dich seagueta ais caves wen ine cased caved EE AE AAA REE EE EA 19 e Y COI RE sovesesseasssedesdesenieeseseaseesesanseascesobestevessontssebecsuessbesseasooncsusesasesassdsoodasensonsees 21 COUNTER TIMER OPERATION irana T T E EEN 21 OVVIE a E TEE EE EE EE ER S E EEE E A E a ERE E E EER I RE EE SE 21 rg OC 22 Input C oppene ed EAR A 22 Sinal COnVersion aye EES een hee teh ce thes Hote eee eee dene 23 Polarity Conversion nesie a E ERE a T a AE S E EES RE AEE E AT E E 24 PUNCHONS a E E E AE EE devel AEE AE E A A EERE aa A EREE 24 BKS TT TTT 24 Edge Counting ee ote hate ZS ETRE OTOR ae ee Ree alee eee a 25 Period WEE E OC 25 Pulse Width Measurement 3 ecccccivcccceses cacceeatcvesssceccuenvicennctesy seven teesneceocneesspodecucusscaensenevacevenadpsescpbindevedoeeavente 27 Duty Cycle Measurements ieaie Eiee EEENd geed EA 28 Frequency Measurement ge SEENEN Een 28 RPM Measurement anen re ENEE ee EEN uate 29 Tame Interval Measurement socio Eae EE Ze rad NET EEE EA T NTK E TEE Zada tZ 30 Phase Measurements vite cise ENEE EE 31 Quadr
85. unter gt Channels gt Item CH1 gt ApertureTime 1 aperature time in seconds Enable Fifo for the channels mfunction gt Counter gt Channels gt Item CH1 gt FifoEnabled VARIANT TRUE measuring frequency in a Digital channel Only single measurement possible with EX1200 1538 EX1200 1538 has only TTL logic for Digital channels So range setting is ignored Digital channels configuration mfunction gt Counter gt Channels gt Item CH2 gt ConfigureInput VARIANT TRUE VTEXMultifunctionCounterInputTypeDigital VTEXMultifunctionCounterInputModeSingleEnded 0 VTEXMultifunctionCounterCouplingDC L SI Frequency measurement setting mfunction gt Counter gt Channels gt Item CH2 gt Function VTEXMultifunctionCounterFunctionFrequency Frequency measurement setting You can also work with the following functions by changing the channel function VTEXMultifunctionCounterFunctionFrequency VTEXMultifunctionCounterFunctionPulseWidth VTEXMultifunctionCounterFunctionDutyCycle VTEXMultifunctionCounterFunctionPeriod ay Threshold limits setting for Digital signal measurements are not required This measures the frequency between 5000Hz and 1Hz mfunction gt Counter gt Channels gt Item CH2 gt UpperFrequencyLimit 5000 Maximum frequency of 5000Hz mfunction gt Counter gt Channels gt Item CH2 gt LowerFrequencyLimit
86. ure 3 5 the level and hysteresis are improperly set for the given input signal resulting in noisy digital conversion Hysteresis Band l tl 1 n pp Hf eg NY Threshold Level f i 1 1 Ki 1 1 1 d b l Wir 11 il I it f Wir n Wir l 11 Wir n Wir Ground it l Wi 11 Wi Level it l uM H LH 1 it d 1 d it i d 1 d i ra LI 1 L it Wir 11 I tt H 11 it IS it n it l tT LI H it I 11 I L n Hii l 11 I H H Hi d 11 LI H H Digital Output Pattern FIGURE 3 5 INCORRECT THRESHOLD AND HYSTERESIS USE By properly adjusting the level and hysteresis the effects of noise in input signal can be mitigated Figure 3 6 shows how the fundamental frequency is extracted from the same noisy waveform with proper level and hysteresis setting EX1200 1538 Counter Timer Operation 23 FUNCTIONS VTI Instruments Corp Hysteresis Band j Se Ze rr prt r pll a wr T EE Threshold Level Ground Level Digital Output Pattern FIGURE 3 6 CORRECT THRESHOLD AND HYSTERESIS USE Polarity Conversion Polarity selection allows for the digital signal to be inverted prior to being sent to the electronic counter By default the signal is passed as an active High When Inverted is selected the signal is sent as an active Low Totalizing The Totalize function counts the total number of rising and falling edge transitions from an input signal Counting begins as soon as the card is Armed and continues until its operat
87. val defines the time span at which the frequency is averaged and updated into DAC Parallel Operation The analog outputs are isolated as each channel has its own ground reference and can be programmed independently It is also possible to interconnect the channels to generate a larger voltage current When both channels are configured as voltage and connected in series it can yield voltages up to 20 V When both channels are configured as current and connected in parallel it can generate current signal up to 40 mA The analog outputs are internally protected from short and open circuits continuously When in voltage mode the short circuit current is limited to 20 mA In current mode open circuit voltage compliance voltage is limited to 10 V CIRCUIT PROTECTION All input and output channels are protected against intermittent voltage spikes For the counter s analog input channels the common mode voltage should not exceed 250 Vpeak with respect the ground terminal The maximum differential voltage across the analog input terminals should not exceed 300 V peak The digital input channels which are intended to utilize TTL signals are limited to 7 5 V from the ground terminal and inverse protection voltage is limited to 2 5 V Beyond this will permanently damage the instrument EX1200 1538 Digital I O and Analog Output Operation 35 VTI Instruments Corp The DIO channels allow for the maximum voltage of 60 V per channe
Download Pdf Manuals
Related Search
Related Contents
www.joseluistorres.ca Digitaltheodolit DET-2 Copyright © All rights reserved.
Failed to retrieve file