Connecting several GX 3x0 ....................8 Programming an IP address for the device ..............10 Use TeraTerm to program your GX 320E via Ethernet ..........12 Rear panel ........................13 GX 310P ..........................13 GX 320E ..........................13 Drivers LabView and LabWindows ..................14 SCPI Protocol ..........................14 Programming convention ....................14...
Page 4
Remote programming Selection of FM source ....................24 Setting start/end frequencies in FM .................24 SHIFT Key Function (GX 320) ......................25 Selection of the SHIFT KEYING source ................25 Setting start/end phases in PSK..................25 Setting start/end frequencies in FSK ................25 BURST Function (GX 320)......................26 BURST source selection....................26 Setting the pulse number to be generated ...............26 Setting the delay between pulse trains ................26...
USB connector The CP210x driver must be installed before connecting the GX 310P or GX 320E generator. If the USB device is not recognized when connecting the cable : give up searching the Windows driver, disconnect the generator, install the driver as described hereafter.
Remote programming Introduction (cont’d) • Do not connect the generator to the USB port of the PC before "CP210x USB to UART Bridge installing the "CP210x USB to UART Bridge Controller" driver. Controller" driver • The driver is automatically installed when you set up the utility USBXpress. installation This application allows among other things : - to identify the COM port created for the instrument...
Page 7
Remote programming Introduction (cont’d) • Set the serial link (Setup menu / Serial ports…) as below : • Set the Terminal as follows (Setup menu / Terminal …) : • TeraTerm is now set up. This configuration can be saved in the Setup / Save Setup menu … •...
By default, all the instruments are set up with the same "GX3x0" identifier. several GX 3x0 Thus, on one PC, GX 320E and GX 310P generators are always associated with the same COM port. However, connecting two GX with the same identifier on a PC leads to a resource conflict.
Page 9
Remote programming Introduction (cont’d) through Warning ! To use the ETHERNET link, the USB cable must be “ETHERNET” disconnected. The dialogue between the generator and the PC is realized via a serial Ethernet adapter. This is a Lantronix XPort module. crossed cable - Connect the crossed ETHERNET interface cable directly to the PC.
Remote programming Introduction (cont’d) • Insert the supplied CD-ROM and, in the readme.html page Programming presentation, select the item "Windows Installer" of the GX320E- an IP address Admin line. for the device • Follow the installation instructions. Connect the generator to the power supply ( red button lit).
Page 11
Remote programming Introduction (cont’d) Here the address is automatically provided via DHCP or AutoIP. Note: Clicking the Default setup 'window allows to reprogram the default configuration in the generator. If you want to enter an address, uncheck the 'DHCP' and type your new address.
Remote programming Introduction (cont’d) Use TeraTerm to program your GX 320E via Ethernet Once your IP address is correctly programmed on the instrument, you can start Tera Term and create a new connection (see above ...). Select TCP / IP, enter the IP address of your instrument (14.3.250.10 here), and select Telnet port 23 : Function Generators...
Remote programming Introduction (cont’d) Rear panel GX 310P Working voltage indicator USB Interface Network connection USB to RS232 connection GX 320E Working voltage indicator ETHERNET B type USB connection Network connection Function Generators...
Remote programming Drivers LabView and LabWindows These drivers are on the CD ROM, they provide an SCPI commands interface to enable the realization of software with both development environments. SCPI Protocol Programming convention Tree structure The command tree diagram includes all the commands specific to the instrument.
Remote programming ( | ) The vertical bar may be read as an "or", it is used to separate the various possible parameters. SCPI Protocol (cont’d) Separators descends in the next directory or returns under the root, if preceded by a ' ; '. ' : ' ' ;...
Remote programming The parameter is a signed integer number. Example : 10 The parameter is a signed real without exponent. Example : 10.1 The parameter is a signed real expressed with a mantissa and a signed exponent. Example : 10.1e-3 SCPI Protocol (cont’d) Chains of They are continuations of letters and figures framed by quotation marks "...
Remote programming Detailed description of commands Main Commands Instrument power off SYSTem:POWer: (command/query) The command SYST:POW {1|0|ON|OFF} switches the instrument from ON mode to STANDBY mode, and reciprocally. To the question SYST:POW? the instrument returns its operating mode (1 if ON, 0 if STANDBY). Activation of the MAIN OUT output OUTPut[:STATe] (command/query)
Remote programming Display contrast setting DISPlay:CONTrast (command/query) The command DISP:CONT <level> sets the contrast value of the LCD screen. <level> is the contrast value. It is a decimal value without exponent, between 0 and 1 (1 being the max. contrast). To the query DISP:CONT? the apparatus returns the current contrast value in NR2 format.
Remote programming CONTinuous Function Selection of the signal wave shape [SOURce:]FUNCtion (command/query) [:SHAPe] The command FUNC {SINusoid|SQUare|LOGICal|TRIangle|DC} selects the shape of the signal wave. To the question FUNC? the apparatus returns the current wave shape of the instrument. Setting the signal frequency [SOURce:]FREQuency (command/query)
Remote programming Setting the signal amplitude [SOURce:]VOLTage (command/query) [:LEVel][:IMMediate] [:AMPLitude] The command VOLT <amplitude> sets the signal amplitude to be generated (except LOGIC signal). <amplitude> is a value in format <NRf>, it can be followed or not by a sub- multiple and by the unit (V).
Remote programming Setting the high logic level [SOURce:]VOLTage (command/query) [:LEVel][:IMMediate] :HIGH The command VOLT:HIGH <level> sets the high level of the LOGIC signal to be generated. <level> is a value in format <NRf>, it can be followed or not by a sub- multiple and by the unit (V).
Remote programming SWEEP Function SWEEP source selection [SOURce:]SWEep (command/query) :SOURce The command SWE:SOUR {INTernal|EXTernal} selects the source of the internal or external sweep. To the question SWE:SOUR? the apparatus returns the current source used for the sweep. SWEEP mode selection [SOURce:]SWEep (command/query) :SPACing...
Remote programming Setting the SWEEP time [SOURce:]SWEep (command/query) :TIME The command SWE:TIME <time> sets the sweep time used in internal sweep. <time> is a value in format <NRf>, it can be followed or not by a sub- multiple of the unit (s). By default, its value is expressed in seconds. To the question SWE:TIME? the apparatus returns the current value of the sweep time.
Remote programming MODUL Function (GX 320) Setting AM rate [SOURce:]AM[:DEPTh] (command/query) The command AM {20|80} selects, in case of internal modulation, the selected amplitude modulation rate, i. e. 20 or 80 % of the non-modulated signal total amplitude. To the question AM? the apparatus returns the selected modulation rate (20 or 80 %).
Remote programming SHIFT Key Function (GX 320) Selection of the SHIFT KEYING source [SOURce:]SHIFT (command/query) :SOURce The command SHIFT:SOUR {INTernal|EXTernal} selects the internal or external SHIFT KEYING source. To the question SHIFT:SOUR? the apparatus returns the current source used for the SHIFT KEYING. Setting start/end phases in PSK [SOURce:]SHIFT...
Remote programming BURST Function (GX 320) BURST source selection [SOURce:]PULSe (command/query) :SOURce The command PULS:SOUR {INTernal|EXTernal} selects the internal or external source. To the question PULS:SOUR? the apparatus returns the current source used for the BURST. Setting the pulse number to be generated [SOURce:]PULSe (command/query)
Remote programming SYNChronization Function (GX 320) Setting the dephasing [SOURce:]PHASe (command/query) [:ADJust] When synchronizing several instruments, the PHAS <phase> adjusts : on the master : the start-up phase of its output MAIN OUT on the slaves : the dephasing of their outputs (MAIN OUT and TTL OUT) over the master.
Remote programming FREQ Frequencymeter Reading the frequency value MEASure[:FREQuency] (query) To the question MEAS? the apparatus returns the frequency which is read. The value is expressed in format <NR3> expressed in Hz. The FREQ function must be selected before running this command (see DEV:MOD command).
Remote programming GATE mode management (GX 320) Activating GATE mode OUTP:GATE (command/query) The command OUTP:GATE {0|1|ON|OFF} activates or not the GATE mode (piloting the AC output by GATE IN) when this function is allowed. • ON | 1: GATE mode is activated •...
Remote programming Help and Error Help HELP[?] (Query) To the question HELP? [< directory entry >] the instrument answers helping in the SCPI commands available. < directory entry > is a key word (short or long form) of first level in the tree of the command.
Remote programming They indicate that an error has been detected at the moment of * Execution errors: command execution and causes event register bit 4, called EXE, (-299 to -200) Execution Error, to be set to 1. -200 : Execution error -213 : Init ignored -221 :...
Remote programming IEEE 488.2 common commands Introduction The common commands are defined by the IEEE 488.2 standard. They are operational on all instruments which are specified IEEE 488.2. They command basic functions such as: • identification, • reset, • configuration reading, •...
Remote programming Reading only *STB? common command. Status registers In this case, the (MSS) 6 Bit is returned and remain in the status it was before reading [see §. *STB (Status Byte)] The *CLS common command is reset to zero. Detailed description *STB ? Request Service (6 bit)
Remote programming Power On (7 bit) Not used User request (6 bit) Not used Command Error (5 bit) A command error has been detected. Execution Error (4 bit) An error execution has been detected. Device Dependant Error 3 (bit) An error specific to the instrument has been detected. Query Error (2 bit) A query error has been detected.
(Query) (Identification Number) To the question *IDN?, the instrument returns the type of instrument and the software version. Response format: METRIX <instrument><programmable>,<firmware version>,<version date>,<serial number><NL> <instrument> Instrument model (GX 310 / GX 320) <programmable> ‘P’ or ‘E’ if the instrument is programmable <firmware version>...
Remote programming *OPC (Command/Query) (Operation Complete) The command *OPC authorises the setting to 1 of the OPC bit in the event register as soon as the current operation is completed. To the question *OPC?, the instrument returns the character ASCII "1"...
Remote programming Status register *STB ? (Command) *TRG The command *TRG starts an acquisition in the current mode "single" or "continuous". *TST? (Query) (Test) To the question *TST?, the instrument returns the status of the autotest procedure. Response format: <0|1><NL> •...
Page 38
Remote programming Tree structure Common commands Commands Functions resets the event and status registries *CLS *ESE writes event mask reads event mask *ESE? *ESR? reads event registry reads identifier *IDN? *OPC validates OPC bit waits till end of execution *OPC? resets *RST writes service request mask...
Need help?
Do you have a question about the GX 310P and is the answer not in the manual?
Questions and answers