5import isystem.connect
as ic
12 connMgr = ic.ConnectionMgr()
13 connMgr.connect(ic.CConnectionConfig().instanceId(winidea_id))
15 daqCtrl = ic.CDAQController(connMgr)
17 daqCfg = ic.DAQConfigVector()
19 cfg = ic.CDAQConfigItem(
"mainLoopCounter", ic.CDAQController.daqSample100ms, 0)
21 daqCtrl.configure(daqCfg)
23 print(
"Adding 'interrupt_counter' variable to DAQ configuration...")
24 cfg = ic.CDAQConfigItem(
"iInterruptCounter", ic.CDAQController.daqSampleMax, 0)
26 daqCtrl.configure(daqCfg)
28 print(f
"DAQ configured, {daqCtrl.getNumItems()} variables observed.")
31if __name__ ==
"__main__":