utils#
Zurich Instruments LabOne Python API Utility Functions.
This module provides basic utility functions to ease the use of the native Python API zhinst-core.
Functions
Check the consistency of the used version in the LabOne stack. |
|
|
Polls a node until it has the the expected value. |
|
Try to connect to a Zurich Instruments Data Server (UHF,HF2 only). |
|
Return one of the devices connected to the Data Server. |
|
Convert the demodulator 3 dB bandwidth to its equivalent timeconstant. |
|
Return the appropriate scaling factor for bandwidth to timeconstant. |
|
Check for sample loss. |
|
Convert one or multiple waveforms into the native AWG waveform format. |
|
Create an API session for the specified device. |
|
Return an instrument's default output mixer channel. |
|
List of device_id of all devices connected to the Data Server. |
|
Put the device in a known base configuration. |
Return the default path used for settings by the ziDeviceSettings module. |
|
|
Load a csv file generated from LabOne. |
|
Load a CSV file containing demodulator samples. |
|
Load a mat file generated from LabOne. |
|
Load a LabOne settings file to the specified device. |
|
Load a CSV file containing demodulator samples. |
|
Load a ziBin file containing demodulator samples. |
|
Covert a native AWG waveform into the individual waves. |
|
Save settings from the specified device to a LabOne settings file. |
|
Perform an automatic adjustment of the signal input range. |
|
Convert the LabOne "systemtime" into a datetime object. |
|
Convert the demodulator timeconstant to its equivalent 3 dB bandwidth. |
|
Converts a Root Mean Square (RMS) voltage into a dBm power value. |
|
Waits until a node has the expected state/value. |