Skip to content

Commit ac84b1e

Browse files
committed
Not the issue, reverting back
1 parent 90652ce commit ac84b1e

File tree

1 file changed

+208
-0
lines changed

1 file changed

+208
-0
lines changed
Lines changed: 208 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,208 @@
1+
+StateMachine = {
2+
Class = StateMachine
3+
+INITIAL = {
4+
Class = ReferenceContainer
5+
+START = {
6+
Class = StateMachineEvent
7+
NextState = "STATE1"
8+
NextStateError = "ERROR"
9+
Timeout = 0
10+
+PrepareChangeToState1Msg = {
11+
Class = Message
12+
Destination = "App"
13+
Function = "PrepareNextState"
14+
MaxWait = "0"
15+
Mode = "ExpectsReply"
16+
+Parameters = {
17+
Class = ConfigurationDatabase
18+
param1 = "State1"
19+
}
20+
}
21+
+StartNextStateExecutionMsg = {
22+
Class = Message
23+
Destination = "App"
24+
Function = "StartNextStateExecution"
25+
MaxWait = "0"
26+
Mode = "ExpectsReply"
27+
}
28+
}
29+
}
30+
+STATE1 = {
31+
Class = ReferenceContainer
32+
+ERROR = {
33+
Class = StateMachineEvent
34+
NextState = "ERROR"
35+
NextStateError = "ERROR"
36+
Timeout = 0
37+
}
38+
}
39+
+ERROR = {
40+
Class = ReferenceContainer
41+
+ENTER = {
42+
Class = ReferenceContainer
43+
+StopCurrentStateExecutionMsg = {
44+
Class = Message
45+
Destination = "App"
46+
Function = "StopCurrentStateExecution"
47+
MaxWait = "0"
48+
Mode = "ExpectsReply"
49+
}
50+
+PrepareChangeToErrorMsg = {
51+
Class = Message
52+
Destination = "App"
53+
Function = "PrepareNextState"
54+
MaxWait = "0"
55+
Mode = "ExpectsReply"
56+
+Parameters = {
57+
Class = ConfigurationDatabase
58+
param1 = "Error"
59+
}
60+
}
61+
+StartNextStateExecutionMsg = {
62+
Class = Message
63+
Destination = "App"
64+
Function = "StartNextStateExecution"
65+
MaxWait = "0"
66+
Mode = "ExpectsReply"
67+
}
68+
}
69+
+RESET = {
70+
Class = StateMachineEvent
71+
NextState = "STATE1"
72+
NextStateError = "STATE1"
73+
Timeout = 0
74+
+StopCurrentStateExecutionMsg = {
75+
Class = Message
76+
Destination = "App"
77+
Function = "StopCurrentStateExecution"
78+
MaxWait = "0"
79+
Mode = "ExpectsReply"
80+
}
81+
+PrepareChangeToState1Msg = {
82+
Class = Message
83+
Destination = "App"
84+
Function = "PrepareNextState"
85+
MaxWait = "0"
86+
Mode = "ExpectsReply"
87+
+Parameters = {
88+
Class = ConfigurationDatabase
89+
param1 = "State1"
90+
}
91+
}
92+
+StartNextStateExecutionMsg = {
93+
Class = Message
94+
Destination = "App"
95+
Function = "StartNextStateExecution"
96+
MaxWait = "0"
97+
Mode = "ExpectsReply"
98+
}
99+
}
100+
}
101+
}
102+
$App = {
103+
Class = RealTimeApplication
104+
+Functions = {
105+
Class = ReferenceContainer
106+
+Constants = {
107+
Class = ConstantGAM
108+
OutputSignals = {
109+
newsignal = {
110+
DataSource = DDB0
111+
Type = uint32
112+
Alias = newsignal
113+
Default = 4
114+
}
115+
newsignal1 = {
116+
DataSource = DDB0
117+
Type = float32
118+
NumberOfDimensions = 1
119+
NumberOfElements = 2
120+
Alias = newsignal1
121+
Default = {1.28,2.76}
122+
}
123+
newsignal2 = {
124+
DataSource = DDB0
125+
Type = uint64
126+
Alias = newsignal2
127+
Default = 0
128+
}
129+
}
130+
}
131+
+IO = {
132+
Class = IOGAM
133+
InputSignals = {
134+
newsignal3 = {
135+
DataSource = DDB0
136+
Type = uint32
137+
Alias = newsignal
138+
}
139+
newsignal4 = {
140+
DataSource = DDB0
141+
Type = float32
142+
NumberOfDimensions = 1
143+
NumberOfElements = 2
144+
Alias = newsignal1
145+
}
146+
newsignal5 = {
147+
DataSource = DDB0
148+
Type = uint64
149+
Alias = newsignal2
150+
}
151+
}
152+
OutputSignals = {
153+
newsignal3 = {
154+
DataSource = DDB0
155+
Type = uint32
156+
Alias = newsignal3
157+
}
158+
newsignal4 = {
159+
DataSource = DDB0
160+
Type = float32
161+
NumberOfDimensions = 1
162+
NumberOfElements = 2
163+
Alias = newsignal4
164+
}
165+
newsignal5 = {
166+
DataSource = DDB0
167+
Type = uint64
168+
Alias = newsignal5
169+
}
170+
}
171+
}
172+
}
173+
+Data = {
174+
Class = ReferenceContainer
175+
DefaultDataSource = DDB0
176+
+TimingsDataSource = {
177+
Class = TimingDataSource
178+
}
179+
+DDB0 = {
180+
Class = GAMDataSource
181+
}
182+
}
183+
+States = {
184+
Class = ReferenceContainer
185+
+State1 = {
186+
Class = RealTimeState
187+
+Threads = {
188+
Class = ReferenceContainer
189+
+Thread1 = {
190+
Class = RealTimeThread
191+
CPUs = 0xFFFFFFFF
192+
Functions = { Constants IO }
193+
}
194+
}
195+
}
196+
+Error = {
197+
Class = RealTimeState
198+
+Threads = {
199+
Class = ReferenceContainer
200+
}
201+
}
202+
}
203+
+Scheduler = {
204+
Class = GAMScheduler
205+
TimingDataSource = TimingsDataSource
206+
MaxCycles = 0
207+
}
208+
}

0 commit comments

Comments
 (0)