ident

Contents

ident#

method

TSL550.ident()[source]#

Query the device to identify itself.

Places strings of device information such as the name, firmware, and version in the output queue, which is subsequently read and returned.

Output format is a string:
SANTEC,TSL-550,########,****.****
# field = serial number of the device in 8 digits.
* field = firmware version as 4 digits + .(period) + 4 digits.
Returns:
str

Result of the identification query.

Examples

>>> laser.ident()
'SANTEC,TSL-550,06020001,0001.0000'