The drivers function can list drivers
available for any of the Quick-Control interface objects: RF signal
generator (rfsiggen), oscilloscope
(oscilloscope), or function generator
(fgen). This example uses Quick-Control RF Signal
Generator, but the function also works in the same way for the other two
object types.
Create an RF signal generator object without assigning the resource or
driver.
List the drivers.
ans =
Driver: AgRfSigGen_SCPI
Supported Models:
E4428C, E4438C
Driver: RsRfSigGen_SCPI
Supported Models:
SMW200A, SMBV100A, SMU200A, SMJ100A, AMU200A, SMATE200A
Driver: AgRfSigGen
Supported Models:
E4428C,E4438C,N5181A,N5182A,N5183A,N5171B,N5181B,N5172B
N5182B,N5173B,N5183B,E8241A,E8244A,E8251A,E8254A,E8247C
In this case, it finds the drivers for a Keysight™ (formerly Agilent®) SCPI-based RF signal generator, a Rohde &
Shwartz SCPI-based generator, and another Keysight generator. You can see that it lists supported
models in each case.
Set the RF signal generator resource using the
Resource property, which is the VISA resource
string.
Set the RF signal generator driver using the Driver
property. The driver name came from using the drivers
function in step 2.
You can now connect to the instrument.