Read – EXFO FTB-2 User Manual
Page 409

COM Properties and Events
FTB-2 and FTB-2 Pro
399
Properties
Read
Description
With this method you can retrieve all the data
from the device output queue in a UNICODE
format.
Syntax
object.Read
Parameter(s)
None.
Response(s)
A string value (in UNICODE format).
Notes
This method must be used in conjunction with
the Write method. Always ensure that a query
has been previously sent before attempting to
read a response from the output queue.
To properly set the data format, send the
following command (using the Write method):
FORM:DATA
where
number of digits after the decimal point that you
require.
Remember that the retrieved data will have to be
converted to a numeric format before you can
use it in calculations, for example.
Possible error(s)
Timeout: This error will occur if the allowed
delay has expired before the preceding Write
operation could send a response to the output
queue. For information on timeout setting, see
Initialize on page 401.
QueryUnterminated: This error will occur if the
output queue is empty (for example, no query
has been made previously).