query

Contents

query#

method

TSL550.query(command, query_delay=None) str[source]#

Write a command to the TSL550. Returns the response (if any).

Parameters:
commandstr

The VISA command to send to the device.

query_delayfloat, optional

The query delay to use between write and read operations. If None, defaults to self.query_delay (can be set in __init__). Default is None.

Returns:
str

The response of the query, if any, as a string.