Contact Information: support@signalhound.com

Prerequisites:
Python 3 is required to use the Python interface functions. The API has been
tested with Python 3.14.6 on Windows.

Purpose:
This project enables the user to set the RF port on an RFS44 or RFS8 RF switch through convenience functions written in Python. These functions serve as a binding to our RFS API, and perform the C shared library interfacing necessary to communicate with the switch.

Setup:

# Windows
Place the rfs_api.py and rfs_api.dll files into the rfsdevice/ folder.

To call the functions from outside the rfsdevice/ directory you may need to add the
rfsdevice folder to the Python search path and to the system path. This can be done
by editing PATH and PYTHONPATH in: Control Panel > System and Security > System
> Advanced system settings > Advanced > Environment Variables > System variables.

# Linux
Place the rfs_api.py and rfs_api.so files into the rfsdevice/ folder.

Edit the line in rfs_api.py from

    rfslib = CDLL("rfsdevice/rfs_api.dll")
        to
    rfslib = CDLL("rfsdevice/rfs_api.so").

---

To run the example scripts, navigate to the folder containing the example
.py files. Each example file is standalone and provides example code for calling the
provided Python functions for the RFS44/8.

Usage:
The functions under the "Public" heading are callable from external scripts.
They are functionally equivalent to their C counterparts.
