wlauto.instrumentation.poller package

Module contents

class wlauto.instrumentation.poller.FilePoller(device, **kwargs)[source]

Bases: wlauto.core.instrumentation.Instrument

aliases = AC([])
artifacts = AC([])
core_modules = []
description = "\n Polls the given files at a set sample interval. The values are output in CSV format.\n\n This instrument places a file called poller.csv in each iterations result directory.\n This file will contain a timestamp column which will be in uS, the rest of the columns\n will be the contents of the polled files at that time.\n\n This instrument will strip any commas or new lines for the files' values\n before writing them.\n "
finalize(*args, **kwargs)
initialize(*args, **kwargs)
kind = 'instrument'
name = 'file_poller'
parameters = AC(["Param({'kind': <type 'list'>, 'mandatory': None, 'name': 'modules', 'constraint': None, 'default': None, 'allowed_values': None, 'global_alias': None, 'override': False})", "Param({'kind': <function integer>, 'mandatory': None, 'name': 'sample_interval', 'constraint': None, 'default': 1000, 'allowed_values': None, 'global_alias': None, 'override': False})", "Param({'kind': <function list_or_string>, 'mandatory': True, 'name': 'files', 'constraint': None, 'default': None, 'allowed_values': None, 'global_alias': None, 'override': False})", "Param({'kind': <function list_or_string>, 'mandatory': None, 'name': 'labels', 'constraint': None, 'default': None, 'allowed_values': None, 'global_alias': None, 'override': False})", "Param({'kind': <function boolean>, 'mandatory': None, 'name': 'as_root', 'constraint': None, 'default': False, 'allowed_values': None, 'global_alias': None, 'override': False})"])
validate(*args, **kwargs)