Pico Technology PT-104 Platinum Resistance Data Logger.
- class msl.equipment.resources.picotech.pt104.Pt104DataType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
The allowed data types for a PT-104 Data Logger.
- OFF = 0¶
- PT100 = 1¶
- PT1000 = 2¶
- RESISTANCE_TO_375R = 3¶
- RESISTANCE_TO_10K = 4¶
- DIFFERENTIAL_TO_115MV = 5¶
- DIFFERENTIAL_TO_2500MV = 6¶
- SINGLE_ENDED_TO_115MV = 7¶
- SINGLE_ENDED_TO_2500MV = 8¶
- MAX_DATA_TYPES = 9¶
Find PT-104 Platinum Resistance Data Logger’s.
This routine returns a list of all the attached PT-104 devices of the specified communication type.
You cannot call this function after you have opened a connection to a Data Logger.
- class msl.equipment.resources.picotech.pt104.PT104(record)¶
Uses the PicoTech SDK to communicate with a PT-104 Platinum Resistance Data Logger.
'ip_address': str, The IP address and port number of the PT-104 (e.g., '192.168.1.201:1234') 'open_via_ip': bool, Whether to connect to the PT-104 by Ethernet. Default is to connect by USB.
Do not instantiate this class directly. Use the
connect()method to connect to the equipment.
- MIN_WIRES = 2¶
- MAX_WIRES = 4¶
Disconnect from the PT-104 Data Logger.
- get_unit_info(info=None, include_name=True)¶
Retrieves information about the PT-104 Data Logger.
If the device fails to open, or no device is opened only the driver version is available.
str– The requested information from the PT-104 Data Logger.
- get_value(channel, filtered=False)¶
Get the most recent reading for the specified channel.
Once you open the driver and define some channels, the driver begins to take continuous readings from the PT-104 Data Logger.
The scaling of measurements is as follows:
value * 1/1000 deg C
Voltage (0 to 2.5 V)
value * 10 nV
Voltage (0 to 115 mV)
value * 1 nV
value * 1 mOhm
int) – The number of the channel to read, from 1 to 4 in differential mode or 1 to 8 in single-ended mode.
bool, optional) – If set to
True, the driver returns a low-pass filtered value of the temperature. The time constant of the filter depends on the channel parameters as set by
set_channel(), and on how many channels are active.
float– The latest reading for the specified channel.
Open the connection to the PT-104 via USB.
Open the connection to the PT-104 via ETHERNET.
- set_channel(channel, data_type, num_wires)¶
Configure a single channel of the PT-104 Data Logger.
The fewer channels selected, the more frequently they will be updated. Measurement takes about 1 second per active channel.
If a call to the
set_channel()method has a data type of single-ended, then the specified channel’s ‘sister’ channel is also enabled. For example, enabling 3 also enables 7.
int) – The channel you want to set the details for. It should be between 1 and 4 if using single-ended inputs in voltage mode.
DataType) – The type of reading you require. Can be an enum value or member name.
int) – The number of wires the PT100 or PT1000 sensor has (2, 3 or 4)
- set_ip_details(enabled, ip_address=None, port=None)¶
Writes the IP details to the device.