Connect(): Difference between revisions
Jump to navigation
Jump to search
(Created page with "The function connect can be added to any Device Class: {{syntaxhighlight|lang=python|code= def connect(self): # do something }} This function will be called at the beg...") |
(Added Sequencer procedure Navbox) |
||
Line 8: | Line 8: | ||
This function will be called at the beginning of each measurement. It is intended to be used to make everything ready for further communication with the device. | This function will be called at the beginning of each measurement. It is intended to be used to make everything ready for further communication with the device. | ||
In case, you use the PortManager there is no need to use this function. Otherwise, you can create your own object to here to communicate with your device. | In case, you use the PortManager there is no need to use this function. Otherwise, you can create your own object to here to communicate with your device. | ||
{{Sequencer_procedure}} |
Latest revision as of 11:44, 17 April 2024
The function connect can be added to any Device Class:
def connect(self):
# do something
This function will be called at the beginning of each measurement. It is intended to be used to make everything ready for further communication with the device. In case, you use the PortManager there is no need to use this function. Otherwise, you can create your own object to here to communicate with your device.