Home
680XXB Synthesized Sweep Generator Operation Manual
Contents
1. Displays the returned 680XXB serial number Displays the returned minimum output power to which the 680XXB can be set Displays the returned maximum output power to which the 680X XB can be set Displays the driver s revision level Lets users turn the Debug Utility on or off This utility is discussed on page 2 8 Input Parameters Same as controls Section 3 yarlabie yariab e Description Details Range Name Type ADD Integer GPIB Address 1 9 5 D 1 to 31 Output Parameters Variable variable Description Details Name Type LOWF String Returned minimum frequency 680XXB Ol string is parsed to supply values HIGH String Returned maximum frequency for the string variables shown in this table MODEL String Returned model number SWRV String Returned software revision number MINPWR String Returned minimum power level GPWR String Returned guaranteed power level SSN String Returned instrument serial number Error LabWindows error codes only 220 to 240 Program Examples Quick BASIC 3XX Instrument Specific Page 2 8 REM Initializes the 680XXB CALL W680B INIT Microsoft C W680B_INIT ADD ADD Initializes the 680XXB 3 19 680XXB LabWindows Driver User s Guide INIT FREQ Function Panel Name Source Frequency Def inition Description This function returns the values of the frequencies F 0 F9 MO M9Q that are presently st
2. gt CW Ramp On O RF Output During BW On Off RF Output During Retrace On Off lay On Off gt Level 1 P Level Correction Power List Select RF On Off Offset gt Level Offset LO thru L9 PC PWRS Sweep Type Level 2 Number of Steps Dwell Time PC LEVEL Leveling ALC In Ext Gain DAC ALC Attenuation ALC Step Attenuator ALC Power Slope Power Slope Pivot Power Slope Value PC PWR CAL User Calibrations Define Calibration File Name 680XXB LabWindows Driver User s Guide close Function Panel Name Close Description This function closes the GPIB communications with the 680XXB Got Keep Instruments Libraries View Options Help Return Wiltron 680XXB Synthesized CW Generator Close Page 1 1 CALL W68 B close Controls None 3 6 Input Parameters Output Parameters Error Program Examples Quick BASIC Section 3 None None LabWindows error codes only 220 to 240 3XX Instrument Specific Page 2 8 REM Close communications with the driver CALL W680B close Microsoft C Close communications with the driver W680B_close 3 7 680XXB LabWindows Driver User s Guide FC ALS Function Panel Name Alternate Sweep Description This function lets users alternate an existing sweep with another phase locked sweep The source must be sweeping prior to using this function or no action is taken Got Keep Instruments
3. phase locked sweep 3 12 Input Parameters D is default setting Section 3 Variable Variable a F Name Type Description Details Range CFREQ Integer Center Frequency 0 FO N A 1 F1 D 5 F5 6 F6 FSPAN Double Frequency 1000 MHz D 1 kHz to full Precision Span MHz range of 680XXB TRIGG Integer Trigger Conditions 0 Auto D N A 1 Ext Single Currently inoperative DTIME Double PhaseLocked 10 mSec D 1 ms to 99s Precision Dwell Time NUMST Integer Number of Steps 50 D 1 to 10 000 For Phase Locked steps Sweeps Output Parameters None Error Program Examples Quick BASIC REM Selects delta sweep CALL W680B FC DELTA CREQ FSPAN Microsoft C Selects delta sweep W680B_FC_DELTA CREQ FSPAN TRIGG 3 13 TRIGG DTIME DTIME NUMST LabWindows error codes only 220 to 240 3XX Instrument Specific Page 2 8 NUMSTS 680XXB LabWindows Driver User s Guide FC SPEC Function Panel Name Special Sweep Description This function lets users specify frequencies and the or der that the frequency will be output The operator can specify up to 1000 discrete frequencies Instruments Libraries View Options Help Return Wiltron 680XXB Synthesized CW Generator Special Sweep Page 1 1 Data Select Array Name Number of Elements er ees Special sweep could change the frequency definitions for F1 and FZ CALL W68 B FC SPEC 0 2 D
4. Quick BASIC REM Set markers CALL W680B SETMK Microsoft C Set markers W680B_SETMK MKS LabWindows error codes only 220 to 240 3XX Instrument Specific Page 2 8 MKSEL F0 F1 F2 F3 F4 3 F5 F6 F 7 F8 F9 ef EL FO F1 F2 F3 F4 F5 F6 F7 F8 F9 3 37 680XXB LabWindows Driver User s Guide SR RECALL Function Panel Name Recall Setup Description This function lets users recall an existing source setup from the 680XXB internal memory Keep Instruments Libraries View Options Help Return Wiltron 680XXB Synthesized CW Generator Recall setup Page 1 1 CALL W68 B SR RECALL 1 OPERATE Controls Recall Register Lets users select the storage register containing the setup they wish to recall 3 38 Input Parameters Section 3 D is default setting Variable aes Variable Name Type Description Details REG Integer Storage Register 1 Thru 9 1 D Output Parameters Error Program Examples Quick BASIC None LabWindows error codes only 220 to 240 3XX Instrument Specific Page 2 8 REM Recall stored setups CALL W680B SR RECALL REG Microsoft C Recall stored setups W680B_SR_RECALL R EG 3 39 680XXB LabWindows Driver User s Guide SR SAVE Function Panel Name Save Setup Description This function lets users save an existing setup to the 680X XB internal memory Keep Instruments Libraries View
5. The appropriate path will now be displayed in the INSTRUMENT MOD ULES window Select OK to exit The W680B driver will now be loaded automatically each time LabWindows is entered Instruments Libraries View Options QuickBASIC Instrument Modules LabWindows Libraries C LW INSTR W68QB FP Data Aquisition Advanced Analysis UXI AT DSP2288 User Libraries Clear List Clear List INSERT 2 7 680XXB LabWindows Drivers User s Guide Debug Utility The 680XXB LabWindows driver incorporates a unique Debug utility which should be used for program development only It should be disabled when compiling stand alone applications Got Keep Instruments Libraries View Options Help Return Wiltron 680XXB Synthesized CW Generator Initialize Page 1 1 Source Address Model Number Firmware Rev gj EF Minimum Frequency Maximum Frequency Serial Number C Minimum Output Power Maximum Output Power Driver Rev C Debug Flag On off CALL W68 B init 5 OPERATE Error 305 is returned when the instrument has generated an unexpected SRQ To deter mine the cause of the SRQ set the Debug switch to On Debug 1 the driver will re spond with a specific 3XX error code Table 2 1 Table 2 1 Error Codes Error Code Description 301 Parameter Range Error 302 File Not Found 310 Disk Failure 311 Self Test Failed 312 Hardware Error 2 8 Section 2 Tutorial This tutor
6. BLNKP RFFS RFDR FPD CWR 3 43 3 44
7. FR6 FR7 FR8 FRO MFO MF1 MF2 MF3 MF4 MF5 MF6 MF7 MF8 MF9 Microsoft C Select a cw frequency storage location and load frequency value W680B_SETCW FREQSEL FRO FR1 FR2 FR3 FR4 FR5 FR6 FR7 FR8 FR9O FRO MF1 MF2 MF3 MF4 MF5 MF6 MF7 MF8 MF9 3 35 680XXB LabWindows Driver User s Guide SETMK Function Panel Name Description Got Keep Marker Selection This function lets users set video markers Instruments Libraries View Options Help Return Wiltron 68 XXB Synthesized CW Generator Marker Selection Page 1 1 List Selec F freg H MC freq CALL W68 B SETMK O OPERATE Controls List Select Marker Selection Disable Video O thru 9 1 B B B B B B B B B Lets users select the FO F1 or MO M1 frequency set Lets users disable markers or select Video markers Disables the frequency markers Enables a video pulse to mark the frequency provided the selected marker frequency is within the selected fre quency range Turns marker on or off at the frequency stored in locations FO thru F9 or MO thru M9 based on the posi tion of the List Select control 3 36 Input Parameters Section 3 D is default setting Variable Rt a z Variable Name Type Description Details MKSEL Integer Marker Select 0 Disable D 1 Video F0 Thru Integer Marker 1 9 0 Off D F9 1 On Output Parameters None Error Program Examples
8. MF6 M CALL W688 C NLUN INSTR NE8 SAMP APP CALL W688 CALL W68G already exists Instruments Libraries View C LWN INSTR WG8GSAMP BAS Options You may choose to update the existing file to create a new application profile under a different name or to cancel this operation INSERT 2 18 Choose Run LWMAKE in the next prompt File Edit Program Instruments Libraries View Options FDEFDBL A Z REM INCLUDE C LW INCLUDE LWSYSTEM INC REM INCLUDE C LW INSTR W68Q B inc CALL W68 B init 5 MF6 MF 7H MF8 MF9 CALL W68 B FC STST CALL W68 B close Do you want to run LWMAKE EXE now Line 4 710 INSERT PROGRAM C LWN INSTR WG8GSAMP BAS a QuickBASIC CALL W68 B SETCW 1 10 FR 2000 8400 FR3t FR4 FRS FRGH FR7H FR8 PWRS PWR6EH PUR7 Section 2 Move cursor to Build and choose Make from the pull down menu Note This assumes that the compile link and output paths have been previously defined under the LWMAKE Options menu HEFCE Build Options Build Optio Output Type Output File BASIC Make F4 Generate Batch File Sh F4 Compile Selected File FS Build Options LabWindous Libraries Formatting and 1 0 User Interface Graphics Hardcopy Printer GPIB Plotter RS Z3Z Plotter Plot File C ALUN INSTR W6 amp 8GSAMP BAS C NLUN INSTR W68
9. None Error LabWindows error codes 220 to 240 3XX Instrument Specific Page 2 8 Program Examples Quick BASIC REM Selects sweep to alternate with main sweep CALL W680B FC ALS ALTS S2L Microsoft C Selects sweep to alternate with main sweep W680B_FC_ALS ALTS S2L 3 9 680XXB LabWindows Driver User s Guide FC CW Function Panel Name Description CW This function lets users select the desired CW output frequency from the values already stored in the 680XXB frequency registers Got Keep Instruments Libraries View Options Help Return List Select F freg MC freq CW Frequency ated Frequency Selected B 1 Z 3 4 5 6 7 8 B CALL W68 B FC CW 1 OPERATE Controls List Select CW Frequency Frequency Selected gt Lets users select the FO F9 frequency set or the M0 M9 frequency set Lets users select CW output frequency from one of the twenty user defined frequency registers FO through F9 or MO through M9 see set cw function page 3 34 Returns the CW frequency currently stored in the selected register in MHz 3 10 Input Parameters Section 3 Variable ner Variable Name Type Description Details LS Integer List Select 1 F freq 2 M freq FREQSEL Integer The frequency of operation 1 9 Output Parameters r Variable ree Variable Name Type Description Details FSEL Double Frequ
10. sacrer s ee WE hoe be A eke a 2 3 Loading 680XXB Driver as Instrument Module 2 2008085 2 4 Loading 680XXB Driver At Start up 2 6 Debug Utility 2 0 02 eee 2 8 Tutorial pe cuidate ALE Seam ae ee ee wae 2 9 Creating a Compiled Program 2 16 Section 3 Driver References Introduction oii iee ere et feel wee ee 3 3 Function Panel Descriptions 3 3 Function Panels and Syntax Close close sce sont ead wren 3 6 Alternate Sweep FC ALS 3 8 CW Sweep FC CW 0085 3 10 Delta F Sweep FC DELTA 3 12 Special Sweep FC SPEC 3 14 Start Stop Sweep FC STST 3 16 Initialize init 280000 3 18 Set Frequency Definitions INIT FREQ i2 sail etmek 3 20 Set Power Definitions INIT PWR avstcuceca da ae Pie 3 22 Output Power Level PC LEVEL 3 24 Output Power PC PWR 3 28 User Power Calibrate PC PWR CAL 3 30 Output Power Sweep PC PWRS 3 32 Frequency Setup SETCW 3 34 Marker Selection SETMK 3 36 Recall Setup SR RECALL 3 38 Save Setup SR SAVE 3 40 Utilities UT ica aii ee eo eee We 3 42 iii iv Section 1 Introduction to the 680XXB Instrument Driver for LabWindows Section 1 Introduction to the 680XXB Instrument Driver for LabWindows General ANRITSU Instrument Driver software provides an easy to use tool for developing application pro grams for applicable microwave systems via the
11. the interactive program can use up to 16 megabytes of memory depending on your computer configuration Programs that run in the interactive program however must adhere to the LabWindows subsets for BASIC C and C Programs developed with the drivers and library functions can be run within the interactive pro gram or they can be compiled and linked into a stand alone applicaton E XE or run time applica tion RTM file To help you create a stand alone program LabWindows incorporates utilities that automate the compile and link processes The real power of LabWindows lies in the libraries They have functions for developing all phases of your data acquisition and instrument control system For controlling the 680XXB Lab Windows has the Instrument Drivers Library The programs that call this library can be developed with the inter active program This program has tools that make program development quicker and easier LabWindows gives you the capability to execute instrument drivers with the aid of panels and thereby create programs easily The panels contain items that can be selected to build and execute a driver The drivers are separately declared in the Instrument Drivers Library Two advantages of using LabWindows are When writing an application program you do not have to remember all of the parameters that belong to the driver Error reporting is shown automatically in the panels 1 4 Section 1 Over
12. the test setup Libraries View Options Help Return Wiltron G8 XXB Synthesized CW Generator User Power Cal Page 1 1 File Name Download CALL W68 B PC PWR CAL 3 D OPERATE Controls User Calibrations Define Calibration Off Upload Lets users activate a numbered pre defined power level flatness correction table stored within the 680XXB Lets users turn the level correction feature off U ploads to disk all five of the level correction tables stored in the 680XXB to the filename specified in the File Name field 3 30 Section 3 Download Downloads data from the disk File Name file to the 680XXB that fills all five memory User x locations in the 680XXB CAUTION Downloading data from the disk overwrites any data that was previously stored in these User x memory locatgions Input Parameters D is default setting Variable Variable Fas 5 Name Type Description Details UCAL Integer User Calibration 0 Off D 1 User 1 2 User 2 2 User 3 4 User 4 5 User 5 DCAL Integer Define Cal 1 Off D 2 Upload 3 Download FAME String File Name 8 characters maximum Output Parameters None Error LabWindows error codes only 220 to 240 3XX Instrument Specific Page 2 8 Program Examples Quick BASIC REM Set user cal feature power CALL W680B PC PWR CAL UCAL DCAL FAMES Microsoft C Set user cal feature power W680B_PC_PWR_
13. us ing the BASIC compiler This tutorial assumes that you have read and are familiar with the LWMAKE utility description in the LabWindows User s Manual We will start with the program that you completed in the preceeding tutorial If you did not complete the tutorial you can type the program listing shown on the preceeding page and save it as drive LW PROGRAMS W680SAMP BAS Move the cursor to Instruments in the top menu bar and ensure that the ANRITSU 680XXB Synthesized CW Generator driver is loaded If it is not loaded refer to pages 2 4 and 2 5 for instructions Move the cursor to File in the top menu bar and select Create EXE from the pull down menu below I File Edit Program Instruments Libraries View Options QuickBASIC it 08 8400 FRZ FR3t FR4H FRSt FR6H FR7H FRSH 1 a Create EXE S PWR1I8 PWRZH PWR3H PWR48 PWRSt PWRGH PUWR7Z Create RTM Instr to Source File DOS Shell INSERT 2 16 Section 2 Choose Compile or Check Syntax if you have run the program be fore when the next prompt appears Instruments Libraries View QuickBASIC CALL W68QB init 5 CALL W68 B setcy 1 2008 8400 FR2 FRS t FR4 FRSt FR6t FR7 FR8 MF6H MF7 MFSH MF9 CALL W68QB fc stst Z 10 1 CALL W68 B pc pur 1 O B 5 PWR1it PWR2H PWR3H PWR4 PWRSt PWRGH PWR CALL W68GB c
14. B PC LEVEL 0 B BB 128 B Z 128 OPERATE Controls Leveling Lets users select the leveling mode for the output power Fixed Gain ALC is disabled The RF Level DAC and step attenu ator if installed control the relative power level Power is not detected at any point and the absolute power level is uncalibrated Internal Output power is leveled using an internal detector in the directional coupler to sample the output signal External Det Output power is leveled using an external detector to sample the output signal Ext Pwr Mtr Output power is leveled by using the recorder voltage from an external power meter The 680XXB is compat ible with power meters having a 1 V full scale analog output ALC Input Lets users select the front or rear panel ALC Input con nector Level Correction Turns the leveling correction from the external detector or power meter on or off Ext Gain DAC Allows adjustment of the external level gain DAC to op timize loop stability Enter a value between 0 and 255 3 24 ALC Attenuation ALC Step Attenuator ALC Power Slope Power Slope Pivot Power Slope Value Section 3 Couples or decouples the step attenuator from the ALC loop Pressing the right arrow turns the optional step attenu ator on and increases it in 10 dB steps to 110 dB decou pled mode only Lets users turn ALC power slope on or off Power slope compensates for system cable and
15. CAL UCAL DCAL FAME 3 31 680XXB LabWindows Driver User s Guide PC PWRS Function Panel Name Output Power Sweep Description Controls Level 1 Level 2 This function lets users set up the power sweep mode of operation Got Keep Instruments Libraries View Options Help Return Wiltron 680XXB Synthesized CW Generator Output Power Sweep Page 1 1 1 Level Z Number of Steps Duell Time CALL W68 B PC PWRS 0 1 5 OPERATE Lets users enter the setting in dBm for the start power level value This is the start value for the power sweep Lets users enter the setting in dBm for the stop power level value This is the stop value for the power sweep NOTE Power sweep can be from high to low or low to high power levels Therefore the Level 1 start power could be higher or lower than the Level 2 stop power Number of Steps Lets users enter the number of discrete power points steps at which the sweep will pause as set using Dwell Time control Dwell Time Lets users enter the length of time they want the power sweep to remain dwell at each step 3 32 Input Parameters D is default setting Section 3 Variable variable Description Details Range Name Type LVL1 Real Level 1 Output 0 dBm D Model Dependent Power LVL2 Real Level 2 Output 0 dBm D Same as above Power NUMST Integer Number of Steps 50 steps D 0 01 to full power of from Level 1 to Level instr
16. FORE PAID BY THE CUSTOMER ANRITSU COMPANY WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA PROFITS USE OF PRODUCTS OR INCIDENTAL OR CONSEQUENTIAL DAMAGES EVEN IF ADVISED OF THE POSSIBILITY THEREOF The aforestated limitation of the liability of ANRITSU Com pany will apply regardless of the form or action whether in con tract or tort including negligence Any action against ANRITSU Company must be brought within one year after the cause of action accrues ANRITSU Company shall not be liable for any delay in performance due to causes beyond its reason able control The warranty provided herein does not cover dam ages defects malfunctions or service failures caused by owner s abuse misuse or negligence acts and power failure or surges fire flood accident actions or third parties or other events outside reasonable control Copyright Under the copyright laws this book may not be copied photocopied reproduced trans lated in whole or in part without the written consent of ANRITSU Company Copyright 1994 ANRITSU Company Trademarks LabWindows is a registered trademark of National Instruments Corporation IBM is a registered trademark of International Business Machines Corporation Per sonal System 2 IBM PC PC AT PC XT PC DOS IBM CGA IBM EGA IBM VGA and Micro Channel are trademarks of International Business Machines Corporation Microsoft Microsoft QuickBASIC Microsoft BASIC Microsoft Visu
17. GB BAS WONDTUDBRUWUNE GPIB RS 232 AT DSP2z288 Utility Analysis Emulator Data Acquisition CAT Bus UXI CAT MXI gt At the conclusion of the processing that occurs next the DOS ex ecutable file W680SAMP EXE will appear in the subdirectory containing the like named BASIC file Press lt ENTER gt to return to the LWMAKE screen To return to the LabWindows PROGRAM window select QUIT Return to LabWindows from the File menu To check your handiwork choose DOS SHELL from the File menu At the ensuing DOS prompt type w680SAmpP to run the program 2 19 2 20 Section 3 Driver References Section 3 Driver References Introduction This section lists all the 680XXB Instrument Driver function calls in alphabetical order Function Panel Structure The 680XXB Labwindows Driver contains 18 panels that provide an intuitive method for coding instrument functions Figure 3 1 shows the hierachial structure of the func tional panels Table 3 1 lists these panels and shows the page number on which they are described 3 3 680XXB LabWindows Driver User s Guide Table 3 1 Functional Panels Panel Name Page No Panel Name Page No Alternate Sweep oe Output Power Sweep ae Close ae Recall Setup 3738 CW acu Save Setup 3 40 Delta Sweep oe Source Frequency Def 3 20 Frequency Setup oo Source Power Def oa Initialize oe Special Swee
18. General Purpose Interface Bus I E E E 488 Bus This software contains modules that automatically configure an applicable ANRITSU instrument for use on the bus along with high level instrument control commands that save you the time required to learn and program the GPIB commands of the instrument The software automatically checks for proper bus functioning If a command is sent to a bus instrument and no error is reported the bus can be assumed to be working correctly Requirements The ANRITSU Instrument Driver software is written specifically for the model 680X XB The ANRITSU Instrument Driver requires an IBM PC AT PS 2 or compatible computer running MS or PC DOS Version 3 0 or later The software is delivered on 5 1 4 inch 1 2 Mb Floppy disks and 3 1 2 inch 1 4 Mb floppy disks At least 2 MB of memory is required to run the LabWindows program 4 Mb is recommended The ANRITSU Instrument Driver software requires National Instruments LabWindows version 2 2 or later For Microsoft QuickBASIC Professional BASIC Visual BASIC for DOS C Quick C and Borland C and Turbo C users you can use the 680XXB Instrument Driver software to produce compat ible instrument control program code ANRITSU strongly recommends that QuickBASIC not be used Instead use Microsoft Professional BASIC 7 1 or later or Visual BASIC for DOS 1 3 680XXB LabWindows Drivers User s Guide Installing Instrument Drivers This section provi
19. Libraries View Options Help Return Source MUST be Sweeping Alt Sueep Power NOTE See help text CALL W68 B FC ALS 1 B Controls Alternate Sweep Lets users select the sweep range that will alternate with the primary sweep F1 F2 F3 F4 Full Delta F5 A F5 Delta F6 A F6 Delta F1 A F1 The 680XXB must have a primary sweep selected and defined before an alternate sweep can be selected Alt Sweep Power Selects the power parameter that is to be used for the Alt Sweep power level The main sweep s power level is selected and defined in the Output Power pc pwr panel NOTE The main sweep and the alternate sweep may each have an independent power level associated with the frequency sweep range If you want the two sweeps to have different power levels set the alternate sweep level in this panel and the main sweep power level in the Output Power panel If you do not want to have different power levels make the Alt Sweep Power parameter the same as the main sweep parameter That is if parameter LO has been selected for the main sweep then select LO for the Alt Sweep also 3 8 Section 3 Input Parameters D is default setting Variable Variable a Name Type Description Details Range ALTS Integer Alternate Sweep 1 F1 F2 D N A 2 Full Band 3 F3 F4 4 Delta F1 5 Delta F5 6 Delta F6 S2L Integer Alt Sweep Power 0 thru 9 LO D Model thru L9 respectively dependent Output Parameters
20. OPERATE Controls Data Select Lets users select between new and existing wsw disk file data Array Name Lets users enter the name of the data array holding the new or existing data If no array name is entered the special sweep will still be generated However it will not be stored to disk in the current default directory Number of Enter the number of frequencies for a user defined spe Elements cial sweep The number of steps the number of fre quencies 1 3 14 Section 3 Input Parameters Same as controls Variable ee P Variable Name Type Description Details DSEL Integer Data select 0 New data file 1 Existing data file DPTS Integer Number of Elements Number of frequencies to be entered or recalled TEST String File Name If no file name is entered the special sweep is still generated but not saved The driver automatically appends a wsw extension to the user entered filename The file is saved to the current default directory Output Parameters None Error LabWindows error codes only 220 to 240 If debug 3XX Instrument Specific Page 2 8 Program Examples Quick BASIC REM Lets operator enter frequencies in Gigahertz for a user de fined special sweep CALL W680B FC SPEC DSEL DPTS TESTS Microsoft C Lets operator enter frequencies in Gigahertz for a user de fined special sweep W680B_FC_SPEC DSEL DPTS TEST 3 15 680X
21. Options Help Return Wiltron 680XXB Synthesized CW Generator Save Setup Page 1 1 CALL W68 B SR SAVE 1 OPERATE Controls Save Register Lets users select a storage register for storing a setup they may wish to recall at a later time 3 40 Input Parameters Section 3 D is default setting Variable is See Variable Name Type Description Details REG Integer Save Register 1 Thru 9 1 D Output Parameters Error Program Examples Quick BASIC None LabWindows error codes only 220 to 240 3XX Instrument Specific Page 2 8 REM Recall stored setups CALL W680B SR SAVE REG3 Microsoft C Recall stored setups W680B_SR SAVE R EG 3 41 680XXB LabWindows Driver User s Guide UT Function Panel Name Description Got Keep Utilities This function lets users define many additional func tions typically used for advanced applications It also controls the 680XXB during frequency switching and re trace Instruments Libraries View Options Help Return Wiltron 680XXB Synthesized CW Generator Utilities Page 1 1 Blanking Pulse 5 Volts 5 Volts Front Panel Display CW Ramp On On off off RF Output During Frequency Switching RF Output During Retrace On off CALL W68 B UT OPERATE Controls Blanking Pulse Front Panel Disp CW Ramp RF Output During Frequency Switching RF Output During Retrac
22. Page 1 71j CALL W68 B close OPERATE Select Return on the menu panel to return to the PROGRAM area 2 14 Section 2 The program that you have developed now appears below Instruments Libraries View C LWN INSTR WG8GSAMP BAS Options 7 QuickBASIC CALL W68 B init 5 CALL W68 B SETCW 1 10 FR 2000 8400 FR3t FR4H FRS FR6H FR7H FR8 m MF6H MF7 MFSH MF9 CALL W68 B FC STST Z2 B 10 50 CALL W68 B PC PWR 1 B 5 PWR1H PWR2H PUR3 PUR4 PWRS PWRGH PWR CALL W68GB close INSERT To test the program move the cursor to Program in the top menu bar and select Run below from the pull down menu Instruments Libraries View Ser ERA Program PROGRAM CALL W68QB i CALL W68 B S MF6H MF 7H CALL W68 B F CALL W68 B P CALL W68GB c Options QuickBASIC Compile C Continue Execution F4 Halt Execution Exclude Lines Include Lines Clear Insert All INCLUDES J Portability Checking Change Languages INSERT If there are no program errors triggering a syntax error message you will see the 680XXB Synthesized CW Generator respond to the program code After you are satisfied that the program runs correctly you can use the Create E XE option on the File menu to create a stand alone DOS ex ecutable EXE file Alternative
23. Series 680XXB Synthesized CW Generator Instrument Driver for LabWindows User s Guide Version 1 00 Locate the Serial Number decal sheet packaged with the manual and paste the driver software serial number here Serial Number You will be asked for this number when you call ANRITSU Customer Service for support NOTICE ANRITSU Company was formerly known as WILTRON Company Ainritsu 490 JARVIS DRIVE P N 10570 00013 MORGAN HILL CA 95037 2809 REVISION B PRINTED FEBRUARY 1998 COPYRIGHT 1994 ANRITSU COMPANY Limited Warranty The media on which you receive ANRITSU Company software are warranted not to fail to execute programming instructions due to defects in materials and workmanship for a period of 90 days from date of shipment as evidenced by receipts or other documentation ANRITSU Company will at its option repair or replace software media that do not execute programming in structions if ANRITSU Company receives notice of such defects during the warranty period ANRITSU Company does not war rant that the operation of the software shall be uninterrupted or error free EXCEPT AS SPECIFIED HEREIN ANRITSU COMPANY MAKE NO WARRANTIES EXPRESS OR IMPLIED AND SPE CIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANT ABILITY OR FITNESS FOR A PARTICULAR PURPOSE CUSTOMER S RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF ANRITSU COM PANY SHALL BE LIMITED TO THE AMOUNT THERETO
24. User Power Cal 9 CALL W68 B FC STST 2 B 18 1 OPERATE Select LO on the Power List Select control below Select the RF On Off control to be On Select Offset to be Off Enter 5 from the keyboard in the LO field Got Keep Instruments Libraries View Options Help Return Wiltron 680XXB Synthesized CW Generator Output Power Power List Select RF On Off offset Load Al1 CALL W68 B PC PWR 1 B 5 PWR1I PWR2H PWR3 PWR4 PWRS PWRGH PURE OPERATE Select Keep in the top menu bar then choose Keep again to add the code to the program window Select Instruments in the top menu bar then ANRITSU 680XXB Syn thesized CW Generator to return to the main driver panel 2 13 680XXB LabWindows Driver User s Guide Move cursor to Close below and choose Select to display the Close panel Got Keep Instruments Libraries View Options Help Return Wiltron 680XXB Synthesized CW Generator Close Wiltron G8 XXB Synthesized CW Generator Initialize x Source Frequency Def Source Power Def Frequency Control Power Control Save Recall Functions Utilities CALL W68 B close OPERATE There is nothing you need to do with this panel except to select Keep in the top menu bar then choose Keep again to add the code to the pro gram window Got Keep Instruments Libraries View Options Help Return Wiltron 680XXB Synthesized CW Generator Close
25. XB LabWindows Driver User s Guide FC STST Function Panel Name Description Start Stop Sweep This function lets users select the 680XXB sweep range The function uses the existing definitions for CW frequencies The user has the opportunity to select the source trigger conditions and set the phase locked step sweep dwell time Instruments Libraries View Options Help Return Wiltron 680XXB Synthesized CW Generator Start Stop Sweep Page 1 1 Full Band Dwell Time Number of Steps J CALL W68 B FC STST Z 180 50 Controls Sweep Range Trigger Auto Ext Single Dwell Time Number of Steps OPERATE Lets users select the primary sweep range F1 F2 F3 F4 or Full band Lets users select the triggering source for the primary sweep Sweep is triggered automatically by the 680XXB Sweep can be triggered manually by supplying a TTL pulse to pin 13 of the rear panel AUX I O connector The ability to launch a single sweep internally is currently inoperative Lets users enter the dwell time between adjacent fre quency steps for a phase locked sweep Lets users enter the number of frequency steps for a phase locked sweep 3 16 Input Parameters Section 3 D is default setting Variable Variable are F Name Type Description Details Range SWRANGE Integer Sweep Range 1 F1 F2 N A 2 Full Range D 3 F3 F4 TRIGG Integer Trigger Conditions 0 Auto D N A 1 Ext S
26. al BASIC and Microsoft C are trademarks of Microsoft Corporation Preface The 680XXB LabWindows Instrument Driver User s Guide provides a tutorial and both general and detailed descriptions of the various functional panels displayed in the LabWindows environment The user should be familiar with measurements using the applicable ANRITSU instrument and with MS or PC DOS conventions A knowledge of LabWindows while helpful is not essential The ANRITSU Instrument Drivers soft ware can be used to create executable stand alone application programs Manual Organization The manual is divided into three sections Section 1 General provides general information for the Instrument Driver function panels Section 2 Using the 680XXB Driver with LabWindows provides description and a tuto rial for using the driver within the LabWindows environment Section 3 Driver References provides detailed descriptions of the function panels and instrument controls It also provides sample syntax and a listing of variable type used in the program Table of Contents Section 1 Introduction to 680XXB Instrument Driver for LabWindows General iis 6 6 aie annn 1 3 Requirements 2 08008 eee anes 1 3 Installing Instrument Drivers 1 4 Overview For LabWindows Users 1 4 Overview for Non LabWindows Users 1 5 Section 2 Using the 680XXB Instrument Driver with LabWindows Introduction seis boi Se a ee Saree 2 3 GONEr al
27. cted all defined frequencies will be loaded and the 680XXB will be set to output the M frequency selection 0 9 on Frequency Select control 3 34 Frequency Select FOthru F9 MO thru M9 Input Parameters Section 3 Lets users select any single frequency storage location or to select all twenty at one time If more than one fre quency is to be defined the switch must be set to the Load All position Press the lt Page Down gt key to call up page 2 and the Mx set for assigning frequency definitions Let users enter a frequency value in MHz for storage in the applicable location register gt Variable eee Variable Name Type Description FREQSEL Integer Selects Frequencies 1 20 where 20 loads all frequencies If any other value it selectively loads that value into the corresponding register If a selective load is used that frequency then becomes the active output frequency If load all is selected 10 then frequency register 9 F9 becomes the active output when the function is complete FRx Real Frequency to be loaded into the storage registers MFx Real Frequency to be loaded into the storage registers Output Parameters Error Program Examples Quick BASIC None LabWindows error codes only 220 to 240 3XX Instrument Specific Page 2 8 REM Select a cw frequency storage location and load frequency value CALL W680B SETCW FREQSEL FRO FRL FR2 FR3 FR4 FR5
28. des instructions for installing the ANRITSU Instrument Driver Proceed as follows Insert the ANRITSU driver diskette in your A or B drive as appropriate Change to the LabWindows Instruments directory drive LW INSTR and type the following DOS command COPY A B This copies the following four files to the target subdirec tory W680B LBW W680B L WI W680B FP W680B DOC All four of these files MUST reside within the same subdirectory Once the copying is completed return the driver diskette to a safe storage location Overview For LabWindows Users LabWindows is a software development system for BASIC C and C programs see page 1 3 for listing of supported languages It contains an interactive environment for developing programs with drivers and libraries functions for creating data acquisition and instrument control applications LabWindows contains a comprehensive set of software tools for data analysis data presentation and high level instrument control The interactive program is an environment for editing and debugging BASIC and C C 4 programs In the LabWindows environment you can use the functions in the instrument drivers or libraries to write your program In addition each function has an interface called a function panel that lets you interactively execute the function or generate code for calling the function The interactive program uses extended memory Programs executed in
29. e On off 1 1 0 Lets users select rear panel AUX I O supplied blanking pulse to be 5 volts during sweep retrace AUX I O con nection pin 6 only Lets users turn the front panel displays on or off Lets users turn the CW Ramp function on or off This function causes a 0 10 volt horizontal ramp to be sup plied to the rear panel HORIZONTAL OUTPUT connector during CW and step sweep operations Lets users turn the RF output on or off during band switching Lets users turn the RF output on or off during sweep re tracing 3 42 Section 3 Input Parameters D is default setting A Variable PE Variable Name Type Description Details BLNKP Integer Blanking Pulse 0 5 Volt 1 5 Volt D RFFS Integer RF During Bandswitching 0 Off 1 On D RFDR Integer RF During Retrace 0 Off D 1 On FPD Integer Front Panel Display 0 Off 1 On D CWR Integer Rear Panel CW Ramp Out 0 Off D 1 On Output Parameters None Error LabWindows error codes only 220 to 240 3XX Instrument Specific Page 2 8 Program Examples Quick BASIC REM Set blanking CW ramp RF output during freq switching and retrace penlift relay front panel display and hi resolution values CALL W680B UT BLNKP RFFS RFDR FPD CWR3 Microsoft C Set blanking CW ramp RF output during freq switching and retrace penlift relay front panel display and hi resolution values W680B_UT
30. ect Frequency Control and Start Stop Sweep from the next menus to appear below Got Keep Instruments Libraries View Options Help Return Wiltron 680XXB Synthesized CW Generator Frequency Setup Wiltron 68 XXB Synthesized CW Generator qrequencies are in MHz Frequency Control FZ CW Start Stop Sweep Delta Sweep Alternate Sweep Special Sweep Marker Selection CALL W68 B SETCW 1 18 2680 8400 FR2 FRS FR4 FRS FRGH FR7 FR8 MF6 MF7 MF8 MF9 Line 1 2 OPERATE Select F1 F2 sweep range below Auto trigger and the default set tings 10 ms dwell time and 50 steps Keep Instruments Libraries View Options Help Return Wiltron 680XXB Synthesized CW Generator Start Stop Sweep CALL W68 B FC STST 1 180 50 OPERATE Select Keep in the top menu bar then choose Keep again to add the code to the program window Select Instruments in the top menu bar then ANRITSU 680XXB Syn thesized CW Generator to return to the main driver panel 2 12 Section 2 Select Power Control then Output Power below to display the out put power panel next menu Got Keep Instruments Libraries View Options Help Return Wiltron 680XXB Synthesized CW Generator Start Stop Sweep Wiltron G8 XXB Synthesized CW Generator q1 Time Power Control Output Power Output Power Sueep Output Leveling
31. ency returned from Precision 680XXB Error LabWindows error codes only 220 to 240 Program Examples Quick BASIC 3XX Instrument Specific Page 2 8 REM Select a CW frequency and value CALL W680B FC CW Microsoft C LS FREQSEL FSEL Select a CW frequency and value W680B_FC_CW LS FREQSEL FSEL 3 11 680XXB LabWindows Driver User s Guide FC DELTA Function Panel Name Delta Sweep Description This function lets users set a center frequency sweep trigger and span for the sweep range Instruments Libraries View Options Help Return Wiltron 689XXB Synthesized CW Generator Delta Sweep Frequency Span 1400 MHz Number of Steps CALL W68 B FC DELTA 1 1808 B 14 58 OPERATE Controls Center Frequency Lets users select the center frequency FO F1 F5 or F6 for a delta sweep Frequency Span Lets users select a sweep width span in MHz The 680XXB will sweep upwards in frequency from Center span 2 to Center span 2 Trigger Lets users select the triggering source for the delta sweep Auto Sweep is triggered automatically Ext Single Sweep can be triggered manually by supplying a TTL pulse to pin 13 of the rear panel AUX I O connector The ability to launch a single sweep internally is currently inoperative Dwell Time Lets users enter the dwell time for a phase locked sweep Number of Steps Lets users enter the number of frequency steps for a
32. hted as shown enter the 680XXB GPIB address a number between 1 and 30 5 is the default 2 9 680XXB LabWindows Driver User s Guide Select Go below in the top menu bar If a 680XXB is connected and set to GPIB address 5 it will respond by resetting itself and returning an identification string that will fill the Model Number Firmware Rev Minimum Frequency Maximum Frequency Serial Number Minimum Output Power and Maximum Output Power fields Leave Debug Flag set to Off This switch was discussed on page 2 8 co Kesp Instruments Libraries View Options Help Return Wiltron 680XXB Synthesized CW Generator Initialize Source Address Model Number id Minimum Frequency Maximum Frequency Serial Number C C Minimum Output Power Maximum Output Power Driver Rev C LC Debug Flag CALL W68 B init 5 OPERATE Move the cursor to Keep in the top menu bar then choose Keep from the next window below to select the default option This transfers the code shown at the bottom of the panel to the PROGRAM window of the LabWindows environment Keep Instruments Libraries View Options Help Return Wiltron 680XXB Synthesized CW Generator Initialize Page 1 1 Source Address Model Number Firmware Rev fj J PROGRAM WINDOW J Interactive Window Minimum Outpu Ee eN lee Debug Flag On off CALL W68 B init 5 OPERATE Select Instrume
33. ial takes you through the development of a simple program This program in itializes the 680XXB Synthesized CW Generator assigns step sweep frequencies a power level and closes the driver When you have finished stepping through the tuto rial you will have a BASIC program that can be compiled as a DOS executable E XE file A Microsoft C program could be produced in the exact same manner by switching the native language to C under the Program menu Move cursor to Instruments in the top menu bar and select ANRITSU 680XXB Synthesized CW Generator This will display the pull down menu shown below Got Keep Instruments Libraries View Options Help Return Wiltron 680XXB Synthesized CW Generator Initialize Page 1 1 Wiltron G8 XXB Synthesized CW Generator Firmware Rev Initialize x Source Frequency Def Source Power Def Serial Number Frequency Control Save Recall Functions Utilities Driver Rev Close CALL W68 B init 5 OPERATE Choose Select to display the Initialize panel below Got Keep Instruments Libraries View Options Help Return Wiltron G8 XXB Synthesized CW Generator Initialize Page 1 1 Source Address Model Number Firmware Rev f id Minimum Frequency Maximum Frequency Serial Number C C Minimum Output Power Maximum Output Power Driver Rev C L Debug Flag CALL W68 B init 5 OPERATE With the Source Address highlig
34. ingle Currently inoperative DTIME Double PhaseLocked Dwell Time 10 mSec D 1 ms to 99 s Precision NUMST Integer Number of Steps For 50 D 1 to 10 000 Phase Locked Sweeps steps Output Parameters Error Program Examples Quick BASIC REM Selects a primary CALL W680B FC STST Microsoft C Selects a primary W680B_FC_STST None LabWindows error codes only 220 to 240 3XX Instrument Specific Page 2 8 main sweep SWRANGES TRIGG DTIME NUMSTS3 main sweep SWRANGE TRIGG DTIME NUMST 3 17 680XXB LabWindows Driver User s Guide INIT Function Panel Name Description Keep Initialize This function opens the GPIB communication with the 680XXB and sets it to its preset state The device con figuration must already be completed Instruments Libraries View Options Help Return Wiltron 680XXB Synthesized CW Generator Source Power Def Page 1 1 Controls Source Address Model Number Firmware Rev Minimum Frequency Maximum Frequency Serial Number Minimum Output Power Maximum Output Power Driver Rev Debug Flag Lets users enter a GPIB address for the 680XXB The factory set default address is 5 Displays the returned 680XXB model number Displays the returned firmware revision level Displays the returned minimum frequency for a full band sweep Displays the returned maximum frequency for a full band sweep
35. lose j Your program must be compiled before continuing with Create EXE INSERT Answer OK to the next prompt This will include calls to the two re quired files shown in the file list These files contain code needed to run your application Instruments Libraries View Options include statements for the following files are needed and will be inserted at the top of your program C LW INCLUDE LUSYSTEM INC C LUW INSTR W68GB inc INSERT 2 17 680XXB LabWindows Driver User s Guide Choose Save for the next prompt below File Edit Program PROGRAM FDEFDBL A Z REM INCLUDE C LW INCLUDE LWSYSTEM INC REM INCLUDE C LW INSTR W68Q B inc CALL W68 B init 5 CALL W68 B SETCW 1 10 2000 8400 FRZ FR3 FR4H FRS FR6 FR7H FR8 MF6 MF7 MF8 MF9 CALL W6889B FC S CALL W68 B PC P CALL W68 B clos The file in the Program Window must be saved to disk before continuing With Create EXE Instruments Libraries View Options QuickBASIC Line 18 10 INSERT Choose Update or Save depending on whether or not the file already exists to save the changes to the file File Edit Program PROGRAM FIDEFDBL A Z REM INCLUDE C LW INCLUDE LWSYSTEM INC REM INCL CALL W68G An application profile will now be created for use with CALL N680 LUMAKE EXE However the file
36. ly you can use the Create RTM op tion on the file menu to create a run time version RTM file That operation is described in the next heading To continue with this tutorial save this program as LW PROGRAMS W680SAMP BAS 2 15 680XXB LabWindows Driver User s Guide Creating a Compiled Program Most programs developed with LabWindows can be compiled with the Microsoft C or BA SIC compiler Some applications however become too large to compile and run in the 640 KB DOS memory and must be run within LabWindows or the LabWindows Run Time System The LabWindows Run Time System includes a DOS extender so programs can access up to 16 MB of memory during execution Programs executed in the run time system can make calls to any of the LabWindows libraries and instrument drivers Pro grams distributed with the run time system are in a binary format so the programs cannot be edited A stand alone application EXE or RTM that incorporates the 680XXB Driver may be created using the Microsoft C or BASIC compilers or LabWindows Run Time System To avoid OUT OF MEMORY errors when using the Microsoft QuickBASIC compiler you must first optimize the 680XXB Driver memory usage with the LabWindows FUN NEL EXE utility See the LabWindows User s Manual for instructions The LWMAKE option on the file menu can be used to create an executable file in either BASIC or C The following provides a step by step tutorial for creating a EXE file
37. meters D is default setting Variable Variable pare z Name Type Description Details Range PWRSEL Integer Power List Select 0 LO D 1 L1 2 L2 3 L3 4 L4 5 L5 6 L6 7 L7 8 L8 9 L9 10 Load All OTP Integer RF On Off 0 Off 1 On D LEVOFF Double Level Offset Value of 100 dB to Precision Power Offset 100 dB LVLP Integer Level Offset On Off 0 Off D N A 1 On PWRO Double LO thru L9 Model dependent thru Precision PWR9 Output Parameters None Error LabWindows error codes only 220 to 240 3XX Instrument Specific Page 2 8 Program Examples Quick BASIC REM Set output power CALL W680B PC PWR PWRSEL S OTP LEVOFF LVLP PWRO PWRL PWR2 PWR3 PWR4 PWR5 PWRO6 PWR6 PWR7 PWR8 PWRO Microsoft C Set output power W680B_PC_PWR PWRSEL OTP LEVOFF LVLP PWRO PWR1 PWR2 PWR3 PWR4 PWR5 PWR6 PWR6 PWR7 PWR8 PWR9 3 29 680XXB LabWindows Driver User s Guide PC PWR CAL Function Panel Name Description Keep Instruments User Power Cal This function lets users enable and disable up to five in ternal power level correction tables created using the 680XXB User Cal feature This function also permits the user to upload and download the user cal data for all five table from an external computer The purpose of the User Cal feature is to provide compensation for power level variations caused by external switching am plifiers couplers and cables in
38. nts in the top menu bar then ANRITSU 680XXB Syn thesized CW Generator to return to the 680XXB Driver main panel 2 10 Section 2 Select Frequency Control from the main menu then Frequency Setup when the Frequency Control menu appears below Got Keep Instruments Libraries View Options Help Return Wiltron 680XXB Synthesized CW Generator Initialize Wiltron 68 XXB Synthesized CW Generator Frequency Control Frequency Setup CW Start Stop Sweep Delta Sweep Alternate Sweep Special Sweep Marker Selection CALL W68 B init 5 OPERATE Select F1 below and enter 2000 from the keyboard With F2 highlighted enter 8400 from the keyboard Got Keep Instruments Libraries View Options Help Return Wiltron 680XXB Synthesized CW Generator Frequency Setup Page 1 72 List Select Frequency Select All ea cru es are in MHz F freg a MC freq 1 3 4 5 7 8 9 l Both Load Al Error CALL W68 B SETCW 1 10 FR 2000 8400 FR3 FR4 FRS FRGH FR7 FR8 MF6 MF7 MF8 MF9 Line 1 2 OPERATE Select Load All from the Frequency Select control Select Keep in the top menu bar then choose Keep again when the next menu appears Select Instruments in the top menu bar then ANRITSU 680XXB Syn thesized CW Generator to return to the 680XXB Driver main panel 2 11 680XXB LabWindows Driver User s Guide Sel
39. ored in the 680XXB storage registers All frequencies are returned in mega hertz There are no operator inputs Instruments Libraries View Options Help Return Wiltron 680XXB Synthesized CW Generator Source Frequency Def Page 1 72 All frequencies are in MHz F1 F2 Instruments Libraries View Options Help Return Wiltron 680XXB Synthesized CW Generator Source Frequency Def Page 2 2 All frequencies are in MHz M1 MZ CALL W68 B INIT FREQ OPERATE Controls FO F9 Displays the returned 680XXB FO F9 frequency MO M9 Displays the returned 680XXB MO M9 frequency Press the lt Down Page gt key to access this panel Input Parameters Output Parameters None Section 3 Variable Variable ae Name Type Description FO thru F9 Double CW frequencies active in the storage registers Precision MO thru M9 Double CW frequencies active in the storage registers Precision Error Program Examples Quick BASIC LabWindows error codes only 220 to 240 3XX Instrument Specific Page 2 8 REM Get the value for up to twenty frequencies W680B INIT FREQ MO M1 M2 M3 M4 M5 M6 M7 M8 M9 Microsoft C FO F1 F2 F3 F4 F5 F6 F7 F8 F9 Get the value for up to nine frequencies W680B_INIT_FREQ MO M1 M2 M3 M4 M5 M6 M7 M8 M9 FO F1 F2 F3 F4 F5 F6 F7 F8 F9 3 21 680XXB LabWindows Driver User s Guide INIT PWR Function Panel Name Source Power Def ini
40. p 3 14 Marker Selection aR Start Stop Sweep Salg Output Leveling SEN User Power Cal 3230 Output Power oe Utilities 3 42 3 4 Wiltron 680XXB Synthesized CW Generator Figure 3 1 gt Initialize Utilities Close Function Panel Tree Source Frequency Def Source Power Def Frequency Control INIT FREQ FO thru M9 Returned Values INIT PWR Delta Sweep FO thru F9 Returned Values gt _ gt Frequency Select Frequency Setup CW gt Start Stop Sweep mh Dwell Time gt Trigger Special Sweep Power Control Save Recall Functions Save Setup Recall Setup UT Section 3 SETCW List Select FO thru M9 FC CW gt CW Frequency FO through M9 FC STST Sweep Range Trigger Number of Steps FC DELTA Center Frequency Frequency Span Dwell Time Number of Steps FC ALS Alternate Sweep y Alternate Sweep Marker Selection Output Power Output Power Sweep Output Leveling User Power Calibrate p Array Name Alt Sweep Power FC SPEC Data Select Number of Elements SETMK List Select Marker Selection 0 thru 9 On Off PC PWR SR SAVE Save Register Select SR RECALL Recall Register Select 3 5 Blanking Pulse 5V 5V Front Panel Disp
41. rosoft C Select the leveling mode W680B_PC_LEVEL LEV ALCCP LVC EXDAC ALCIN ATT ALCPS PVT VL r5 3 27 680XXB LabWindows Driver User s Guide PC PWR Function Panel Name Output Power Description This function lets users set the output power level us ing an editable list of values It also provides for turn ing the level offset function on or off and setting its value Instruments Libraries View Options Help Return Wiltron 680XXB Synthesized CW Generator Output Power Page 1 1 RF On Off offset Level Offset CALL W68 B PC PWR 1 B PWRO PWR1 PWRZ PWRS PWR4 PWRS PWR6 Py OPERATE Controls Power List Lets users select a power level parameter for loading in Select the 680XXB LO L9 Opens the selected parameter and lets its value to be set and selected as the instrument output power level Load All Opens all parameters and lets their value be set and the L9 parameter selected as the instrument output power level RF On Off Lets users turn the RF output power on or off Offset Lets users turn the Level Offset function on or off Level Offset Lets user enter a level offset value when the function is turned on This value compensates for a device in the output line that alters the level of the output power sig nal before being applied to the device under test LO thru L9 Provide for entering power level values 3 28 Section 3 Input Para
42. tion Description This function returns the values of power levels LO L9 that are presently stored in the 680XXB storage regis ters All frequencies are returned in dBm There are no operator inputs Keep Instruments Libraries View Options Help Return Wiltron 680XXB Synthesized CW Generator Source Power Def Page 1 1 Controls LO L9 Displays the returned 680XXBLO L9 power levels Input Parameters None Output Parameters Section 3 Variable Variable Pe Name Type Description FO thru F9 Double Power levels active in the storage registers Precision Error LabWindows error codes only 220 to 240 3XX Instrument Specific Page 2 8 Program Examples Quick BASIC REM Get the value for up to twenty frequencies W680B INIT FREQ LO L1 L2 L3 L4 L5 L6 L7 L8 L9 Microsoft C Get the value for up to nine frequencies W680B_INIT_FREQ L0 L1 L2 L3 L4 L5 L6 L7 L8 L9 3 23 680XXB LabWindows Driver User s Guide PC LEVEL Function Panel Name Output Leveling Description This function lets users select the power leveling mode s Instruments Libraries View Options Help Return Wiltron 680XXB Synthesized CW Generator Output Leveling Page 1 1 External Leveling Functions ALC Input Level Correction Ext Gain DAC Rear 128 Ext Pur Mtr Front ALC Attenuation ALC Step Attenuator Coupled ALC Power Slope Power Slope Pivot Power Slope Value Error 2 CALL W68
43. tions PROGRAM QuickBASIC INSERT 2 3 680XXB LabWindows Drivers User s Guide Loading 680XXB Driver As Instrument Module The following procedure describes how to load the 680XXB Driver as an instrument module Select Instruments on the top menu bar below to display the pull down menu Rr epee Instruments RDS Sry PROGRAM QuickBASIC J Load t Unload INSERT Select Load then change to the LW INSTR subdirectory below Move the cursor to w680b fp and select Load File Edit Program Instruments Libraries View Options QuickBASIC Load Instrument Filename w680b fp C NLIUN INSTR u56Zsna fp w68ab fp w681 fp INSERT 2 4 Section 2 Move the cursor to Instruments to display the pull down menu The AN RITSU 680XXB Synthesized CW Generator title displays showing that the instrument module is now loaded Instruments PROGRAM Libraries View Options QuickBASIC Wiltron G8 XXB Synthesized CW Generator Load Unload INSERT Select ANRITSU 680XXB Synthesized CW Generator and observe that the 680XXB main panel appears below Libraries View Options Instruments QuickBASIC Initialize x Source Frequency Def Source Power Def Frequency Control Power Control Save Recall Functions Utilities INSERT You are now ready
44. to proceed with developing control code using the 680XXB instrument driver 2 5 680XXB LabWindows Drivers User s Guide Loading 680XXB Driver At Start up The 680XXB driver can be automatically loaded each time LabWindows is started The procedure for making this happen is given below Place yourself into the LabWindows PROGRAM window as was described on page 2 3 Select Options on top menu bar to display the pull down menu Select Startup Defaults RR Ss OEE ED iel a a aase hee T ET Options P RO GRA M User Interface Editor Function Panel Editor Function Tree Editor Edit Instr Program Save as Instr Program Screen Options Startup Defaults Library Panel Options Hardcopy Options About LabWindous INSERT Choose Select to locate the 680XXB driver w680b fp alternatively type in the path and file name Instruments Libraries View Options QuickBASIC INSTRUMENT MODULES LabWindous Libraries Data Aquisition Advanced Analysis UXI AT DSP2288 User Libraries Clear List Clear List INSERT 2 6 Section 2 Choose the LW INSTR subdirectory from the file list Instruments Libraries View Options QuickBASIC Load Instrument Tt Filename w680b fp C NLN INSTR u56Zsna fp REELS w681 fp Choose w680b fp from the displayed file list and click on Load
45. ument which is 2 model dependent DWT Real Dwell Time At Each 50 ms D 1 ms to 99s Step Output Parameters Error Program Examples Quick BASIC None LabWindows error codes only 220 to 240 3XX Instrument Specific Page 2 8 REM Define the power sweep CALL W680B PC PWRS Microsoft C W680B_PC_PWRS Define the power sweep PST LVL1 LVL2 NUMST DWT LVLS1 LVLS2 3 33 PST LVL1 LVL2 NUMSTS DWT LVLS1 LVLS2 680XXB LabWindows Driver User s Guide SETCW Function Panel Name Frequency Setup Description This function lets users define frequencies for any of the twenty 680XXB storage registers Got Keep Instruments Libraries View Options Help Return Wiltron 680XXB Synthesized CW Generator Frequency Setup Page 1 72 Frequency Select All ete cary are in MHz Z 1 3 4 5 T 8 g Error Fc freg Me freq Both Load Al CALL W68 B SETCW 1 B FR FR1 FR2 FRO FR4 FR5 FRG FR7 FRS8 MF6 MF7 MF8 MFI Line 1 2 OPERATE Got Keep Instruments Libraries View Options Help Return All frequencies are in MHz Ma M3 M4 M5 Fas rre nese MG M7 M8 M9 CALL W68GB SETCW 1 B FRO FRI FR2H FR3 FR4 FR5 FR6 FR7 FRESH MF6H MF7 MF8 MFI OPERATE Controls List Select Lets users select the F0 F9 set MO M9 set or both sets for assignment of frequency values If Both is se le
46. view for Non LabWindows Users Programmers who do not use LabWindows will also benefit from the ANRITSU Instrument Driver software You will not have to know all of the GPIB codes needed to program applications for the 680XXB Synthesized CW Generator The driver software effectively manages low level GPIB I O operations and native instrument control You will see greater program reliability because of the driver s extensive error checking rou tines You will see reductions in the time required to develop test and debug applications 1 5 1 6 Section 2 Using the 680XXB Instrument Driver with LabWindows Section 2 Using the 680XXB Instrument Driver with LabWindows Introduction This section provides an introduction to the LabWindows environment and a tutorial de scribing the use of the 680XXB driver within LabWindows This section assumes that you have read Part 1 of the National Instruments Getting Started with LabWindows manual and are generally familiar with the LabWindows screen and principles of navi gation within the environment General The following procedure describes how to access LabWindows and load files Move to the directory containing the LabWindows executable E XE files This directory is usually named LW Type LW This places you in the PROGRAM window of the LabWindows environment below File Edit Program Instruments Libraries View Op
47. waveguide vara tions due to changes in frequency Lets user enter a model dependent frequency value for the power slope pivot point Pivot point can be any fre quency within the range of the instrument Lets user enter a value for the ALC slope DAC of be tween 0 and 255 3 25 680XXB LabWindows Driver User s Guide Input Parameters D is default setting Variable Variable gaut Name Type Description Details Range LEV Integer Leveling 0 Fixed Gain N A 1 Internal D 2 Ext Det 3 Ext Pwr Mtr ALCCP Integer ALC Attenuation 0 Coupled D N A 1 Decouple LVC Integer Level Correction 0 Off D N A 1 On EXDAC Double Ext Gain DAC 0 D 0 to 255 Precision ALCIN Integer ALC In 0 Front D N A 1 Rear ATT String ALC Step Attenuator 00 Off D N A 01 10 dB 02 20 dB 03 30 dB 04 40 dB 05 50 dB 06 60 dB 07 70 dB 08 80 dB 09 90 dB 10 100 dB 11 110 dB ALCPS Integer ALC Power Slope 0 Off D N A 1 On PVT Double Power Slope Pivot Default 2 GHz Model Precision Dependent VL Integer Power Slope Value Default 128 1 to 255 3 26 Section 3 Output Parameters None LabWindows error codes only 220 to 240 Error 3XX Instrument Specific Page 2 8 Program Examples Quick BASIC REM Select the leveling mode CALL W680B PC LEVEL LEV ALCCP LVC EXDAC H LCIN ATTS ALCPS PVT VL Mic
Download Pdf Manuals
Related Search
Related Contents
Worldwide Lighting W83134C25 Installation Guide Craftsman 6-Drawer Service Parts Worldwide Lighting W83033G28 Installation Guide uso e manutenzione - Tata Motors Italia Manual memorización mandos Denon DVD-2910/955 User's Manual ESTUFA ESTILO CHIMENEA MEMO X505- Psych User Manual CC 202 Copyright © All rights reserved.
Failed to retrieve file