Getting Started - R&S AFQ100A Operating Manual

I/q modulation generator
Hide thumbs Also See for AFQ100A:
Table of Contents

Advertisement

R&S AFQ100A

Getting Started

The short and simple operating sequence given below permits fast putting into operation of the
instrument and setting of its basic functions. As a prerequisite, the IEC/IEEE-bus address, which is
factory-set to 28, must not have been changed.
1.
Connect instrument and controller using IEC/IEEE-bus cable and switch them on.
2.
Write and start the following program on the controller:
Dim defaultRM As ViSession
Dim status As ViStatus
Dim vi As ViSession
Dim Cmd As String
Dim retCount As ViUInt32
Dim ErrorDescription As String *
VI_FIND_BUFLEN
status = viOpenDefaultRM(defaultRM)
If status <> VI_SUCCESS Then GoTo
ErrorExit:
status = viOpen(defaultRM,
"GPIB::6::INSTR", 0, 5000, vi)
If status <> VI_SUCCESS Then GoTo
ErrorExit:
Cmd = "*RST;*CLS;*WAI"
status = viWrite(vi, Cmd, Len(Cmd),
retCount)
If status <> VI_SUCCESS Then GoTo
ErrorExit:
Cmd = "OUTP:STAT ON"
status = viWrite(vi, Cmd, Len(Cmd),
retCount)
If status <> VI_SUCCESS Then GoTo
ErrorExit:
Cmd = "WAV:SEL 'C:\Program
Files\Rohde&Schwarz\AFQFirmware\Lists\
Waveforms\sine10kHz.wv'"
status = viWrite(vi, Cmd, Len(Cmd),
retCount)
If status <> VI_SUCCESS Then GoTo
ErrorExit:
Cmd = "SOUR:STAT ON"
status = viWrite(vi, Cmd, Len(Cmd),
retCount)
1401.3084.32
'Open default resource manager
'Open connection to instrument
'Reset instrument and clear status
registers
'Switch on output
'Load waveform file
'Switch on generation of waveform file
5.3
Getting Started
E-3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Afq100b

Table of Contents