Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
projects:test_and_measurement_home_lab [2019/11/22 09:06] admin |
projects:test_and_measurement_home_lab [2021/05/20 19:49] (current) admin [Binocular microscops] |
||
---|---|---|---|
Line 21: | Line 21: | ||
>>> s.sendall('meas:volt:dc? 10,0.001\n') | >>> s.sendall('meas:volt:dc? 10,0.001\n') | ||
>>> data=s.recv(1024) | >>> data=s.recv(1024) | ||
+ | >>> data | ||
+ | '+7.33658297E-05\n' | ||
>>> print data | >>> print data | ||
+ | +7.33658297E-05 | ||
+ | |||
>>> s.close() | >>> s.close() | ||
</code> | </code> | ||
=== Python - using pyvisa package === | === Python - using pyvisa package === | ||
- | * install pyvisa first - following example is run on s11.4 | + | * install pyvisa first - on Ubuntu 18.04 |
+ | <code> | ||
+ | $ sudo apt-get install pyvisa | ||
+ | </code> | ||
+ | * on Oracle Solaris s11.4 | ||
<code> | <code> | ||
# pip install pyvisa | # pip install pyvisa | ||
Line 54: | Line 62: | ||
$ python | $ python | ||
>>> import pyvisa | >>> import pyvisa | ||
- | >>> rm = pyvisa.ResourceManager() | + | >>> rm = pyvisa.ResourceManager() <--- work on Solaris, not on Ubuntu |
+ | >>> rm = pyvisa.ResourceManager('@py') <--- works on both Solaris and Ubuntu | ||
>>> inst = rm.open_resource('TCPIP0::34465a::inst0::INSTR') | >>> inst = rm.open_resource('TCPIP0::34465a::inst0::INSTR') | ||
>>> print (inst.query("*IDN?")) | >>> print (inst.query("*IDN?")) | ||
Line 64: | Line 73: | ||
>>> print(inst.query("MEAS:VOLT:DC? 10,0.001")) | >>> print(inst.query("MEAS:VOLT:DC? 10,0.001")) | ||
+7.79228646E-01 | +7.79228646E-01 | ||
+ | |||
+ | >>> print(float(inst.query("MEAS:VOLT:DC? 100,0.00001"))) | ||
+ | 12.7884186 | ||
>>> data=inst.query("MEAS:VOLT:DC? 10,0.001") | >>> data=inst.query("MEAS:VOLT:DC? 10,0.001") | ||
Line 75: | Line 87: | ||
* channel 1: 0-30V/0-12A | * channel 1: 0-30V/0-12A | ||
* channel 2: 0-6V/0-3A | * channel 2: 0-6V/0-3A | ||
- | ==== Remote control via LAN ==== | + | ==== Remote control ==== |
+ | === Telnet === | ||
<code> | <code> | ||
$ telnet 192.168.1.99 3000 | $ telnet 192.168.1.99 3000 | ||
Line 116: | Line 129: | ||
* port 1861 | * port 1861 | ||
* LeCroy VICP protocol | * LeCroy VICP protocol | ||
- | ===== 6,5 DMM ===== | + | ===== Available 6,5 DMMs ===== |
==== www.amt.cz ==== | ==== www.amt.cz ==== | ||
=== Siglent SDM 3065X === | === Siglent SDM 3065X === | ||
Line 175: | Line 188: | ||
* price w/ DPH: 25 703,- | * price w/ DPH: 25 703,- | ||
* 3-year warranty | * 3-year warranty | ||
- | + | ===== Binocular microscops ===== | |
+ | * [[https://www.hotair.cz/mikroskopy/binokularni/stranka-1-24.html|www.hotair.cz]] | ||
+ | * [[https://www.mikroshop.cz/cz/mikroskop-levenhuk-4st-binokularni|www.mikroshop.cz]] - Levenhuk 4ST 20x,40x 130mm |