You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basic sensors communication concepts are described on the corresponding :ref:`page <basic_sensors_basics>`
5
+
6
+
Kurt J. Lesker pressure gauges
7
+
==============================
8
+
9
+
KJL manufactures a range of pressure gauges and controllers with several different standards and communication protocols. The code has been tested with KJL300 pressure gauge using its built-in RS232 connection.
10
+
11
+
The main device classes are :class:`pylablib.devices.KJL.KJL300<.KJL.base.KJL300>`.
12
+
13
+
14
+
Software requirements
15
+
-----------------------
16
+
17
+
The devices provide a bare RS232 interface, so any appropriate USB-to-RS232 adapter should work.
18
+
19
+
20
+
Connection
21
+
-----------------------
22
+
23
+
Since the devices are identified as COM ports, they use the standard :ref:`connection method <devices_connection>`, and all you need to know is their COM-port address (e.g., ``COM5``)::
24
+
25
+
>> from pylablib.devices import KJL
26
+
>> gauge = KJL.KJL300("COM5")
27
+
>> gauge.close()
28
+
29
+
30
+
Operation
31
+
-----------------------
32
+
33
+
KJL300
34
+
~~~~~~~~~~~~~~~~~~~~~~~
35
+
36
+
The operation of this gauge is fairly straightforward, but there is a couple of points to keep in mind:
37
+
38
+
- Even standard RS232 operation requires specifying the device RS485 address. IT can be specified using ``addr`` parameter on creation. By default, the class assumes the factory default of 1, but if it is ever changed on the device, it needs to be specified correctly.
39
+
- By default, the pressure is always returned and set in Pa regardless of the display units.
0 commit comments