EXFO T100S-HP Programming Manual

EXFO T100S-HP Programming Manual

High power tunable laser
Hide thumbs Also See for T100S-HP:

Advertisement

Quick Links

T100S-HP
High Power Tunable Laser
Programming Guide
www.EXFO.com
T100SHP_PG_6.06v1.0

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the T100S-HP and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for EXFO T100S-HP

  • Page 1 T100S-HP High Power Tunable Laser Programming Guide www.EXFO.com T100SHP_PG_6.06v1.0...
  • Page 3: About This Manual

    About This Manual Subject This manual specifies the remote interfaces of the T100S-HP and the corresponding remote commands. Application Information in this document applies to the T100S-HP version 6.06 and later. Intended Readers Users of this manual must be familiar with: •...
  • Page 4 (electronic, mechanical, magnetic, optical, chemical, photocopying, manual, or otherwise) without the prior written permission of EXFO. Product Warranty For detailed information about the sales terms and conditions, visit the EXFO web site at and Limitation of www.exfo.com/how-to-buy/sales-terms-conditions Warranty...
  • Page 5: Table Of Contents

    Checking System Status with the Status Byte ............... 9 1.2.2 Setting the GPIB Address ...................... 11 1.2.3 Connecting the T100S-HP to an IEEE-488.1 Controller ............11 Remotely Controlling the T100S-HP via RS-232C................12 1.3.1 Turning On/Off the RS-232C Remote Control Mode ............12 1.3.2...
  • Page 6 GPAD............................34 2.9.2 LOCAL ............................. 34 Program Example and Library ......................35 T100S-HP LabVIEW Library......................... 35 T100S-HP LabVIEW Example ......................36 3.2.1 Using the Front Panel to Remotely Control the T100S-HP..........36 3.2.2 Example Diagram........................37 Index................................ 39 T100S-HP Programming Guide...
  • Page 7: Remotely Controlling The T100S-Hp

    LED on the Remote key is lit to indicate that remote control is active. When the T100S-HP is operating in remote mode, all function keys on the front panel are disabled apart from the Remote key.
  • Page 8: Remotely Controlling The T100S-Hp Via Ieee-488.1

    IEEE-488.1 Subject The GPIB is located on the rear panel and is labeled IEEE 488 (see T100S-HP User Manual). It is compatible with the IEEE-488.1 standard. The standard configuration is composed of a controller device (which is usually a computer equipped with a GPIB interface board and corresponding IEEE-488.1 terminal...
  • Page 9: Checking System Status With The Status Byte

    1.2.1 Checking System Status with the Status Byte Definition of the The status byte is an 8-bit value that reflects the status of the T100S-HP It contains a Status Byte number of binary indicators, which can be used by the computer for optimal synchronization with the T100S-HP product.
  • Page 10 To accelerate and secure the exchange of information between the computer and the Messages T100S-HP, use the value of the status byte obtained by serial polling (see section Definition of the Status Byte, p. 9). This status byte contains the information letting the computer know the status of commands received by the T100S-HP, and therefore decides when a new instruction can be sent or when the requested parameter can be read.
  • Page 11: Setting The Gpib Address

    1.2.3 Connecting the T100S-HP to an IEEE-488.1 Controller Subject The GPIB port enables you to connect the T100S-HP to a computer to control it via remote commands. Before Starting Make sure you have a GPIB cable to link the T100S-HP to an IEEE-488.1 controller (GPIB PCI card or GPIB-USB-HS from National Instrument) connected to your computer.
  • Page 12: Remotely Controlling The T100S-Hp Via Rs-232C

    • Pin 2: RX (data received by T100S-HP on pin 2) • Pin 3: TX (messages sent out by T100S-HP via pin 3) • Pin 5: GND (the ground is through pin 5) No other connector-pin is used. The following table shows how to connect the...
  • Page 13: Format Of Messages

    Response Message • RS-232C When the T100S-HP receives an instruction, the character string is decoded and the relevant procedure is carried out. After completion, the T100S-HP returns a message to inform the computer that the requested procedure has been performed (OK statement) or that an error event has occurred (see section Error Handling, p.
  • Page 14 To send multiple commands or queries in a single message, you must separate individual instructions from one another by a semicolon (;). Instructions are processed by the T100S-HP one after another in the order received. Responses generated by multiple queries are separated by a semicolon (;).
  • Page 15: Error Handling

    Error Handling T100S-HPThe two following types of errors can occur in the transmission of instructions: • Command error: the command string received by the T100S-HP is invalid due to a syntax error or to the use of an unknown mnemonic. •...
  • Page 16 Remotely Controlling the T100S-HP T100S-HP Programming Guide...
  • Page 17: Remote Control Commands

    Active Wavelength Monitoring Control Control (GPIB only), p. 31 L_FEEDBACK? General System Control INIT INIT, p. 33 ECHON ECHON, p. 33 ECHOFF ECHOFF, p. 33 *IDN? *IDN?, p. 34 Remote Mode Control GPAD GPAD, p. 34 LOCAL LOCAL, p. 34 T100S-HP Programming Guide...
  • Page 18: Ieee Standard Functions

    0 and 255. Response • 17: the OPC and MAV indicators are set to 1 (1+16 = 17) Examples • 6: the ERRV and ERRC indicators are set to 1 (2+4=6) T100S-HP Programming Guide...
  • Page 19: Sre

    (SRQ) to the computer. The computer can instruct the T100S-HP to send a service request whenever certain bit-values are set to 1. Therefore, you do not need to repeatedly prompt for the status byte since the T100S-HP automatically notifies the computer when a particular event occurs.
  • Page 20: Optical Output Control

    Output Power Settings 2.3.1 Syntax Parameter None. Description Sets dBm as the unit for optical power values. Response • RS-232C: OK • GPIB: none, see section Checking System Status with the Status Byte, p. 9. 2.3.2 Syntax Parameter None. T100S-HP Programming Guide...
  • Page 21 Parameter • [±]xx.xx: optical output power in dBm, if the unit is set to dBm (see section DBM, p. 20). Possible values are given in the Technical Specifications section in T100S-HP User Manual. • xx.xx: optical output power in mW, if the unit is set to mW (see section MW, p. 20).
  • Page 22: Diode Current Settings

    DISABLED: the optical output is disabled, the current level value cannot be returned. 2.4.3 LIMIT? Syntax LIMIT? Parameter None. Description Returns the status of the laser diode current limitation (400 mA). Response • YES: the current has reached its limit. • NO: the current has not reached its limit. T100S-HP Programming Guide...
  • Page 23: Optical Emission Wavelength/Frequency Settings

    Returns the value of the present emission wavelength in nm. Response L=xxxx.xxx 2.5.1.3 L? MIN|MAX Syntax L? MIN|MAX Parameter • MIN: minimum operating wavelength. • MAX: maximum operating wavelength Description Returns the minimum or maximum operating wavelength of the T100S-HP in nm. Response xxxx.xxx T100S-HP Programming Guide...
  • Page 24: F? Min|Max

    Syntax F? MIN|MAX Parameter • MIN: minimum operating frequency. • MAX: maximum operating frequency Description Returns the minimum or maximum operating frequency of the T100S-HP in GHz. Response F=xxxx.xxx 2.5.1.7 MOTOR_SPEED Syntax MOTOR_SPEED=xxx Parameter xxx: sweep speed in nm/s, in the range 1 to 100 nm/s. Operational sweep speeds are: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17,18, 20, 22, 25, 29, 33, 40, 50, 67, 100 nm/s.
  • Page 25: Motor_Speed

    2.5.2.1 FSCL Syntax FSCL=xx.x Parameter xx.x: wavelength change in pm. Description Switches to the Fine Scanning mode. For more details on this mode, see T100S-HP User Manual. This mode is canceled by any other command. Response • RS-232C: OK •...
  • Page 26: Automatic Power Control

    2.5.4.1 ACTCTRLON Syntax ACTCTRLON Parameter None. Description Enables the active cavity control mode. For more details on this mode, see T100S-HP User Manual. Response • RS-232C: OK • GPIB: none, see section Checking System Status with the Status Byte, p. 9.
  • Page 27: Actctrloff

    2.5.4.2 ACTCTRLOFF Syntax ACTCTRLOFF Parameter None. Description Disables the active cavity control mode. For more details on this mode, see T100S-HP User Manual. Response • RS-232C: OK • GPIB: none, see section Checking System Status with the Status Byte, p. 9.
  • Page 28: Coherence Control

    2.5.6.1 CTRLON Syntax CTRLON Parameter None. Description Enables the coherence control function. For more details on this mode, see T100S-HP User Manual. Response • RS-232C: OK • GPIB: none, see section Checking System Status with the Status Byte, p. 9.
  • Page 29 This enables you to earn around 100 ms on a full scan. If this is not a concern, you can skip steps 4 and 7. By default, the active cavity control is enabled in the T100S- 8. Repeat steps 2 to 7 to perform a new sweep. T100S-HP Programming Guide...
  • Page 30: Calibration Control

    • REFERENCING ERROR: if auto-calibration has failed, this message is displayed for a few seconds, and the T100S-HP resumes normal operating status. Unlike the 2nd + I command (in manual mode) that stalls the system when a referencing error occurs, there is no need to press Enter to restore the system.
  • Page 31: Pcal2

    Active Wavelength Monitoring Control (GPIB only) 2.7.1 L_FEEDBACK Applicability GPIB only. To use this function, the T100S-HP must be connected to a wavemeter via the RS-232C interface, so the RS-232C interface cannot be used to receive commands. Syntax L_FEEDBACK=1|0 Parameter •...
  • Page 32 • 1: the Active Wavelength Monitoring is in use. • 0: the Active Wavelength Monitoring is disabled. • ERROR: possible malfunction, make sure a wavemeter is connected to the RS-232C port (see T100S-HP User Manual for details). T100S-HP Programming Guide...
  • Page 33: General System Control

    Parameter None. Description Activates the "echo" mode: the T100S-HP sends an echo of each character received back through the serial cable. Since some terminals and terminal emulation programs do not feature local echo, this function can be useful for visual monitoring of the characters keyed in at the terminal or for having a secure link.
  • Page 34: Idn

    Remote Control Commands 2.8.4 *IDN? Syntax *IDN? Parameter None. Description Returns information about the T100S-HP as follows: company name, product name, software version number (FPGA version). Response EXFO,T100S-HP,0,<software version> Remote Mode Control 2.9.1 GPAD Applicability GPIB only. Syntax GPAD=xx Parameter xx: GPIB address of the T100S-HP, in the range 1-30.
  • Page 35: Program Example And Library

    3. Program Example and Library Subject EXFO provides the following tools to allow you to control the T100S-HP via RS-232C and GPIB: • LabVIEW Virtual Instrument example T100S_HP_Example.vi • LabVIEW library T100S_HP.lvlib These tools are available on the USB key delivered with the T100S-HP, or you can download them from the EXFO website at www.EXFO.com/software/en/exfo-apps...
  • Page 36: T100S-Hp Labview Example

    Functions Wavelength limits of the Busy/Idle LED T100S-HP Figure 1: T100S-HP Example – Front Panel T100S-HP Functions The VI reproduces most of the functionalities of the T100S-HP by emulating the following functions: • λ/f: Wavelength/Frequency screen • P: Power screen •...
  • Page 37: Example Diagram

    To enable or disable the laser, click on the DISABLED/ENABLED button. • Running the "Referencing" function To run the "Referencing" function, click on the Auto-Calibration button. See T100S-HP User Manual for more information on laser operation. 3.2.2 Example Diagram The LabVIEW diagram of T100S_HP_Example.vi is composed of two parts: •...
  • Page 38 Program Example and Library T100S-HP Programming Guide...
  • Page 39: Index

    F ....................24 OPC ...............10 F? ..................24 F? MIN|MAX ..............24 P ....................21 Format ................13 P? ..................21 FSCF ..................25 PCAL1 .................30 FSCL ..................25 PCAL1? ................30 PCAL2 .................30 GPAD ...................34 PCAL2? ................31 GPIB Address ..............11 Query ...................10 Capabilities ..............8 T100S-HP Programming Guide...
  • Page 40 Status Byte ................9 RS-232C Connection .............. 13 Status Word ................9 Remote control activation ......... 12 STB? ..................18 Turning on ..............12 Synchronization (GPIB) ..........10 Serial polling ..............9 Value error (ERRV) ............15 Service Request ..............9 T100S-HP Programming Guide...

Table of Contents