The program example in this section is written in VISUAL BASIC. A condition for programming in VISUAL BASIC is that the modules NIGLOBAL (Niglobal.bas) and VBIB32 (Vbib_32.bas) are added to the projects.
![]() | Drivers for instrument, e.g. IVI-COM and LabVIEW drivers, are available in the download area of the product website (http://www.rohde-schwarz.com/en/products/test_and_measurement/product_categories/signal_generation/). |
As a prerequisite, the GPIB address of the instrument, which is factory-set to 28, must not have been changed.
Connect instrument and controller using GPIB cable and switch them on.
Execute following commands on the controller:
Open port to the instrument
CALL IBFIND("DEV1", generator%)
Inform controller about instrument address
CALL IBPAD(generator%, 28)
Reset instrument
CALL IBWRT(generator%, "*RST;*CLS")
Set instrument to new address
CALL IBWRT(generator%, "SYST:COMM:GPIB:ADDR 18")
Inform controller about new address
CALL IBPAD(generator%, 18)
The GPIB address of the instrument is changed.
To return to manual operation sent CALL IBLOC (generator%) or press the LOCAL key at the front panel.
Imprint | Statement of Privacy | Terms & Conditions | © 2017 ROHDE & SCHWARZ |