Module gonioimsoft.vio_client
Functions
def main()
Classes
class VIOClient (host=None, port=None, running_index=0)
-
Analog voltage input/output client.
Expand source code
class VIOClient(ClientBase): '''Analog voltage input/output client. ''' def __init__(self, host=None, port=None, running_index=0): if host is None: host = SERVER_HOSTNAME if port is None: port = int(VIO_PORT) super().__init__(host, port) def analog_input(self, duration, save=None, wait_trigger=False): '''Makes the server to record analog signal and save it. ''' if save is None: save = 'None' self.send_command( f'analog_input;{duration}:{save}:{wait_trigger}') def set_settings(self, device, channels, fs): '''Configures the setttings in use. ''' self.send_command( f'set_settings;{device}:{channels}:{fs}') def start_server(self): super().start_server('vio')
Ancestors
Methods
def analog_input(self, duration, save=None, wait_trigger=False)
-
Makes the server to record analog signal and save it.
def set_settings(self, device, channels, fs)
-
Configures the setttings in use.
Inherited members