It is easy to develop custom software for the FDI 2056, especially in LabVIEW, using Metrolab’s FDI 2056 Application Programming Interface (API). Finally, keep your FDI 2056 accurate and up to date by having it recalibrated at regular intervals. The recommended calibration interval is every 12 months. At this time, Metrolab will also install the latest available firmware.
Page 7
If you have problems and your retailer cannot help you further, the Metrolab team is ready to help. Even if you don’t have problems, we are always interested in knowing more about how our instruments are used. Feel free to contact us at any time at contacts@metrolab.com.
This chapter provides information regarding the various connections available on the instrument and other internal configurations available to the user. 2-1 FDI 2056 HOST INTERFACE PANEL AND CONNECTIONS The DVI (Digital Visual Interface) is used to connect the host interface to a display device, such as a computer monitor.
See section 2-2-1 for the connector pinning description. The coil can be connected to the FDI 2056 either via the two LEMO 00 connectors, “IN+” and “IN-“, or via the single LEMO 0B connector.
2-2-1 Description of the encoder input Micro-D connector. The FDI 2056 is supplied with a 50-cm cable with a Micro-D connector. The color in the table below refers to this cable. Pin n°...
2-4 INITIAL POWER-ON 1. After the FDI 2056 is powered on, the message “INIT” will be displayed on all installed channels. This indicates that the FDI 2056 is resetting. Once powered on, the FDI 2056 takes several seconds before being able to communicate.
Insert the installation CD. Copy the Source folder to your hard drive. The API subfolder contains the Application Programming Interface. Modify the FDI 2056 measurement software, or write a measurement system from scratch using the LabVIEW development system. www.metrolab.com...
PROGRAMMING THE FDI 2056 3- VXI & SCPI standard interfaces 3-1 HOST INTERFACE The FDI 2056 and its associated host software support an Ethernet interface. The native host interface protocol is based on the following standards, very widespread in the instrumentation industry: - VXI-11: Ethernet device control, - SCPI: command structure.
SCPI standard, provides a good summary. This section describes how the FDI 2056 uses these status registers. 3-3-1 Status Byte Contains a 1-byte status summary. The FDI 2056 uses the following bits: Name Description Error AVailable (in Error/Event Queue)
Page 18
Event Register (EVENt) Transitions in a Condition Register are memorized in the corresponding Event Register. Most FDI 2056 registers only latch transitions from 0 to 1, some are configurable using the Positive and Negative Transition Register set. Event Registers are cleared when read.
IEEE 488.1 (HPIB or GPIB). Not all functions are supported in VXI-11. In addition, some of these functions are not supported on the FDI 2056; the Description column will note whether the function has no effect or whether it returns an error.
N = nano (10 U = micro (10 M = milli (10 K = kilo (10 MA = mega (10 G = giga (10 The FDI 2056 recognizes the following units: Base unit Multiplier Description M, U, N Weber M, U, N...
The value of this counter is available by using the command CONTR#:ENC:POS? When configuring the FDI 2056 to use an encoder, it is of upmost importance to check that the rotational direction is in accordance with the two LEDs denoted FW and BW located on the front panel of the channel into which the encoder is plugged.
Syntax DIAGnostic:UPGRade[:INITiate] NOTICE The :DIAGnostic:UPGRade:[INITiate] command is intended for use by the manufacturer only. It can cause your FDI 2056 to become nonoperational. 3-7-12 :DISPlay#:TEXT[:DATA] Displays some text on the 4-digit display located on the channel front panel. Syntax DISPlay#:TEXT[:DATA] <string>...
"System / Peripherals & Interfaces / VISA TCP/IP Resources" or “… / USB Resources”, select the FDI 2056 and click the "Open VISA Test Panel" icon. This opens a window from which you can try all functions available through NI-VISA.
Page 43
“Command Reference”, provide a generic description of all possible error codes. In general, the codes are between -800 and 300. This chapter describes only the error codes produced by the FDI 2056, and the circumstances that might produce each error. NO ERROR Zero indicates no error.
Page 44
Indicates that a query was received in the same program after indefinite response message after a query requesting an indefinite response was executed. On the FDI 2056, the only command returning an indefinite response (“Arbitrary ASCII Response Data”) is *IDN.
The PDI emulation mode offers a way to help customers who have already extensively used the PDI 5025 in the past, to integrate easily this new instrument in their existing installation. However, the FDI 2056 is based on a completely different system and therefore some functionality present in the PDI 5025 have been transformed or removed.
During the following explanations, the red flag () symbol, signifies a change between the PDI 5025 original behavior and the new emulation one. 4-2 CONFIGURATION Before using the FDI 2056 in its PDI 5025 emulation mode, some parameters must be set according to the user’s specific hardware interface and bi-phase encoder.
SYNC input takes precedence over the ERROR function. 4-3 MOTOR SOFTWARE INTERFACE Since the FDI 2056 does not incorporate a motor driver, and since the PDI 5025 ( which di provide such interface) offered a set of command to handle the motor,...
Thus, any messages sent to the FDI 2056 will be ignored. 4-5 CHANNEL SELECTION The FDI 2056 can be equipped with as many as nine channels (the standard unit is equipped with a single channel). All channels are always triggered in parallel.
The internally quartz controlled time base generator is set by default to operate at a frequency of 1 [kHz] and is used to feed the FDI 2056 Trigger Factory. The TRI command defines the integration intervals in terms of number of periods – As the default frequency is 1 [kHz], you may consider this integration interval as the time spent for each partial integral expressed in milliseconds.
Page 59
An infinite sequence is set using ni=* in the TRI command. Bit 3 Measurement in progress This bit is set to indicate that the FDI 2056 is in the process of measuring. The bit is automatically set by the RUN command; it is automatically cleared when the sequence is terminated.
Page 62
This bit is similar to bit 4 of STATUS Bit 3 Run active This bit is set to indicate that the FDI 2056 is taking measurements. This status bit is similar to bit 3 of STATUS Bit 2 Data Transfer Mode When set, this bit indicates that the immediate data transfer mode (IMD,1) is selected.
If the command NBO,1 has been sent previously to the FDI 2056, the cumulative value is cleared to 0 (zero) at each occurrence of an over-range. At the end of a run, the number of available measurements data is identical to the number of integration periods.
The external trigger input is disabled. All data measured up to the instant that the BRK was received are valid and can be read by the host. The FDI 2056 can also execute a BRK automatically if any of the following errors occurs: www.metrolab.com...
4-11-9 Autotest (TST and AUT) Each time the FDI 2056 is powered up it performs an autotest, which lasts five seconds and performs five preset measurements and verifies the results. During the autotest the display shows the word "Test". Once finished, if the autotest was successful, the display will show the channel to which it is assigned and the current value of the gain.
CHA,B Select channel B. CHA,* Select both channels A and B. Note: This command is valid only if the FDI 2056 is equipped with two channels. Trigger source selection (see section 6.6). TRS,T Default Timer (without external synchronization). TRigger Source,...
Page 71
0 of 1 is set. STATUS Motor interface: Please read section 4-3 We remind you that the FDI 2056 doesn’t incorporate a motor driver. MOT,s Starts the motor. MOTor s = + starts the motor in the forward...
Page 72
The cumulative value from the start of the measurement is stored in memory at the end of each integration interval. If the command NBO,1 has previously been sent to the FDI 2056, the cumulative value is cleared to 0 at each occurrence of an over- range. CUM,1,L Only the last cumulative value is stored and available for reading.
Page 75
If many channels are active, A is the active channel by default. Reads the counter of the Trigger Factory. Read CounTer After reading the counters, the FDI 2056 converts the result to decimals and transfers it in the format +/- ddd..d. Leading zeroes are suppressed.
5-4 ADDING A SUPPLEMENTARY INTEGRATOR CHANNEL The FDI 2056 usually comes with one channel but can be equipped with up to three integrator channels on the standard Metrolab crate and up to nine integrator www.metrolab.com...
Need help?
Do you have a question about the FDI 2056 and is the answer not in the manual?
Questions and answers