devices.cryovac:TIC500
TIC500 temperature controller interface.
Usage
devices.cryovac:TIC500(
interface,
**kwargs,
)A class that provides an interface to communicate with and control TIC500 temperature controllers via VISA.
Parameters
interface: str-
VISA resource name to connect to
**kwargs: dict- Additional keyword arguments: write_termination : str, optional The string to append to each write command (default: CRLF) read_termination : str, optional The string that marks the end of a read response (default: CRLF) timeout : int, optional Timeout in milliseconds (default: 2000) setlimit : int, optional Maximum temperature setpoint limit (default: 301)
Methods
| Name | Description |
|---|---|
| disable_channel() | Turn off heater on a channel. |
| get_output_enabled() | Get the global output state. |
| get_pid() | Get the PID parameters for a channel. |
| get_power() | Get the power on a channel. |
| get_ramp() | Get the ramp rate for a channel. |
| get_setpoint() | Get the current internal setpoint of a channel. |
| get_state() | Get the state of the PID control for a channel. |
| get_temp() | Get the temperature of a channel. |
| query_float() | Query device and convert response to float. |
| set_output_enabled() | Set the global output state. |
| set_pid() | Set the PID parameters for a channel. |
| set_power() | Set the power on a channel. |
| set_ramp() | Set the ramp rate for a channel. |
| set_setpoint() | Set the setpoint of a channel. |
| set_state() | Enable or disable the PID control for a channel. |
disable_channel()
Turn off heater on a channel.
Usage
disable_channel(channel)Only works for output channels. The channel can be reenabled by turning on PID control using set_state.
Parameters
channel: str- The channel to disable
Returns
None
get_output_enabled()
Get the global output state.
Usage
get_output_enabled()Returns
bool- True if output is enabled, False otherwise
get_pid()
Get the PID parameters for a channel.
Usage
get_pid(channel)Parameters
channel: str- The channel to query
Returns
tuple- A tuple containing (P, I, D) parameters
get_power()
Get the power on a channel.
Usage
get_power(channel)Parameters
channel: str- The channel to query
Returns
float or None- The power level, or None if query fails
get_ramp()
Get the ramp rate for a channel.
Usage
get_ramp(channel)Parameters
channel: str- The channel to query
Returns
float or None- The current ramp rate, or None if query fails
get_setpoint()
Get the current internal setpoint of a channel.
Usage
get_setpoint(channel)Parameters
channel: str- The channel to query
Returns
float or None- The current setpoint, or None if query fails
get_state()
Get the state of the PID control for a channel.
Usage
get_state(channel)Parameters
channel: str- The channel to query
Returns
bool- True if PID control is on, False otherwise
get_temp()
Get the temperature of a channel.
Usage
get_temp(channel)Parameters
channel: str- The channel to query
Returns
float or None- The temperature of the channel, or None if query fails
query_float()
Query device and convert response to float.
Usage
query_float(msg)Parameters
msg: str- Command string to query
Returns
float or None- The response as a float, or None if conversion fails
set_output_enabled()
Set the global output state.
Usage
set_output_enabled(state)Parameters
state: bool- True to enable output, False to disable
Returns
None
set_pid()
Set the PID parameters for a channel.
Usage
set_pid(
pid,
channel,
)Parameters
pid: tuple-
A tuple containing (P, I, D) parameters
channel: str- The channel to set the PID parameters for
Returns
None
set_power()
Set the power on a channel.
Usage
set_power(
power,
channel,
)Parameters
power: float-
The power level to set (0-50)
channel: str- The channel to set the power for
Returns
None
set_ramp()
Set the ramp rate for a channel.
Usage
set_ramp(
rate,
channel,
)Parameters
rate: float-
The temperature ramp rate to set
channel: str- The channel to set the ramp rate for
Returns
None
set_setpoint()
Set the setpoint of a channel.
Usage
set_setpoint(
setpoint,
channel,
)Parameters
setpoint: float-
The temperature setpoint to set
channel: str- The channel to set the setpoint for
Returns
None
set_state()
Enable or disable the PID control for a channel.
Usage
set_state(
state,
channel,
)Parameters
state: bool-
True to enable PID control, False to disable
channel: str- The channel to set the state for
Returns
None