Program to measure Insertion Loss using the Santec's Swept Test System.
The Santec_IL_STS is designed to configure and operate the Santec Swept Test System (STS).
This tool facilitates the measurement of Insertion Loss (IL) using Santec's TSL and MPM series instruments.
- Configure the Santec Swept Test System (Light source: TSL series, Power meter: MPM series, DAQ board)
- Perform wavelength scans
- Record reference and measurement scan power
- Calculate and save Insertion Loss (IL) data
- Re-use previous scan parameters and reference data
- OS: Windows 10
- Python: Any version (Version 3.12 recommended)
- Drivers:
- NI-488.2: Version 20
- NI-DAQmx: Version 20
- NI-VISA: Version 20
- pythonnet : Also known as
clr
, for .NET interoperability - pyvisa : For controlling measurement devices
- nidaqmx : API for NIDAQ driver interaction
- Santec DLLs: Instrument DLL, STSProcess DLL and FTD2XX_NET DLL.
Refer to the DLL documentation here: About DLLs
The Swept Test System IL PDL Software is designed to function with:
- TSL-510, TSL-550, TSL-570, TSL-710 and TSL-770 laser series
- MPM-210 and MPM210H power meter series
TSL-510, TSL550 and TSL-710
- GPIB
TSL-570 and TSL-770
- GPIB, USB, or LAN
Download and Install Python: Version 3.12 recommended.
- Go to the Python Downloads page.
- Download the latest version.
- Follow the installation instructions for your operating system.
To clone the repository, use the following command in your terminal:
git clone https://github.com/santec-corporation/Santec_IL_STS.git
You can download the latest release directly from the Releases page.
-
Navigate to the Project Directory,
cd Santec_IL_STS
-
Install the dependencies,
pip install -r docs/requirements.txt
-
Run the Program,
python main.py
Optional steps,
-
Enable logging and log to file,
python main.py --enable_logging=True
-
Log to the screen, call the
log_to_screen()
method inmain.py
.
-
Upgrade pythonnet:
pip install --upgrade pythonnet
-
Upgrade pyvisa:
pip install --upgrade pyvisa
-
Upgrade nidaqmx:
pip install --upgrade nidaqmx