Added PSU DS messages
Signed-off-by: Bernardo Carvalho <bernardo.carvalho@tecnico.ulisboa.pt>
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
+TCPMessageProxy = {
|
||||
Class = TCPSocketMessageProxyExample
|
||||
Port = 24680
|
||||
|
||||
}
|
||||
// echo -e "Destination=StateMachine\nFunction=GOTOSTATE2" | nc 127.0.0.1 24680
|
||||
+StateMachine = {
|
||||
Class = StateMachine
|
||||
+INITIAL = {
|
||||
@@ -54,6 +60,12 @@
|
||||
Function = StartNextStateExecution
|
||||
Mode = ExpectsReply
|
||||
}
|
||||
+TriggerPSUMsg = {
|
||||
Class = Message
|
||||
Destination = "TestApp.Data.UartOutDS"
|
||||
Function = TriggerPSU
|
||||
Mode = ExpectsReply
|
||||
}
|
||||
}
|
||||
+ERROR = {
|
||||
Class = StateMachineEvent
|
||||
@@ -218,46 +230,12 @@ $TestApp = {
|
||||
}
|
||||
}
|
||||
}
|
||||
+GAMWF1 = {
|
||||
Class = WaveformGAM::WaveformPointsDef
|
||||
Points = {-1000 1000}
|
||||
Times = {0 10000}
|
||||
InputSignals = {
|
||||
Time = {
|
||||
DataSource = DDB1
|
||||
Type = uint32
|
||||
}
|
||||
}
|
||||
OutputSignals = {
|
||||
Reference1 = {
|
||||
DataSource = DDB1
|
||||
Type = float32
|
||||
}
|
||||
}
|
||||
}
|
||||
+GAMWF2 = {
|
||||
Class = WaveformGAM::WaveformPointsDef
|
||||
Points = {1000 -1000}
|
||||
Times = {0 10000}
|
||||
InputSignals = {
|
||||
Time = {
|
||||
DataSource = DDB1
|
||||
Type = uint32
|
||||
}
|
||||
}
|
||||
OutputSignals = {
|
||||
Reference1 = {
|
||||
DataSource = DDB1
|
||||
Type = float32
|
||||
}
|
||||
}
|
||||
}
|
||||
+GAMWF3 = {
|
||||
+GAMWF = {
|
||||
Class = WaveformGAM::WaveformSin
|
||||
Amplitude = 10.0
|
||||
Amplitude = 100.0
|
||||
Frequency = 0.1
|
||||
Phase = 0.0
|
||||
Offset = 1.1
|
||||
Offset = 100.1
|
||||
InputSignals = {
|
||||
Time = {
|
||||
DataSource = "DDB1"
|
||||
@@ -363,7 +341,7 @@ $TestApp = {
|
||||
+Thread1 = {
|
||||
Class = RealTimeThread
|
||||
CPUs = 0x1
|
||||
Functions = {GAMTimer GAMWF1 SerialOutGAM GAMDisplay}
|
||||
Functions = {GAMTimer GAMWF SerialOutGAM GAMDisplay}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -374,7 +352,7 @@ $TestApp = {
|
||||
+Thread1 = {
|
||||
Class = RealTimeThread
|
||||
CPUs = 0x1
|
||||
Functions = {GAMTimer GAMWF2 GAMDisplay}
|
||||
Functions = {GAMTimer GAMWF SerialOutGAM GAMDisplay}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -385,7 +363,7 @@ $TestApp = {
|
||||
+Thread1 = {
|
||||
Class = RealTimeThread
|
||||
CPUs = 0x1
|
||||
Functions = {GAMTimer GAMWF3 GAMDisplay}
|
||||
Functions = {GAMTimer GAMWF GAMDisplay}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user