Page 3
Universal Test System FTB-400 User Guide If the equipment described herein www.valuetronics.com bears the symbol, the said equipment complies with the P/N: 1037328 applicable European Union May 2003 Directive and Standards mentioned in the Declaration of Conformity.
Page 4
Engineering Inc. (EXFO). Information provided by EXFO is believed to be accurate and reliable. However, no responsibility is assumed by EXFO for its use nor for any infringements of patents or other rights of third parties that may result from its use.
Contents Contents Certification Information ...................... vii 1 Introducing the FTB-400 Universal Test System ......... 1 Available Models ........................4 Understanding Universal Test System LED Panel ..............8 Understanding Universal Test System Hardware Buttons ............9 Hard-Drive Structure ......................10 2 Safety Information ..................11 Safety Conventions .......................11...
Page 6
Changing Communication Settings ..................86 Preparing for Remote Control with DCOM ................90 8 Using FTB Products in an Automated Test Environment ......99 Managing the States of Your FTB-400 Universal Test System ..........100 Message Management .......................104 Standard Status Data Structure ..................108 SCPI Command Structure ....................113 Consulting Data Types ......................118...
Page 7
Removing ToolBox Manually ....................148 Resetting the Circuit Breaker ....................150 Using Rescue Disks ......................151 Viewing Online Documentation ..................152 Finding Information on the EXFO Web Site ................152 Contacting the Technical Support Group ................153 Viewing System Information ....................154 Accessing Online Help ......................157 Transportation ........................158 11 Warranty ....................
Page 8
Contents D SCPI-Based Errors ..................227 E COM Properties and Events ..............243 ActiveX (COM/DCOM)—Quick Reference ................244 Properties ...........................245 Events ..........................252 Index .......................253 www.valuetronics.com FTB-400...
This unit has undergone extensive testing according to the European Union Directive and Standards. All pre-qualification tests were performed internally, at EXFO, while final tests were performed externally, at an independent, accredited laboratory. This guarantees the unerring objectivity and authoritative compliance of all test results.
Page 10
This product is equipped with a shielded three-wire power cord and plug. Use this power cord in conjunction with a properly grounded electrical outlet to avoid electrical shock and to reduce radio frequency interference that may emanate from the power cord. www.valuetronics.com viii FTB-400...
Page 11
Certification Information DECLARATION OF CONFORMITY Application of Council Directive(s): 73/23/EEC - The Low Voltage Directive 89/336/EEC - The EMC Directive Manufacturer’s Name: EXFO ELECTRO-OPTICAL ENG. Manufacturer’s Address: 465 Godin Avenue, Vanier, Quebec Canada G1M 3G7 (418) 683-0211 Equipment Type/Environment: Industrial Scientific Equipment Trade Name/Model No.:...
DWDM is well entrenched in long-haul applications and is moving into metro. You know that you need more efficiency. And you will find it with the FTB-400 Universal Test System. Benefit from advanced test operations in outside plant installation, maintenance, and troubleshooting.
Page 14
Introducing the FTB-400 Universal Test System Captive screws Two-position stand (two-slot) One-position stand (seven slot) Module (shown closed) retaining screws Captive screws Battery compartment (shown open) Mainframe Two-slot backplane Battery 2 Battery 1 www.valuetronics.com FTB-400...
Page 15
Introducing the FTB-400 Universal Test System The FTB-400 Universal Test System runs under Windows 2000, and the ToolBox 6 software provides you with a graphic, user-friendly interface for your testing applications. The interface was designed to be efficient and easy to access, whether you are using the touchscreen or a conventional mouse and keyboard.
Introducing the FTB-400 Universal Test System Available Models Available Models The FTB-400 Universal Test System comes in two configurations to expand your testing possibilities. Two-Slot Configuration dedicated OTDR and loss testing with OTDR and MultiTest modules over 500 OTDR and loss testing combinations...
Page 17
Introducing the FTB-400 Universal Test System Available Models Audio out port Audio in port Serial port (male DB-9) Parallel port (female DB-25) Module retaining Video out port screws USB ports AC/DC adapter/charger socket Two-slot Mainframe backplane www.valuetronics.com Universal Test System...
Page 18
Introducing the FTB-400 Universal Test System Available Models Seven-Slot Configuration extendible basic and advanced fiber-optic test applications, including DWDM over 1000 testing combinations-DWDM modules, PMD characterization, ribbon test kits, switches for high fiber count testing, OTDR and loss testing Master connector...
Page 19
Introducing the FTB-400 Universal Test System Available Models Audio out port Audio in port Serial port (male DB-9) Module retaining Parallel port (female DB-25) screws Video out port USB ports AC/DC adapter/charger socket Seven-slot Mainframe backplane www.valuetronics.com Universal Test System...
The LED panel on the front of the unit provides you with the status of the Universal Test System. Meaning On: The FTB-400 Universal Test System is on. Off: The FTB-400 Universal Test System is off. On: There is less that 10% of power left in the batteries.
Understanding Universal Test System Hardware Buttons The FTB-400 Universal Test System is equipped with hardware buttons that give you access to functions at all times. Below, you will find a table of the hardware buttons available and an overview of their purpose.
User/EXFO data, EXFO application configurations Utilities, Universal Test System backup (ghost) Note: Contact EXFO’s Technical Support for further help if you ever need to use the Universal Test System ghost. If you already had a Universal Test System and this version of ToolBox is an upgrade, your original partition system was divided differently.
Safety Information Safety Conventions Before using the product described in this manual, you should understand the following conventions: ARNING Indicates a potentially hazardous situation which, if not avoided, could result in death or serious injury. Do not proceed unless you understand and meet the required conditions.
Use of optical instruments with this product will increase eye hazard. AUTION When the laser safety light is flashing, one (or more) of your modules is emitting an optical signal. Please check all modules, as it might not be the one you are currently using. www.valuetronics.com FTB-400...
Safety Information Electrical Safety Information Electrical Safety Information The power cable of your FTB-400 Universal Test System is its connect and disconnect device when you are not using the batteries. AUTION The following voltage requirements must be met: AC/DC adapter 12–20 volts, 70 W.
Page 26
Do not use an extension cord without a protective conductor. Before powering on the unit, connect its protective ground terminal to a protective conductor using the unit power cord. Do not tamper with the protective ground terminal. www.valuetronics.com FTB-400...
To insert a module into the FTB-400 Universal Test System: 1. Exit ToolBox and power off your unit. 2. Position the FTB-400 so that its right panel is facing you. www.valuetronics.com Universal Test System...
Page 28
4. Insert the protruding edges of the module into the grooves of the unit’s module slot. 5. Push the module all the way to the back of the slot, until the retaining screw makes contact with the unit casing. 6. Place the FTB-400 so that its left panel is facing you. www.valuetronics.com FTB-400...
Page 29
This will secure the module into its “seated” position. Turn retaining screw knob(s) clockwise FTB-400 left panel (7-slot unit) When you turn on the FTB-400, the startup sequence will automatically detect the module. www.valuetronics.com Universal Test System...
Page 30
Inserting and Removing Test Modules To remove a module from the FTB-400 Universal Test System: 1. Position the FTB-400 so that the left panel is facing you. 2. Turn the retaining screw counterclockwise until it stops. The module will be slowly released from the slot.
Starting the FTB-400 Universal Test System When the FTB-400 Universal Test System is turned off, hold down the blue On/Off button on the front panel for two seconds. The FTB-400 Universal Test System beeps, the startup screen briefly appears and the FTB-400 www.valuetronics.com...
The FTB-400 Universal Test System offers two types of shutdown: a warm shutdown (also called hibernation mode), which will allow the FTB-400 Universal Test System to restart faster the next time is it used. This is the preferred shutdown method.
Test System. To change the backplane on your FTB-400 Universal Test System: 1. Make sure that the FTB-400 Universal Test System is shut down. 2. Unscrew the four captive screws from the backplane. 3. Gently pull the backplane away from the mainframe, making sure to keep the backplane perfectly straight.
Page 34
6. Turn the captive screws to lock the backplane to the mainframe. When you turn on the FTB-400 Universal Test System after changing the backplane, the new backplane is automatically recognized. Note: If the backplane is not properly screwed in, the FTB-400 Universal Test System might not detect it. www.valuetronics.com...
Installing or Upgrading ToolBox Installing or Upgrading ToolBox If you have purchased an FTB-400 platform, the ToolBox software will have been preinstalled and configured at the factory. If you are using a PC for data post-processing, or if you ever need to reinstall or upgrade your software, use the CD-ROM that came with your product or upgrade kit and follow the instructions below.
Page 36
CD-ROM drive). 2c. Click on OK to start the InstallShield Wizard and follow the on-screen instructions. Note: If a previous version of ToolBox is found on your platform, you will be requested to uninstall it before proceeding. www.valuetronics.com FTB-400...
Page 37
3. In the Select Features step, select the component(s) you want to install and click on Next to start the installation. List of modules may differ from illustration 4. Once the installation is complete, click on OK to reboot your FTB-400 or PC. www.valuetronics.com Universal Test System...
Accessing ToolBox 6 Accessing ToolBox 6 When your FTB-400 Universal Test System system comes out of the factory, it is set to start automatically with ToolBox 6. However, you might need to work with Windows, and can even set the system to startup with Windows instead of ToolBox 6, as explained in Selecting the Startup Applications on page 49.
Installing EXFO LabVIEW Drivers Installing EXFO LabVIEW Drivers Before being able to work with EXFO LabVIEW drivers, you must install the following elements on a PC or on your FTB-400 Universal Test System: National Instruments LabVIEW 6.0 software and the 6.0.2 patch...
Page 40
Getting Started with your Universal Test System Installing EXFO LabVIEW Drivers To install the EXFO LabVIEW drivers: 1. While holding down the SHIFT key, insert the installation CD in the CD-ROM drive. 2. Launch the installation process as follows: 2a. On the Windows taskbar, click on Start and select Run...
It is possible for you to customize ToolBox 6 in different ways. Installing a Monitor Although the FTB-400 Universal Test System is equipped with a top-of-the line LCD, there are times when you might want to use an external monitor.
The FTB-400 Universal Test System comes equipped with a stylus located inside the plastic cover. When you receive your FTB-400 Universal Test System, it is a good idea to calibrate the touchscreen. This will ensure that it behaves in the way that suits you best.
Page 43
Setting Up Your Universal Test System Calibrating the Touchscreen To calibrate the touchscreen: 1. Click on the Utilities function tab. 2. In the System tab, select Touchscreen Calibration. 3. As indicated in the middle of the screen, press on the arrow located on the top left-hand corner of the screen to launch the calibration sequence.
Page 44
5. If you pressed incorrectly on the screen, or you do not want to continue with the calibration, simply wait ten seconds. You will then be returned to the previous screen. 6. Once the calibration is complete, this screen will disappear and you are returned to the Utilities function tab. www.valuetronics.com FTB-400...
To adjust the monitor according to the current environment, use the brightness and contrast sliders. Note: If you have purchased an FTB-400 Universal Test System with a TFT (active) screen, you cannot adjust the contrast. The corresponding slider will look like this: To adjust the volume of the unit, use the volume slider.
Press the Backlight button repeatedly to toggle between these four levels. Note: A lower backlight level uses less battery power and allows for better autonomy when using the FTB-400 Universal Test System. These levels are actually preset brightness levels. However, you can also select a precise level of brightness from the Monitor and Sound Settings page in ToolBox 6.
System: Connect the keyboard to a USB port, located on the left side of the mainframe. Note: It is not necessary to turn off the FTB-400 Universal Test System before connecting the keyboard. The software will automatically detect its presence.
To install the proprietary driver, refer to the user guide that comes with your device. Of course, the keyboard that comes as an option with your FTB-400 Universal Test System is fully functional.
Page 49
Setting Up Your Universal Test System Using the On-Screen Keyboard 4. Select the System tab. 5. Check the Use on-screen keyboard box. To use the keyboard once activated, simply type in the data you want and click on either OK or Return to enter it. Click on Cancel to return to your application without typing anything.
To change the language, use the up and down arrows around the corresponding field. To change the keyboard type, use the up and down arrows around the corresponding field. 6. Click on Apply to use the new settings. Click on Close to exit without using the new settings. www.valuetronics.com FTB-400...
(such as the EXFO test applications). However, for application such as spreadsheet, word processors, etc., (that the FTB-400 Universal Test System allows you to run) a touchscreen might not be the most efficient pointing device. The FTB-400 Universal Test System was designed so that you can add external pointing devices (mouse, trackball, etc.).
Page 52
Of course, the optional mouse that comes with your FTB-400 Universal Test System is fully functional. Note: It is not necessary to turn off the FTB-400 Universal Test System before connecting a USB pointing device. The software will automatically detect it.
Installing a Headset or Speakers Installing a Headset or Speakers The FTB-400 Universal Test System comes with an internal speaker for audible feedback, but there are times when you might want to use more powerful speakers. Other types of environments may warrant the use of a headset instead of the external speaker.
Setting Up Your Universal Test System Installing a Microphone Installing a Microphone On top of being a multitasking test platform, the FTB-400 Universal Test System is a portable multimedia computer. From the Windows environment, it can use off-the-shelf third party applications that require a microphone.
Should you need to print reports, and have not purchased the printer module for the FTB-400, you can install an external printer. To install a parallel printer on your FTB-400 Universal Test System: 1. Connect the printer to the parallel port (DB-25), located on the left side of the mainframe.
Page 56
Setting Up Your Universal Test System Installing a Printer You can also print from printers linked to the FTB-400 Universal Test System via an infrared connection. This is done through the infrared port, located on the right side of the mainframe.
Setting Up Your Universal Test System Installing a PCMCIA Card Installing a PCMCIA Card The PCMCIA card reader found in the FTB-400 Universal Test System supports Type III PCMCIA cards such as: Fax/Modem SRAM and Flash memory hard drives Ethernet/Fast Ethernet GPIB The PCMCIA Card reader supports the 32-bit Cardbus standard.
Installing an External CD-ROM Drive Installing an External CD-ROM Drive To transfer small files such as traces, the floppy drive on your FTB-400 Universal Test System will be enough. However, for larger files that you want to copy to your FTB-400 Universal Test System, or to upgrade the software currently on your system, you might want to install an external CD-ROM drive (optional).
Setting Up Your Universal Test System Adjusting the Date and Time Adjusting the Date and Time You might need to set the time according to your location or time zone. Note: This function is linked to Windows, so changing a date or time in ToolBox will change the date or time in your whole system.
5. Select the interface to use on startup: ToolBox 6 Windows 2000 6. Click on Apply to use the new settings. Click on Close to exit without using the new settings. Note: The new settings will only apply the next time your start your unit. www.valuetronics.com FTB-400...
Selecting the Startup Applications You can have selected applications automatically launch upon starting the FTB-400 Universal Test System up. This saves you time, as you do not need to ensure that they are already running before starting your tests. To set some applications to launch automatically at startup: 1.
6. Enter the new password in the Password field. 7. Confirm your password by typing it in the Confirm field. 8. Click on Apply to save the new password, or on Cancel to return to the Passwords tab without changing the password. www.valuetronics.com FTB-400...
Setting Up Your Universal Test System Customizing Access Levels To activate the password access control: Check the box next to the corresponding field. The new password will be active on your next logon. You must have a password in both Administrator and Standard levels for the box to be enabled.
Administrator-level user. The button will be grayed out for the Standard- and Guest-level users. To revert to the factory settings: 1. Select the Utilities function tab in the main window. 2. Select the System tab. www.valuetronics.com FTB-400...
Page 65
Setting Up Your Universal Test System Reverting to Factory Settings 3. Click on Settings. 4. Select the System tab. www.valuetronics.com 5. Click on Revert to Factory Settings. Universal Test System...
Each time you launch a new ToolBox 6 session, the Current Modules window appears. Use this window to launch single-module applications. The applications will change depending on the modules you have in your FTB-400 Universal Test System. Modules currently in...
If no modules are installed in your unit, the left part of the window, including the Online Applications bar, will be blank. To launch an application: Click on the corresponding icon in the Online Application bar. www.valuetronics.com FTB-400...
To access it, simply click on the corresponding function tab. Applications will appear in the Integrated Applications tab only if the required modules are already inserted into the FTB-400 Universal Test System. In order to start an application with more than one module, you must select which modules will be part of your application.
Page 70
Note: If the backplane slots of your FTB-400 Universal Test System are identified with letters, you will notice the following change. For ToolBox 6 versions 6.7 and later, the slot identification system for your seven-slot backplane was modified.
Page 71
Using the ToolBox 6 Interface Launching Integrated Applications 2. Select the modules you want to use for your application according to the following details: Each line represents a different element of the application for which you have to select a module. Modules are represented by a button on which a number appears.
Each module has its own tab, on which you will find related applications. The applications will vary according to the modules you have installed in your unit. You do not need the module to be physically inside the FTB-400 Universal Test System, but the corresponding software must be installed.
Using the ToolBox 6 Interface Accessing Selected Windows Utilities from ToolBox 6 Accessing Selected Windows Utilities from ToolBox 6 Some of the most-frequently used Windows utilities have been incorporated into ToolBox 6 for a convenient access. You can reach these utilities by selecting the Utilities function tab, then the System tab.
Page 74
System Monitor To see the open applications, CPU usage and other system management-related information. Connect To connect to other systems through network access. You can find more information on these utilities in the Microsoft Windows documentation. www.valuetronics.com FTB-400...
Transferring Data Between Two PCs (or FTBs) The Data Transfer utility allows you to transfer data between two PCs, a PC and an FTB-400 Universal Test System, or two FTB-400 Universal Test Systems. To transmit files between your two units: 1.
Page 76
COM Port: This is the port to use to transfer your data. Ensure that you select an available port. www.valuetronics.com Speed: This is the baud rate used to transfer your data. Data Bits: The number of useful bits for the transmission. FTB-400...
Page 77
7. Select if you want to send or receive files by clicking on the related tab. If you want to send files to a remote PC or FTB-400 Universal Test System, select them in the list on the left, then use > and >> to move them to your transfer list.
Page 78
Transferring Data Transferring Data Between Two PCs (or FTBs) If you want to receive files from a remote PC or FTB-400 Universal Test System, select the folder where you want to put the files. You can select the new files to replace the existing files, or add a suffix of your choice to differentiate them from the existing files.
Transferring Data From a PC (or FTB) to an FTB-100 The Data Transfer utility allows you to transfer data from a PC (or FTB-400 Universal Test System) to an FTB-100. To transmit files from your PC to your FTB-100 unit: 1.
Page 80
5. Select the folder where you want to put the files. You can select the new files to automatically replace any existing files, or add a suffix of your choice to the new files to differentiate them from the existing files. www.valuetronics.com FTB-400...
Page 81
Transferring Data Transferring Data From a PC (or FTB) to an FTB-100 6. Click on Next to select the files to transfer. Select the files in the list on the left, then use the > and >> to move one or all files to your transfer list. Use < and << to remove one or all files from the transfer list.
ToolBox software. Note: You can transfer data to an FTB-400 (ToolBox 6.x), an FTB-300 (ToolBox 5.3 to 5.5), or a PC (Windows 95/98 with ToolBox 5.3 to 5.5 and Windows 98SE/2000/XP with ToolBox 6.x).
Page 83
Programs > EXFO > ToolBox. 1b. In ToolBox, go to the Utilities tab, then to the Tools tab. 1c. Click on Data Transfer to launch the Data Transfer utility, then select the EXFO Handheld Device to PC (FTB) option. www.valuetronics.com Universal Test System...
Page 84
Note: If a communication problem occurs, refer to the Microsoft Windows documentation for details about setting communication parameters. 2. Move the fiber files from the Data list to the Download list using <<<, >>>, Clear, and All. The files include all data stored on your unit. www.valuetronics.com FTB-400...
Page 85
Transferring Data Transferring Data From a Handheld Device to a PC (FTB) 3. Select the folder in which you want to save the downloaded data. 3a. Click on Storage to access the Storage window. 3b. Click on Storage Path, select the drive and folder in which you want to save the downloaded data, and click on OK.
Page 86
6a. Select the file in the Files from last download list. 6b. Click on Open file <filename> to start the MultiTest application. To clear the handheld unit’s memory while you are using ToolBox: 1. Launch the ToolBox Handheld Download utility. 2. Click on Empty Unit’s Memory. www.valuetronics.com FTB-400...
Windows from ToolBox, see Exiting ToolBox 6 on page 26. 2. Locate the infrared ports for both devices, and position them so that they are able to detect each other. Note: Your FTB-400 Universal Test System’s infrared port is located on the right panel of the mainframe. www.valuetronics.com...
Page 88
3. Once the devices have detected each other, an icon will appear in Window’s taskbar. Double-click on the icon and a transfer window will appear. 4. Select the files you want to transfer and click on Send. 5. A confirmation window will pop up on receiving device’s screen. By clicking on Yes, you will automatically save the files in Windows’...
Preparing for Automation or Remote Control The FTB-400 Universal Test System was designed to meet the requirements of automation and to facilitate its integration with your test environment. Since FTB-400 Universal Test Systems are based on Windows 2000, they can act as the system controller of an automated test setup (possibly including third-party instruments).
Page 90
FTB-400 must be equipped with a PCMCIA GPIB card and the appropriate drivers (included in the GPIB option) FTB-400 can be used as a device in a GPIB chain (it meets the IEEE 488.2 standard) Most commonly used interface to simultaneously...
If you intend to use GPIB to remotely control your instruments, your controller must have been equipped with the optional PCMCIA GPIB card. Note: EXFO supports the National Instruments PCMCIA card only. Other cards will not allow you to control EXFO FTB-400 instruments.
Page 92
Preparing for Automation or Remote Control Preparing Hardware for GPIB Control The FTB-400 Universal Test System configuration complies with the IEEE 488.1 (also known as IEC60625.1) and the IEEE 488.2 (also known as IEC60625.2) standards to the extent shown in the following table.
Linking Units with the GPIB Port Linking Units with the GPIB Port If your FTB-400 Universal Test System is equipped with a PCMCIA GPIB card, use the provided cable to link it to the other unit with which you want to perform remote control.
Linking Units with the Ethernet Port Linking Units with the Ethernet Port The PCMCIA 10/100 LAN card must be inserted into your FTB-400 to send and receive data. Refer to the Windows documentation for information about Ethernet port settings and possibilities.
Linking Units with the Serial Port Linking Units with the Serial Port Your FTB-400 Universal Test System is equipped with a serial (RS-232) port to send and receive data. Refer to the Microsoft Windows documentation for information about serial port settings and possibilities.
Getting Optimum Performance from Your Universal Test System Getting Optimum Performance from Your Universal Test System Several factors influence the data transfer rate of a FTB-400. The information presented hereafter will help you get the best transfer rate possible. Protocol (GPIB control only): You can use the IEEE 488.1 (standard) or the HS488 (high-speed) protocol.
Page 97
Generally, the PACKed format allows to pass three to four times more information than the ASCii format for the same transfer rate. Often, the PACKed format is also more efficient since it reduces the FTB-400 CPU work load (no need for an internal conversion to ASCII format).
If Local mode is selected, you will not be able to send remote commands to your FTB-400. If Remote mode is selected, all of the modules in your FTB-400 will be initialized upon startup so you are ready to send remote commands.
Page 99
Preparing for Automation or Remote Control Changing Communication Settings Note: If you selected Local mode, you can go directly to step 5. 3. Select GPIB, ActiveX or RS-232 from the Communication Type group box. For more information on a choice of a particular type, see the table presented on page 78.
Page 100
Port used to connect the RS-232 cable. The only value available is COM1. Baud rate Determines the speed at which data is sent between the FTB-400 Universal Test System and a computer, in bits per second (bps). 5. Click on Apply to confirm your changes.
Page 101
Preparing for Automation or Remote Control Changing Communication Settings To revert to default GPIB settings: 1. Click on the Default GPIB Settings button. 2. Click on Apply to confirm your changes. To revert to default RS-232 settings: 1. Click on the Default RS-232 Settings button. 2.
Preparing for Remote Control with DCOM Preparing for Remote Control with DCOM DCOM technology allows to control devices and optical instruments via Ethernet. The IcSCPIActiveX.dll provided with your FTB-400 Universal Test System acts as a communication link between a client application and EXFO’s Instrument Control.
Page 103
1. In C:\WINNT\system32, find the DCOMCNFG.EXE utility. Double-click on the filename to open the Distributed COM Configuration Properties dialog box. 2. Select EXFO IcSCPIAccess Class from the applications list and click on the Properties... button. 3. In the EXFO IcSCPIAccess Class Properties dialog box, select the General tab.
Page 104
4b. From the Registry Value Permissions dialog box, click on the Add... button to grant access permissions. 4c. From the Add Users and Groups dialog box, select Everyone from the list and click on the Add button. The name is transferred to the Add Names box. www.valuetronics.com FTB-400...
Page 105
Preparing for Automation or Remote Control Preparing for Remote Control with DCOM 4d. Set the Type of Access to Allow Access. Click on OK to confirm. Click on OK once more to confirm the registry value permissions. 4e. In the Security tab, select the Use custom launch permissions option.
Page 106
Universal Test System, can now be accessed with DCOM. 7. In C:\Program Files\Common Files\EXFO\Instrument Control, find the IcSCPIActiveX.dll file. Copy this file to the C:\WINNT\system32 folder on the computer that will be used to control the FTB-400 Universal Test System. www.valuetronics.com...
Page 107
Preparing for Automation or Remote Control Preparing for Remote Control with DCOM 8. On the computer that will be used to control the FTB-400 Universal Test System, register the IcSCPIActiveX.dll with the regsvr32.exe command: 8a. On the Windows taskbar, click on Start and select Run...
Page 108
10. Configure the default access permissions. 10a.Select the Default Security tab, then click on the Edit Default button from the Default Access Permissions group box. 10b.From the Registry Value Permissions dialog box, click on the Add... button to grant access permissions. www.valuetronics.com FTB-400...
Page 109
Preparing for Automation or Remote Control Preparing for Remote Control with DCOM 10c. From the Add Users and Groups dialog box, select Everyone from the list and click on Add. The name is transferred to the Add Names box. 10d.Set the Type of Access to Allow Access. Click on OK to confirm. Click on OK once more to confirm the registry value permissions.
The present chapter gives you information to help you use the provided commands, drivers, and COM properties and events to remotely control your instruments. If you need information on how to prepare your FTB-400 Universal Test System for remote control, see Preparing for Automation or Remote Control on page 77.
Using FTB Products in an Automated Test Environment Managing the States of Your FTB-400 Universal Test System Managing the States of Your FTB-400 Universal Test System Your FTB-400 Universal Test System can be in one of the following states: State Characteristics Local...
Page 113
Using FTB Products in an Automated Test Environment Managing the States of Your FTB-400 Universal Test System State Characteristics Remote with lockout Front-panel keys of the FTB-400 unit and peripherals are not functional except for the power switch Return to Local mode only possible via commands...
Page 114
Using FTB Products in an Automated Test Environment Managing the States of Your FTB-400 Universal Test System The following diagram shows the possible transitions between the different states. Local Remote Remote Lockout Local Lockout Possible in GPIB if: Possible in ActiveX by setting:...
Page 115
Using FTB Products in an Automated Test Environment Managing the States of Your FTB-400 Universal Test System Possible in GPIB if: Possible in ActiveX by setting: One of the following conditions is true: The RemoteState property to False (see RemoteState on The go to local interface message (GTL) is page 250).
An incoming byte empties the output queue. An error will be raised if the output queue contained data. Consequently, it clears the Message AVailable bit (bit number 4 –MAV from the Status Byte register). www.valuetronics.com FTB-400...
Page 117
Using FTB Products in an Automated Test Environment Message Management Data structure Characteristics Clearing Except for the string and binary block contents, the following transformations are made on the incoming data: character conversion from lower case to upper case conversion of “<wsp>” characters to spaces conversion of multiple blanks to a single blank.
Page 118
AVailable bit (bit number 4 –MAV reading the responses to from the Status Byte register) is set previous queries (an to 1. error will also be Remains empty if no query is raised). received or if the query contains an error. www.valuetronics.com FTB-400...
Page 119
Using FTB Products in an Automated Test Environment Message Management Data structure Characteristics Clearing Error/Event queue Consists of a First-In, First-Out The Error/Event queue will (FIFO) data structure. be cleared when: Total storage capacity: 50 errors or Reading all the items it events.
Standard Event Status Register (ESR) and Standard Event Status Enable Register (ESE) Bits Mnemonics Bit Value Power On (PON) User Request (URQ) Command Error (CME) 32 Execution Error (EXE) 16 Device-Dependent Error (DDE) Query Error (QYE) Not Used (N.U.) Operation Complete (OPC) www.valuetronics.com FTB-400...
Page 121
Using FTB Products in an Automated Test Environment Standard Status Data Structure The following table presents a summary of the possible operations on ESR and ESE registers. Register Read Write Clear Use *ESR? (see *ESR? Impossible to write. Use *CLS (see *CLS on page 193).
Page 122
Status Byte Register (STB) and Service Request Enable Register (SRE) Bits Mnemonics Bit Value Not Used (N.U.) Master Summary Status (MSS)/Service Request (RQS) Event Summary Bit (ESB) Message Available (MAV) Not Used (N.U.) Error Available (EAV) Not Used (N.U.) Not Used (N.U.) www.valuetronics.com FTB-400...
Page 123
Using FTB Products in an Automated Test Environment Standard Status Data Structure The following table presents a summary of the possible operations on STB and SRE registers. Register Read Write Clear Use *STB? (see *STB? Impossible to write; Use *CLS (see *CLS on on page 204).
Page 124
N.U. MAV N.U. EAV N.U. N.U. Status Byte Service Request Register Generation (STB) read by *STB? & & & & & & & Service Request Enable N.U. ESB MAV N.U. EAV N.U. N.U. Register (SRE) www.valuetronics.com FTB-400...
Using FTB Products in an Automated Test Environment SCPI Command Structure SCPI Command Structure The information presented in this section provides an overview of GPIB programming. If you need detailed information, refer to: The International Institute of Electrical and Electronics Engineers. IEEE Standard 488.1-1987, IEEE Standard Digital Interface for Programmable Instrumentation.
Page 126
Do not include “<wsp>” in your program message; simply type a space. <digit> Element used in the construction of various numeric data types. Can take any value between 0 and 9 inclusively (corresponds to ASCII character codes 48 to 57, in decimal). www.valuetronics.com FTB-400...
Page 127
Using FTB Products in an Automated Test Environment SCPI Command Structure Item Meaning <mnemonic> Element used in the construction of certain data types and program messages. <Upper/lower case alpha> <Upper/lower case alpha> <digit> In the diagram above, "<Upper/lower case alpha>" corresponds to ASCII character codes (65 to 90 and 97 to 122, in decimal).
Page 128
Short form (using only the capital :SYST:ERR? letters from the long form) For readability reasons, you can use extra spaces in your program messages but they won’t be taken into account. For more information, www.valuetronics.com see Message Management on page 104. FTB-400...
Page 129
Using FTB Products in an Automated Test Environment SCPI Command Structure You can build program messages allowing you to send more than one command at a time. Sometimes, you can omit the leading <mnemonic> path to simplify the program messages and speed up the search time (the parser saves the last position in the command tree).
FTB components. These commands adhere to the SCPI standard. All the commands and queries supported by the FTB-400 can be found in IEEE 488.2 and Specific Commands on page 187. For information on commands specific to particular instruments, refer to the instrument’s user guide.
Page 131
Using FTB Products in an Automated Test Environment Writing Remote Control Code When you write code, you must follow these rules on message reception and transmission: The controller must have sent a complete message to the instrument (including the message terminator) before retrieving a response. The controller must retrieve all the responses from previous queries (including the response terminator) before sending a new message to an instrument.
Using FTB Products in an Automated Test Environment Error Message Format Error Message Format System and device-specific errors are managed by the FTB-400 Universal Test System. The generic format for error messages is illustrated in the following figure. <Dev ice <Error...
This application has been designed with Visual Basic and, therefore, must be compiled using Visual Basic 6.0, Service Pack 5. With this demo application, you can control your FTB-400 Universal Test System either in local (COM technology) or remote (DCOM technology) mode.
You need to be familiar with the LabVIEW environment and programming methods to work with EXFO drivers. Regardless of whether you work with the provided Getting Started applications or your own VIs (using EXFO drivers), the steps remain the same. Set up communication...
Page 135
Using FTB Products in an Automated Test Environment Working with EXFO LabVIEW Drivers The following table presents the possible settings for communication parameters. These parameters must be set from LabVIEW for each instrument. Active X Active X RS-232 GPIB Parameter...
You can also directly start a demo application this way: From the Windows task bar, click on the Start button, then on Programs > EXFO > LabVIEW Getting Started Applications > Getting Started xxxx where xxxx corresponds to the product code.
Page 137
Using the EXFO Getting Started Applications The Front Panel allows you to set communication parameters between the FTB-400 and the current instrument. It also offers various controls and buttons to use the instrument easily. In fact, the application performs the necessary calls to the instrument’s drivers so it is transparent to user.
Page 138
Using FTB Products in an Automated Test Environment Using the EXFO Getting Started Applications The following figure illustrates the State Machine after the user has clicked on the button allowing you to set the source state (from the Front Panel).
Page 139
VI. Instrument driver VI To use a Getting Started application: 1. Turn on the FTB-400, start ToolBox and ensure that all the remote-control parameters are set correctly. 2. Open the desired Getting Started application and run it from LabVIEW.
You can access EXFO drivers directly from C:\Program Files\National Instruments\LabVIEW 6\instr.lib\EXFO from the LabVIEW function palettes Each icon of the EXFO palette corresponds to a set of drivers that allow you to either communicate with EXFO instruments that support remote control www.valuetronics.com open and close communication links with instruments send IEEE 488.2 (common) commands...
Page 141
Using FTB Products in an Automated Test Environment Building and Using Custom VIs send platform commands (specific to FTB-400) To open and close communication link To send IEEE 488.2 commands To control EXFO instruments (one icon per instrument) To send platform commands www.valuetronics.com...
Page 142
On a particular icon, the displayed symbol refers to the first keyword of the associated SCPI command. The background color is a function of the command type: A yellow background indicates a read-only command (Get) A red background indicates a write-only command (Set) A blue background indicates a read-and-write command (Get/Set) www.valuetronics.com FTB-400...
Page 143
To control instruments, you need to build your own VIs in LabVIEW. To build a custom VI: 1. Start LabVIEW and create a new VI. 2. Open the EXFO palette. 2a. From LabVIEW, open the Diagram Block view. 2b. Display the Functions palette and select Instrument I/O.
Page 144
2c. From the Instrument I/O palette, select Instrument Drivers. 2d. From the Instrument Drivers palette, select EXFO. 3. Select EXFO IQS Base. 4. From the EXFO IQS Base palette, select EXIQSBASE_OpenComm.vi and add it to your new VI. 5. Set the communication parameters. For information on communication parameters, see Working with EXFO LabVIEW Drivers on page 122.
Page 145
Using FTB Products in an Automated Test Environment Building and Using Custom VIs 6. From the EXFO palette, select the desired instrument. 7. From the instrument’s palette, select the function you need and add the corresponding driver to your VI.
Page 146
11. Save your work. To use your new VI: 1. Turn on the FTB-400, start ToolBox and ensure that all the remote-control parameters are set correctly. 2. From LabVIEW, run the VI.
Using FTB Products in an Automated Test Environment Monitoring Remote Commands Monitoring Remote Commands ToolBox allows you to monitor remote commands sent to your units, if desired. To monitor remote commands: 1. Select the Utilities function tab. www.valuetronics.com Universal Test System...
Page 148
To view the list in any word processor, copy it to the clipboard using then paste it in your document. You can use any program, as the list is copied in text format. To exit the monitoring utility, simply click on Exit. www.valuetronics.com FTB-400...
2. Rinse the front panel with a cloth dampened with water. 3. Dry with a clean wiping cloth. MPORTANT To help keep the connectors and adapters clean, EXFO recommends that you install protective caps when the unit is not in use. www.valuetronics.com You should also clean the fiber ends before every connection.
The FTB-400 Universal Test System is powered by smart nickel metal-hydride (NiMH) batteries. You can also power it from an appropriate power outlet. For more information on the available power sources for your FTB-400 Universal Test System, as well as their characteristics, see www.valuetronics.com Technical Specifications on page 163.
Page 151
Note: Whenever batteries are inserted or removed, the FTB-400 Universal Test System will beep. Inserting Batteries in the Mainframe Before you go out in the field, make sure you install batteries in the FTB-400 Universal Test System unless you have an adequate and reliable power source.
Page 152
Maintenance Inserting and Removing Batteries Negative end Positive end (-) T D C (+) Strap 4. Close the battery compartment and push the door locks back into position. www.valuetronics.com FTB-400...
Page 153
Maintenance Inserting and Removing Batteries Inserting Batteries in the Seven-Slot Backplane Before you go out in the field, make sure you install batteries in the FTB-400 Universal Test System unless you have an adequate and reliable power source. To insert the batteries in the seven-slot backplane: 1.
4. Put the battery compartment door back into position and make sure it is locked. Note: You do not need to turn the FTB-400 Universal Test System off when removing the batteries. Remember that in order to keep your data in memory, you must leave at least one battery inside the FTB-400 Universal Test System at all times if it is not under AC/DC current.
The battery gauge located at the bottom of your screen indicates how much power you have left. If you are using the FTB-400 Universal Test System’s batteries, the gauge will show a battery icon. If you are using AC/DC current, the gauge will show an electric plug icon.
10 Troubleshooting Solving Common Problems Before calling EXFO’s technical support, you may want to consider the following solutions to problems that could occur. Problem Possible Cause Solution My FTB-400 Universal Test It is not plugged in a Ensure that the power System does not start.
Page 158
System does not recognize properly connected. properly connected with the a test module. frontplane. Defective module. If the FTB-400 Universal Test System recognizes other modules, the faulty module could be defective. Return it to EXFO for repairs. Errors occur when I am...
Page 159
Problems occur while Ports not properly Ensure that the infrared port printing or transmitting files aligned. of the FTB-400 Universal Test via the infrared port. System sending the file is properly aligned with the one on the unit (other FTB-400...
MPORTANT Before performing this procedure, you should always try to remove ToolBox with the Windows Add/Remove Programs utility. Note: You must log onto your FTB-400 Universal Test System as a local administrator. www.valuetronics.com FTB-400...
Page 161
5. Once the operation is complete, close the msicuu.exe application. 6. Manually delete the installed files from the hard disk. Go to C:\Program Files\EXFO\. Find the ToolBox folder and delete it (as well as all its contents). www.valuetronics.com...
2. Gently pull the backplane away from the mainframe, making sure to keep the backplane perfectly straight. 3. Locate the circuit breaker at the back of the mainframe, and, using a small tool such as the stylus included with your Universal Test System, push the button to the right. www.valuetronics.com FTB-400...
5. Turn the captive screws to lock the backplane to the mainframe. Note: If the backplane is not properly screwed in, the FTB-400 Universal Test System might not detect it. 6. Replace the power source (batteries or power outlet).
Troubleshooting Viewing Online Documentation Viewing Online Documentation A PDF version of the FTB-400 Universal Test System user guide is conveniently available at all times. To access the online user guide: Simply click on Help in the function bar. Finding Information on the EXFO Web Site The EXFO Web site provides answers to frequently asked questions (FAQs) regarding the use of your FTB-400 Universal Test System.
Contacting the Technical Support Group To obtain after-sales service or technical support for this product, contact EXFO at one of the following numbers. The Technical Support Group is available to take your calls from Monday to Friday, 7:30 a.m. to 8:00 p.m.
The System Information function tab contains important information on your system. Consulting the About Tab The About tab contains information on how to contact EXFO should you need to do so. To access the About tab: 1. Click on the System Information function tab.
Page 167
The last two columns are particularly important if you are contacting EXFO’s technical support group, as the version and serial numbers will help pinpoint and solve your problem more rapidly. For more information, www.valuetronics.com see Contacting the Technical Support Group on page 153.
Page 168
To save a text format (.TXT) of the installed kit list, click on Save to File. The list will be automatically saved as EXFO Install Kit List.TXT on your C drive. Click on OK to acknowledge and close the pop-up window.
Accessing Online Help To save a text format (.TXT) of the component list, click on Save to File. The list will be automatically saved as EXFO Component List.TXT on your C drive. Click on OK to acknowledge and exit the pop-up window.
Pack the unit in its original packing material when shipping. Avoid high humidity or large temperature fluctuations. Keep the unit out of direct sunlight. www.valuetronics.com Avoid unnecessary shock and vibration. FTB-400...
EXFO Electro-Optical Engineering Inc. (EXFO) warrants this equipment against defects in material and workmanship for a period of one year from the date of original shipment. EXFO also warrants that this equipment will meet applicable specifications under normal use. During the warranty period, EXFO will, at its discretion, repair, replace,...
Warranty Liability Liability EXFO shall not be liable for damages resulting from the use of the purchased product, nor shall be responsible for any failure in the performance of other items to which the purchased product is connected or the operation of any system of which the purchased product may be a part.
5. Return the equipment, prepaid, to the address given to you by support personnel. Be sure to write the RMA number on the shipping slip. EXFO will refuse and return any package that does not bear an RMA number.
Warranty EXFO Service Centers Worldwide EXFO Service Centers Worldwide If your product requires servicing, contact your nearest authorized service center. EXFO Headquarters Service Center 400 Godin Avenue 1 866 683-0155 (USA and Canada) Vanier (Quebec) G1M 2K2 Tel.: 1 418 683-5498...
Measured in 0 °C to 31 °C (32 °F to 87.8 °F) range, decreasing linearly to 50 % at 40 °C (104 °F). The floppy drive will age prematurely if operated at 95% humidity. ± Not exceeding 10 % of the nominal voltage. Note: The FTB-400 Universal Test System is intended for indoor use only. www.valuetronics.com Universal Test System...
Page 176
The following technical specifications can change without notice. The information presented in this section is provided as a reference only. To obtain this product’s most recent technical specifications, visit the EXFO Web site at www.exfo.com. Display Touchscreen, color, 800 x 600 full dot LCD 12.1 in Touchscreen, color, 800 x 600 TFT 12.1 in (optional)
Data Types The following section provides an overview of the most common data types that may appear in EXFO’s documentation on commands and queries. The information is supplied for guidance only. For more detailed information, please refer to IEEE 488.2 and SCPI standards.
END^ <wsp> END^ In the diagram above, “NL” corresponds to ASCII character code 10, in decimal (0A in binary) “END^” corresponds to the last data byte of the message sent with EOI = True and ATN = False www.valuetronics.com FTB-400...
Page 179
Data Types Applicable Data Types for Input—IEEE 488.2 <CHARACTER PROGRAM DATA> This data type will be used to send short mnemonics when a <DECIMAL NUMERIC PROGRAM DATA> cannot be used. Examples: TRIANGLEWAVE, NCONTINUOUS <DECIMAL NUMERIC PROGRAM DATA> (or <NRf>) This data type includes <NR1>, <NR2> and <NR3> data types. It will be used for decimal fractions with or without an exponent.
Page 180
This data type will be used for integer representation in hexadecimal (base 16), octal (base 8) or binary (base 2). The numeric representations will begin with “#H” for hexadecimal, “#Q” for octal and “#B” for binary. <digit> Examples: #Hf3bc015d, #h01a4, #hfe www.valuetronics.com FTB-400...
Page 181
Data Types Applicable Data Types for Input—IEEE 488.2 Examples: #Q1234567, #q1275, #q07 <digit> Examples: #B10010111, #b10110, #b1100 www.valuetronics.com Universal Test System...
Page 183
Data Types Applicable Data Types for Input—IEEE 488.2 <ARBITRARY BLOCK PROGRAM DATA> This data type is used to send blocks of arbitrary 8-bit information when you need to work with large amounts of data. The actual length of the data that you send has the following structure: The first byte contains the # character.
Page 184
<suf f ix unit> <digit> Examples: nm, kHz, km/s2, uW A relative unit (dB) can be referenced to an absolute level, as shown on the following diagram. <suf f ix mult.> <suf f ix unit> Examples: db, dbm, dBW www.valuetronics.com FTB-400...
Page 185
Data Types Applicable Data Types for Input—IEEE 488.2 The following table illustrates the possible forms for <suffix mult.>: Name Value Mnemonic 1E18 Peta 1E15 Tera 1E12 Giga Mega Kilo Milli 1E-3 Micro 1E-6 Nano 1E-9 Pico 1E-12 Femto 1E-15 Atto 1E-18 www.valuetronics.com Universal Test System...
Page 186
Applicable Data Types for Input—IEEE 488.2 The table below gives the possible forms for <suffix unit>: Reference Unit Suffix Unit Degrees Radians Amperes Volts Hertz Meters Watts DBs ref to 1mW Decibels Degrees Celsius Degrees Fahrenheit FAR Kelvins Seconds Hours Minutes www.valuetronics.com FTB-400...
Data Types Applicable Data Types for Output —IEEE 488.2 Applicable Data Types for Output —IEEE 488.2 <RESPONSE MESSAGE TERMINATOR> END^ In the diagram above, “NL” corresponds to ASCII character code 10, in decimal (0A in binary) “END^” corresponds to the last data byte of the message sent with EOI = True and ATN = False <CHARACTER RESPONSE DATA>...
Page 188
This data type will be used by a device to return positive or negative integers. <digit> Examples: 4, –23, 90 <NR2 NUMERIC RESPONSE DATA> (or <NR2>) This data type will be used by a device to return positive or negative real numbers (fixed-point numbers). <digit> <digit> Examples: 23.45, 1.22, –4.55 www.valuetronics.com FTB-400...
Page 189
Data Types Applicable Data Types for Output —IEEE 488.2 <NR3 NUMERIC RESPONSE DATA> (or <NR3>) This data type will be used by a device to return positive or negative exponential numbers (floating-point numbers). <digit> <digit> <digit> Examples: 4.3E–3, –8.9456E8, 123E–5 www.valuetronics.com Universal Test System...
Page 190
PACKED 4 bytes Under range 2143289345.000000 7FC00001 Over range 2143289346.000000 7FC00002 Invalid 2143289347.000000 7FC00003 Inactive 2143289348.000000 7FC00004 Value is ASCII 8 bytes PACKED 8 bytes Under range 9221120237577961472 7FF8000020000000 Over range 9221120238114832384 7FF8000040000000 Invalid 9221120238651703296 7FF8000060000000 Inactive 9221120239188574208 7FF8000080000000 www.valuetronics.com FTB-400...
Page 191
Data Types Applicable Data Types for Output —IEEE 488.2 <HEXADECIMAL NUMERIC RESPONSE DATA> This data type will be used by a device to return integer representations in hexadecimal (base 16). <digit> Examples: #HA3C5, #H0123C, #H010F www.valuetronics.com Universal Test System...
Page 192
Data Types Applicable Data Types for Output —IEEE 488.2 <OCTAL NUMERIC RESPONSE DATA> This data type will be used by a device to return integer representations in octal (base 8). Examples: #Q753214, #Q0124, #Q0725 www.valuetronics.com FTB-400...
Page 193
Data Types Applicable Data Types for Output —IEEE 488.2 <BINARY NUMERIC RESPONSE DATA> This data type will be used by a device to return integer representations in binary (base 2). Examples: #B11011110101, #B110100, #B0100 <STRING RESPONSE DATA> This data type will be used by a device to return strings containing 7-bit ASCII characters and especially when text has to be displayed since even the non-printable characters are also returned.
Page 194
The bytes indicate 1 and 3. The length will then be 13 bytes. The actual response will begin at byte number 5, in this case. Examples: #14<DAB><DAB><DAB><DAB>, #3004<DAB><DAB><DAB><DAB> where “<DAB>” stands for data byte www.valuetronics.com FTB-400...
Page 195
Data Types Applicable Data Types for Output —IEEE 488.2 <INDEFINITE LENGTH ARBITRARY BLOCK RESPONSE DATA> This data type is used by a device to return blocks of 8-bit binary information when the block length was not predefined or when data has to be computed later.
Page 196
This data type is used by a device to return information when it is impossible to use any other data type. Example: To the *IDN? query, the device will return this response in an arbitrary ASCII bytes format: EXFO E.O. Engineering,FTB-400,125-2A55,1.0.1.97 <ASCII data <RESPONSE MESSAGE by te >...
These are: MINimum, MAXimum, DEFault, UP , DOWN, Not A Number (NAN), INFinity and Negative INFinity (NINF). The following special forms are likely to be used by EXFO’s instruments in certain commands or queries: DEFault: This special <numeric_value> parameter forces the instrument to select a value, which is deemed to be convenient to the user.
Special Numeric Values Received on Output Special Numeric Values Received on Output It is possible that an instrument returns unusual values in certain cases. For information on these values, see Applicable Data Types for Output —IEEE 488.2 on page 175. www.valuetronics.com FTB-400...
FTB-400 Universal Test System. IEEE 488.2 Commands–Quick Reference The FTB-400 Universal Test System recognizes the required commands identified in IEEE 488.2. The table below summarizes these commands. These commands are fully explained on the following pages.
IEEE 488.2 and Specific Commands IEEE 488.2 Required Commands IEEE 488.2 Required Commands *CLS The *CLS command clears the Standard Event Description Status Register and the Error/Event Queue. Syntax *CLS Parameter(s) None www.valuetronics.com FTB-400...
Page 201
IEEE 488.2 and Specific Commands IEEE 488.2 Required Commands *ESE Description The *ESE command sets the Standard Event Status Enable Register bits, as defined in the table below. This register contains a mask value for the bits to be enabled in the Standard Event Status Register.
Page 202
<RegisterValue> shall be in the range of 0 through 255. Example(s) *ESE 25 where 25 = (bit EXE, bit DDE and bit OPC) *ESE 0 clears the content of the Standard Event Status Enable register *ESE? See Also *ESR? www.valuetronics.com FTB-400...
Page 203
IEEE 488.2 and Specific Commands IEEE 488.2 Required Commands *ESE? Description The *ESE? query allows the programmer to determine the current contents of the Standard Event Status Enable Register. See the contents of this register below. Standard Ev ent Status Enable Register CM E DD E N.U.
Page 204
DDE 8 Device Dependent Error Enable QRY 4 QueRry Error Enable N.U. 2 Not used OPC 1 Operation Complete Enable Example(s) *ESE? returns 133 where 133 = (bit PON, bit QYE and bit OPC) *ESE See Also *ESR? www.valuetronics.com FTB-400...
Page 205
IEEE 488.2 and Specific Commands IEEE 488.2 Required Commands *ESR? Description The *ESR? query allows the programmer to determine the current contents of the Standard Event Status Register. Reading the Standard Event Status Register clears it. See the contents of this register below.
Page 206
Execution Error Enable DDE 8 Device Dependent Error Enable QRY 4 QueRry Error Enable N.U. 2 Not used OPC 1 Operation Complete Enable Example(s) *ESR? returns 33 where 33 = (bit CME and bit OPC) See Also *ESE *ESE? www.valuetronics.com FTB-400...
Page 207
*IDN? query should be the last <QUERY MESSAGE UNIT> in a <TERMINATED PROGRAM MESSAGE>. The response is organized into four fields separated by commas. The field definitions are as follows: Field 1 (Manufacturer): EXFO E. O. Engineering Field 2 (Model): Instrument Model www.valuetronics.com Universal Test System...
Page 208
20 through 7E (32 through 126 decimal) except commas (2C, 44 decimal) and semicolons (3B, 59 decimal). Example(s) *IDN? returns EXFO E.O. Engineering,FTB-400,125-2A55,1.0.1.97 Notes The overall length of the *IDN? response is less than or equal to 72 characters.
Page 209
IEEE 488.2 and Specific Commands IEEE 488.2 Required Commands *OPC Description The *OPC command allows synchronization between the instrument and an external controller. The *OPC command causes the instrument to set bit 0 (Operation Complete) in the Standard Event Status Register to the TRUE (logic 1) state when the instrument completes all pending operations.
Page 210
<NR1 NUMERIC RESPONSE DATA> element. The <Acknowledge> response is a single ASCII-encoded byte corresponding to 1. The receipt of an <Acknowledge> response indicates that all pending selected device operations have been completed. Example(s) *OPC? Return 1 See Also *OPC *WAI www.valuetronics.com FTB-400...
Page 211
IEEE 488.2 and Specific Commands IEEE 488.2 Required Commands *RST Description The *RST command performs a device reset. This command is the third reset level in a three-level reset strategy. The Reset command shall do the following: a) Sets the device-specific functions to a known state that is independent of the past-use history of the device.
Page 212
The program data syntax for <RegisterValue> is defined as a <DECIMAL NUMERIC PROGRAM DATA> element. The <RegisterValue> value ranges from 0 through 255. The <RegisterValue>, expressed in base 2 (binary), represents the bit values of the Service Request Enable Register. www.valuetronics.com FTB-400...
Page 213
IEEE 488.2 and Specific Commands IEEE 488.2 Required Commands *SRE See the contents of this register below. Bit Weight Meaning N.U. 128 Not used N.U. 64 Not used ESB 32 Event Summary Bit Enable MAV 16 Message AVailable Enable N.U. 8 Not used EAV 4 Error / Event AVailable Enable...
Page 214
Not used ESB 32 Event Summary Bit Enable MAV 16 Message AVailable Enable N.U. 8 Not used EAV 4 Error / Event AVailable Enable N.U. 2 Not used N.U. 1 Not used *SRE? Syntax Parameter(s) None Response Syntax <RegisterValue> www.valuetronics.com FTB-400...
Page 215
IEEE 488.2 and Specific Commands IEEE 488.2 Required Commands *SRE? Response(s) RegisterValue: The response data syntax for <RegisterValue> is defined as a <NR1 NUMERIC RESPONSE DATA> element. The <RegisterValue> ranges from 0 through 255. When converted to binary (base 2), the <RegisterValue>...
Page 216
The *STB? query allows the programmer to read the status byte and Master Summary Status bit. See the content of this register below. Status By te R egister R QS/ N.U. N.U. N.U. N.U. Syntax *STB? Parameter(s) None Response Syntax <RegisterValue> www.valuetronics.com FTB-400...
Page 217
IEEE 488.2 and Specific Commands IEEE 488.2 Required Commands *STB? Response(s) RegisterValue: The response data syntax for <RegisterValue> is defined as a <NR1 NUMERIC RESPONSE DATA> element. The <RegisterValue> ranges from 0 through 255. The <RegisterValue> value, expressed in base 2 (binary) represents the bit values of the Status Byte Register.
Page 218
A <Result> with a value not equal to zero indicates that the self-test was not completed or was completed with errors detected. *TST? Return 0 Example(s) (self-test was completed with success) www.valuetronics.com FTB-400...
Page 219
IEEE 488.2 and Specific Commands IEEE 488.2 Required Commands *WAI Description The *WAI command shall prevent the device from executing any further commands or queries until the no-operation-pending flag becomes TRUE. Syntax *WAI None Parameter(s) Example(s) *WAI See Also *OPC *OPC? www.valuetronics.com Universal Test System...
IEEE 488.2 and Specific Commands Specific Commands—Quick Reference Specific Commands—Quick Reference The table below contains a summary of the FTB-400 Universal Test System specific commands. These commands are fully explained on the following pages. Command Parameter(s) FORMat [DATA] ASCii|PACKed[,<Length>] [DATA]?
IEEE 488.2 and Specific Commands Specific Commands Specific Commands :FORMat[:DATA] The FORMat[:DATA] command selects the data Description format and <Length>. The <Length> parameter is optional for all data format, its meaning is dependent on the data format selected. If PACKed type is selected, the data is transferred in a <DEFINITE BLOCK RESPONSE DATA>.
Page 222
<Length> of zero has been specified, the FORMat[:DATA]? query returns zero as its second parameter. When the PACKed data format is selected, the optional parameter <Length> it not used. FORM ASC Example(s) FORM ASC,6 FORM:DATA PACKED FORMat[:DATA]? See Also www.valuetronics.com FTB-400...
Page 223
IEEE 488.2 and Specific Commands Specific Commands :FORMat[:DATA]? Description The FORMat[:DATA]? query returns the data format and the <Length>. At *RST, ASCii is selected as the default data format and the <Length> is set to 0. :FORMat[:DATA]? Syntax Parameter(s) None Response Syntax <Type>,<Length>...
Page 224
When the data is returned in PACKED <Type>, the <Length> is not used and always returns 0. FORM? Return ASCII,6 Example(s) FORM? Return PACKED,0 See Also FORMat[:DATA]? www.valuetronics.com FTB-400...
Page 225
IEEE 488.2 and Specific Commands Specific Commands :INSTrument:CATalog? Description The INSTrument:CATalog? query returns a comma-separated list of <STRING RESPONSE DATA>, which contains the names of all logical instruments and groups. If no logical instruments are defined, a single null <STRING RESPONSE DATA>...
Page 226
The list of <STRING RESPONSE DATA> contains the names of all logical instruments and groups. The immediately following <NR1 NUMERIC RESPONSE DATA> formatted number is its associated logical instrument number. Example(s) INST:CAT:FULL? returns “IQS-2403 WDM Laser Source”,10,”IQS-2403 WDM Laser Source”,11 www.valuetronics.com INSTrument:CATalog?. See Also FTB-400...
Page 227
IEEE 488.2 and Specific Commands Specific Commands :SYSTem:DATE Description The SYSTem:DATE command is used to set the device's internal calendar. This is not affected by a *RST command. Syntax :SYSTem:DATE<wsp><Year>,<Month>,<Day > Parameter(s) Year: The program data syntax for <Year> is defined as a <DECIMAL NUMERIC PROGRAM DATA>...
Page 228
1 to the number of days in the month from the previous parameter. This command keeps track of the number of days in each month, accounting for leap years through the range of years that it accepts. SYST:DATE 2001,11,29 Example(s) See Also SYSTem:DATE? www.valuetronics.com FTB-400...
Page 229
IEEE 488.2 and Specific Commands Specific Commands :SYSTem:DATE? Description The SYSTem:DATE query returns the instrument's internal calendar. This is not affected by a *RST command. Syntax :SYSTem:DATE? None Parameter(s) Response Syntax <Year>,<Month>,<Day> www.valuetronics.com Universal Test System...
Page 230
This command keeps track of the number of days in each month, accounting for leap years through the range of years that it accepts. SYST:DATE? returns 2001,11,29 Example(s) See Also SYSTem:DATE www.valuetronics.com FTB-400...
Page 231
IEEE 488.2 and Specific Commands Specific Commands :SYSTem:ERRor[:NEXT]? Description The SYSTem:ERRor[:NEXT]? queries the error/event queue for the next item and removes it from the queue. The response message consists of two fields separated by commas <Code>,<Description[,Info]>. SYSTem:ERRor[:NEXT]? is a query only and, therefore, does not have an associated *RST state.
Page 232
The maximum length of <Description[,Info]> is 255 characters. For standard defined error/event <Codes>, the <Description> is sent exactly as indicated in the appendix of this document. Example(s) SYST:ERR:NEXT? returns -222,”Data out of range” SYST:ERR:NEXT? returns -222,”Data out of range,instrument monomodule 2100, 2001/11/29 14:56:16.259” www.valuetronics.com FTB-400...
Page 233
IEEE 488.2 and Specific Commands Specific Commands :SYSTem:TIME Description This device has an internal clock and implements the SYSTem:TIME command to set the clock time over the interface. This is not affected by a *RST command. :SYSTem:TIME<wsp><Hour>,<Minute>,<Sec Syntax onds> Parameter(s) Hour: The program data syntax for <Hour>...
Page 234
59.5 to be rounded to 60. When this element is rounded to 60 it shall be set to 0 and the minute value incremented. Any other carries shall be rippled through the date. Example(s) SYST:TIME 12,47,29 See Also SYSTem:TIME? www.valuetronics.com FTB-400...
Page 235
IEEE 488.2 and Specific Commands Specific Commands :SYSTem:TIME? Description This device has an internal clock and implements the SYSTem:DATE? query to get the clock time over the interface. This is not affected by a *RST command. :SYSTem:TIME? Syntax Parameter(s) None Response Syntax <Hour>,<Minute>,<Second>...
Page 236
Second: The response data syntax for <Second> is defined as a <NR1 NUMERIC RESPONSE DATA> element. The <Second> ranges from 0 to 59. The resolution of the clock is the second. SYST:TIME? returns 16,55,38 Example(s) See Also SYSTem:TIME www.valuetronics.com FTB-400...
Page 237
IEEE 488.2 and Specific Commands Specific Commands :SYSTem:VERSion? Description The SYSTem:VERSion? query returns a value corresponding to the SCPI version number to which the device complies. The SYSTem:VERSion? is a query only and, therefore, does not have an associated *RST state.
SCPI-Based Errors Error Description Probable Cause Number –100 “Command error” This is the generic syntax error for devices that cannot detect more specific errors. This code indicates only that a Command Error as defined in IEEE 488.2, 11.5.1.1.4 has occurred. –101 “Invalid character”...
Page 240
–121 “Invalid character in An invalid character for the data type being parsed www.valuetronics.com number” was encountered; for example, an alpha in a decimal numeric or a "9" in octal data. FTB-400...
Page 241
SCPI-Based Errors Error Description Probable Cause Number –123 “Exponent too large” The magnitude of the exponent was larger than 32000 (see IEEE 488.2, 7.7.2.4.1). –124 “Too many digits” The mantissa of a decimal numeric data element contained more than 255 digits excluding leading zeros (see IEEE 488.2, 7.7.2.4.1).
Page 242
The expression data element was invalid (see IEEE 488.2, 7.7.7.2); for example, unmatched parentheses or an illegal character. www.valuetronics.com –178 “Expression data not A legal expression data was encountered but was allowed” not allowed by the device at this point in parsing. FTB-400...
Page 243
SCPI-Based Errors Error Description Probable Cause Number –180 “Macro error” This error, as well as errors –181 through –189, are generated when defining a macro or executing a macro. This particular error message should be used if the device cannot detect a more specific error.
Page 244
–221 through –229. –221 “Settings conflict” Indicates that a legal program data element was www.valuetronics.com parsed but could not be executed due to the current device state (see IEEE 488.2, 6.4.5.3 and 11.5.1.1.5). FTB-400...
Page 245
SCPI-Based Errors Error Description Probable Cause Number –222 “Data out of range” Indicates that a legal program data element was parsed but could not be executed because the interpreted value was outside the legal range as defined by the device (see IEEE 488.2, 11.5.1.1.5). –223 “Too much data”...
Page 246
Definition of what constitutes missing mass storage is device-specific. –252 “Missing media” Indicates that a legal program command or query www.valuetronics.com could not be executed because of a missing media; for example, no disk. The definition of what constitutes missing media is device-specific. FTB-400...
Page 247
SCPI-Based Errors Error Description Probable Cause Number –253 “Corrupt media” Indicates that a legal program command or query could not be executed because of corrupt media; for example, bad disk or wrong format. The definition of what constitutes corrupt media is device-specific.
Page 248
488.2, 10.7.3 and 10.7.6.2); for example, the label was too long, the same as a common command header, or contained invalid header syntax.] –274 “Macro parameter [Indicates that the macro definition improperly error” used a macro parameter placeholder (see IEEE www.valuetronics.com 488.2, 10.7.3).] FTB-400...
Page 249
SCPI-Based Errors Error Description Probable Cause Number –275 “Macro definition too [Indicates that a syntactically legal macro program long” data sequence could not be executed because the string or block contents were too long for the device to handle (see IEEE 488.2, 10.7.6.1).] –276 “Macro recursion [Indicates that a syntactically legal macro program...
Page 250
Error as defined in IEEE 488.2, 11.5.1.1.6 has occurred.] –310 “System error” [Indicates that some error, termed "system error" by the device, has occurred. This code is device-dependent.] www.valuetronics.com –311 “Memory error” [Indicates some physical fault in the device's memory, such as parity error.] FTB-400...
Page 251
SCPI-Based Errors Error Description Probable Cause Number –312 “PUD memory lost” [Indicates that the protected user data saved by the *PUD command has been lost.] –313 “Calibration memory [Indicates that nonvolatile calibration data used by lost” the *CAL? command has been lost.] –314 “Save/Recall memory [Indicates that the nonvolatile data saved by the...
Page 252
(see IEEE 488.2, 6.5.7.5).] –500 “Power on” [The instrument has detected an off to on transition in its power supply.] www.valuetronics.com –600 “User request” [The instrument has detected the activation of a user request local control.] FTB-400...
Page 253
SCPI-Based Errors Error Description Probable Cause Number –700 “Request control” [The instrument requested to become the active IEEE 488.1 controller-in-charge.] –800 “Operation complete” [The instrument has completed all selected pending operations in accordance with the IEEE 488.2, 12.5.2 synchronization protocol.] www.valuetronics.com Universal Test System...
COM Properties and Events The FTB-400 Universal Test System also provides objects based on Microsoft Component Object Model (COM). COM defines a common way to access and create software components and services. COM promotes the integration and the reuse of software components, as well as interoperability.
COM Properties and Events Properties Properties Write This method allows you to send a program Description message (single command or compound of commands) to the device input buffer. object.Write (Message) Syntax Message: Required. A string value corresponding Parameter(s) to the program message to be sent. Possible error(s) Timeout: This error will occur if the operation could not be completed within the allowed...
Page 258
Initialize on page 249. MPORTANT Before you retrieve data with the Read or ReadBinary methods, EXFO recommends that you specify the format in which the information must be returned. Details on how to correctly set the format can be found below.
Page 259
COM Properties and Events Properties Read Description This method allows you to retrieve all the data from the device output queue in a UNICODE format. Syntax object.Read Parameter(s) None. A string value (in UNICODE format). Response(s) Notes This method must be used in conjunction with the Write method.
Page 260
To help you know the actual length of the retrieved data, it has the following structure: The first byte contains the # character. The byte that immediately follows contains the number of subsequent bytes that you have to check to know the total length. www.valuetronics.com FTB-400...
Page 261
COM Properties and Events Properties ReadBinary For example, if you receive this response (here, values are expressed in decimal instead of binary for easier readability): # 2 1 3 7 5 8 9 2 ... The byte that immediately follows the # contains 2, which means that you have to read the two following bytes to know the length (in bytes) of the retrieved data.
Page 262
(to set the state) State: a Boolean value corresponding to: True: Remote False: Local None. Parameter(s) Response(s) If the property is used to get the device’s remote state, the property will return a Boolean value. Get/Set Access www.valuetronics.com FTB-400...
COM Properties and Events Properties LockoutState Description This property returns or sets the device’s lockout state. object.LockoutState (to retrieve the state) Syntax object.LockoutState=State (to set the state) State: a Boolean value corresponding to: True: Lockout False: No lockout Parameter(s) None. Response(s) If the property is used to get the device’s lockout state, the property will return a Boolean value.
(see StatusByte on page 251), this event allows you to determine the cause of the SRQ. ReturnToLocal Description This event is triggered when the user presses the Local button from the controller’s front panel when the device is in Remote state. Parameter(s) None. www.valuetronics.com FTB-400...
Index Index battery compartment location ......2 about tab ..........154 gauge ..........143 AC/DC inserting in mainframe......139 adapter socket location ......1 inserting in seven-slot backplane ..141 adapter/charger voltage requirements... 13 LED ............8 LED ............8 maintenance recommendations...
Page 266
34 control backplane ..........21 ActiveX........... 78 communication settings ......86 by password .......... 50 FTB-400 state........102 Ethernet TCP/IP ........ 77, 78 circuit breaker, resetting ......150 GPIB ..........77, 78 cleaning RS-232 ........... 78 front panel .......... 137 controlling modules ........
Page 271
............47 symbols, safety ..........11 seven-slot syntax configuration........... 4 rules ............. 116 inserting batteries in backplane... 141 SCPI............113 shipping to EXFO ........161 symbols..........114 shutdown system www.valuetronics.com cold vs. warm ........20 ghost ............. 10 FTB-400 ..........20 information tab ........
Page 272
PC (FTB) to FTB-100....... 67 work on results..........60 with infrared port ........75 wsp ............114 transportation requirements ..... 137, 158 turning FTB-400 off........26 two-slot configuration ........4 types, data ..........165 upgrading software ........23 user access levels........50, 51 user guide.
Need help?
Do you have a question about the FTB-400 and is the answer not in the manual?
Questions and answers