Skip to Navigation

Reply to comment

Python (U12)

Our LabJackPython module works with the U12, and as of May 2010 it works on Windows, Linux, and Mac OS X.

Use it like this:

  
>>> import u12
>>> d = u12.U12()
>>> d.eAnalogIn(0)
{'overVoltage': 0, 'idnum': 12, 'voltage': 1.4599609375}
  

For more U12 examples visit the Low-Level Function Reference section of the U12 User’s Guide.

tags:

Reply

Totally secret. Used only if you want to be notified of new comments.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <p> <br>
  • Lines and paragraphs break automatically.

More information about formatting options