3156B User Manual
Programming Reference 5-14
Racal Instrument © 2005
ri3156b_init
Description
Initializes the instrument and returns and "instrument handle". The instrument handle must be used with all of
the other functions of this driver. The initialize call allows the instrument to be queried to ensure that it is a
3156B Waveform Synthesizer. It also resets the 3156B to the power-up state if the "Reset" parameter is True
(ON). Note that for each "ri3156B_init()" call, a new unique instrument handle is returned. Thus, if four calls are
made to the initialize call in succession, four unique instrument handles will be returned. This driver supports 10
instances of instrument handles, so that if this function is called 11 times consecutively (with no call to
ri3156B_close()),the 11th call will fail.
C Syntax
ViStatus ri3156b_init (ViRsrc instrDescriptor, ViBoolean IDQuery, resetDevice, ViSession instrHandle)
Parameters
Name
Variable
Type
Description
instrDescriptor
ViRsrc
Specifies which remote instrument to establish a
communication session with. Based on the syntax of the
Instr Descriptor, the Initialize function configures the I/O
interface and generates an Instr Handle
Default Value: "VXI::2::INSTR"
Based on the Instrument Descriptor, this operation
establishes a communication session with a device. The
grammar for the Instrument Descriptor is shown below.
Optional parameters are shown in square brackets ([]).
The default value is for a VXI interface for logical address
2. For a GPIB-VXI interface with the instrument set to
logical address 2, the value should be: "GPIB-
VXI::2::INSTR"
Interface Grammar
VXI - VXI[board]::VXI logical address[::INSTR]
GPIB-VXI - GPIB-VXI[board][::GPIB-VXI primary
address]::VXI logical address[::INSTR]
The VXI keyword is used for VXI instruments via either
embedded or MXIbus controllers. The GPIB-VXI keyword
is used for a GPIB-VXI controller.
The default values for optional parameters are shown
below.
Optional Parameter
Default Value
Board
0
secondary address
none - 31
GPIB-VXI primary address
1
IDQuery
ViBoolean Specifies if an ID Query is sent to the instrument during
the initialization procedure.
Valid Range: 1 = Yes 0 = No
Default Value: 1 - Yes
Содержание 3156B
Страница 5: ......
Страница 6: ...This page was left intentionally blank...
Страница 50: ...3156B User Manual Configuring The Instrument 2 6 Racal Instrument 2005 This page was left intentionally blank...
Страница 119: ...3156B User Manual Racal Instrument 2005 WaveCAD 4 27 Figure 4 11 The FSK Data Table...
Страница 370: ...3156B User Manual Maintenance and Performance Checks 6 42 Racal Instrument 2005 This page was left intentionally blank...
Страница 374: ...3156B User Manual Product Support 7 4 Racal Instrument 2005 This page was left intentionally blank...