Wiki » Historique » Version 2

« Précédent - Version 2/7 (diff) - Suivant » - Version actuelle
David PICARD, 08/10/2018 18:03


swlk4w Wiki

Swagelok 4W actuated valve :
  • Actuator : Gulex K8
  • Port size : 3/8"
  • Port configuration 4 to 1 selector

Install

From source

Same procedure for Linux and Windows.

$ git clone https://forge.clermont-universite.fr/git/swlk4w

Binaries (Windows)

Download Windows binaries under the "Fichiers" tab.

Windows driver

For Windows versions earlier than 10, the STMicroelectronics VCP (virtual COM port) driver is required. With Windows versions starting at 10, ST recommends to use the driver provided with by the OS.

Using

Generate a config file

To generate a config file, open a command prompt, and type :

swlk4w -g myconf.conf

Here is the file generated on Windows :

[serial]
port_name = COM22
baud_rate = 115200
data_bits = 8
parity = none
stop_bits = 1

[data]
data_directory = %TEMP%
geographical_location = XXX

[timing]
sync_start_minute_multiple = 15
sec_per_position = 900
sec_read_delay = 10

[sequence]
step01 = 1
step02 = 2
step03 = 3
step04 = 4

[captions]
pos1 = unused1
pos2 = unused2
pos3 = unused3
pos4 = unused4