question

Michael O'Connell avatar image
0 Likes"
Michael O'Connell asked Phil BoBo commented

Any thoughts on why not all labels are being initialized in Reset Trigger after Reset?

I have a kinematic device on which I have a mix of labels: one for kin data, some numeric, some string.

I have a Reset Trigger assigned to reset numerics to zero, assign a value or NULL to strings and initialize kinematics.

After resetting, the labels retain their previous values, not those defined in trigger.

FlexSim 16.1.0
labelsreset trigger
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Jeff Nordgren avatar image
1 Like"
Jeff Nordgren answered Phil BoBo commented

Have you tried putting in a "Break Point" in the OnReset code? To make sure that it is firing and that the variables are being set properly. If this is happening, then something is happening to those variables AFTER the reset code is executed.

· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.