Connecting to SFM by Rohdes&Schwarz in Python
Instrument Card
Generation of standard TV signals (standards B&G, D&K, L&L, I, M, N, K1) including stereo/dual sound and NICAM Double-sideband test modulator for all IFs between 32 and 46 MHz RF upconverter, 5 to 1000 MHz, with high frequency resolution (1 Hz)
Device Specification: here
Manufacturer card: ROHDES&SCHWARZ
Rohde & Schwarz GmbH & Co KG is an international electronics group specializing in the fields of electronic test equipment, broadcast & media, cybersecurity, radiomonitoring and radiolocation, and radiocommunication.
- Headquarters: Munich, Germany
- Yearly Revenue (millions, USD): 2500
- Vendor Website: here
Connect to the SFM in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
To connect to a SFM RF Signal Generator using Pymeasure, you can use the following Python script:
This script creates a VISAAdapter
object to establish a connection with the SFM RF Signal Generator using the GPIB interface. Then, it creates an SFM
object with the adapter to interact with the instrument.
You can perform various operations on the signal_generator
object, such as setting the frequency and output level. Finally, you can disconnect from the signal generator using the disconnect()
method.
Note: Make sure to replace the GPIB address in the VISAAdapter
constructor with the correct address for your instrument.