
FDI2056 Use
r’s Manual
v 2.0 r 1.1
– 03/13
Copyright © 2013 Metrolab Technology SA
37
www.metrolab.com
Sets the internal periodic signal source to generate a pulse every 1
[ms].
3-8 PROGRAMMING HINTS
Note that National Instruments' "Measurement & Automation Explorer" (part of the
LabVIEW package) provides a very useful tool to explore the command set. Under
"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.
Here are a few notes on how the native command set is intended to be used:
o
Use the
UNIT
command to set the units in which the results are returned, and
t
he “digits” parameter to control the number of significant figures returned
(assuming
FORMat
is
ASCii
).
o
Use the
TRIGger:SEQuence
commands to control the measurement timing. As
trigger source, you can select an internal timer, a trigger command sent from an
encoder, or an external Trigger In signal. After setting up the trigger source, you
initiate a measurement using the
INITiate
command.
o
Use the
CALCulate:FLUX[:CUMulative]
command to control the integration
mode.
o
Use the
FETCh:ARRay?
command to retrieve all remaining data corresponding to
a preceding
READ:ARRay?
or
INITiate
command.
o
Using the
*OPC
command, you can also generate a ReQuest for Service (RQS)
when a measurement (or any other action) is complete. Set bit 0 of the Standard
Event Enable register and the ESB (Event Summary Bit) in the Status Enable
register. Now, the execution of an
*OPC
command will generate an RQS.
o
Be sure to check the status after every command. The Standard Event Status
register provides a general idea of what went wrong, and the message on the
Error/Event Queue (retrieved by
SYSTem:ERRor?
) provides a detailed diagnostic.
See the SCPI standard for the exact interpretation of these error messages. It
may be convenient to set up the Enable bits to generate a ReQuest for Service
(RQS) when an error is encountered.
1.1.1 Error codes