LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with state machine

Solved!
Go to solution

Hi everyone,

I am building a measurment system with a state machine. I dont know how but somehow I lost all the cases labels in the case structure.
Can anybody help me with it. There are the numbers, and it supposed to be the names of cases.

Thanks!

0 Kudos
Message 1 of 2
(2,258 Views)
Solution
Accepted by topic author vladosaurus

Hi vlado,

 

you need to use the very same enum definition in all places!

 

- In case 7 there are two different enums wired to the select function (as you can see by the coercion dots)

- in case 10 there is NO enum wired…

 

Recommendation:

- Instead of using very long control labels (like "Geben Sie die Kapazität ein (Ah):" you should use a somewhat shorter, but descriptive label (like "Capacity"). In the frontpanel you can always hide the label and show the caption instead!

- NEVER hide labels in the blockdiagram!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,243 Views)