Startup
This commit is contained in:
67
config/devices - Copy.properties
Normal file
67
config/devices - Copy.properties
Normal file
@@ -0,0 +1,67 @@
|
||||
img=ch.psi.pshell.prosilica.Prosilica|25001 "PacketSize=1522;PixelFormat=Mono8;BinningX=1;BinningY=1;RegionX=300;RegionY=200;Width=1000;Height=1000"|||false
|
||||
gripper_cam=ch.psi.pshell.imaging.MjpegSource|http://129.129.110.114/axis-cgi/mjpg/video.cgi||-1000|
|
||||
microscan=ch.psi.pshell.serial.TcpDevice|129.129.100.200:2001|||
|
||||
microscan_cmd=ch.psi.pshell.serial.TcpDevice|129.129.100.200:2003|||
|
||||
ue=LaserUE|COM4|||false
|
||||
#robot=RobotTcp|127.0.0.1:1000|||
|
||||
#onewire=ch.psi.pshell.serial.TcpDevice|129.129.126.83:5000|||
|
||||
puck_detection=ch.psi.mxsc.PuckDetection|tell-raspberrypi:5556|||
|
||||
#robot_modbus=ch.psi.pshell.modbus.ModbusTCP|129.129.126.100:502|||
|
||||
#jf1=ch.psi.pshell.modbus.AnalogInput|robot_modbus 0||100|
|
||||
#jf2=ch.psi.pshell.modbus.AnalogInput|robot_modbus 1||100|
|
||||
#jf3=ch.psi.pshell.modbus.AnalogInput|robot_modbus 2||100|
|
||||
#jf4=ch.psi.pshell.modbus.AnalogInput|robot_modbus 3||100|
|
||||
#jf5=ch.psi.pshell.modbus.AnalogInput|robot_modbus 4||100|
|
||||
#jf6=ch.psi.pshell.modbus.AnalogInput|robot_modbus 5||100|
|
||||
#robot_sts=ch.psi.pshell.modbus.AnalogInputArray|robot_modbus 6 6||100|
|
||||
#robot_cmd=ch.psi.pshell.modbus.AnalogOutput|robot_modbus 12|||
|
||||
#robot_args=ch.psi.pshell.modbus.AnalogOutputArray|robot_modbus 47 12|||
|
||||
#robot_req=ch.psi.pshell.modbus.AnalogOutput|robot_modbus 13|||
|
||||
#robot_ack=ch.psi.pshell.modbus.AnalogInput|robot_modbus 14|||
|
||||
#robot_ret=ch.psi.pshell.modbus.AnalogInputArray|robot_modbus 15 12|||
|
||||
#wago_back=ch.psi.pshell.modbus.ModbusTCP|SF-TEST-WAGO1:502|||
|
||||
wago=ch.psi.pshell.modbus.ModbusTCP|wago-mxsc-1:502|||
|
||||
led_ok_1=ch.psi.pshell.modbus.DigitalInput|wago 0||1000|
|
||||
led_ok_2=ch.psi.pshell.modbus.DigitalInput|wago 1||1000|
|
||||
led_ok_3=ch.psi.pshell.modbus.DigitalInput|wago 2||1000|
|
||||
feedback_local_safety=ch.psi.pshell.modbus.DigitalInput|wago 3||1000|
|
||||
feedback_psys_safety=ch.psi.pshell.modbus.DigitalInput|wago 4||1000|
|
||||
filling_phase_separator=ch.psi.pshell.modbus.DigitalInput|wago 5||1000|
|
||||
filling_dewar=ch.psi.pshell.modbus.DigitalInput|wago 6||1000|
|
||||
dewar_level_high_alarm=ch.psi.pshell.modbus.DigitalInput|wago 7||1000|
|
||||
guiding_tool_park=ch.psi.pshell.modbus.DigitalInput|wago 8||1000|
|
||||
air_pressure_ok=ch.psi.pshell.modbus.DigitalInput|wago 9||1000|false
|
||||
n2_pressure_ok=ch.psi.pshell.modbus.DigitalInput|wago 10||1000|
|
||||
he_chamber_valve_1=ch.psi.pshell.modbus.DigitalInput|wago 15||1000|
|
||||
he_chamber_valve_2=ch.psi.pshell.modbus.DigitalInput|wago 16||1000|
|
||||
relays=ch.psi.pshell.modbus.DigitalOutputArray|wago 0 16||1000|
|
||||
release_local_safety=ch.psi.pshell.modbus.DigitalOutput|wago 0|||
|
||||
release_psys_safety=ch.psi.pshell.modbus.DigitalOutput|wago 1|||
|
||||
ln2_main_power=ch.psi.pshell.modbus.DigitalOutput|wago 2|||
|
||||
rim_heater=ch.psi.pshell.modbus.DigitalOutput|wago 3|||
|
||||
phase_separator_ln2=ch.psi.pshell.modbus.DigitalOutput|wago 4|||
|
||||
dewar_ln2=ch.psi.pshell.modbus.DigitalOutput|wago 5|||false
|
||||
valve_he_chamber=ch.psi.pshell.modbus.DigitalOutput|wago 6|||
|
||||
gripper_dryer=ch.psi.pshell.modbus.DigitalOutput|wago 7|||
|
||||
valve_1=ch.psi.pshell.modbus.DigitalOutput|wago 8|||
|
||||
valve_2=ch.psi.pshell.modbus.DigitalOutput|wago 9|||
|
||||
valve_3=ch.psi.pshell.modbus.DigitalOutput|wago 10|||
|
||||
valve_4=ch.psi.pshell.modbus.DigitalOutput|wago 11|||
|
||||
#spare_do_1=ch.psi.pshell.modbus.DigitalOutput|wago 12|||
|
||||
#spare_do_2=ch.psi.pshell.modbus.DigitalOutput|wago 13|||
|
||||
#spare_do_3=ch.psi.pshell.modbus.DigitalOutput|wago 14|||
|
||||
#spare_do_4=ch.psi.pshell.modbus.DigitalOutput|wago 15|||
|
||||
phase_separator_level=ch.psi.pshell.modbus.ReadonlyProcessVariable|wago 0||10000|
|
||||
dewar_level=ch.psi.pshell.modbus.ReadonlyProcessVariable|wago 1||10000|
|
||||
rim_heater_temp=ch.psi.pshell.modbus.ReadonlyProcessVariable|wago 2||10000|
|
||||
air_pressure=ch.psi.pshell.modbus.ReadonlyProcessVariable|wago 3||10000|
|
||||
n2_pressure=ch.psi.pshell.modbus.ReadonlyProcessVariable|wago 4||10000|
|
||||
#spare_ai_1=ch.psi.pshell.modbus.AnalogInput|wago 5|||
|
||||
#spare_ai_2=ch.psi.pshell.modbus.AnalogInput|wago 6|||
|
||||
#spare_ai_3=ch.psi.pshell.modbus.AnalogInput|wago 7|||
|
||||
led_ctrl_1=ch.psi.pshell.modbus.ProcessVariable|wago 0|||
|
||||
led_ctrl_2=ch.psi.pshell.modbus.ProcessVariable|wago 1|||
|
||||
led_ctrl_3=ch.psi.pshell.modbus.ProcessVariable|wago 2|||
|
||||
#spare_ao_3=ch.psi.pshell.modbus.AnalogOutput|wago 3|||
|
||||
#cam=ch.psi.pshell.epics.AreaDetector|MX-SAMCAM|||
|
||||
#img_back=ch.psi.pshell.imaging.CameraSource|cam||-100|
|
||||
42
config/devices-modbus.properties
Normal file
42
config/devices-modbus.properties
Normal file
@@ -0,0 +1,42 @@
|
||||
wago=ch.psi.pshell.modbus.ModbusTCP|tell6d-wago:502|||
|
||||
led_ok_1=ch.psi.pshell.modbus.DigitalInput|wago 0||1000|
|
||||
led_ok_2=ch.psi.pshell.modbus.DigitalInput|wago 1||1000|
|
||||
led_ok_3=ch.psi.pshell.modbus.DigitalInput|wago 2||1000|
|
||||
feedback_local_safety=ch.psi.pshell.modbus.DigitalInput|wago 3||1000|
|
||||
feedback_psys_safety=ch.psi.pshell.modbus.DigitalInput|wago 4||1000|
|
||||
filling_dewar=ch.psi.pshell.modbus.DigitalInput|wago 5||1000|
|
||||
dewar_level_high_alarm=ch.psi.pshell.modbus.DigitalInput|wago 6||1000|
|
||||
guiding_tool_park=ch.psi.pshell.modbus.DigitalInput|wago 7||1000|
|
||||
air_pressure_ok=ch.psi.pshell.modbus.DigitalInput|wago 8||1000|false
|
||||
n2_pressure_ok=ch.psi.pshell.modbus.DigitalInput|wago 9||1000|
|
||||
smc_magnet_status=ch.psi.pshell.modbus.DigitalInput|wago 10||1000|
|
||||
smc_mounted_1=ch.psi.pshell.modbus.DigitalInput|wago 11||1000|
|
||||
smc_mounted_2=ch.psi.pshell.modbus.DigitalInput|wago 12||1000|
|
||||
magnet_release=ch.psi.pshell.modbus.DigitalInput|wago 13||500|
|
||||
spare_di_2=ch.psi.pshell.modbus.DigitalInput|wago 14||500|
|
||||
spare_di_3=ch.psi.pshell.modbus.DigitalInput|wago 15||500|
|
||||
spare_di_4=ch.psi.pshell.modbus.DigitalInput|wago 16||500|
|
||||
relays=ch.psi.pshell.modbus.DigitalOutputArray|wago 0 16||1000|
|
||||
release_local_safety=ch.psi.pshell.modbus.DigitalOutput|wago 0|||
|
||||
release_psys_safety=ch.psi.pshell.modbus.DigitalOutput|wago 1|||
|
||||
#spare_do_1=ch.psi.pshell.modbus.DigitalOutput|wago 2|||
|
||||
#spare_do_2=ch.psi.pshell.modbus.DigitalOutput|wago 3|||
|
||||
#spare_do_3=ch.psi.pshell.modbus.DigitalOutput|wago 4|||
|
||||
gripper_dryer=ch.psi.pshell.modbus.DigitalOutput|wago 5|||
|
||||
smc_sup_det=ch.psi.pshell.modbus.DigitalOutput|wago 6|||
|
||||
valve_1=ch.psi.pshell.modbus.DigitalOutput|wago 7|||
|
||||
valve_2=ch.psi.pshell.modbus.DigitalOutput|wago 8|||
|
||||
valve_3=ch.psi.pshell.modbus.DigitalOutput|wago 9|||
|
||||
valve_4=ch.psi.pshell.modbus.DigitalOutput|wago 10|||
|
||||
dewar_level=ch.psi.pshell.modbus.ReadonlyProcessVariable|wago 0||10000|
|
||||
rim_heater_temp=ch.psi.pshell.modbus.ReadonlyProcessVariable|wago 1||10000|
|
||||
#spare_ai_1=ch.psi.pshell.modbus.AnalogInput|wago 2|||false
|
||||
#spare_ai_2=ch.psi.pshell.modbus.AnalogInput|wago 3|||
|
||||
smc_current_rb=ch.psi.pshell.modbus.ReadonlyProcessVariable|wago 4||1000|
|
||||
#spare_ai_3=ch.psi.pshell.modbus.AnalogInput|wago 5|||
|
||||
#spare_ai_4=ch.psi.pshell.modbus.AnalogInput|wago 6|||
|
||||
#spare_ai_5=ch.psi.pshell.modbus.AnalogInput|wago 7|||
|
||||
led_ctrl_1=ch.psi.pshell.modbus.ProcessVariable|wago 0|||
|
||||
led_ctrl_2=ch.psi.pshell.modbus.ProcessVariable|wago 1|||
|
||||
led_ctrl_3=ch.psi.pshell.modbus.ProcessVariable|wago 2|||
|
||||
smc_current=ch.psi.pshell.modbus.ProcessVariable|wago 3|||
|
||||
57
config/devices.properties
Normal file
57
config/devices.properties
Normal file
@@ -0,0 +1,57 @@
|
||||
img=ch.psi.pshell.prosilica.Prosilica|204464 "PacketSize=1504;PixelFormat=Mono8;BinningX=1;BinningY=1;RegionX=290;RegionY=130;Width=1000;Height=1000;MulticastEnable=Off"||-200|false
|
||||
#gripper_cam=ch.psi.pshell.imaging.MjpegSource|http://axis-accc8ea5e463.psi.ch/axis-cgi/mjpg/video.cgi?camera=1 reopen||-200|false
|
||||
#monitoring_cam=ch.psi.pshell.imaging.MjpegSource|http://axis-accc8ea5e463.psi.ch/axis-cgi/mjpg/video.cgi?camera=2 reopen||-200|
|
||||
#top_cam=ch.psi.pshell.imaging.MjpegSource|http://axis-accc8ea5e463.psi.ch/axis-cgi/mjpg/video.cgi?camera=3 true||-200|
|
||||
#cam=ch.psi.pshell.epics.AreaDetector|MX-SAMCAM|||
|
||||
mscan_pin=ch.psi.pshell.serial.TcpDevice|129.129.110.109:2001|||
|
||||
mscan_pin_cmd=ch.psi.pshell.serial.TcpDevice|129.129.110.109:2003|||
|
||||
mscan_puck=ch.psi.pshell.serial.TcpDevice|129.129.110.93:2001|||
|
||||
mscan_puck_cmd=ch.psi.pshell.serial.TcpDevice|129.129.110.93:2003|||
|
||||
ue=LaserUE|COM3 50 35|||true
|
||||
puck_detection=ch.psi.mxsc.PuckDetection|tell6d-raspberrypi:5556|||
|
||||
wago=ch.psi.pshell.modbus.ModbusTCP|tell6d-wago:502|||
|
||||
led_ok_1=ch.psi.pshell.modbus.DigitalInput|wago 0||1000|
|
||||
led_ok_2=ch.psi.pshell.modbus.DigitalInput|wago 1||1000|
|
||||
led_ok_3=ch.psi.pshell.modbus.DigitalInput|wago 2||1000|
|
||||
feedback_local_safety=ch.psi.pshell.modbus.DigitalInput|wago 3||1000|
|
||||
feedback_psys_safety=ch.psi.pshell.modbus.DigitalInput|wago 4||1000|
|
||||
filling_dewar=ch.psi.pshell.modbus.DigitalInput|wago 5||1000|
|
||||
dewar_level_high_alarm=ch.psi.pshell.modbus.DigitalInput|wago 6||1000|
|
||||
guiding_tool_park=ch.psi.pshell.modbus.DigitalInput|wago 7||1000|
|
||||
air_pressure_ok=ch.psi.pshell.modbus.DigitalInput|wago 8||1000|false
|
||||
n2_pressure_ok=ch.psi.pshell.modbus.DigitalInput|wago 9||1000|
|
||||
smc_magnet_status=ch.psi.pshell.modbus.DigitalInput|wago 10||1000|
|
||||
smc_mounted_1=ch.psi.pshell.modbus.DigitalInput|wago 11||1000|
|
||||
smc_mounted_2=ch.psi.pshell.modbus.DigitalInput|wago 12||1000|
|
||||
magnet_release=ch.psi.pshell.modbus.DigitalInput|wago 13||500|
|
||||
detector_cleared=ch.psi.pshell.modbus.DigitalInput|wago 14||1000|
|
||||
spare_di_3=ch.psi.pshell.modbus.DigitalInput|wago 15||1000|
|
||||
spare_di_4=ch.psi.pshell.modbus.DigitalInput|wago 16||1000|
|
||||
relays=ch.psi.pshell.modbus.DigitalOutputArray|wago 0 16||1000|
|
||||
release_local_safety=ch.psi.pshell.modbus.DigitalOutput|wago 0|||
|
||||
release_psys_safety=ch.psi.pshell.modbus.DigitalOutput|wago 1|||
|
||||
#spare_do_1=ch.psi.pshell.modbus.DigitalOutput|wago 2|||
|
||||
#spare_do_2=ch.psi.pshell.modbus.DigitalOutput|wago 3|||
|
||||
#spare_do_3=ch.psi.pshell.modbus.DigitalOutput|wago 4|||
|
||||
gripper_dryer=ch.psi.pshell.modbus.DigitalOutput|wago 5|||
|
||||
smc_sup_det=ch.psi.pshell.modbus.DigitalOutput|wago 6|||
|
||||
valve_1=ch.psi.pshell.modbus.DigitalOutput|wago 7||1000|
|
||||
valve_2=ch.psi.pshell.modbus.DigitalOutput|wago 10||1000|
|
||||
valve_3=ch.psi.pshell.modbus.DigitalOutput|wago 8||1000|
|
||||
valve_4=ch.psi.pshell.modbus.DigitalOutput|wago 11||1000|
|
||||
valve_5=ch.psi.pshell.modbus.DigitalOutput|wago 9||1000|
|
||||
valve_6=ch.psi.pshell.modbus.DigitalOutput|wago 12||1000|
|
||||
valve_7=ch.psi.pshell.modbus.DigitalOutput|wago 13||1000|
|
||||
valve_8=ch.psi.pshell.modbus.DigitalOutput|wago 14||1000|
|
||||
dewar_level=ch.psi.pshell.modbus.ReadonlyProcessVariable|wago 0||10000|
|
||||
rim_heater_temp=ch.psi.pshell.modbus.ReadonlyProcessVariable|wago 1||10000|
|
||||
#spare_ai_1=ch.psi.pshell.modbus.AnalogInput|wago 2|||false
|
||||
#spare_ai_2=ch.psi.pshell.modbus.AnalogInput|wago 3|||
|
||||
smc_current_rb=ch.psi.pshell.modbus.ReadonlyProcessVariable|wago 4||1000|
|
||||
#spare_ai_3=ch.psi.pshell.modbus.AnalogInput|wago 5|||
|
||||
#spare_ai_4=ch.psi.pshell.modbus.AnalogInput|wago 6|||
|
||||
#spare_ai_5=ch.psi.pshell.modbus.AnalogInput|wago 7|||
|
||||
led_ctrl_1=ch.psi.pshell.modbus.ProcessVariable|wago 0|||
|
||||
led_ctrl_2=ch.psi.pshell.modbus.ProcessVariable|wago 1|||
|
||||
led_ctrl_3=ch.psi.pshell.modbus.ProcessVariable|wago 2|||
|
||||
smc_current=ch.psi.pshell.modbus.ProcessVariable|wago 3|||
|
||||
11
config/jcae.properties
Normal file
11
config/jcae.properties
Normal file
@@ -0,0 +1,11 @@
|
||||
#Tue Sep 06 15:10:24 CEST 2016
|
||||
ch.psi.jcae.ContextFactory.addressList=
|
||||
ch.psi.jcae.ContextFactory.serverPort=
|
||||
ch.psi.jcae.ContextFactory.maxArrayBytes=20000000
|
||||
ch.psi.jcae.ChannelFactory.retries=1
|
||||
ch.psi.jcae.ChannelFactory.timeout=500
|
||||
ch.psi.jcae.impl.DefaultChannelService.retries=2
|
||||
ch.psi.jcae.impl.DefaultChannelService.timeout=1000
|
||||
ch.psi.jcae.ContextFactory.autoAddressList=true
|
||||
ch.psi.jcae.ContextFactory.useShellVariables=false
|
||||
ch.psi.jcae.ContextFactory.addLocalBroadcastInterfaces=false
|
||||
9
config/mail.properties
Normal file
9
config/mail.properties
Normal file
@@ -0,0 +1,9 @@
|
||||
#Mon Oct 23 10:53:54 CEST 2017
|
||||
auth=None
|
||||
from=
|
||||
host=
|
||||
port=0
|
||||
pwd=
|
||||
smsSuffix=@sms.switch.ch
|
||||
to=
|
||||
usr=
|
||||
21
config/plugins.properties
Normal file
21
config/plugins.properties
Normal file
@@ -0,0 +1,21 @@
|
||||
MXSC-1.10.0\ -\ Back.jar=disabled
|
||||
Commands.java=disabled
|
||||
Recovery.java=disabled
|
||||
MXSC-1.10.0.jar=disabled
|
||||
WagoPanel.java=enabled
|
||||
LaserUEPanel.java=enabled
|
||||
BarcodeReaderPanel.java=enabled
|
||||
PuckDetectionPanel.java=enabled
|
||||
HexiposiPanel.java=enabled
|
||||
MjpegSource2.java=enabled
|
||||
LN2.java=disabled
|
||||
Hexiposi.java=disabled
|
||||
RobotPanel.java=enabled
|
||||
SmartMagnetConfig.java=disabled
|
||||
SmartMagnetPanel.java=enabled
|
||||
LaserUE.java=enabled
|
||||
TestZMQ.java=disabled
|
||||
RobotModbus.java=disabled
|
||||
RobotTcp.java=disabled
|
||||
Beeper.java=disabled
|
||||
gui.java=disabled
|
||||
19
config/settings.properties
Normal file
19
config/settings.properties
Normal file
@@ -0,0 +1,19 @@
|
||||
#Tue Sep 08 11:53:06 CEST 2020
|
||||
dry_mount_counter=1
|
||||
room_temperature_enabled=false
|
||||
pin_offset=0.0
|
||||
puck_types=true
|
||||
pin_cleaner_timer=60
|
||||
imaging_enabled=false
|
||||
dry_timestamp=1.599556340515E9
|
||||
roi_h=1000
|
||||
led_level=0.0
|
||||
beamline_status_enabled=false
|
||||
force_dry_mount_count=15
|
||||
roi_y=123
|
||||
barcode_reader_scan_pucks=false
|
||||
cold_position_timeout=3600
|
||||
force_dry_timeout=2700
|
||||
roi_w=1000
|
||||
roi_x=289
|
||||
valve_control=false
|
||||
18
config/setup-modbus.properties
Normal file
18
config/setup-modbus.properties
Normal file
@@ -0,0 +1,18 @@
|
||||
#Wed Sep 14 15:16:45 CEST 2016
|
||||
configFile={config}/config.properties
|
||||
configFileDevices={config}/devices-modbus.properties
|
||||
configFilePlugins={config}/plugins.properties
|
||||
configFileTasks={config}/tasks.properties
|
||||
configPath={home}/config
|
||||
contextPath={outp}/context
|
||||
dataPath={outp}/data
|
||||
devicesPath={home}/devices
|
||||
extensionsPath={home}/extensions
|
||||
imagesPath={outp}/images
|
||||
libraryPath={script}; {script}/Lib
|
||||
logPath={outp}/log
|
||||
pluginsPath={home}/plugins
|
||||
scriptPath={home}/script
|
||||
scriptType=py
|
||||
sessionsPath={outp}/sessions
|
||||
wwwPath={home}/www
|
||||
20
config/setup.properties
Normal file
20
config/setup.properties
Normal file
@@ -0,0 +1,20 @@
|
||||
#Tue Sep 17 15:06:05 CEST 2019
|
||||
configFile={config}/config.properties
|
||||
configFileDevices={config}/devices.properties
|
||||
configFilePlugins={config}/plugins.properties
|
||||
configFileSettings={config}/settings.properties
|
||||
configFileTasks={config}/tasks.properties
|
||||
configFileVariables={config}/variables.properties
|
||||
configPath={home}/config
|
||||
contextPath={outp}/context
|
||||
dataPath={outp}/data
|
||||
devicesPath={home}/devices
|
||||
extensionsPath={home}/extensions
|
||||
imagesPath={outp}/images
|
||||
libraryPath={script}; {script}/Lib
|
||||
logPath={outp}/log
|
||||
pluginsPath={home}/plugins
|
||||
scriptPath={home}/script
|
||||
scriptType=py
|
||||
sessionsPath={outp}/sessions
|
||||
wwwPath={home}/www
|
||||
2
config/tasks.properties
Normal file
2
config/tasks.properties
Normal file
@@ -0,0 +1,2 @@
|
||||
tasks/LedMonitoring=120
|
||||
tasks/ColdPositionTimeout=300
|
||||
2
config/variables.properties
Normal file
2
config/variables.properties
Normal file
@@ -0,0 +1,2 @@
|
||||
#Tue Sep 01 09:11:47 CEST 2020
|
||||
FileSequentialNumber=184
|
||||
20
devices/20161117_163816.png.properties
Normal file
20
devices/20161117_163816.png.properties
Normal file
@@ -0,0 +1,20 @@
|
||||
#Mon Oct 23 15:10:20 CEST 2017
|
||||
flipHorizontally=false
|
||||
flipVertically=false
|
||||
grayscale=false
|
||||
invert=false
|
||||
rescaleFactor=1.0
|
||||
rescaleOffset=0.0
|
||||
roiHeight=-1
|
||||
roiWidth=-1
|
||||
roiX=0
|
||||
roiY=0
|
||||
rotation=0.0
|
||||
rotationCrop=false
|
||||
scale=1.0
|
||||
spatialCalOffsetX=NaN
|
||||
spatialCalOffsetY=NaN
|
||||
spatialCalScaleX=NaN
|
||||
spatialCalScaleY=NaN
|
||||
spatialCalUnits=mm
|
||||
transpose=false
|
||||
3
devices/A1.properties
Normal file
3
devices/A1.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Fri Jan 31 16:58:30 CET 2020
|
||||
detection=Mechanical
|
||||
disabled=false
|
||||
3
devices/A2.properties
Normal file
3
devices/A2.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Thu Jun 06 15:47:03 CEST 2019
|
||||
detection=Mechanical
|
||||
disabled=false
|
||||
3
devices/A3.properties
Normal file
3
devices/A3.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Tue Jan 21 09:46:43 CET 2020
|
||||
detection=Mechanical
|
||||
disabled=false
|
||||
3
devices/A4.properties
Normal file
3
devices/A4.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Thu Jun 06 15:40:34 CEST 2019
|
||||
detection=Mechanical
|
||||
disabled=false
|
||||
3
devices/A5.properties
Normal file
3
devices/A5.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Tue Jan 21 09:46:49 CET 2020
|
||||
detection=Mechanical
|
||||
disabled=false
|
||||
3
devices/B1.properties
Normal file
3
devices/B1.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Mon Apr 29 16:18:33 CEST 2019
|
||||
detection=Mechanical
|
||||
disabled=false
|
||||
3
devices/B2.properties
Normal file
3
devices/B2.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Mon Apr 29 16:40:00 CEST 2019
|
||||
detection=Mechanical
|
||||
disabled=false
|
||||
3
devices/B3.properties
Normal file
3
devices/B3.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Tue Sep 01 14:03:17 CEST 2020
|
||||
detection=Mechanical
|
||||
disabled=false
|
||||
3
devices/B4.properties
Normal file
3
devices/B4.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Sat Dec 14 17:27:09 CET 2019
|
||||
detection=Mechanical
|
||||
disabled=false
|
||||
3
devices/B5.properties
Normal file
3
devices/B5.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Wed Dec 11 08:55:08 CET 2019
|
||||
detection=Mechanical
|
||||
disabled=false
|
||||
1
devices/BasePlate.properties
Normal file
1
devices/BasePlate.properties
Normal file
@@ -0,0 +1 @@
|
||||
#Fri Feb 10 14:35:38 CET 2017
|
||||
3
devices/C1.properties
Normal file
3
devices/C1.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Tue Sep 01 08:37:42 CEST 2020
|
||||
detection=Mechanical
|
||||
disabled=false
|
||||
3
devices/C2.properties
Normal file
3
devices/C2.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Tue Sep 01 13:18:50 CEST 2020
|
||||
detection=Mechanical
|
||||
disabled=false
|
||||
3
devices/C3.properties
Normal file
3
devices/C3.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Thu Sep 19 08:23:37 CEST 2019
|
||||
detection=Mechanical
|
||||
disabled=false
|
||||
3
devices/C4.properties
Normal file
3
devices/C4.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Wed Dec 11 08:56:26 CET 2019
|
||||
detection=Mechanical
|
||||
disabled=false
|
||||
3
devices/C5.properties
Normal file
3
devices/C5.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Thu Sep 19 08:23:43 CEST 2019
|
||||
detection=Mechanical
|
||||
disabled=false
|
||||
3
devices/D1.properties
Normal file
3
devices/D1.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Thu Sep 19 08:23:48 CEST 2019
|
||||
detection=Mechanical
|
||||
disabled=false
|
||||
3
devices/D2.properties
Normal file
3
devices/D2.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Tue Sep 08 09:28:59 CEST 2020
|
||||
detection=Mechanical
|
||||
disabled=false
|
||||
3
devices/D3.properties
Normal file
3
devices/D3.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Tue Sep 08 09:29:02 CEST 2020
|
||||
detection=Mechanical
|
||||
disabled=false
|
||||
3
devices/D4.properties
Normal file
3
devices/D4.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Tue Sep 08 09:29:05 CEST 2020
|
||||
detection=Mechanical
|
||||
disabled=false
|
||||
3
devices/D5.properties
Normal file
3
devices/D5.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Tue Sep 08 09:29:08 CEST 2020
|
||||
detection=Mechanical
|
||||
disabled=false
|
||||
3
devices/E1.properties
Normal file
3
devices/E1.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Fri Aug 14 14:28:32 CEST 2020
|
||||
detection=Mechanical
|
||||
disabled=true
|
||||
3
devices/E2.properties
Normal file
3
devices/E2.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Fri Aug 14 10:51:15 CEST 2020
|
||||
detection=Mechanical
|
||||
disabled=true
|
||||
3
devices/E3.properties
Normal file
3
devices/E3.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Fri Aug 14 10:51:19 CEST 2020
|
||||
detection=Mechanical
|
||||
disabled=true
|
||||
3
devices/E4.properties
Normal file
3
devices/E4.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Fri Aug 14 10:51:24 CEST 2020
|
||||
detection=Mechanical
|
||||
disabled=true
|
||||
3
devices/E5.properties
Normal file
3
devices/E5.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Fri Aug 14 10:51:29 CEST 2020
|
||||
detection=Mechanical
|
||||
disabled=true
|
||||
3
devices/F1.properties
Normal file
3
devices/F1.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Fri Aug 14 11:31:09 CEST 2020
|
||||
detection=Mechanical
|
||||
disabled=true
|
||||
3
devices/F2.properties
Normal file
3
devices/F2.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Fri Aug 14 10:51:39 CEST 2020
|
||||
detection=Mechanical
|
||||
disabled=true
|
||||
3
devices/F3.properties
Normal file
3
devices/F3.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Fri Aug 14 10:51:44 CEST 2020
|
||||
detection=Mechanical
|
||||
disabled=true
|
||||
3
devices/F4.properties
Normal file
3
devices/F4.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Fri Aug 14 10:51:47 CEST 2020
|
||||
detection=Mechanical
|
||||
disabled=true
|
||||
3
devices/F5.properties
Normal file
3
devices/F5.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Fri Aug 14 10:51:50 CEST 2020
|
||||
detection=Mechanical
|
||||
disabled=true
|
||||
3
devices/R1.properties
Normal file
3
devices/R1.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Tue Feb 19 12:07:25 CET 2019
|
||||
detection=Both
|
||||
disabled=false
|
||||
3
devices/R2.properties
Normal file
3
devices/R2.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Tue Feb 19 12:07:25 CET 2019
|
||||
detection=Both
|
||||
disabled=false
|
||||
3
devices/R3.properties
Normal file
3
devices/R3.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Tue Feb 19 12:07:25 CET 2019
|
||||
detection=Both
|
||||
disabled=false
|
||||
3
devices/R4.properties
Normal file
3
devices/R4.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Tue Feb 19 12:07:25 CET 2019
|
||||
detection=Both
|
||||
disabled=false
|
||||
3
devices/R5.properties
Normal file
3
devices/R5.properties
Normal file
@@ -0,0 +1,3 @@
|
||||
#Tue Feb 19 12:07:25 CET 2019
|
||||
detection=Both
|
||||
disabled=false
|
||||
1
devices/RoomTemperatureBasePlate.properties
Normal file
1
devices/RoomTemperatureBasePlate.properties
Normal file
@@ -0,0 +1 @@
|
||||
#Tue Feb 19 12:07:25 CET 2019
|
||||
10
devices/Time.properties
Normal file
10
devices/Time.properties
Normal file
@@ -0,0 +1,10 @@
|
||||
#Wed Jun 27 10:48:14 CEST 2018
|
||||
maxValue=NaN
|
||||
minValue=NaN
|
||||
offset=0.0
|
||||
precision=-1
|
||||
resolution=NaN
|
||||
rotation=false
|
||||
scale=1.0
|
||||
sign_bit=0
|
||||
unit=null
|
||||
5
devices/air_pressure.properties
Normal file
5
devices/air_pressure.properties
Normal file
@@ -0,0 +1,5 @@
|
||||
#Thu Mar 01 11:13:34 CET 2018
|
||||
offset=0.0
|
||||
precision=-1
|
||||
scale=1.0
|
||||
unit=null
|
||||
17
devices/cx.properties
Normal file
17
devices/cx.properties
Normal file
@@ -0,0 +1,17 @@
|
||||
#Fri Aug 10 15:47:53 CEST 2018
|
||||
defaultSpeed=2.0
|
||||
estbilizationDelay=0
|
||||
hasEnable=false
|
||||
homingType=None
|
||||
maxSpeed=NaN
|
||||
maxValue=0.0
|
||||
minSpeed=NaN
|
||||
minValue=0.0
|
||||
offset=0.0
|
||||
precision=3
|
||||
resolution=0.001
|
||||
rotation=false
|
||||
scale=1.0
|
||||
sign_bit=0
|
||||
startRetries=1
|
||||
unit=mm
|
||||
17
devices/cz.properties
Normal file
17
devices/cz.properties
Normal file
@@ -0,0 +1,17 @@
|
||||
#Fri Aug 10 15:47:15 CEST 2018
|
||||
defaultSpeed=2.0
|
||||
estbilizationDelay=0
|
||||
hasEnable=false
|
||||
homingType=None
|
||||
maxSpeed=NaN
|
||||
maxValue=0.0
|
||||
minSpeed=NaN
|
||||
minValue=0.0
|
||||
offset=0.0
|
||||
precision=3
|
||||
resolution=0.001
|
||||
rotation=false
|
||||
scale=1.0
|
||||
sign_bit=0
|
||||
startRetries=1
|
||||
unit=mm
|
||||
6
devices/dewar_level.properties
Normal file
6
devices/dewar_level.properties
Normal file
@@ -0,0 +1,6 @@
|
||||
#Tue Jan 22 10:58:09 CET 2019
|
||||
offset=0.0
|
||||
precision=2
|
||||
scale=0.0032
|
||||
sign_bit=0
|
||||
unit=%
|
||||
11
devices/dispatcher.properties
Normal file
11
devices/dispatcher.properties
Normal file
@@ -0,0 +1,11 @@
|
||||
#Thu May 03 11:54:38 CEST 2018
|
||||
disableCompression=false
|
||||
keepListeningOnStop=false
|
||||
mappingIncomplete=null
|
||||
parallelHandlerProcessing=true
|
||||
sendAwaitFirstMessage=false
|
||||
sendBuildChannelConfig=null
|
||||
sendStrategy=null
|
||||
sendSyncTimeout=0
|
||||
socketType=DEFAULT
|
||||
validationInconsistency=null
|
||||
11
devices/dp1.properties
Normal file
11
devices/dp1.properties
Normal file
@@ -0,0 +1,11 @@
|
||||
#Fri Jul 08 10:53:26 CEST 2016
|
||||
motor1=0.0|4.0|8.0|0.0
|
||||
motor2=0.0|5.0|3.0|NaN
|
||||
motor3=null
|
||||
motor4=null
|
||||
motor5=null
|
||||
motor6=null
|
||||
motor7=null
|
||||
motor8=null
|
||||
positions=Park|Ready|Out|Clear
|
||||
precision=-1
|
||||
17
devices/fx.properties
Normal file
17
devices/fx.properties
Normal file
@@ -0,0 +1,17 @@
|
||||
#Fri Aug 10 15:47:14 CEST 2018
|
||||
defaultSpeed=2.0
|
||||
estbilizationDelay=0
|
||||
hasEnable=false
|
||||
homingType=None
|
||||
maxSpeed=NaN
|
||||
maxValue=0.0
|
||||
minSpeed=NaN
|
||||
minValue=0.0
|
||||
offset=0.0
|
||||
precision=3
|
||||
resolution=0.001
|
||||
rotation=false
|
||||
scale=1.0
|
||||
sign_bit=0
|
||||
startRetries=1
|
||||
unit=mm
|
||||
17
devices/fy.properties
Normal file
17
devices/fy.properties
Normal file
@@ -0,0 +1,17 @@
|
||||
#Fri Aug 10 15:47:14 CEST 2018
|
||||
defaultSpeed=2.0
|
||||
estbilizationDelay=0
|
||||
hasEnable=false
|
||||
homingType=None
|
||||
maxSpeed=NaN
|
||||
maxValue=0.0
|
||||
minSpeed=NaN
|
||||
minValue=0.0
|
||||
offset=0.0
|
||||
precision=3
|
||||
resolution=0.001
|
||||
rotation=false
|
||||
scale=1.0
|
||||
sign_bit=0
|
||||
startRetries=1
|
||||
unit=mm
|
||||
20
devices/gripper_cam.properties
Normal file
20
devices/gripper_cam.properties
Normal file
@@ -0,0 +1,20 @@
|
||||
#Thu Jun 28 17:46:46 CEST 2018
|
||||
flipHorizontally=false
|
||||
flipVertically=false
|
||||
grayscale=false
|
||||
invert=false
|
||||
rescaleFactor=1.0
|
||||
rescaleOffset=0.0
|
||||
roiHeight=-1
|
||||
roiWidth=-1
|
||||
roiX=0
|
||||
roiY=0
|
||||
rotation=0.0
|
||||
rotationCrop=false
|
||||
scale=1.0
|
||||
spatialCalOffsetX=NaN
|
||||
spatialCalOffsetY=NaN
|
||||
spatialCalScaleX=NaN
|
||||
spatialCalScaleY=NaN
|
||||
spatialCalUnits=mm
|
||||
transpose=false
|
||||
24
devices/img.properties
Normal file
24
devices/img.properties
Normal file
@@ -0,0 +1,24 @@
|
||||
#Wed Oct 30 16:03:50 CET 2019
|
||||
spatialCalOffsetY=-482.0
|
||||
invert=false
|
||||
colormapMin=6.4
|
||||
spatialCalOffsetX=-476.0
|
||||
rotation=90.5119714057
|
||||
rotationCrop=true
|
||||
scale=1.0
|
||||
rescaleFactor=1.0
|
||||
grayscale=false
|
||||
spatialCalUnits=mm
|
||||
flipVertically=false
|
||||
roiHeight=964
|
||||
spatialCalScaleX=0.49344173073372655
|
||||
spatialCalScaleY=0.48738915251539194
|
||||
flipHorizontally=false
|
||||
colormapAutomatic=false
|
||||
colormapMax=18.133
|
||||
roiY=17
|
||||
roiX=25
|
||||
rescaleOffset=0.0
|
||||
roiWidth=952
|
||||
transpose=false
|
||||
colormap=Grayscale
|
||||
8
devices/led_ctrl.properties
Normal file
8
devices/led_ctrl.properties
Normal file
@@ -0,0 +1,8 @@
|
||||
#Tue Jun 20 15:07:30 CEST 2017
|
||||
maxValue=0.4
|
||||
minValue=0.0
|
||||
offset=0.0
|
||||
precision=2
|
||||
resolution=NaN
|
||||
scale=3.0E-4
|
||||
unit=V
|
||||
9
devices/led_ctrl_1.properties
Normal file
9
devices/led_ctrl_1.properties
Normal file
@@ -0,0 +1,9 @@
|
||||
#Mon Sep 07 09:39:40 CEST 2020
|
||||
minValue=0.0
|
||||
unit=V
|
||||
offset=0.0
|
||||
maxValue=1.0
|
||||
precision=2
|
||||
sign_bit=0
|
||||
scale=3.0E-4
|
||||
resolution=NaN
|
||||
9
devices/led_ctrl_2.properties
Normal file
9
devices/led_ctrl_2.properties
Normal file
@@ -0,0 +1,9 @@
|
||||
#Mon Sep 07 09:39:40 CEST 2020
|
||||
minValue=0.0
|
||||
unit=V
|
||||
offset=0.0
|
||||
maxValue=1.0
|
||||
precision=2
|
||||
sign_bit=0
|
||||
scale=3.0E-4
|
||||
resolution=NaN
|
||||
9
devices/led_ctrl_3.properties
Normal file
9
devices/led_ctrl_3.properties
Normal file
@@ -0,0 +1,9 @@
|
||||
#Mon Sep 07 09:39:40 CEST 2020
|
||||
minValue=0.0
|
||||
unit=V
|
||||
offset=0.0
|
||||
maxValue=1.0
|
||||
precision=2
|
||||
sign_bit=0
|
||||
scale=3.0E-4
|
||||
resolution=NaN
|
||||
9
devices/led_level.properties
Normal file
9
devices/led_level.properties
Normal file
@@ -0,0 +1,9 @@
|
||||
#Tue Jun 19 16:41:24 CEST 2018
|
||||
maxValue=NaN
|
||||
minValue=NaN
|
||||
offset=0.0
|
||||
precision=-1
|
||||
resolution=NaN
|
||||
scale=1.0
|
||||
sign_bit=0
|
||||
unit=null
|
||||
13
devices/m1.properties
Normal file
13
devices/m1.properties
Normal file
@@ -0,0 +1,13 @@
|
||||
#Fri Jun 30 09:37:38 CEST 2017
|
||||
defaultSpeed=1.0
|
||||
estbilizationDelay=0
|
||||
maxSpeed=10.0
|
||||
maxValue=10.0
|
||||
minSpeed=0.1
|
||||
minValue=-10.0
|
||||
offset=0.0
|
||||
precision=2
|
||||
resolution=NaN
|
||||
rotation=false
|
||||
scale=1.0
|
||||
unit=mm
|
||||
13
devices/m2.properties
Normal file
13
devices/m2.properties
Normal file
@@ -0,0 +1,13 @@
|
||||
#Fri Jun 30 09:37:38 CEST 2017
|
||||
defaultSpeed=1.0
|
||||
estbilizationDelay=0
|
||||
maxSpeed=10.0
|
||||
maxValue=10.0
|
||||
minSpeed=0.1
|
||||
minValue=-10.0
|
||||
offset=0.0
|
||||
precision=2
|
||||
resolution=NaN
|
||||
rotation=false
|
||||
scale=1.0
|
||||
unit=mm
|
||||
20
devices/monitoring_cam.properties
Normal file
20
devices/monitoring_cam.properties
Normal file
@@ -0,0 +1,20 @@
|
||||
#Thu Aug 09 11:01:09 CEST 2018
|
||||
flipHorizontally=false
|
||||
flipVertically=false
|
||||
grayscale=false
|
||||
invert=false
|
||||
rescaleFactor=1.0
|
||||
rescaleOffset=0.0
|
||||
roiHeight=-1
|
||||
roiWidth=-1
|
||||
roiX=0
|
||||
roiY=0
|
||||
rotation=0.0
|
||||
rotationCrop=false
|
||||
scale=1.0
|
||||
spatialCalOffsetX=NaN
|
||||
spatialCalOffsetY=NaN
|
||||
spatialCalScaleX=NaN
|
||||
spatialCalScaleY=NaN
|
||||
spatialCalUnits=mm
|
||||
transpose=false
|
||||
5
devices/n2_pressure.properties
Normal file
5
devices/n2_pressure.properties
Normal file
@@ -0,0 +1,5 @@
|
||||
#Thu Mar 01 11:13:34 CET 2018
|
||||
offset=0.0
|
||||
precision=-1
|
||||
scale=1.0
|
||||
unit=null
|
||||
9
devices/p1.properties
Normal file
9
devices/p1.properties
Normal file
@@ -0,0 +1,9 @@
|
||||
#Fri Jun 30 09:37:38 CEST 2017
|
||||
maxValue=1000.0
|
||||
minValue=0.0
|
||||
offset=0.0
|
||||
precision=-1
|
||||
resolution=NaN
|
||||
rotation=false
|
||||
scale=1.0
|
||||
unit=mm
|
||||
8
devices/phase_separator.properties
Normal file
8
devices/phase_separator.properties
Normal file
@@ -0,0 +1,8 @@
|
||||
#Wed Feb 28 17:35:59 CET 2018
|
||||
maxValue=30000.0
|
||||
minValue=0.0
|
||||
offset=0.0
|
||||
precision=-1
|
||||
resolution=NaN
|
||||
scale=0.1
|
||||
unit=%
|
||||
6
devices/phase_separator_level.properties
Normal file
6
devices/phase_separator_level.properties
Normal file
@@ -0,0 +1,6 @@
|
||||
#Tue Jun 19 16:41:20 CEST 2018
|
||||
offset=-25.81632
|
||||
precision=2
|
||||
scale=0.003888
|
||||
sign_bit=0
|
||||
unit=%
|
||||
6
devices/rim_heater_temp.properties
Normal file
6
devices/rim_heater_temp.properties
Normal file
@@ -0,0 +1,6 @@
|
||||
#Tue Jun 19 16:41:20 CEST 2018
|
||||
offset=-25.81632
|
||||
precision=2
|
||||
scale=0.003888
|
||||
sign_bit=0
|
||||
unit=C
|
||||
9
devices/robot x.properties
Normal file
9
devices/robot x.properties
Normal file
@@ -0,0 +1,9 @@
|
||||
#Tue Sep 12 15:00:38 CEST 2017
|
||||
maxValue=NaN
|
||||
minValue=NaN
|
||||
offset=0.0
|
||||
precision=-1
|
||||
resolution=NaN
|
||||
rotation=false
|
||||
scale=1.0
|
||||
unit=null
|
||||
8
devices/robot.properties
Normal file
8
devices/robot.properties
Normal file
@@ -0,0 +1,8 @@
|
||||
#Thu Jul 21 08:35:47 CEST 2016
|
||||
offsetReadAnalogInput=0
|
||||
offsetReadAnalogOutput=0
|
||||
offsetReadDigitalInput=0
|
||||
offsetReadDigitalOutput=0
|
||||
offsetWriteAnalogOutput=0
|
||||
offsetWriteDigitalOutput=0
|
||||
timeout=1000
|
||||
10
devices/robot_j1.properties
Normal file
10
devices/robot_j1.properties
Normal file
@@ -0,0 +1,10 @@
|
||||
#Tue Jun 19 16:41:28 CEST 2018
|
||||
maxValue=180.0
|
||||
minValue=-180.0
|
||||
offset=0.0
|
||||
precision=2
|
||||
resolution=0.1
|
||||
rotation=false
|
||||
scale=1.0
|
||||
sign_bit=0
|
||||
unit=deg
|
||||
10
devices/robot_j2.properties
Normal file
10
devices/robot_j2.properties
Normal file
@@ -0,0 +1,10 @@
|
||||
#Tue Jun 19 16:41:28 CEST 2018
|
||||
maxValue=127.5
|
||||
minValue=-127.5
|
||||
offset=0.0
|
||||
precision=2
|
||||
resolution=0.1
|
||||
rotation=false
|
||||
scale=1.0
|
||||
sign_bit=0
|
||||
unit=deg
|
||||
10
devices/robot_j3.properties
Normal file
10
devices/robot_j3.properties
Normal file
@@ -0,0 +1,10 @@
|
||||
#Tue Jun 19 16:41:28 CEST 2018
|
||||
maxValue=152.5
|
||||
minValue=-152.5
|
||||
offset=0.0
|
||||
precision=2
|
||||
resolution=0.1
|
||||
rotation=false
|
||||
scale=1.0
|
||||
sign_bit=0
|
||||
unit=deg
|
||||
10
devices/robot_j4.properties
Normal file
10
devices/robot_j4.properties
Normal file
@@ -0,0 +1,10 @@
|
||||
#Tue Jun 19 16:41:28 CEST 2018
|
||||
maxValue=270.0
|
||||
minValue=-270.0
|
||||
offset=0.0
|
||||
precision=2
|
||||
resolution=0.1
|
||||
rotation=false
|
||||
scale=1.0
|
||||
sign_bit=0
|
||||
unit=deg
|
||||
10
devices/robot_j5.properties
Normal file
10
devices/robot_j5.properties
Normal file
@@ -0,0 +1,10 @@
|
||||
#Tue Jun 19 16:41:28 CEST 2018
|
||||
maxValue=132.5
|
||||
minValue=-122.5
|
||||
offset=0.0
|
||||
precision=2
|
||||
resolution=0.1
|
||||
rotation=false
|
||||
scale=1.0
|
||||
sign_bit=0
|
||||
unit=deg
|
||||
10
devices/robot_j6.properties
Normal file
10
devices/robot_j6.properties
Normal file
@@ -0,0 +1,10 @@
|
||||
#Fri Aug 24 14:56:42 CEST 2018
|
||||
maxValue=400.0
|
||||
minValue=-400.0
|
||||
offset=0.0
|
||||
precision=2
|
||||
resolution=0.1
|
||||
rotation=false
|
||||
scale=1.0
|
||||
sign_bit=0
|
||||
unit=deg
|
||||
8
devices/robot_modbus.properties
Normal file
8
devices/robot_modbus.properties
Normal file
@@ -0,0 +1,8 @@
|
||||
#Thu Jul 21 12:02:04 CEST 2016
|
||||
offsetReadAnalogInput=0
|
||||
offsetReadAnalogOutput=0
|
||||
offsetReadDigitalInput=0
|
||||
offsetReadDigitalOutput=0
|
||||
offsetWriteAnalogOutput=0
|
||||
offsetWriteDigitalOutput=0
|
||||
timeout=1000
|
||||
10
devices/robot_rx.properties
Normal file
10
devices/robot_rx.properties
Normal file
@@ -0,0 +1,10 @@
|
||||
#Tue Jun 19 16:41:28 CEST 2018
|
||||
maxValue=180.0
|
||||
minValue=-180.0
|
||||
offset=0.0
|
||||
precision=2
|
||||
resolution=0.05
|
||||
rotation=true
|
||||
scale=1.0
|
||||
sign_bit=0
|
||||
unit=deg
|
||||
10
devices/robot_ry.properties
Normal file
10
devices/robot_ry.properties
Normal file
@@ -0,0 +1,10 @@
|
||||
#Tue Jun 19 16:41:28 CEST 2018
|
||||
maxValue=180.0
|
||||
minValue=-180.0
|
||||
offset=0.0
|
||||
precision=-2
|
||||
resolution=0.05
|
||||
rotation=true
|
||||
scale=1.0
|
||||
sign_bit=0
|
||||
unit=deg
|
||||
10
devices/robot_rz.properties
Normal file
10
devices/robot_rz.properties
Normal file
@@ -0,0 +1,10 @@
|
||||
#Tue Jun 19 16:41:28 CEST 2018
|
||||
maxValue=360.0
|
||||
minValue=-360.0
|
||||
offset=0.0
|
||||
precision=2
|
||||
resolution=0.1
|
||||
rotation=true
|
||||
scale=1.0
|
||||
sign_bit=0
|
||||
unit=deg
|
||||
10
devices/robot_x.properties
Normal file
10
devices/robot_x.properties
Normal file
@@ -0,0 +1,10 @@
|
||||
#Tue Jun 19 16:41:28 CEST 2018
|
||||
maxValue=1000.0
|
||||
minValue=-1000.0
|
||||
offset=0.0
|
||||
precision=2
|
||||
resolution=0.05
|
||||
rotation=false
|
||||
scale=1.0
|
||||
sign_bit=0
|
||||
unit=mm
|
||||
10
devices/robot_y.properties
Normal file
10
devices/robot_y.properties
Normal file
@@ -0,0 +1,10 @@
|
||||
#Tue Jun 19 16:41:28 CEST 2018
|
||||
maxValue=1000.0
|
||||
minValue=-1000.0
|
||||
offset=0.0
|
||||
precision=2
|
||||
resolution=0.05
|
||||
rotation=false
|
||||
scale=1.0
|
||||
sign_bit=0
|
||||
unit=null
|
||||
10
devices/robot_z.properties
Normal file
10
devices/robot_z.properties
Normal file
@@ -0,0 +1,10 @@
|
||||
#Tue Jun 19 16:41:28 CEST 2018
|
||||
maxValue=1000.0
|
||||
minValue=-1000.0
|
||||
offset=0.0
|
||||
precision=2
|
||||
resolution=0.05
|
||||
rotation=false
|
||||
scale=1.0
|
||||
sign_bit=0
|
||||
unit=null
|
||||
17
devices/ry.properties
Normal file
17
devices/ry.properties
Normal file
@@ -0,0 +1,17 @@
|
||||
#Fri Aug 10 15:47:14 CEST 2018
|
||||
defaultSpeed=50.0
|
||||
estbilizationDelay=0
|
||||
hasEnable=false
|
||||
homingType=None
|
||||
maxSpeed=NaN
|
||||
maxValue=0.0
|
||||
minSpeed=NaN
|
||||
minValue=0.0
|
||||
offset=0.0
|
||||
precision=3
|
||||
resolution=0.001
|
||||
rotation=false
|
||||
scale=1.0
|
||||
sign_bit=0
|
||||
startRetries=1
|
||||
unit=deg
|
||||
8
devices/smart_magnet.properties
Normal file
8
devices/smart_magnet.properties
Normal file
@@ -0,0 +1,8 @@
|
||||
#Mon Aug 31 09:09:24 CEST 2020
|
||||
reverseTime=0.2
|
||||
unmountCurrent=20.0
|
||||
holdingCurrent=50.0
|
||||
restingCurrent=30.0
|
||||
reverseCurrent=-10.0
|
||||
remanenceCurrent=-10.0
|
||||
mountCurrent=30.0
|
||||
9
devices/smc_current.properties
Normal file
9
devices/smc_current.properties
Normal file
@@ -0,0 +1,9 @@
|
||||
#Wed Jan 30 11:33:15 CET 2019
|
||||
maxValue=70.0
|
||||
minValue=-50.0
|
||||
offset=0.0
|
||||
precision=2
|
||||
resolution=NaN
|
||||
scale=0.003
|
||||
sign_bit=0
|
||||
unit=mA
|
||||
6
devices/smc_current_rb.properties
Normal file
6
devices/smc_current_rb.properties
Normal file
@@ -0,0 +1,6 @@
|
||||
#Tue Jun 19 16:45:06 CEST 2018
|
||||
offset=0.0
|
||||
precision=2
|
||||
scale=0.003
|
||||
sign_bit=15
|
||||
unit=mA
|
||||
24
devices/src1.properties
Normal file
24
devices/src1.properties
Normal file
@@ -0,0 +1,24 @@
|
||||
#Thu Sep 22 14:45:06 CEST 2016
|
||||
colormap=Temperature
|
||||
colormapAutomatic=true
|
||||
colormapMax=255.0
|
||||
colormapMin=0.0
|
||||
flipHorizontally=false
|
||||
flipVertically=false
|
||||
grayscale=false
|
||||
invert=false
|
||||
rescaleFactor=1.0
|
||||
rescaleOffset=0.0
|
||||
roiHeight=-1
|
||||
roiWidth=-1
|
||||
roiX=0
|
||||
roiY=0
|
||||
rotation=0.0
|
||||
rotationCrop=false
|
||||
scale=1.0
|
||||
spatialCalOffsetX=NaN
|
||||
spatialCalOffsetY=NaN
|
||||
spatialCalScaleX=NaN
|
||||
spatialCalScaleY=NaN
|
||||
spatialCalUnits=mm
|
||||
transpose=false
|
||||
24
devices/src2.properties
Normal file
24
devices/src2.properties
Normal file
@@ -0,0 +1,24 @@
|
||||
#Thu Sep 22 14:45:06 CEST 2016
|
||||
colormap=Grayscale
|
||||
colormapAutomatic=true
|
||||
colormapMax=255.0
|
||||
colormapMin=0.0
|
||||
flipHorizontally=false
|
||||
flipVertically=false
|
||||
grayscale=false
|
||||
invert=false
|
||||
rescaleFactor=1.0
|
||||
rescaleOffset=0.0
|
||||
roiHeight=-1
|
||||
roiWidth=-1
|
||||
roiX=0
|
||||
roiY=0
|
||||
rotation=0.0
|
||||
rotationCrop=false
|
||||
scale=1.0
|
||||
spatialCalOffsetX=NaN
|
||||
spatialCalOffsetY=NaN
|
||||
spatialCalScaleX=NaN
|
||||
spatialCalScaleY=NaN
|
||||
spatialCalUnits=mm
|
||||
transpose=false
|
||||
20
devices/top_cam.properties
Normal file
20
devices/top_cam.properties
Normal file
@@ -0,0 +1,20 @@
|
||||
#Thu Aug 09 11:46:12 CEST 2018
|
||||
flipHorizontally=false
|
||||
flipVertically=false
|
||||
grayscale=false
|
||||
invert=false
|
||||
rescaleFactor=1.0
|
||||
rescaleOffset=0.0
|
||||
roiHeight=-1
|
||||
roiWidth=-1
|
||||
roiX=0
|
||||
roiY=0
|
||||
rotation=0.0
|
||||
rotationCrop=false
|
||||
scale=1.0
|
||||
spatialCalOffsetX=NaN
|
||||
spatialCalOffsetY=NaN
|
||||
spatialCalScaleX=NaN
|
||||
spatialCalScaleY=NaN
|
||||
spatialCalUnits=mm
|
||||
transpose=false
|
||||
6
devices/ue.properties
Normal file
6
devices/ue.properties
Normal file
@@ -0,0 +1,6 @@
|
||||
#Thu Aug 31 16:41:09 CEST 2017
|
||||
baudRate=9600
|
||||
dataBits=DB_8
|
||||
parity=None
|
||||
port=null
|
||||
stopBits=SB_1
|
||||
8
devices/wago.properties
Normal file
8
devices/wago.properties
Normal file
@@ -0,0 +1,8 @@
|
||||
#Wed Feb 28 16:27:51 CET 2018
|
||||
offsetReadAnalogInput=0
|
||||
offsetReadAnalogOutput=0x200
|
||||
offsetReadDigitalInput=0
|
||||
offsetReadDigitalOutput=0x200
|
||||
offsetWriteAnalogOutput=0
|
||||
offsetWriteDigitalOutput=0
|
||||
timeout=1000
|
||||
114
plugins/BarcodeReaderPanel.form
Normal file
114
plugins/BarcodeReaderPanel.form
Normal file
@@ -0,0 +1,114 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<Form version="1.5" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
|
||||
<AuxValues>
|
||||
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
|
||||
<AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
|
||||
<AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
|
||||
<AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
|
||||
<AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
|
||||
<AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
|
||||
<AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
|
||||
<AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
|
||||
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
|
||||
</AuxValues>
|
||||
|
||||
<Layout>
|
||||
<DimensionLayout dim="0">
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Component id="jPanel3" max="32767" attributes="0"/>
|
||||
<Component id="deviceValuePanel1" max="32767" attributes="0"/>
|
||||
<Component id="deviceStatePanel1" alignment="0" max="32767" attributes="0"/>
|
||||
</Group>
|
||||
</DimensionLayout>
|
||||
<DimensionLayout dim="1">
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Group type="102" alignment="0" attributes="0">
|
||||
<Component id="jPanel3" min="-2" max="-2" attributes="0"/>
|
||||
<EmptySpace min="0" pref="0" max="-2" attributes="0"/>
|
||||
<Component id="deviceValuePanel1" min="-2" max="-2" attributes="0"/>
|
||||
<EmptySpace min="0" pref="0" max="-2" attributes="0"/>
|
||||
<Component id="deviceStatePanel1" min="-2" max="-2" attributes="0"/>
|
||||
<EmptySpace min="0" pref="0" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
</Group>
|
||||
</DimensionLayout>
|
||||
</Layout>
|
||||
<SubComponents>
|
||||
<Container class="javax.swing.JPanel" name="jPanel3">
|
||||
<Properties>
|
||||
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
|
||||
<Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
|
||||
<TitledBorder title="Commands"/>
|
||||
</Border>
|
||||
</Property>
|
||||
</Properties>
|
||||
|
||||
<Layout>
|
||||
<DimensionLayout dim="0">
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Group type="102" alignment="0" attributes="0">
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Component id="buttonEnable" linkSize="1" min="-2" max="-2" attributes="0"/>
|
||||
<EmptySpace max="32767" attributes="0"/>
|
||||
<Component id="buttonDisable" linkSize="1" min="-2" max="-2" attributes="0"/>
|
||||
<EmptySpace max="32767" attributes="0"/>
|
||||
<Component id="buttonRead" linkSize="1" min="-2" max="-2" attributes="0"/>
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
</Group>
|
||||
</Group>
|
||||
</DimensionLayout>
|
||||
<DimensionLayout dim="1">
|
||||
<Group type="103" groupAlignment="0" attributes="0">
|
||||
<Group type="102" alignment="0" attributes="0">
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
<Group type="103" groupAlignment="3" attributes="0">
|
||||
<Component id="buttonEnable" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||
<Component id="buttonDisable" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||
<Component id="buttonRead" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||
</Group>
|
||||
<EmptySpace max="-2" attributes="0"/>
|
||||
</Group>
|
||||
</Group>
|
||||
</DimensionLayout>
|
||||
</Layout>
|
||||
<SubComponents>
|
||||
<Component class="javax.swing.JButton" name="buttonEnable">
|
||||
<Properties>
|
||||
<Property name="text" type="java.lang.String" value="Enable"/>
|
||||
</Properties>
|
||||
<Events>
|
||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="buttonEnableActionPerformed"/>
|
||||
</Events>
|
||||
</Component>
|
||||
<Component class="javax.swing.JButton" name="buttonDisable">
|
||||
<Properties>
|
||||
<Property name="text" type="java.lang.String" value="Disable"/>
|
||||
</Properties>
|
||||
<Events>
|
||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="buttonDisableActionPerformed"/>
|
||||
</Events>
|
||||
</Component>
|
||||
<Component class="javax.swing.JButton" name="buttonRead">
|
||||
<Properties>
|
||||
<Property name="text" type="java.lang.String" value="Read"/>
|
||||
</Properties>
|
||||
<Events>
|
||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="buttonReadActionPerformed"/>
|
||||
</Events>
|
||||
</Component>
|
||||
</SubComponents>
|
||||
</Container>
|
||||
<Component class="ch.psi.pshell.swing.DeviceStatePanel" name="deviceStatePanel1">
|
||||
</Component>
|
||||
<Component class="ch.psi.pshell.swing.DeviceValuePanel" name="deviceValuePanel1">
|
||||
<Properties>
|
||||
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
|
||||
<Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
|
||||
<TitledBorder title="Value"/>
|
||||
</Border>
|
||||
</Property>
|
||||
</Properties>
|
||||
</Component>
|
||||
</SubComponents>
|
||||
</Form>
|
||||
170
plugins/BarcodeReaderPanel.java
Normal file
170
plugins/BarcodeReaderPanel.java
Normal file
@@ -0,0 +1,170 @@
|
||||
import ch.psi.pshell.core.Context;
|
||||
import ch.psi.pshell.device.Device;
|
||||
import ch.psi.pshell.swing.DevicePanel;
|
||||
import ch.psi.utils.swing.SwingUtils;
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public class BarcodeReaderPanel extends DevicePanel {
|
||||
|
||||
volatile boolean enabled;
|
||||
public BarcodeReaderPanel() {
|
||||
initComponents();
|
||||
this.startTimer(100);
|
||||
}
|
||||
|
||||
|
||||
CompletableFuture future;
|
||||
|
||||
|
||||
@Override
|
||||
public void setDevice(Device device){
|
||||
super.setDevice(device);
|
||||
if (device != null){
|
||||
deviceStatePanel1.setDevice(device);
|
||||
deviceValuePanel1.setDevice(device);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onTimer(){
|
||||
if ((getDevice()!=null) && enabled){
|
||||
if ((future==null) || (future.isDone())){
|
||||
future = Context.getInstance().evalLineBackgroundAsync(getDevice().getName() + ".get()");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void execute(String statement, boolean showReturn){
|
||||
try {
|
||||
Context.getInstance().evalLineBackgroundAsync(statement).handle((ret, ex) -> {
|
||||
if (BarcodeReaderPanel.this.isShowing()){
|
||||
if (ex != null){
|
||||
showException((Exception)ex);
|
||||
} else if (showReturn){
|
||||
if (ret == null){
|
||||
SwingUtils.showMessage(this, "Return", "No code detected", 20000);
|
||||
} else {
|
||||
SwingUtils.showMessage(this, "Return", "Detected code: " +ret, 20000);
|
||||
}
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
});
|
||||
} catch (Exception ex) {
|
||||
showException(ex);
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
|
||||
private void initComponents() {
|
||||
|
||||
jPanel3 = new javax.swing.JPanel();
|
||||
buttonEnable = new javax.swing.JButton();
|
||||
buttonDisable = new javax.swing.JButton();
|
||||
buttonRead = new javax.swing.JButton();
|
||||
deviceStatePanel1 = new ch.psi.pshell.swing.DeviceStatePanel();
|
||||
deviceValuePanel1 = new ch.psi.pshell.swing.DeviceValuePanel();
|
||||
|
||||
jPanel3.setBorder(javax.swing.BorderFactory.createTitledBorder("Commands"));
|
||||
|
||||
buttonEnable.setText("Enable");
|
||||
buttonEnable.addActionListener(new java.awt.event.ActionListener() {
|
||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||
buttonEnableActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
|
||||
buttonDisable.setText("Disable");
|
||||
buttonDisable.addActionListener(new java.awt.event.ActionListener() {
|
||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||
buttonDisableActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
|
||||
buttonRead.setText("Read");
|
||||
buttonRead.addActionListener(new java.awt.event.ActionListener() {
|
||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||
buttonReadActionPerformed(evt);
|
||||
}
|
||||
});
|
||||
|
||||
javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
|
||||
jPanel3.setLayout(jPanel3Layout);
|
||||
jPanel3Layout.setHorizontalGroup(
|
||||
jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||
.addGroup(jPanel3Layout.createSequentialGroup()
|
||||
.addContainerGap()
|
||||
.addComponent(buttonEnable)
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
||||
.addComponent(buttonDisable)
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
||||
.addComponent(buttonRead)
|
||||
.addContainerGap())
|
||||
);
|
||||
|
||||
jPanel3Layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {buttonDisable, buttonEnable, buttonRead});
|
||||
|
||||
jPanel3Layout.setVerticalGroup(
|
||||
jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||
.addGroup(jPanel3Layout.createSequentialGroup()
|
||||
.addContainerGap()
|
||||
.addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
||||
.addComponent(buttonEnable)
|
||||
.addComponent(buttonDisable)
|
||||
.addComponent(buttonRead))
|
||||
.addContainerGap())
|
||||
);
|
||||
|
||||
deviceValuePanel1.setBorder(javax.swing.BorderFactory.createTitledBorder("Value"));
|
||||
|
||||
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
|
||||
this.setLayout(layout);
|
||||
layout.setHorizontalGroup(
|
||||
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||
.addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
||||
.addComponent(deviceValuePanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
||||
.addComponent(deviceStatePanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
||||
);
|
||||
layout.setVerticalGroup(
|
||||
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||
.addGroup(layout.createSequentialGroup()
|
||||
.addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||
.addGap(0, 0, 0)
|
||||
.addComponent(deviceValuePanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||
.addGap(0, 0, 0)
|
||||
.addComponent(deviceStatePanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||
.addGap(0, 0, 0))
|
||||
);
|
||||
}// </editor-fold>//GEN-END:initComponents
|
||||
|
||||
private void buttonEnableActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonEnableActionPerformed
|
||||
execute(getDevice().getName() + ".enable()", false);
|
||||
enabled = true;
|
||||
}//GEN-LAST:event_buttonEnableActionPerformed
|
||||
|
||||
private void buttonDisableActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonDisableActionPerformed
|
||||
enabled = false;
|
||||
execute(getDevice().getName() + ".disable()", false);
|
||||
}//GEN-LAST:event_buttonDisableActionPerformed
|
||||
|
||||
private void buttonReadActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_buttonReadActionPerformed
|
||||
enabled = false;
|
||||
execute(getDevice().getName() + ".read(5.0) ", true);
|
||||
}//GEN-LAST:event_buttonReadActionPerformed
|
||||
|
||||
|
||||
|
||||
// Variables declaration - do not modify//GEN-BEGIN:variables
|
||||
private javax.swing.JButton buttonDisable;
|
||||
private javax.swing.JButton buttonEnable;
|
||||
private javax.swing.JButton buttonRead;
|
||||
private ch.psi.pshell.swing.DeviceStatePanel deviceStatePanel1;
|
||||
private ch.psi.pshell.swing.DeviceValuePanel deviceValuePanel1;
|
||||
private javax.swing.JPanel jPanel3;
|
||||
// End of variables declaration//GEN-END:variables
|
||||
}
|
||||
72
plugins/Beeper.java
Normal file
72
plugins/Beeper.java
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright (c) 2014 Paul Scherrer Institute. All rights reserved.
|
||||
*/
|
||||
|
||||
import ch.psi.pshell.device.*;
|
||||
import com.sun.jna.Function;
|
||||
import com.sun.jna.Native;
|
||||
import com.sun.jna.Pointer;
|
||||
import com.sun.jna.Structure;
|
||||
import com.sun.jna.ptr.IntByReference;
|
||||
import com.sun.jna.win32.StdCallLibrary;
|
||||
import com.sun.jna.win32.W32APIFunctionMapper;
|
||||
import com.sun.jna.win32.W32APITypeMapper;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
*/
|
||||
public class Beeper extends DeviceBase {
|
||||
|
||||
public Beeper(String name) {
|
||||
super(name);
|
||||
}
|
||||
|
||||
// JNA Mapping
|
||||
static Map UNICODE_OPTIONS = new HashMap() {
|
||||
|
||||
{
|
||||
put("type-mapper", W32APITypeMapper.UNICODE);
|
||||
put("function-mapper", W32APIFunctionMapper.UNICODE);
|
||||
}
|
||||
};
|
||||
|
||||
interface Kernel32 extends StdCallLibrary {
|
||||
|
||||
public static final String LIBRARY_NAME = "kernel32";
|
||||
Kernel32 INSTANCE = (Kernel32) Native.loadLibrary(LIBRARY_NAME, Kernel32.class, UNICODE_OPTIONS);
|
||||
Kernel32 SYNC_INSTANCE = (Kernel32) Native.synchronizedLibrary(INSTANCE);
|
||||
|
||||
boolean Beep(int FREQUENCY, int DURATION);
|
||||
|
||||
void Sleep(int DURATION);
|
||||
|
||||
int CreateEventW(Pointer securityAttributes, boolean manualReset, boolean initialState, String name);
|
||||
|
||||
int CreateThread(/*Pointer*/int lpThreadAttributes, IntByReference dwStackSize, Function lpStartAddress, Structure lpParameter, int dwCreationFlags, IntByReference lpThreadId);
|
||||
public static final int STILL_ACTIVE = 259;
|
||||
|
||||
int GetExitCodeThread(int hThread, IntByReference lpExitCode);
|
||||
|
||||
int GetLastError();
|
||||
|
||||
boolean CloseHandle(int handle);
|
||||
|
||||
}
|
||||
private final int mEventHandle = Kernel32.INSTANCE.CreateEventW(Pointer.NULL, true, false, null);
|
||||
|
||||
|
||||
//Public interface
|
||||
public int getLastError(){
|
||||
return Kernel32.SYNC_INSTANCE.GetLastError();
|
||||
}
|
||||
|
||||
public void sleep(int duration){
|
||||
Kernel32.SYNC_INSTANCE.Sleep(duration);
|
||||
}
|
||||
|
||||
public void beep(int frequency, int duration){
|
||||
Kernel32.SYNC_INSTANCE.Beep(frequency, duration);
|
||||
}
|
||||
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user