My apologies about that. Accidentally hit send. I was going to ask about how to interface with a SCPI power source from within python. For example, how to set the output voltage. I see there is a config_set() for Device, but not so for channel groups.
Any hints? Alex > import sigrok.core as sr > > context = sr.Context_create() > context.log_level = sr.LogLevel.get(5) > driver = context.drivers['scpi-pps'] > devs = driver.scan(conn='/dev/ttyS0', serialcomm='19200/8n1') > > dev = devs[0] > dev.open(); > > for channel in dev.channels: > print("Here's a channel %s" %(channel.name)); > for g in dev.channel_groups: > print("Here's a group %s" %(g)); > > > And here's teh output: ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel