MODEL 1105 400 MHz Universal Counter With 6GHz in CHANNEL 3 User’s manual Printed date: 6/2011 Version: 1.
Table of Contents 1 GENERAL INFORMATION ............................................................................................... 5 1.1 FEATURE OVERVIEW ....................................................................................................... 5 1.2 WARRANTY INFORMATION ............................................................................................. 6 1.3 PRECAUTION OF OPERATION ......................................................................................... 7 1.
4.3 GATE & EXTERNAL ARM OPERATIONS......................................................................... 38 4.4 SETTING SCALE AND OFFSET ...................................................................................... 46 4.5 LIMITS OPERATIONS .................................................................................................... 48 4.6 STATISTICS OPERATIONS ............................................................................................ 50 4.
7.4 QUERY ERRORS ............................................................................................................ 92 7.5 COUNTER-SPECIFIC ERRORS....................................................................................... 93 APPENDIX ................................................................................................................................. 94 A. SPECIFICATION LIST.....................................................................................................
1 General Information This section contains general information about BERKELEY NUCLEONICS CORPORATION MODEL 1105 Universal Counter. The information includes: Feature Overview Warranty Information Precaution of Operation Upkeep of MODEL 1105 Safety Information Symbols and Terms Inspection Options and Accessories You can contact Berkeley Nucleonics Corporation. via the following telephone number for warranty, service, or technical support information.
Multi-parameter display of results. Optional third channel that provides measurements up to 20 GHz. Easy-to-use shortcut keys. Easy & free PC applications. ※ Note: Full MODEL 1105 specifications are included in Appendix A. ※ Note: Berkeley Nucleonics Corporation provides users a free software MODEL 1105 PT-LINK (Ver 1.0). This software’s GUI (Graphic User Interface) tool can get results from measurements, and transform data to Microsoft Excel or Word for analysis or reworking. 1.
The remedies provided herein are the buyer’s sole and exclusive remedies. BERKELEY NUCLEONICS CORPORATION shall not be liable for any direct, indirect, special, incidental or consequential damages. Limitation of warranty 1. Our warranties do not cover any damage resulting from unauthorized modification or misuse. 2. Unless mentioned elsewhere in this document, our warranty does not apply to fuses, probes, and problems arising from normal wear or user’s failure to follow instructions. 3.
The patent and related documents for the equipment belong to BERKELEY NUCLEONICS CORPORATION. Any part of reproduction is illegal. 1.4 Upkeep of the MODEL 1105 Although the MODEL 1105 universal counter is very durable and weather resistant, care should be taken not to expose it to severe impact or pressure. Keep the MODEL 1105 far from water and damp environment. Calibration will be taken every year. Please contact with your local service representative for more information.
The main power supply module contains a fuse rated 3.15A/250V. When replacing the fuse (BUSSMANN F3.15A250V), use only the same types and same rating as specified. Do not try to operate the instrument if it is damaged. Disconnect the power from representative. the equipment Return and the consult product to the local Berkeley service Nucleonics Corporation service department if it’s necessary. 1.
1.7 Inspection The product package is supplied with the following items: One MODEL 1105 [224 (W) x 107 (H) x 380 (D) mm with the front and rear bumpers, approx. 3416g]/ [214.6 (W) x 88.6(H) x 346.9 (D) mm without the front and rear bumpers, approx. 3130g] One power cord. One USB cable. One CD (including this electronic User's Manual and software applications). Optional accessories as you ordered. GPIB interface card.
1.8 Options and Accessories The following options and accessories are available from Berkeley Nucleonics Corporation for use with the MODEL 1105 universal counter. Please refer to Table 1-1.
2 Overview This chapter will give you an overview of the MODEL 1105’s basic features and guide you through the basics of the MODEL 1105 universal counter. Users will be familiar with those features after reading this chapter. 2.1 Setting up Your MODEL 1105 Universal Counter This section guides users to use the MODEL 1105 universal counter. Users might want to check if they have all the parts with their universal counters.
Figure 2-1 【Step 2】(Pull out the handle) When the handle is turned up to 90˚ with the universal counter, please pull out the handle from the universal counter as shown in Figure 2-2. Figure 2-2 Ⅱ. Adjusting the position for your convenience There are some example positions to suit users’ needs. 【Position 1】 The default position is for packing as shown in Figure 2-3.
【Position 2】 The adjusted position is for operation as shown in Figure 2-4. Figure 2-4 【Position 3】 The carrying position shows in Figure 2-5. Figure 2-5 2.1.2 To Replace the Fuse 【Step 1】 Verify that the meter is disconnected as shown in Figure 2-6.
Figure 2-6 【Step 2】(Pull out the handle) When the handle is turned up to 90˚ with the universal counter, please pull out the handle from the universal counter as shown in Figure 2-7. Figure 2-7 【Step 3】 Release the six screws by a screwdriver, and disassemble the rear bumper as shown in Figure 2-8.
【Step 4】 Figure 2-8 Put the counter upside-down on the worktable and release the srew under a warranty seal as shown in Figure 2-9. Figure 2-9 【Step 5】 Disassemble the case from the counter as shown in Figure 2-10.
Figure 2-10 【Step 6】 Loose the fuse by a flat-head screwdriver as shown in Figure 2-11. Replace a new one conforming to the specification of UL/IEC127 250 Vac H3.15A. Then reassemble it according the reverse procedures.
assemble correctly with the case, stack up the counter, whose front panel should be towards down, on the rear bumper as shown in Figure 2-12. 【Step8】(Tip!) Figure 2-12 Make sure the assembly is correct as shown in Figure 2-13. Figure 2-13 2.2 Getting Started with the MODEL 1105 The brief descriptions are mentioned in this chapter, such as connectors and buttons on the MODEL 1105’s front and rear panels. 2.2.
6 1 2 3 4 7 5 Figure 2-6 1. Power & Display (in the purple area): Power: Turn on/off the MODEL 1105 universal counter. Help: Instruction for the function you located. 2. First row softkeys: (in the red area): They provide access to the menu shows on the 1105’s display. 3. Second row (in the blue area): Freq & Ratio: Frequency and frequency ratio measurement functional menu key. Time & Period: Time interval and period measurement functional menu key.
5. Channel condition buttons and connectors (in the black area): CH1: Channel 1 condition control key and connector. CH2: Channel 2 condition control key and connector. CH3: Channel 3 condition control key and connector. 6. Twelve numeric keys (in the green area): Numerical value input keys. 7. Four arrow keys (in the pink area): Keys to control cursor in order to increase or decrease numerical value and provide entry of alphabetical letters.
3. External 10 MHz Output Terminal 4. LAN Interface Connector 5. GPIB Interface Connector 6. USB Interface Connector 7. Power cord connector 8. Fan 9.
3 Making Measurements This chapter guides users how to make some basic measurement via the MODEL 1105 universal counter, and to get to know the relative default parameters. 3.1 Frequency Measurement Auto triggering is enabled by default for frequency measurement, and the trigger levels are set to the 50% points of the signal. One may manually disable the auto triggering function and change the trigger levels and slopes settings (refer to Ch.4.8). To measure frequency 1.
6. Press STOP/SINGLE button to make single measurement or to stop continuous measurements. Remote Interface Command Use the following commands to instruct the MODEL 1105 for making frequency measurement: [:SENSe]:FUNCtion[:ON] “[:][XNONe:]FREQuency [1|2|3]” Or :CONFigure[:SCALar][:VOLTage]:FREQuency [(@1)|(@2)|(@3)] :READ[[:SCALar][:VOLTage]:FREQuency]? Or :MEASure[:SCALar][:VOLTage]:FREQuency? [(@1)|(@2)|(@3)] 3.
the trig Sens. f. Use Show Status button to check the conditions of Input, Volt, Stats and Limit. g. Use Save&Recall button to save your settings (i.e., changes made in steps a-d) if it’s needed (refer to Ch.4.9). 5. Press RUN button to make continuous measuremets. 6. Press STOP/SINGLE button to make single measurement or to stop continuous measurements.
b. Use Scale&Offset button to set the scaling and offset parameters if it’s needed (refer to Ch.4.4). c. Use Limit Modes button set the upper and lower limits if it’s needed (refer to Ch.4.5). d. Use Stats button to set up the statistics function and limit filtering if it’s needed (refer to Ch.4.6). e. Use the selections in the CH1 & CH2 to set the input conditions and the trig Sens. f. Use Show Status button to check the conditions of Input, Volt, Stats and Limit. g.
To measure period 1. Connect your signal source to channel 1. 2. Press TIME&PERIOD button. 3. Press the softkey under Period to select period measurement function. 4. Optional settings: a. Use GATE&ExtArm button to set the gate time, resolution or arming if needed (refer to Ch.4.3). b. Use Scale&Offset button to set the scaling and offset parameters if needed (refer to Ch.4.4). c. Use Limit Modes button set the upper and lower limits if needed (refer to Ch.4.5). d.
3.5 Rise/Fall Time Measurement Auto triggering is enabled by default for rise/fall time measurmenet, and it automatically identifies the 10% and 90% points of the signal and sets the trigger levels in accordance. One may manually disable the auto triggering and override the automatic settings (refer to Ch.4.8). To measure rise or fall time 1. Connect your signal source to channel 1. 2. Press TIME&PERIOD button. 3. Press the softkey under EDGE to select edge measurement function.
[:SENSe]:FUNCtion[:ON] “[:][XNONe:]FTIMe [1]” Or :CONFigure[:SCALar][:VOLTage]:RISE:TIME [(@1)] :CONFigure[:SCALar][:VOLTage]:RTIMe [(@1)] :CONFigure[:SCALar][:VOLTage]:FALL:TIME [(@1)] :CONFigure[:SCALar][:VOLTage]:FTIMe [(@1)] :READ[[:SCALar][:VOLTage]:RISE:TIME]? :READ[[:SCALar][:VOLTage]:RTIMe]? :READ[[:SCALar][:VOLTage]:FALL:TIME]? :READ[[:SCALar][:VOLTage]:FTIMe]? Or :MEASure[:SCALar][:VOLTage]:RISE:TIME? [(@1)] :MEASure[:SCALar][:VOLTage]:RTIMe? [(@1)] :MEASure[:SCALar][:VOLTage]:FALL:TIME? [(@1)] :M
needed (refer to Ch.4.6). e. Use the selections in the CH1 to set the input conditions and the trig Sens. f. Use Show Status button to check the conditions of Input, Volt, Stats and Limit. g. Use Save&Recall button to save your settings (i.e., changes made in steps a-d) if it’s needed (refer to Ch.4.9). 5. Press RUN button to make continuous measurement. 6. Press STOP/SINGLE button to make single measurement or to stop continuous measurement.
slopes settings (refer to Ch.4.8). To measure Duty Cycle 1. Connect your signal source to channel 1. 2. Press OTHER MEAS button. 3. Use the first row softkey under DUTY CYC1 to select duty cycle measurement function. 4. Optional settings: a. Use GATE&ExtArm button to set the auto or external gate time if it’s needed (refer to Ch.4.3). b. Use Scale&Offset button to set the scaling and offset parameters if it’s needed (refer to Ch.4.4). c.
:MEASure[:SCALar][:VOLTage]:PDUTycycle? [(@1)] 3.8 Totalize Measurements Totalize measurement counts and displays the number of events triggered from the input signal. Only channel 1 is available for this measurement. Auto-triggering is automatically turned off on channel 1 as the signal may not be suitable at the beginning of the measurement. If GATE:AUTO is selected (refer to Ch.4.3), the Counter will continuously display the count of events.
Or :CONFigure[:SCALar][:VOLTage]:TOTalize:CONTinuous [(@1)] :CONFigure[:SCALar][:VOLTage]:TOTalize:TIMed [(@1)] :READ[[:SCALar][:VOLTage]:TOTalize:TIMed]? Or :MEASure[:SCALar][:VOLTage]:TOTalize:CONTinuous? [(@1)] :MEASure[:SCALar][:VOLTage]:TOTalize:TIMed? [(@1)] 3.9 Phase Measurements Phase 1 to 2 measures the phase difference between signals on channel 1 and channel 2, and the phase difference is shown in degree.
the trig Sens. f. Use Show Status button to check the conditions of Input, Volt, Stats and Limit. g. Use Save&Recall button to save your settings (i.e., changes made in steps a-d) if it’s needed (refer to Ch.4.9). 5. Press RUN button to make continuous measurements. 6. Press STOP/SINGLE button to stop current measurement or to make single measurement.
Vmax (positive peak), Vmin (negative peak), Vc (average from positive and negative peak) or Vpp (peak-to-peak). c. Use the selections in the CH1 or CH2 to set the input conditions and the trig Sens. d. Use Show Status button to check the conditions of Input, Volt, Stats and Limit. e. Use Save&Recall button to save your settings (i.e., changes made in steps a-d) if it’s needed (refer to Ch.4.9). 5. Press RUN button to make continuous measurements. 6.
4 Front Panel Operations This chapter will guide you through different ways of configuring measurement functions. It contains information about how to change the parameters and settings for your measurements and all the other front panel operations for system settings. Remote interface settings are described in Chapter 5. 4.1 Measurement Result and Status Display The MODEL 1105 universal counter provides display of measurement results along with the information on the channel of your choice.
Figure 4-3 Figure 4-4 Figure 4-5 Figure 4-6 For Voltage Peaks function, the available options are only Input and Volt. Front panel operation: 1. Select your measurement function by pressing one of the measurement keys. 2. Press the softkey under STATUS. 3. Keep pressing the softkey to toggle between the options. 4. Continue with the procedure described in Chapter 3 for the measurement function of your choice. 4.
cancel the changes, press the softkey under CANCEL. 4.2.2 Measurement Control Keys (Run and Stop/Single) There are two measurement modes in the MODEL 1105: Run and Single modes. Users can press the Run key to put the Counter in the Run mode while the Stop/Single key is in the Single mode. Run mode operations If the MODEL 1105 is under one of the measurement modes, press the Run key to make the MODEL 1105 enter the Run mode and start continuous measurements.
4.3 Gate & External Arm operations The MODEL 1105 provides four arming modes: auto, time, digits and external.
measurements. For totalize measurements, the counter starts to count whenever Run button or Stop/Single button is pressed. Figure 4-7 Time Arming Under the time arming mode as shown in the Figure 4-8 for the available measurement including frequency, period, ratio and totalize, users can set the length of time (gate time) for which the counter takes measurement. Figure 4-8 ※ Note1: The Gate Time Range on the frequency and the period is from 1E-3 to 1000 seconds.
Digits Arming Under the Digits Arming mode with the range from 3 to 15 as shown in the Figure 4-10 for the available measurement including frequency, period, and ratio, users can set the resolution they request. Figure 4-10 Gate and External Arm operations 1. Press Stop/Single button to stop the Counter from taking continuous measuring. 2. Select your desired measurement function by pressing one of the measurement function keys and the corresponding softkey if it’s needed (refer to Chapter 3). 3.
negative, auto and time. This is to specify how measurement should stop. Positive and negative specifies the slope of the stop arm signal. Time is to set the duration of measurement. As time is selected, use the numeric keypad or the arrow keys to input a desired duration value (refer to Ch.4.2.1). The time unit will be shown on the top-right corner after the input is completed.
Remote Interface Command Auto arming: [:SENSe]:TINTerval:ARM:ESTART:LAYer2:SOURce IMMediate External arming: [:SENSe]:TINTerval:ARM:ESTART:LAYer2:SOURce EXTernal [:SENSe]:TINTerval:ARM:ESTART:LAYer2:SLOPe Positive|NEGative ESTART:LAY2:SOURce IMMediate EXTernal Front-Panel Arming Mode Auto EXTERNAL For phase measurements: Press the Other Meas and Gate & ExtArm buttons, and then toggle between auto and external under the softkey ARM.
toggle between positive and negative. This is to specify the slope of the start arm signal. Press the softkey under STOP to toggle between positive, negative and time. This is to specify how measurement should stop. Positive and negative specifies the slope of the stop arm signal. Time is to set the duration of measurement. As time is selected, use the numeric keypad or the arrow keys to input a desired duration value (refer to Ch.4.2.1). The time unit will be shown on the top-right corner.
■ according to purposes. If External Arming is selected, users can define the delay time and other settings by pressing the softkey under *Dely to toggle between None, Time and Event, the softkey under *Slop to toggle between Pos (Positive) and Neg (Negative), the softkey under Dely* to toggle between None, Time and Event, the softkey under Stop* to toggle between Auto and Ext.
[:SENSe]:TINTerval:ARM:ESTOP[:LAYer[1]]:SOURce INTernal2 [:SENSe]:TINTerval:ARM:ESTOP[:LAYer[1]]:TIMer [S] [:SENSe]:TINTerval:ARM:ESTOP[:LAYer[1]]:ECOunt External arming: [:SENSe]:TINTerval:ARM:ESTART:LAYer2:SOURce EXTernal [:SENSe]:TINTerval:ARM:ESTART:LAYer2:SLOPe POSitive | NEGative [:SENSe]:TINTerval:ARM:ESTART[:LAYer[1]]:SOURce IMMediate [:SENSe]:TINTerval:ARM:ESTART[:LAYer[1]]:SOURce TIMer [:SENSe]:TINTerval:ARM:ESTART[:LAYer[1]]:SOURce INTernal1 [:SENSe]:TINTerval:ARM
ESTART:LAY2 ESTART:LAY1 ESTOP:LAY2 ESTOP:LAY1 Front-Panel Arming Setting :SOURce :SOURce :SOURce :SOURce *START *DELAY STOP* DELAY* IMMediate IMMediate IMMediate IMMediate Auto ---Auto None IMMediate IMMediate IMMediate TIMer Auto ---Auto Time IMMediate IMMediate IMMediate INTernal2 Auto ---Auto Event EXTernal IMMediate IMMediate IMMediate Ext None Auto None EXTernal IMMediate IMMediate TIMer Ext None Auto Time EXTernal IMMediate IMMediate INTernal2 Ext None Auto Event EXTernal IMMediate EXTernal IMMediate
To Enable/Disable Math Calculation with Scale and Offset 1. Press SCALE&OFFSET button. 2. Press the softkey under Scale or Offs to do specific settings. Remote interface command Use this command to enable or disable the math operation: :CALCulate:MATH:STATe OFF ︱ON To Specify the value of Scale 1. Press SCALE&OFFSET button. 2. Press the softkey under Scale. The present value of Scale is then displayed. 3. Use the numeric keypad or the arrow keys to enter a desired value (refer to Ch.4.2.1).
softkey under Cancel to withdraw the changes. Remote interface command Use the following command to specify the value of Offset: :TRACe[:DATA] OFFSET, [HZ|S|DEG] To specify Set Offs? To enable Set Offs, the value will be set in negative automatically. 1. Press Scale & Offset button. 2. Press the softkey under Set Offs? 4.
To set upper or lower limit 1. Press LIMIT MODES button. 2. Press the softkey under UPPR to select upper limit or under LOWR to select lower limit. Use the numeric keypad or the arrow keys to enter a desired limit value (refer to Ch.4.2.1). Upper Range: -9.999,999,000,0E+12 to -1.000,000,000,0E-13 0.000,000,000,0 +1.000,000,000,0E-13 to +9.999,999,000,0E+12 Value Resolution: 11 digits Lower Range: -9.999,999,000,0E+12 to -1.000,000,000,0E-13 0.000,000,000,0 +1.000,000,000,0E-13 to +9.
To display graph for limit testing result The counter display Limit Testing results in a graph where a circle within two vertical bars represents a measurement within user-defined limits, and the setting information will be showed. Users Show Status > Limit. When users finish the Limit Testing settings and press the softkey under DONE, the graph display mode will be presented at the bottom of the display by pressing the softkey “Show Status”, and toggle between options until “Limit” appears.
Allan. To display measurement: press the softkey under SHOW to toggle through the options until MEAS appears. To set number of measurements made for each computed statistic: press the softkey under N Cnt to enter the number of counts. Use the numeric keypad and the arrow keys to set the desired value (refer to Ch.4.2.1). The number range is from 2 to 1,000,000. To display the statistics on measurements within limits (refer to Ch. 4.
Procedures for setting up the input conditions are identical for both channels. To Set Input Impedance: press the softkey under IMPED to toggle between 1 MΩ and 50Ω. To Set Input Coupling: press the softkey under COUPL to toggle between AC and DC. To Set Attenuation of signals: press the softkey under ATTEN to toggle between Χ1 and Χ10. To Set Filter: press the softkey under FILTER to toggle between NONE and 100k.
Sensitivity at a particular frequency is the lowest amplitude signal to trigger the counter for counting. The amplifier gain and the voltage difference between the trigger hysteresis levels determine the sensitivity of the counter. Sensitivity is specified by the upper and lower levels with the trigger level fixed at the middle. The input signal must cross both the upper and lower levels in order to trigger a count as shown in Figure 4-12.
Figure 4-16 To set trigger level: press the softkey under LEVEL and use the numeric keypad or arrow keys to enter a desired value as shown in the Figure 4-17 (refer to Ch.4.2.1). Trig Auto ON: 0 to 100 PCT Trig Auto OFF: ATT X1: -5.125 to +5.125V ATT X10: -51.25 to +51.25V Numeric_value Resolution: ATT X1: 0.0025V ATT X10: 0.
LOW, MED (medium) and HIGH as shown in the Figure 4-21. Figure 4-21 To set Com.: The setting is enabled only by using Time Interval as shown in the Figure 4.22. To toggle the softkey Com. OFF, sources will be inputted to the CH1 and CH2 individually as the Time Interval is working. To toggle the softkey Com. ON, sources will be supported via CH1 only as the Time Interval is working.
2. Press TIME&PERIOD button. 3. Use the softkey under (INTVL 1 to 2) to select interval measurement 4. Press CH1 (or CH2) button to enter the channel conditioning menu. 5. Press the softkey under TRIG SENS to enter the trigger setting menu. 6. Press the softkey under Com. to select OFF (or ON) as shown in the Figure 4-22. This instructs the Counter to count the signal interval time from channel 1 (or 2) to channel 2 (or 1). Figure 4-22 4.
Figure 4-23 Remote Interface Command *SAV To recall measurement setting 1. Press SAVE&RECALL button. 2. Use the softkey under Recall to select the “recall” function. 3. Toggle the same Recall softkey to enter the memory address from which you want to recall the settings. 4. Press the softkey under Run Recall to do the recall action as shown in the Figure 4-24. Figure 4-24 Remote Interface Command *RCL To erase measurement setting 1. Press SAVE&RECALL button. 2.
To Power on Recall 1. Press Save & Recall button. 2. Press the softkey under Save to select the memory number from 1 to 20 for stocking present settings. As well the arrow and numeric keys are available to be used. (It’s better that users take memo on each saved number.) 3. Press the softkey under Done to finish. 4. Press the softkey under RwrOn Recall to toggle between the saved memory numbers shown on the display. 5.
softkey under Save.). For more calibration information, please check the List 4-1. 5. Press the softkey under Run Cal when everything is set ready. Figure 4-27 Item Figure 4-28 Softkeys Description 1. Gain Inp1 + Run Cal DC +5V Calibration at CH1 2. Gain Inp2 + Run Cal DC +5V Calibration at CH2 3. Gain Att1 + Run Cal DC +9V ATT x 10 Calibration at CH1 4. Gain Att2 + Run Cal DC +9V ATT x 10 Calibration at CH2 5. Offs Inp1 + Run Cal DC +0V Calibration at CH1 6.
time-out limit, the counter will send a not-a-number value to the computer. For this purpose, the counter can prevent keeping measurement. Besides, the time out “OFF” is set to disabled the function. Figure 4-29 1. Press the UTILITY button. 2. Use the softkey under Syst to enter the system setup menu. 3. To enable/disable beeper: press the softkey under BEEP to toggle between OFF and ON. 4. To run self-test: press the softkey under SelfTest to start the test.
TimeBase Source Follow the following instruction to select TimeBase source: 1. Press UTILITY button. 2. Use the softkey under TimeBase to select timebase source. 3. Use the softkey under TimeBase to toggle between AUTO, INT (internal) and EXT (external) as shown in the Figure 4-30. Figure 4-30 Remote Interface Command ︱EXT [:SENSe]:ROSCillator:SOURce INT [:SENSe]:ROSCillator:SOURce:AUTO ON|OFF Style The Style function is the way to present values on the display.
4.11.1 View Remote Command Error Via the display tips, users will easily view remote command error. The operation procedures are in the following. 1. Press the Help button on the front panel in 2 seconds. 2. Press the softkeys under ↓,↑ and SELECT to select item 1 “View remote command error”. The command error information will be shown on the display. 3. Press the softkey under Done to exit from the display to the operation mode.
Default state resetting”. Teaching instruction will be there, such as 1: Press [Save&Recall]. 2: Press “PwrOn Recall” to select default on record “0”. 3: Press “Done” to complete setting. 3. Press the softkey under Done to exit from the display to the operation mode. 4.11.4 Synchronize Multiple Instruments Users can follow the tips to synchronize multiple instruments. The operation procedures are in the following. 1. Press the Help button on the front panel in 2 seconds. 2.
for technical support. 3. Press the softkey under Done to return to the operation mode.
5 Remote Interface Operations The MODEL 1105 supports three interfaces for remote access: USB, LAN and GPIB (IEEE-488). USB and LAN are built in the MODEL 1105. GPIB is available as an optional interface card. In addition to setting up the interfaces, this Chapter lists the SCPI (Standard Commands for Programmable Instrument) commands available for controlling the MODEL 1105 remotely. For the new users to apply SCPI commands, please refer to Appendix C for more information.
3 4 D+ GND Green Black Limit Test Fail GND Figure 5-1 ※ Note: The Pass/Fail Output can’t be used on Volt Peak and Totalize. 5.2 Pass/Fail Output via DB9 Connector The DB9 connector is an optional accessory for another kind of Pass/Fail solutions. With the connector assistance, and by the setting set to DB9 according to the similar operation procedure in the Chapter 5.1, the DB9 will output +12V via Pin4 as the limit test is passed, and the DB9 will output -12V via Pin4 as the limit test is failed.
NUCLEONICS CORPORATION to remotely control the universal counter through USB, LAN or GBIP interface. To set up the USB interface The USB cord should be connected well between the MODEL 1105 and user’s PC. Install the MODEL 1105 application in the PC and execute the program. Click Tool tab for PT Assistant, then input commands. To check USB ID 1. Press the UTILITY button and then the softkey under I/O to select the I/O menu. 2. Press the softkey under SHOW USBID. The USB ID will then be displayed.
※ Note: The MODEL 1105’s LAN supports the environments including Web Server and Java (TM) SE Runtime 6 (Update 1) or up. To configure LAN interface 1. Press UTILITY button and then the softkey under I/O to select the I/O menu. 2. Press the softkey under LAN to enter the LAN menu where users can set up IP addresses and DNS as shown in the Figure 5-4. Figure 5-4 To set up IP addresses 1. Press the sofykey under IP SETUP to enter the IP address menu. 2.
255. The procedure is described as follows. To set IP address, network mask or gateway 1. Press the softkey under DHCP to turn off DHCP. 2. Press the softkey under IP ADDR, NET MASK or GATEWAY. 3. Use the numeric keys to enter the value. 4. Press the softkey under ENTER to set the value or the softkey under CANCEL to withdraw the changes. To set up DNS DNS (Domain Name Service) translates domain names into IP addresses.
connected and interface is properly configured as described in Ch.5.1. The SCPI commands available for the MODEL 1105 are listed below for quick reference. Refer to Appendix C for detailed command syntax and description. For the new users to apply SCPI commands, please refer to Appendix C.1 for the introductory material on SCPI. ※ Note: The following conventions are used in SCPI command listing. Triangle brackets (<>) indicates that users must specify a value for the enclosed parameter.
The MEASure? Command Although it does not offer much flexibility, using the command :MEASure? is the simplest way to program the Counter for measurement. With the command, the Counter makes measurement according to the selected measurement function and sends the result to the output buffer. :MEASure[:SCALar]:? [,] For more information about , and , please refer to the above table.
[:VOLTage]:PHASe? [(@1),(@2)] [:VOLTage]:DCYCle? [][,(@1)] [:VOLTage]:PDUTycycle? [][,(@1)] [:VOLTage]:TOTalize:TIMed? [][,(@1)] The CONFigure Command The CONFigure command offers a little more flexibility than the command MEASure? and is usually used with the commands READ?. The universal counter sets the parameters for the requested function, but does not make measurement. Users have an option to change the configuration.
[:VOLTage]:PWIDth [][,(@1)] [:VOLTage]:NWIDth [][,(@1)] [:VOLTage]:INITerval [(@1),(@2)] [:VOLTage]:PTPeak [(@1),(@2)] [:VOLTage]:MAXimum [(@1),(@2)] [:VOLTage]:MINimum [(@1),(@2)] [:VOLTage]:CENTer [(@1),(@2)] [:VOLTage]:PHASe [(@1),(@2)] [:VOLTage]:DCYCle [][,(@1)] [:VOLTage]:PDUTycycle [][,(@1)] [:VOLTage]:TOTalize:CONTinuous [(@1)] [:VOLTage]:TOTalize:TIMed [][,(@1)] The READ? Command The command READ? is often used with the command CONFigure? to h
[:VOLTage]:FTIMe? [:VOLTage]:PWIDth? [:VOLTage]:NWIDth? [:VOLTage]:INITerval? [:VOLTage]:PTPeak? [:VOLTage]:MAXimum? [:VOLTage]:MINimum? [:VOLTage]:CENTer? [:VOLTage]:PHASe? [:VOLTage]:DCYCle? [:VOLTage]:PDUTycycle? [:VOLTage]:TOTalize:TIMed? The Commands INITiate and FETCh? These two commands provide the lowest level of control of measurement triggering and reading retrieval, but offer the most flexibility.
[:VOLTage]:RTIMe? [:VOLTage]:FALL:TIME? [:VOLTage]:FTIMe? [:VOLTage]:PWIDth? [:VOLTage]:NWIDth? [:VOLTage]:INITerval? [:VOLTage]:PTPeak? [:VOLTage]:MAXimum? [:VOLTage]:MINimum? [:VOLTage]:CENTer? [:VOLTage]:PHASe? [:VOLTage]:DCYCle? [:VOLTage]:PDUTycycle? [:VOLTage]:TOTalize:TIMed? The [:SENSe] command The commands [:SENSe] control directly on the instrument-specific setting, but not the ones related to the signal-oriented characteristics.
:FREQuency:ARM:STOP:SOURce IMMediate|EXTernal|TIMer|DIGits :FREQuency:ARM:STOP:TIMer [S] :FREQuency:EXPected[1|2|3] [HZ] :FREQuency:EXPected[1|2|3]:AUTO ON [:SENSe] :PHASe:ARM[:STARt]:SLOPe POSitive|NEGative :PHASe:ARM[:STARt]:SOURce IMMediate|EXTernal [:SENSe] :TINTerval:ARM[:STARt]:SLOPe POSitive|NEGative :TINTerval:ARM[:STARt]:SOURce IMMediate|EXTernal :TINTerval:ARM:STOP:SOURce IMMediate|TIMer :TINTerval:ARM:STOP:TIMer [S] [:SENSe] :TOTaLize:ARM[:STARt]
The COMMANDS CALCulate All commands :CALCulate perform mathematical operations on the measurements, but among those commands the commands :CALCulate[1] deal with the calculations related to SCALE and OFFSET operations, and commands :CALCulate2 performs operations related to limit testing, and commands :CALCulate3 do all calculations related to statistics operations.
:CALCulate3 :AVERage:ALL? :AVERage:CLEar :AVERage:COUNt :AVERage:COUNt:CURRent? :AVERage:[:STATe] :AVERage:TYPE MAXimum DELTa |ALLAN |MINimum|SDEViation|SCALar or MEAN| :DATA? :FEED “[:]CALCulate[1]” :LFILter:LOWer[:DATA] [HZ|S|DEG] :LFILter:UPPer[:DATA] [HZ|S|DEG] :LFILter:STATe :PATH? Commands SYSTEM-RELATED :ABORt :DISPlay :ENABle :MENU[:STATe] OFF ︱ [:WINDow]:TEXT:FEED “[:]CALCulate2” “[:]CALCulate3” [:WINDow]:TEXT:RADi
:IDNStr Example: SYSTem:IDNStr “BERKELEY NUCLEONICS CORPORATION MODEL 1105,0,0,0” CALIBRATION COMMANDS The MODEL 1105 universal counter has a security code to protect the counter from an accidental calibration. You have to enter a correct security code before you can calibrate the counter.
*IDN? *OPC *OPC? *OPT? *RCL *RST *SAV *SRE *SRE? *STB? *TRG *TST? *WAI 80
6 Manual Calibration Procedures The manual calibration is via the following procedures: UTILITY > CAL > Enter Security Code > Cal Diag > (Gain, Offs, T-F) > RunCal. After pressing the softkey under RunCal, the counter’s display will show “Calibrating…”. The finished message will disappear from the display as calibration is done. On the contrary, the NG message will show on the display as calibration is failed. The Calibration can be saved by pressing the softkey under Save.
Inp2. 2. Remove all sources on the counter. 3. Press the softkey under RunCal to do the calibration. Then, the counter’s display will show “Calibrating…”. The finished message will disappear from the display as calibration is done. On the contrary, the NG message will show on the display as calibration is failed. 6.3 How to do the ATT x 10 Offset Calibration via CH1 The Offset Calibration via CH1 is for checking ATT x 10 and DC +0V. Please do the following procedures to finish the calibration. 1.
6.5 How to do the Gain Calibration via CH1 The Offset Calibration via CH1 is for checking DC +5V. Please do the following procedures to finish the calibration. 1. Press UTILITY > CAL > Enter Security Code > Cal Diag > Gain Inp1. 2. Use the BNC T-connector with 2 BNC cords to link an Agilent 33220A and a DMM (multimeter) as shown in the Figure 5-1. 3. Under the Agilent 33220A operation, the procedures should be Utility > DC ON > Output Setup > Hi-Z. 4.
will disappear from the display as calibration is done. On the contrary, the NG message will show on the display as calibration is failed. 6.7 How to do the ATT x 10 Gain Calibration via CH1 The Offset Calibration via CH1 is for checking ATT x 10 and DC +9V. Please do the following procedures to finish the calibration. 1. Press UTILITY > CAL > Enter Security Code > Cal Diag > Gain Att1. 2. Use the BNC T-connector with 2 BNC cords to link an Agilent 33220A and a DMM (multimeter). 3.
4. Adjust the voltage on the Agilent 33220A, and let the DMM displays +5.000V ±0.001V. 5. Remove the input source, from the DMM, on the counter. 6. Press the softkey under RunCal to do the calibration. Then, the counter’s display will show “Calibrating…”. The finished message will disappear from the display as calibration is done. On the contrary, the NG message will show on the display as calibration is failed. 6.
6.10 How to do the Time Interval Calibration The calibration is for Time Interval excluding the External ARM. Please do the following procedures to finish the calibration. Press UTILITY > CAL > Enter Security Code > Cal Diag > T-F Fine1. Under the Agilent 81110A operation, the procedures should be MODE/TRG > Pulse-Period > internal PLL. Under the Agilent 81110A operation, press LEVELS and then Output1 & Output2 buttons to set Amplit to 1V and the Offset to 0V respectively.
MODE/TRG > Pulse-Period > internal PLL. 6. Under the Agilent 81110A operation, press LEVELS and then Output1 and Output2 buttons to set Amplit to 1V and the Offset to 0V respectively. 7. Under the Agilent 81110A operation, press TIMING button, and set the Freq1 & Freq2 to ON, and adjust them to 1MHz respectively. 8. Under the Agilent 81110A operation, in the Output1 set the Delay to 0s, DtyCyc to 50 % and LeadE to 0.8ns. And in the Output2 set the Delay to 125ns, DtyCyc to 50% and LeadE to 0.8ns. 9.
7 Error Messages Errors are retrieved in first-in-first-out (FIFO) order. The first error returned is the first error that was stored. Use :SYST:ERR? to read errors. When user has read all errors from the queue, the error queue becomes empty and any error query will return +0, “No error”. The MODEL 1105 beeps once each time an error occurs. Should more than 29 errors have existed, the last error stored in the queue (the most recent error) is replaced with -350, “Queue overflow”.
type. For example, numeric or string data was expected, but block data was received. -105 GET not allowed A Group Execute Trigger was received within a program message. -108 Parameter not allowed More parameters were received than expected for the header. -109 Missing parameter Fewer parameters were received than required for the header. -112 Program mnemonic too long The header or character data element contains more than twelve characters.
-141 Invalid character data An invalid character was detected in the character data element. -148 Character data not allowed A legal character data element which was prohibited by the Counter was detected. -150 String data error This error can be generated when parsing a string data element. This particular error message is used if the Counter cannot detect a more specific error. -151 Invalid string data A string data element was expected but was invalid for some reason.
7.2 Execution Errors -200 Execution error This is the generic syntax error if the Counter cannot detect more specific errors. This code indicates only that an Execution Error has occurred. -210 Trigger error Used when the Counter cannot detect a more specific error from the :INIT, :TRIG, or :ABOR subsystems. -211 Trigger ignored Indicates that a GET or *TRG was received and recognized by the Counter but was ignored.
missing Counter hardware. For example, the Channel 3 option was not installed. -272 Macro execution error Indicates that a syntactically legal macro program data sequence could not be executed due to some error in the macro definition. 7.3 Device-Specific Errors -300 Device-specific error This is the generic device-dependent error. -310 System error Indicates that a system error occurred. -330 Self-test failed Indicates at least one failure occurred when *TST? was executed.
7.5 Counter-Specific Errors +2000 Offset calibration on channel 1 failed +2001 Offset calibration on channel 2 failed +2002 Gain calibration on channel 1 failed +2003 Gain calibration on channel 2 failed +2004 Interpolator calibration failed +2005 Oscillation calibration failed +2006 Time interval calibration failed +2007 Measurement hardware calibration failed A measurement calibration failed on the last measurement.
Appendix A. Specification List This appendix contains the specifications of the MODEL 1105. It covers the AC, DC, Resistance, Temperature, and Frequency/Period characteristics under a variety of conditions. It also contains the general characteristics and accuracy calculations for your convenience. A lot of efforts are made to make sure these specifications serve your needs for production, engineering and/or research purposes. All specification applies to the MODEL 1105 unless noted otherwise.
Width (150 mVpp with optional rear connectors) >10 ns Pulse Width 50 mVpp to 10 Vpp (150 mVpp with optional rear connectors) Trigger Level(ATT x 1) Range ±5.125 V Accuracy ±(15 mV + 1% of trigger level) Resolution 2.5mV ATT x 10 Range X 10 Trigger Slope Positive or Negative Auto Trigger Level Range 0 to 100% in 1% steps Frequency Peak Voltage fast mode >10KHz Peak Voltage slow mode > 100Hz Amplitude> 100 mVpp (No amplitude modulation) Damage Level DC~400MHz 50 Ω 12 Vrms 0 to 3.
+25 dBm DC ±12V External Arm Input Specifications LVTTL and TTL compatible Signal Input Range Timing Restrictions Pulse Width > 50 ns Transition Time < 250 ns Start-to-Stop Time > 50 ns Damage Level 12 Vrms External Arm Input Characteristics 1 kΩ Impedance Input Capacitance 17 pF Start Slope Positive or Negative Positive or Negative Stop Slope 1. External Arm is available for all measurements except Peak Volts. 2. External Arm is referred to as External Gate for some measurements.
Channel 1 and 2 Trigger Default setting is Auto Trigger at 50 % “Auto” Gate Time 0.1 sec STD CH 3 375 MHz to 6 GHz (0.166 ns to 2.6 ns) Frequency Ratio CH 1/ CH 2, CH 1/ CH 3, CH 2/ CH 1, CH 3/ CH1 (Measurement is specified over the full signal range of each input.) 10E-10 to 10E+11 Results Range “Auto” Gate Time 0.1 sec Time Interval Measurement is specified over the full signal ranges of Channels 1 and 2. The width of the pulse must be greater than 1 ns, frequency range to 300 MHz.
Trigger Default setting is Trigger at 0 V Results Range 1.5 ns to 10E+15 Resolution 1 count Systematic Uncertainty ± 1 count Peak Volts -5.1 V to + 5.1 V Results Range 2.
A.1 RMS Resolution Rms (Typical) 100Hz 1KHz 10KHz 100KHz 1105 (10ms) 0.000000842 0.000003438 0.000013896 0.000067275 1105 (100ms) 0.0000001 0.000000828 0.000005093 0.000011508 1105 (1s) 0.000000001 0.000000098 0.000001212 0.000004869 Rms (Typical) 1MHz 10MHz 100MHz 1GHz 1105 (10ms) 0.000677504 0.004830870 0.042107484 0.611551072 1105 (100ms) 0.000101040 0.002272900 0.006344503 0.055991810 1105 (1s) 0.000058166 0.000469601 0.001275299 0.
B.
C. General Specifications Item Limitation & description 100V/240V±10% 50Hz~60Hz±10% Power Supply Voltage Power Requirements 100V/120V±10% 400Hz±10% 50 VA Maximum Maximum relative humidity 80% for Operating Humidity Operating Environment Storage Temperature Operating Altitude Dimensions for Rack (WxHxD) Weight Safety EMC ℃ decreasing linearly to 50% relative humidity at 40℃ 0 to 55 ℃ - 40 ℃ to 70 ℃ temperature up to 31 Up to 2000m 214.6 x 88.6 x 346.
D. Remote Interface Reference D.1 Introduction to the SCPI Language SCPI (Standard Commands for Programmable Instruments) is an ASCII-based instrument command language designed for test and measurement instruments. Refer to “Simplified Programming Overview,” for an introduction to the basic techniques used to program the universal counter over the remote interface. SCPI commands are based on a hierarchical structure, also known as a tree system.
SENSE, sens, and Sens are all acceptable. Other forms, such as SEN and SE, will generate an error. A vertical bar ( | ) separates multiple parameter choices for a given command string. Triangle brackets ( < > ) indicate that you must specify a value for the enclosed parameter. For example, the above syntax statement shows the range parameter enclosed in triangle brackets. The brackets are not sent with the command string. You must specify a value for the parameter (such as "INPut:COUPling AC").
Use a colon and a semicolon to link commands from different subsystems. For example, in the following command string, an error is generated if you do not use both the colon and semicolon: :DISP:MENU OFF;:CALC2:LIM:DISP NUMBER Querying Parameter Settings You can query the current value of most parameters by adding a question mark (?) to the command.
keyword is separated from the first parameter by a blank space. Use a semicolon (;) to separate multiple commands as shown below: *RST; *CLS; *ESE 32; *OPC? SCPI Parameter Types The SCPI language defines several different data formats to be used in program messages and response messages. Numeric Parameters Commands that require numeric parameters will accept all commonly used decimal representations of numbers including optional signs, decimal points, and scientific notation.
DISPlay:TEXT “CALC2” D.2 Command Reference :ABORt Aborts any measurement in progress as quickly as possible. Notes When this command is sent while the measurement cycle is idle (:INIT:CONT OFF and pending operation flag is false), it is ignored. When this command is sent while a single measurement is in progress (:TRIG:COUN:AUTO OFF or :CALC3:AVER OFF, :INIT:CONT OFF, and pending operation flag is true), the measurement will be aborted and pending operation flag set false.
When using ASCii format, numeric data is transferred as ASCII bytes in format. The number of significant digits will range from 1 to 15, depending on the measurement resolution. Only significant digits will be returned. If there is no valid result, error -230 will be generated and 9.91E37(Not A Number) will be returned. If Totalize or Voltage Peaks are chosen, error 0221 will be generated and 9.91E37(Not A Number) will be returned.
Note The recalculation is done automatically when any change is made to any of the :CALCulate[1|2] commands when :CALC:IMM:AUTO ON. :CALCulate[1]:IMMediate? Queries the results of the new calculation. Note As the commands INIT:CONT OFF and CALCulate[1]:IMMediate:AUTO OFF are inputted, the command :CALCulate[1]:IMMediate? is just valid. :CALCulate[1]:IMMediate:AUTO Sets if the re-calculation will automatically be done whenever there’s any change made to any of the :CALCulate[1|2] commands.
A sequence of ASCII-encoded bytes(“SENS”*SCALE+OFFSET) terminated by a new line and EOI. Note It should be the last query in a terminated program message or error-440 will be generated. :CALCulate[1]:MATH[:EXPRession]:NAME SCALE_OFFSET Or :CALCulate[1]:MATH[:EXPRession]:SELect SCALE_OFFSET Defines the name of the expression used in mathematic operation. Return A sequence of ASCII-encoded bytes:SCALE_OFFSET. :CALCulate[1]:MATH:STATe Enables or disables the mathematic operation.
:CALC2:LIM:FCO :CALC2:LIM:PCO :CALC3:… Note The re-calculation is done automatically when any change is made to any of the :CALCulate[1|2] commands when :CALC:IMM:AUTO is ON. :CALCulate2:IMMediate:AUTO Sets if the re-calculation will automatically be done whenever there’s any change made to any of the :CALCulate[1|2] commands. When it is set to OFF, the :CALCulate[1|2] command produces new results when the command is executed, even when new data is not acquired.
This will be set to ON after the counter has been turned off or a remote interface reset. When this is set to ON, the following will be done whenever :INIT[:IMM] or :INIT:CONT ON is executed: The limit data gets cleared. The :CALC2:LIM:FAIL, :CALC2:LIM:FCO and :CALC2:LIM:PCO information gets cleared. The Limit-Detect output of the RS-232 connector is set to the in-limit voltage level.
If the current measurement function is Totalize or Voltage Peaks, a “0” will be returned and error -221 will be generated. :CALCulate2:LIMit:FCOunt:LOWer? Queries the number of the measurement that fails the lower limit test. Return Numeric data transferred as ASCII bytes in format. Notes If the limit test is off, a “0” will be returned and error -221 will be generated. If there is no valid measurement result, a “0” will be returned and error -230 will be generated.
generated. If the current measurement function is Totalize or Voltage Peaks, a “0” will be returned and error -221 will be generated. :CALCulate2:LIMit:PCOunt[:TOTal]? Queries the total number of measurements that pass the limit test. Return Numeric data transferred as ASCII bytes in format. Notes If the limit test is off, a “0” will be returned and error -221 will be generated. If there is no valid measurement result, a “0” will be returned and error -230 will be generated.
A fail will be returned if the result is less than the lower limit, but when the result is equal to the lower limit, the counter will not report a fail. Notes The lower limit will be set to 0 after the counter has been turned off or a remote interface reset. Setting a new lower limit will clear the limit counts (:CALC2:LIM:FCO, :CALC2:LIM:PCO). If the limit testing is on (:CALC:MATH:STATe ON), user should consider the scaled and offset results when specifying the limit.
digits range from 1 to 15, depending on the resolution. Notes The statistics operation should be enabled (:CALC3:AVER[:STATe] ON ) before using this command. If not, Not A Number 9.91E37 will be returned and error -221 will be generated. The result is separated by commas, and the display order is mean value, standard deviation, minimum value and then maximum value. If there is no valid result, Not A Number 9.91E37 will be returned and error -230 will be generated.
Return Numeric data transferred as ASCII bytes in format. Notes If the statistics operation is not enabled (:CALC3:AVER[:STATe] OFF, error -221 will be generated. If the current measurement operation is Totalize or Voltage Peaks, 0 will be returned and error -221 will be generated. :CALCulate3:AVERage[:STATe] Sets or queries the statistics operation state. Return A single ASCII-encoded byte. 0 means OFF and 1 means ON.
significant digits will range from 1 to 15, depending on the resolution. Notes Be sure to enable the statistics operation before query the result. If the statistics operation is not enabled (:CALC3:AVER[:STATe] OFF), or the current measurement function is Totalize or Voltage Peaks, Not A Number 9.91E37 will be returned and error -221 will be generated. If there is no valid result, Not A Number 9.91E37 will be returned and error -230 will be generated.
(:CALC2:LIM:FCO, :CALC2:LIM:PCO). When the display is not able to show all of the significant digits of this value, the displayed value is different from the actual value because the displayed value has been rounded. But if you press ENTER while the number is still in display, the actual value will be updated to the value shown. :CALCulate3:LFILter:UPPer[:DATA] [HZ|S|DEG] Sets or queries the upper limit in statistics operation. The resolution is 11 digits and the range is from -9.
It will be returned to 0 after the counter has been turned off or a remote interface reset. When this is on, only the measurements (scaled and offset when math is on) within limits will be used in statistical calculation. :CALCulate3:PATH? Queries the order in which CALCulate3 sub-blocks are to be processed. Return A sequence of ASCII-encoded bytes: LFIL, AVER. Notes For the counter, this sequence is fixed to be LFILter followed by AVERage.
Notes The security state is stored in non-volatile memory and is unaffected by power-on, save/recall or *RST. The security code is set to 1105 when the Counter is shipped from the factory. If users forget the security code, they can use the :CALibration:SECurity:CODE:RESet command to recover to the default condition.
A string with the form of “ [,
Return A single ASCII-encoded byte. 0 means that the result display is in enabled and 0 means that the menu display is enabled. Notes The state of the display will be set back to OFF which means that the menu display is disabled and the result display is enabled after *RST command. Use :SYST:KEY command or the front panel key to display the menu. This value is unaffected by save&recall.
A sequence of ASCII-encoded byte: COMM or DPO. Note This value is stored at non-volatile memory, so it will not change after the counter has been turned off, or after *RST command or save&recall. :FETCh[[:SCALar]:]? This command queries the measurement taken by the command :INItiate (or :MEASure query or :READ?). This command is the generic form of the Commands :FETCh?.
first. Note Sending this command while a measurement is in progress will hold off further commands from being executed until the current measurement completes. However, you can use Device Clear or power-on to cancel this hold-off effect. :FORMat[:DATA] ASCii|REAL Sets or queries the format type of the data. When choosing ASCii type, numeric data is transferred as ASCII bytes in format. The numbers are separated by commas as specified in IEEE488.2. When there is no response data, Not A Number 9.
Return A single ASCII-encoded byte. 0 means AUTO OFF and 1 means AUTO ON. Note This will be set back to AUTO OFF after *RST command. :INITiate:CONTinuous Sets or queries the enable for initiating measurements continuously. When the CONTinuous is set to ON, the measurements are initiated continuously, when the CONTinuous is set to OFF, the counter does not issue any measurement until it receives :INITiate[:IMMediate] command or CONTinuous is set to ON. Return A single ASCII-encoded byte.
The beginning of the first measurement caused by setting :INIT:CONT ON sets the pending Operation Flag to true. The pending Operation Flag is set to false by aborting of a measurement, or by the completion of the last measurement after :INIT:CONT is set to OFF. When the measurements are being made continuously, :ABORt command will terminate the measurement in progress, but does not change the value of :INIT:CONT.
receives :INIT[:IMM]. When :CALC2:LIM:CLE:AUTO is ON and whenever the counter receives :INIT:CONT ON command, it : o Invalidates the limit data, o Clears the pass and fail counts (:CLAC2:LIM:FCO and :CALC2:LIM:PCO) in the limit testing. o Sets the Limit-Detect output to the in-limit voltage level. When [:SENSe]:EVEN:LEV[:ABS]:AUTO is ON and :INIT[:IMM] command is sent, the counter issues an auto-trigger on the source.
Sets or queries the state of the low-pass filter. Return A single ASCII-encoded byte. 0 means OFF and 1 means ON. Note This will be set to OFF after *RST command :INPut[1|2]:FILTer[:LPASs]:FREQuency? Queries the cut-off frequency of the low-pass filter. Return Numeric data transferred as ASCII bytes in format with six significant digits. A value of 100E+3 is returned. :INPut[1|2]:IMPedance [OHM] Sets or queries the input impedance. It is either 50Ω or 1MΩ.
Numeric data transferred as ASCII bytes in format with six significant digits. The value returned is 50. The Commands :MEASure? The command :MEASure is the simplest way to make a measurement. It configures the counter, initiates the measurement and queries the result all in one command. :MEASure[:SCALar]:? [,] The above command is the generic form of the :MEASure? Commands.
:MEASure[:SCALar][:VOLTage]:FALL:TIME? [ [,upper_reference>]][,(@1)] Sets the measurement arming to “auto” and measures Fall Time with the specified parameters. The and are used to specify the lower and upper points on the falling edge of the input signal. They can be specified as either a percentage or an absolute voltage. The and are used to configure the trigger setting.
specified value. When they are specified in voltage, auto-trigger is disabled and the trigger level is the specified value. default 10 pct Percent range 0 to 100 pct Percent resolution 10% Voltage range -5.125V to 5.125V for ×1 attenuation -51.25V to 51,25V for ×10 attenuation 0.0025V for ×1 attenuation Voltage resolution 0.025V for ×10 attenuation default 90 pct Percent range 0 to 100 pct Percent resolution 10% Voltage range -5.125V to 5.
Resolution should use a mantissa of 1.0 and be an even power of 10 Default Value which indicates 4 digits of resolution for the specified Ch3 Range 1E-7 Hz ~ 1E7 Hz (15 to 3 digits of resolution) Resolution should use a mantissa of 1.
(@1) Default (@1)|(@2) Range :MEASure[:SCALar][:VOLTage]:MINimum? [(@1)|(@2)] Measures voltage minimum. Default Range (@1) (@1)|(@2) :MEASure[:SCALar][:VOLTage]:NWIDth? [][,(@1)] Sets the measurement arming to “auto” and measures negative pulse width. The specifies the point on the pulse where the negative pulse width is determined. This point can be specified in percentage or in voltage. The default unit is percent.
Voltage range -5.125V to 5.125V for ×1 attenuation -51.25V to 51,25V for ×10 attenuation Voltage resolution 0.0025V for ×1 attenuation 0.025V for ×10 attenuation default (@1) range (@1) :MEASure[:SCALar][:VOLTage]:PERiod? [ [,]] [,(@1)|(@2)|(@3)] Sets the measurement arming to “digits” and measures the period. The and parameters are used to configure the number of digits of resolution arming setting.
The Channel 1 and Channel 2 share the same trigger setting so that the measurement channel has auto-trigger enabled at 50% with a positive slope. Default (@1),(@2) Range (@1),(@2) :MEASure[:SCALar][:VOLTage]:PTPeak? [(@1)|(@2)] Makes Peak-to-Peak measurement. (@1) Default (@1)|(@2) Range :MEASure[:SCALar][:VOLTage]:CENTer? [(@1)|(@2)] Measures center voltage.
Return Numeric data transferred as ASCII bytes in format, which is 21. The response is one greater than the maximum which can be sent as a parameter to the *SAV and *RCL commands. :READ[[:SCALar]:]? The command is usually used with a :CONFigure command to make measurements like Command :MEASure?. User can specify individual setting for their measurements by adding setting specification commands between them. This command is the generic form of the Command :READ?.
Queries the current measurement results of the :SENSe commands (no scale or offset applied). Return Result is formatted according to :FORMat[:DATA] ASCii|REAL command. Notes If using the ASCii format, numeric data is transferred as ASCII bytes in format. The number of significant digits ranges from 1 to 10 depending on the resolution. If there is no valid measurement result, Not A Number 9.91E37 will be returned and error -230 will be generated.
Return The “100”, “50” or “0” PCT is returned. Note As the command *RST is executed, the noise immunity will be set to 50 PCT. [:SENSe]EVENt[1|2]:LEVel[:ABSolute] [V] Sets or queries the level of the center of the hysteresis window. The range is -5.125 to 5.125 volts for X1 attenuation and -51.25 to 51.25 volts for X10 attenuation. The resolution is 0.0025V for X1 attenuation and 0.025V for X10 attenuation.
Sets or queries the percentage of the peak-to-peak range of the signal at which the instrument automatically triggers. The range is from 0 to 100 PCT, and the resolution is 10 PCT. The counter automatically measures and computes the trigger level according to the ︱ percentage specified by the command :[:SENS]:EVEN[1 2]:LEV:REL when it receives this command. Return Numeric data transferred as ASCII bytes in format.
in volts as units. Note The returned value is 0, and the unit is volts. [:SENSe]EVENt3:SLOPe? Queries which edge of channel 3 is used to define an event. Return A sequence of ASCII-encoded bytes, POS. Sets or queries Gate for Period, frequency and frequency ratio measurements. For more information about the front panel gating settings and the interface command parameters, please refer to the FREQ table in Chapter 5.4.
interface reset. [:SENSe]:FREQuency:ARM:STOP:DIGits Sets or queries the resolution in terms of digits used in arming Period, Frequency and frequency ratio measurements. Return Numeric data transferred as ASCII bytes in format, and the range of the resolution is 3 to 15. Notes This will be set to 4 after the counter has been turned off or a remote interface reset. This command only applies when [:SENSe]:FREQ:ARM:STOP:SOUR DIG is used.
[:SENSe]:FREQuency:ARM:STOP:TIMer [S] Sets or Queries the gate time used in arming Period, Frequency and Frequency ratio measurements. The range is 1E-3 to 1,000 seconds and the resolution is 0.01E-3 seconds. Return Numeric data transferred as ASCII bytes in format with six significant digits. Notes This will be set to the value of 0.1 second after the counter has been turned off or a remote interface reset.
Single ASCII-encoded byte. 0 means OFF and 1 means ON. Notes This will be set to ON after the counter has been turned off or a remote interface reset. Enabling the auto mode will clear the previously-specified value of approximate frequency if any. The only way to disable this is to set a approximate value for the frequency using the [:SENSe]:FREQuency:EXPected[1 ︱2︱3] [HZ] command. Save/recall operation does not apply on this value.
the sensor function is frequency on channel 1, the returned string will be “FREQ”. If the sensor function is frequency on channel 2, then the string “FREQ 2” will be returned. When the optional channel specification is skipped, the counter will automatically choose to use the default channel, which is channel 1 for Frequency, Period, Rise/Fall time, Duty Cycle, Pulse width, Totalize and Voltage Peaks measurements, and channel 1 to channel2 for Time Interval, Frequency Ratio and Phase measurements.
Sets or queries the start arm for Phase measurements. Return A sequence of ASCII-encoded bytes. IMM means Immediate and EXT means External. Note This will be set to Immediate after the counter has been turned off or a remote interface reset.
[:SENSe]:ROSCillator:SOURce:AUTO Sets or queries the state of the auto-specifying reference timebase. With this on, the counter automatically choose the external reference signal as the reference timebase when a valid signal is present at the Ref In connector on the rear panel. When an invalid signal is present at this connector, the internal timebase is used. Return A single ASCII-encoded byte. 0 means Off and 1 means ON.
front panel gating settings and the interface command parameters, please refer to the TINT table in Chapter 5.4. [:SENSe]:TINTerval:ARM:ESTART:LAYer2:SLOPe POSitive ︱NEGative Sets or queries the slope of the external start arm signal used in external arming Time interval measurements. Return A sequence of ASCII-encoded bytes. POS means Positive and NEG means Negative. Notes This will be set to Positive after the counter has been turned off or a remote interface reset.
Internal 1 is used. This command does not apply on Rise/Fall time, Duty cycle or Pulse width measurements. [:SENSe]:TINTerval:ARM:ESTARt[:LAYer[1]]:SOURce IMMediate ︱ TIMer ︱ INTernal[1] Sets or queries the start arm delay fro Time Interval measurements. Return A sequence of ASCII-encoded bytes. IMM means Immediate, TIM means Timer and INT means Internal. Note This will be set to Immediate after the counter has been turned off or a remote interface reset.
negative edge. Notes This will be set to Positive after the counter has been turned off or a remote interface reset. This command only applies when [:SENSe]:TINT:ARM:ESTOP:LAY2:SOUR EXT is used. [:SENSe]:TINTerval:ARM:ESTOP:LAYer2:SLOPe IMMediate ︱EXTernal Sets or queries the stopping point of the arm for Time interval measurements. Return A sequence of ASCII-encoded bytes. IMM means Immediate and EXT means External.
A sequence of ASCII-encoded bytes. IMM means Immediate, INT means Internal2 and TIM means Timer. Note This will be set to Immediate after the counter has been turned off or a remote interface reset. This command does not apply on Rise/Fall time, Pulse width or Duty cycle measurements. [:SENSe]:TINTerval:ARM:ESTop[:Layer[1]]:TIMer [S] Sets or queries the delay time used in stop arm for Time Interval measurements. The range is 100E-9 to 10.
This command only applies when [:SENSe]:TOT:ARM[:STAR]:SOUR EXT is used. [:SENSe]:TOTalize:ARM[:STARt]:SOURce IMMediate ︱EXTernal Sets or queries the starting point of the arm for Totalize measurement. Return A sequence of ASCII-encoded bytes. IMM means Immediate and EXT means External. Notes This will be set to Immediate after the counter has been turned off or a remote interface reset.
reset. When the staring and the stopping points are both set to immediate, the command :INIT[:IMM] can be used to start totalizing and the command :ABORt can be used to end it. Before the “auto” totalize measurement is terminated, no totalize result will be available. [:SENSe]:TOTalize:ARM:STOP:TIMer [S] Sets or queries the gate time in arming Totalize measurements. The range is 1E-3 to 1,000 seconds and the resolution is 0.01E-3 seconds.
A USB or DB9 message will be returned. Note As the command :SYSTem:COMMunicate:SERial:SOURce USB is executed, users can’t do the remote control via USB excluding LAN or GPIB. :SYSTem:COMMunicate:SERial:CONTrol:DTR OFF|LIMit Sets or queries the hardware pacing scheme. The parameter LIMit can be set by the | command :SYSTem:COMMunicate:SERial:SOURce USB DB9. As the command is set to OFF, users can’t use the Output function of the Limit PASS/FALL.
:SYSTem:KEY This command simulates the pressing of a front-panel key. The parameter is a key code number. The following table shows the keys and their corresponding number codes. This command places an entry in the Key Queue just like the real pressing of a key on the front panel. The maximum capacity of the key queue is 500. Return Numeric data transferred as ASCII bytes in format. The number returned represents a key last pressed in the front panel.
:SYSTem:KEY:LOG? Queries all the entries in the Key Queue. Return Numeric data transferred as ASCII bytes in format. A “-1” is returned when the queue is empty. Each Key Code number is separated by a comma. The entries are in a last-in, first-out order. The maximum number of key codes is 500. Each key code has a range of 1 to 10. Note The Key Queue will be empties after the counter has been turned off or after a *RST command. Save/recall operation does not apply on this value.
I/O mode is compatible. |COMPatibility :SYSTem:UTILity:IO:MODE NATive To set and query the IDN string, the NATive can be selected for default, and the COMPatibility can be selected for user definition. Return A sequence of ASCII-encoded bytes: NAT or COMP. Note As the command *RST is executed, the NAT will be set. The Commands :TRACe These commands are used to specify and query the scale and offset values. :TRACe:CATalog? Queries the names of the constants the counter uses.
Return The format of the response is according to the specification made in :FORMat[:DATA] ASCii|REAL command. If using the ASCII format, the numeric data is transferred as ASCII bytes in format with eleven significant digits.
:TRIGger:COUNt:AUTO Sets or queries the control over the number of measurements taken when :INITiate[:IMMediate] command is sent. With this OFF, the :INIT[:IMM] initiates one measurement.
This command does not clear saved settings or any data memories. This command will clear any displayed error messages. *DDT This is a Define Device Trigger command. It sets or queries the command that the device will execute when it receives the IEEE 488.1 Group Execute Trigger (GET) interface message or a *TRG common command. The counter takes only the commands :INITitate[:IMMediate], :READ? and :FETCh? or otherwise error -224 will be generated.
Queries the Standard Event Status Enable Register. Return Numeric data transferred as ASCII bytes in format. Notes The Standard Event Status Enable Register is cleared and set to “0” after the counter has been turned off. This value is unaffected by save/recall and *RST. *ESR? Queries the Standard Event Status Register. This event register captures changes in conditions, by having each event bit correspond to a specific condition in the instrument.
counter has been turned off or upon the transition of the measurement cycle from measuring to idle. *OPC? A response is generated when the counter is placed in an idle state from a measuring state. This allows synchronization between a controller and the instrument using the MAV bit in the Status Byte Register or a read of the Output Queue.
*WAI :CALibration:DATA :CALibration:SECurity:CODE :CALibration:SECurity:STATe :CONFigure? :DISPlay:ENABle :DISPlay:MENU[:STATe] :DISPlay[:WINDow]:TEXT:RADix [:SENSe]:FREQuency:EXPected[1|2|3] [:SENSe]:FREQuency:EXPected[1|2|3]:AUTO [:SENSe]:ROSCillator:SOURCe [:SENSe]:ROSCillator:SOURCe:AUTO :SYSTem:COMMunicate:SERial:CONTrol:DTR :SYSTem:ERRor? :SYSTem:KEY? :SYSTem:KEY:LOG? GP-IB address *RST Reset the universal counter to its power-on configuration, disables macros, empties the Key queue and places the co
resolution is 1. *SRE? Queries the Service Request Enable Register. Return Numeric data transferred as ASCII bytes in format. The value of bit 6 and unused bits is zero when queries. Notes This value is cleared and set back to zero after the counter has been turned off. This value is not affected by save/recall and *RST command. *STB? Queries the Status Byte Register.
Starts an internal self-test and returns a response indicating if there is any error found in the self-test. Return Numeric data transferred as ASCII bytes in format. A response value of zero indicates a complete self-test without any errors and a response value of non-zero value indicates either a complete test with errors or an unfinished self-test. If the self-test fails, error -330 will be generated.
[:EXPRession] :CATalog? [:DEFine]? ︱ :NAME :SELect SCALE_OFFSET :STATe :CALCulate2 :FEED “[:]CALCulate[1]” :IMMediate :AUTO :LIMit :STATe :DISPlay GRAPh |NUMBer :CLEar :AUTO [:IMMediate] :FAIL? :PCOunt [:TOTal]? :FCOunt :LOWer? :UPPer? [:TOTal]? :LOWer [:DATA] [HZ :UPPer [:DATA] [HZ :CALCulate3 :DATA? :FEED “[:]CALCulate[1]” :PATH? :AVERage [:STATe] :ALL? :CLEar :COUNt 165 |S|DEG] |S|DEG]
:CURRent? :TYPE MAXimum |MINimum|SDEViation|SCALar or MEAN| DELTa | ALLAN :LFILter :STATe :LOWer [:DATA] [HZ :UPPer [:DATA] [HZ ︱S︱DEG] ︱S︱DEG] :CALibration :DATA :SECurity :STATe , :CODE :RESet :CONFigure[:SCALar]: :CONFigure? :DISPlay :ENABle :MENU [:STATe] OFF [:WINDow] :TEXT :FEED “[:]CALCulate2” ︱ |”[:]CALCulate3” :RADix COMMa DPOint :FETCh :INITiate :AUTO :CONTinuous [:IM
:INPut[1|2] :ATTenuation :COUPling AC |DC :FILTer [:LPASs] [:STATe] :FREQuency? :IMPedance [OHM] :INPut3 :COUPling? :IMPedance? :MEASure[:SCALar]:? :READ[:SCALar]:? [:SENSe] :DATA? [“[:]SENSe[1]”] :EVENt[1|2] :HYSTeresis :RELative [V] :AUTO :RELative [PCT] :SLOPe POSitive :EVENt2 ︱NEGative | :FEED ”[:]INPut[1] [:]INPut2” :FREQuency :ARM [:STARt] ︱NEGative :SOURce IMMediat
:SOURce IMMediate ︱EXTernal︱TIMer︱DIGits :TIMer [S] :DIGits :EXPected[1|2|3] [HZ] :AUTO ON :FUNCtion [:ON] ”[:][XNONe:]FREQuency [1|2|3]” ”[:][XNONe:]FREQuency:RATio [1|2|3]” ”[:][XNONe:]PERiod [1|2|3]” ”[:][XNONe:]RISE:TIME [1]” “[:][XNONe:]RTIMe [1]” ”[:][XNONe:]FALL:TIME [1]” ”[:][XNONe:]FTIMe [1]” ”[:][XNONe:]PWIDth [1]” ”[:][XNONe:]NWIDth [1]” ”[:][XNONe:]TINTerval [1,2]” ”[:][XNONe:]VOLTage:PTPeak [1|2]” ”[:][XNONe:]VOLTage:MAXimum [1|2]” ”[:][XNONe
:EXTernal :FREQuency? :TINTerval :ARM :ESTART :LAYer2 ︱NEGative :SOURce IMMediate︱EXTernal :SLOPe POSitive [:LAYer[1]] :ECOunt :SOURce IMMediate ︱TIMer|INTernal1 :TIMer [S] :ESTOP :LAYer2 ︱NEGative :SOURce IMMediate︱EXTernal [:LAYer[1]] :ECOunt :SOURce IMMediate︱TIMer|INTernal2 :SLOPe POSitive :TIMer [:STARt] ︱NEGative :SOURce IMMediate︱EXTernal :STOP :SOURce IMMediate︱TIMer :TIMer :SLOPe POSitive :TOTalize :ARM [:STAR
:TIMer [S] :SYSTem :COMMunicate :SERial :SOURce USB |DB9 :CONTrol :DTR OFF |LIMit :ERRor? :KEY :LOG? :VERSion? :TRACe :CATalog? [:DATA] OFFSET, [HZ |S|DEG] [:DATA] SCALE, [:DATA]? OFFSET [:DATA]? SCALE :TRIGger :COUNt :AUTO 170
E. About Application Programs This section provides a brief description for each MODEL 1105 sample collection. Using CONFigure to Measurement Example 1 Freq & Ratio measurement // Freq_Ratio.cpp : Defines the entry point for the console application. #include "stdafx.h" #include "visa.h" //include visa32.lib first to the project. #define MAX_COUNT 200 #include "stdio.
printf ("Error Initializing NI-VISA...
stat = viWrite(sesn, (unsigned char *)("INP1:ATT 1"), 10, &ret); stat = viWrite(sesn, (unsigned char *)("INP1:FILT OFF"), 13, &ret); stat = viWrite(sesn, (unsigned char *)("EVEN1:SLOP POS"), 14, &ret); stat = viWrite(sesn, (unsigned char *)("EVEN1:HYST:REL 50"), 17, &ret); stat = viWrite(sesn, (unsigned char *)("EVEN1:LEV:REL 50"), 16, &ret); stat = viWrite(sesn, (unsigned char *)("EVEN1:LEV:ABS:AUTO ON"), 21, &ret); /*----------------------------- CH2 x Input Condition ----------------------------*/ stat =
// stat = viWrite(sesn, "FREQ:ARM:STOP:SOUR Ext", 22, &ret); // stat = viWrite(sesn, "FREQ:ARM:STOP:SOUR TIM", 22, &ret); // stat = viWrite(sesn, "FREQ:ARM:STOP:TIM 1", 19, &ret); /*--------------------------------- Gate Auto -------------------------------------*/ // stat = viWrite(sesn, "FREQ:ARM:SOUR IMM", 17, &ret); // stat = viWrite(sesn, "FREQ:ARM:STOP:SOUR IMM", 22, &ret); /*---------- -----------------------Gate Digits ------------------------------------*/ // stat = viWrite(sesn, "FREQ:A
{ ViStatus stat; /* For checking errors */ ViSession defaultRM; /* Communication channels */ ViSession sesn; /* Communication channel */ ViChar rsrcName[VI_FIND_BUFLEN]; /* Serial resource name */ ViChar intfDesc[VI_FIND_BUFLEN]; /* Port binding description */ ViUInt32 ret; /* To hold number of resources */ ViFindList flist; /* To hold list of resources */ char readin[128]=""; int tmo; printf("\n ###### Start C++ Example program.
} stat = viFindNext (flist, rsrcName); //Setting Process Timeout stat = viGetAttribute(sesn, VI_ATTR_TMO_VALUE, &tmo); stat = viSetAttribute(sesn, VI_ATTR_TMO_VALUE, 30000); //send reset command '*RST' -- reset MODEL 1105 stat = viWrite(sesn, (unsigned char *)("*RST"), 4, &ret); //send Clear command '*CLS'-- Clear MODEL 1105 status register stat = viWrite(sesn, (unsigned char *)("*CLS"), 4, &ret); //send reset command 'INIT:CONT ON' -- Initial MODEL 1105 stat = viWrite(sesn, (unsigned char *)("INIT:CONT ON"
/*----------------------------------------------------------------------------------*/ /*------------------------------- Period measure --------------------------------*/ stat = viWrite(sesn, (unsigned char *)("CONF:PER (@1)"), 13, &ret); // stat = viWrite(sesn, "CONF:PER (@2)", 13, &ret); // stat = viWrite(sesn, "CONF:PER (@3)", 13, &ret); /*--------------------------------- Gate Time ------------------------------------*/ stat = viWrite(sesn, (unsigned char *)("FREQ:ARM:SOUR IMM"), 17, &ret); stat = v
/*-------------------------------- Gate Auto -------------------------------------*/ // stat = viWrite(sesn, "TINT:ARM:ESTART:LAY2:SOUR IMM", 29, &ret); /*----------------------------------------------------------------------------------*/ /*--------------------------- Intval 1 to 2 measure -----------------------------*/ // stat = viWrite(sesn, "CONF:TINT (@1),(@2)", 19, &ret) /*-------------------------------- ARM Ext ---------------------------------------*/ // stat = viWrite(sesn, "TINT:ARM:ESTART:
} Example 3 Volt Peak measurement // Volt_Peak.cpp : Defines the entry point for the console application. #include "stdafx.h" #include "visa.h"//include visa32.lib first to the probject. #define MAX_COUNT 200 #include "stdio.
stat = viOpen (defaultRM, rsrcName, VI_NULL, VI_NULL, &sesn); if (stat < VI_SUCCESS) { printf ("Could not open %s, status = 0x%08lX\n",rsrcName, stat); return 0; } else { stat = viGetAttribute (sesn, VI_ATTR_INTF_INST_NAME, intfDesc); printf ("Resource %s, Description %s\n", rsrcName, intfDesc); } stat = viFindNext (flist, rsrcName); //Setting Process Timeout stat = viGetAttribute(sesn, VI_ATTR_TMO_VALUE, &tmo); stat = viSetAttribute(sesn, VI_ATTR_TMO_VALUE, 30000); //send reset command '*RST' -- reset MODE
&ret); /*----------------------------- CH2 Input Condition -----------------------------*/ stat = viWrite(sesn, (unsigned char *)("INP2:IMP 1000000"), 16, &ret); stat = viWrite(sesn, (unsigned char *)("INP2:COUP AC"), 12, &ret); stat = viWrite(sesn, (unsigned char *)("INP2:ATT 1"), 10, &ret); stat = viWrite(sesn, (unsigned char *)("INP2:FILT OFF"), 13, &ret); stat = viWrite(sesn, (unsigned char *)("EVEN2:SLOP POS"), 14, &ret); stat = viWrite(sesn, (unsigned char *)("EVEN2:HYST:REL 50"), 17, &ret); stat = vi
return 0; } Example 4 Other Measurement // OtherMeas.cpp : Defines the entry point for the console application. #include "stdafx.h" #include "visa.h"//include visa32.lib first to the probject. #define MAX_COUNT 200 #include "stdio.
stat = viOpen (defaultRM, rsrcName, VI_NULL, VI_NULL, &sesn); if (stat < VI_SUCCESS) { printf ("Could not open %s, status = 0x%08lX\n",rsrcName, stat); return 0; } else { stat = viGetAttribute (sesn, VI_ATTR_INTF_INST_NAME, intfDesc); printf ("Resource %s, Description %s\n", rsrcName, intfDesc); } stat = viFindNext (flist, rsrcName); //Setting Process Timeout stat = viGetAttribute(sesn, VI_ATTR_TMO_VALUE, &tmo); stat = viSetAttribute(sesn, VI_ATTR_TMO_VALUE, 30000); //send reset command '*RST' -- reset MODE
stat = viWrite(sesn, (unsigned char *)("EVEN1:LEV:ABS:AUTO ON"), 21, &ret); /*----------------------------- CH2 Input Condition -----------------------------*/ stat = viWrite(sesn, (unsigned char *)("INP2:IMP 1000000"), 16, &ret); stat = viWrite(sesn, (unsigned char *)("INP2:COUP AC"), 12, &ret); stat = viWrite(sesn, (unsigned char *)("INP2:ATT 1"), 10, &ret); stat = viWrite(sesn, (unsigned char *)("INP2:FILT OFF"), 13, &ret); stat = viWrite(sesn, (unsigned char *)("EVEN2:SLOP POS"), 14, &ret); stat = viWri
/*------------------------------- Total CH1 measure ----------------------------*/ // stat = viWrite(sesn, "CONF:TOT (@1),(@2)", 18, &ret); /*----------------------------------- Gate Ext ------------------------------------*/ // stat = viWrite(sesn, "TOT:ARM:SOUR IMM", 16, &ret); // stat = viWrite(sesn, "TOT:ARM:STOP:SOUR TIM", 21, &ret); // stat = viWrite(sesn, "TOT:ARM:STOP:TIM 1", 18, &ret); /*----------------------------------- Gate Time ----------------------------------*/ // stat = viWrite(se
#include "stdio.h" int main(int argc, char* argv[]) { ViStatus stat; /* For checking errors */ ViSession defaultRM; /* Communication channels */ ViSession sesn; /* Communication channel */ ViChar rsrcName[VI_FIND_BUFLEN]; /* Serial resource name */ ViChar intfDesc[VI_FIND_BUFLEN]; /* Port binding description */ ViUInt32 ret; /* To hold number of resources */ ViFindList flist; /* To hold list of resources */ char readin[128]=""; int tmo; printf("\n ###### Start C++ Example program.
{ stat = viGetAttribute (sesn, VI_ATTR_INTF_INST_NAME, intfDesc); printf ("Resource %s, Description %s\n", rsrcName, intfDesc); } stat = viFindNext (flist, rsrcName); //Setting Process Timeout stat = viGetAttribute(sesn, VI_ATTR_TMO_VALUE, &tmo); stat = viSetAttribute(sesn, VI_ATTR_TMO_VALUE, 30000); //send reset command '*RST' -- reset MODEL 1105 stat = viWrite(sesn, (unsigned char *)("*RST"), 4, &ret); //send Clear command '*CLS'-- Clear MODEL 1105 status register stat = viWrite(sesn, (unsigned char *)("*
stat = viWrite(sesn, (unsigned char *)("EVEN2:LEV:REL 50"), 16, &ret); stat = viWrite(sesn, (unsigned char *)("EVEN2:LEV:ABS:AUTO ON"), 21, &ret); /*----------------------------------------------------------------------------------*/ /*----------------------------- Freq & Ratio measure -----------------------------*/ stat = viWrite(sesn, (unsigned char *)("CONF:FREQ (@1)"), 14, &ret); // stat = viWrite(sesn, "CONF:FREQ (@2)", 14, &ret); // stat = viWrite(sesn, "CONF:FREQ (@3)", 14, &ret); // stat = viW
stat = viWrite(sesn, (unsigned char *)("TRAC:DATA OFFSET,5MHz"), 21, &ret); /*----------------------------------------------------------------------------------*/ /*------------------------------- Read From Device ------------------------------*/ stat = viWrite(sesn, (unsigned char *)("FETC?"), 5, &ret); // stat = viWrite(sesn, "READ?", 5, &ret); // stat = viWrite(sesn, "MEAS:FREQ?", 10, &ret); // stat = viWrite(sesn, "SENS:DATA?", 10, &ret); /*---------------------------------------------------------
ViFindList flist; /* To hold list of resources */ char readin[128]=""; int tmo; printf("\n ###### Start C++ Example program. ######\n"); printf(" We check the Counter on USB port and\n"); printf(" identify the first connected device.\n\n"); /* Begin by initializing the system */ stat = viOpenDefaultRM(&defaultRM); if (stat < VI_SUCCESS) { /* Error Initializing VISA...exiting */ printf ("Error Initializing NI-VISA...
//send reset command '*RST' -- reset MODEL 1105 stat = viWrite(sesn, (unsigned char *)("*RST"), 4, &ret); //send Clear command '*CLS'-- Clear MODEL 1105 status register stat = viWrite(sesn, (unsigned char *)("*CLS"), 4, &ret); //send reset command 'INIT:CONT ON' -- Initial MODEL 1105 stat = viWrite(sesn, (unsigned char *)("INIT:CONT ON"), 12, &ret); //Send commands befor measure (required) /*----------------------------- CH1 Input Condition -----------------------------*/ stat = viWrite(sesn, (unsigned cha
// stat = viWrite(sesn, "CONF:FREQ:RAT (@1),(@2)", 23, &ret); // stat = viWrite(sesn, "CONF:FREQ:RAT (@1),(@3)", 23, &ret); // stat = viWrite(sesn, "CONF:FREQ:RAT (@2),(@1)", 23, &ret); // stat = viWrite(sesn, "CONF:FREQ:RAT (@3),(@1)", 23, &ret); /*----------------------------------------------------------------------------------*/ /*---------------------------------- Gate Time -----------------------------------*/ stat = viWrite(sesn, (unsigned char *)("FREQ:ARM:SOUR IMM"), 17, &ret); stat = viWri
/*----------------------------------------------------------------------------------*/ /*----------------------------- Read From Device -------------------------------*/ stat = viWrite(sesn, (unsigned char *)("FETC?"), 5, &ret); // stat = viWrite(sesn, "READ?", 5, &ret); // stat = viWrite(sesn, "MEAS:FREQ?", 10, &ret); // stat = viWrite(sesn, "SENS:DATA?", 10, &ret); /*----------------------------------------------------------------------------------*/ stat=viRead(sesn,(unsigned char *)readin,128,&ret
int tmo; printf("\n ###### Start C++ Example program. ######\n"); printf(" We check the Counter on USB port and\n"); printf(" identify the first connected device.\n\n"); /* Begin by initializing the system */ stat = viOpenDefaultRM(&defaultRM); if (stat < VI_SUCCESS) { /* Error Initializing VISA...exiting */ printf ("Error Initializing NI-VISA...
//send Clear command '*CLS'-- Clear MODEL 1105 status register stat = viWrite(sesn, (unsigned char *)("*CLS"), 4, &ret); //send reset command 'INIT:CONT ON' -- Initial MODEL 1105 stat = viWrite(sesn, (unsigned char *)("INIT:CONT ON"), 12, &ret); //Send commands befor measure (required) /*----------------------------- CH1 Input Condition -----------------------------*/ stat = viWrite(sesn, (unsigned char *)("INP1:IMP 1000000"), 16, &ret); stat = viWrite(sesn, (unsigned char *)("INP1:COUP AC"), 12, &ret); sta
/*----------------------------------------------------------------------------------*/ /*-------------------------------- Gate Time -------------------------------------*/ stat = viWrite(sesn, (unsigned char *)("FREQ:ARM:SOUR IMM"), 17, &ret); stat = viWrite(sesn, (unsigned char *)("FREQ:ARM:STOP:SOUR TIM"), 22, &ret); stat = viWrite(sesn, (unsigned char *)("FREQ:ARM:STOP:TIM 1"), 19, &ret); /*-------------------------------- Gate Ext ---------------------------------------*/ // stat = viWrite(sesn, "FREQ:
/*----------------------------- Read From Device -------------------------------*/ stat = viWrite(sesn, (unsigned char *)("FETC?"), 5, &ret); // stat = viWrite(sesn, "READ?", 5, &ret); // stat = viWrite(sesn, "MEAS:FREQ?", 10, &ret); // stat = viWrite(sesn, "SENS:DATA?", 10, &ret); /*----------------------------------------------------------------------------------*/ stat=viRead(sesn,(unsigned char *)readin,128,&ret); printf ("Read : %s",readin); stat = viSetAttribute(sesn, VI_ATTR_TMO_VALUE, tmo); st