How To Use This Document; Table 5-1 Driver Function Calls Summary - Racal Instruments 3156B User Manual

200 ms/s dual channel waveform synthesizer
Table of Contents

Advertisement

How to Use This
Document
3156B Function Name
Initialization
ri3156B_init
ri3156B_reset
ri3156B_close
Common Control Functions
ri3156B_set(query)_active_channel
ri3156B_set(query)_output
ri3156B_set(query)_enable
ri3156B_set(query)_enable_source
ri3156B_set(query)_amplitude
ri3156B_set(query)_offset
Programming Reference 5-2
Positive Values
Negative Values
Below is a description of possible error codes and their interpretation.
Your program should examine the status code from each call to an
instrument driver function to determine if an error occurred.
VISA Errors
These error codes are defined by the VISA I/O library function
standards. These errors are defined in the header file "visa.h". These
error codes are typically in the range 0xBFFF0000L to 0xBFFFFFFFL
(-1073807360 to -1073741825).
RI3156B Driver Errors
Errors returned from the RI3156B drivers be between 0xBFFC0800
and 0xBFFC0FFF are described in the source code for
ri3156B_error_message() function. This function may be used to
convert the error code to a meaningful error message.
Use this document as a programming reference manual. It describes
each function in the Racal 3156B Arbitrary Waveform Generator
instrument. The functions appear in grouped order, with a description
of the function and its C syntax, a description of each parameter, and
a list of possible error codes.

Table 5-1 Driver Function Calls Summary

Parameter(s)
ViRsrc instrDescriptor
ViBoolean IDQuery
ViBoolean resetDevice
ViSession *instrHandle
None
None
ViInt16 channel
ViBoolean outputSwitch
ViBoolean outputSwitch
ViInt16 enableSource
ViReal64 amplitude
ViReal64 offset
3156B User Manual
Warnings
Errors
Range
2 to 256
0, 1 (OFF, ON)
0, 1 (OFF, ON)
1 to 2
0, 1 (OFF, ON)
0, 1 (OFF, ON)
0 to 2 (SOFT,
HARD, MIX)
10e-3 to 10
-4.995 to 4.995
Racal Instrument © 2005
Default
2
VXI init
Default
1
0
0
0
5
0

Advertisement

Table of Contents
loading

Table of Contents