Generation working and Compilation of MARTe components
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
ECPCSubscriber.cfg is a configuration for testing ECPC simulator (JAECPCSimulator.cfg).
|
||||
|
||||
Setup:
|
||||
1) Run softIoc. In qst-gyrotron-fast-controller/Configurations execute command:
|
||||
softIoc -d ECPC_IOC.db
|
||||
|
||||
2) Run ECPC simulator. In qst-gyrotron-fast-controller/Startup execute command:
|
||||
./Main.sh -f ../Configurations/JAECPCSimulator.cfg -l RealTimeLoader -m StateMachine:Start
|
||||
|
||||
3) Run ECPC subscriber. In qst-gyrotron-fast-controller/Startup execute command:
|
||||
./Main.sh -f ../Configurations/tests/ECPCSubscriber.cfg -l RealTimeLoader -m StateMachine:Start
|
||||
|
||||
The ECPC simulator should automatically start sending waveforms, which will be printed by the ECPC subscriber every 10 milliseconds.
|
||||
The ECPC simulator will also be sending command, which is printed by the ECPC subscriber every millisecond.
|
||||
|
||||
To change command that is being sent, you have to caput 1 to one of following PVs:
|
||||
MHVPS_ON (command 1)
|
||||
GYA_BPS_SWON (command 2)
|
||||
GYA_APS_SWON (command 3)
|
||||
GYB_BPS_SWON (command 4)
|
||||
GYB_APS_SWON (command 5)
|
||||
GYA_BPS_SWOFF (command 6)
|
||||
GYA_APS_SWOFF (command 7)
|
||||
GYB_BPS_SWOFF (command 8)
|
||||
GYB_APS_SWOFF (command 9)
|
||||
RF_OFF (command 10)
|
||||
|
||||
To stop sending that command, caput 0 to that PV.
|
||||
|
||||
Reference in New Issue
Block a user