Files
neuron/ft/simulator.resource
T
2022-05-29 09:47:58 +00:00

25 lines
574 B
Plaintext

*** Settings ***
Library Process
*** Variables ***
${SIMULATOR_DIR} build/simulator
${MODBUS_TCP_SERVER_SIMULATOR} ./modbus_simulator
${OPCUA_SERVER_SIMULATOR} ./opcua_simulator
*** Keywords ***
Start Simulator Arg
[Arguments] ${simulator} ${cwd}
${handle} = Start Process ${simulator} tcp 60502 cwd=${cwd}
[Return] ${handle}
Start Simulator
[Arguments] ${simulator} ${cwd}
${handle} = Start Process ${simulator} cwd=${cwd}
[Return] ${handle}
Stop Simulator
[Arguments] ${handle}
Terminate Process ${handle} kill=true