How do I get my GPIB interface to communicate correct values with python? -


i have gotten simulator start communicating me (see past question); however, not know saying me. here simple code sends message simulator.

`import serial  port = '/dev/tty.usbserial-pxfo5l2l' baudrate = 9600 timeout = 1 ser = serial.serial(port = port, baudrate = baudrate, timeout = timeout)  ser.write('volt:level 4') ` 

this supposed set voltage 4, returns 12. along other commands, return ints. can tell me means? or if using write command correctly?


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

c# - Json.Net Serialize String from URI -

ruby on rails - What is the best design practise to create tables from same controller using same actions -