mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2024-11-23 20:16:17 +02:00
19 lines
355 B
Python
19 lines
355 B
Python
|
#!/usr/bin/python
|
||
|
|
||
|
#
|
||
|
# Read the thermocouple on a PicoTest M3500 connected via USB
|
||
|
#
|
||
|
|
||
|
#
|
||
|
# This uses the tmp library from
|
||
|
# svn.openmoko.org/developers/werner/ahrt/host/tmc/
|
||
|
#
|
||
|
|
||
|
import tmc.instrument, tmc.meter
|
||
|
|
||
|
tmc.instrument.debug_default = False
|
||
|
tmc.meter.debug_default = False
|
||
|
m = tmc.meter.picotest_m3500a()
|
||
|
m.debug = False
|
||
|
print m.query(":MEAS:TCO?")
|