LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

simple logical problem

Hai partha,

Thanks for ur continuous help. Am not that much fresh new to labview. I worked for 2 months and know little bit. But still have some small struggle with basics since i didnt get training from anybody and am self-learning.

I implemented what u said. But then i stuck up at one point. I want to include one more case in the already 5 events. I tried by right clicking that enum and selected properties and then selected Edit items tab and inserted successfully. But then the case structure got modified with the numbers and not with the names. I modified that too with a new name for the new item.

But then the enum inside the case structure will show some red dot symbol in it. Also shall i have to add that item in enum present in each and every cases inside case structure. Please reply asap.

Thanks,

Mathan.

0 Kudos
Message 11 of 16
(826 Views)
Hi Mathan,
 
Copy that Enum constant into a new VI & change it into a control. Then Advanced --> Customize option, it ll open as a Control to be customized. There you can change it as a Strictly TypeDef control & save it.
 
Upon closing this Control, it ll ask whether to replace the original control with this new Control [.ctl]. Say Yes n close.
 
Now, use this Enum.ctl everywhere in your BD where the State change is effected.
Thi TypeDef Enum will autoupdate if any change is made in the Enum.ctl.
 
Hope this helps...
 
If stil your problem persists, post your code again.
- Partha ( CLD until Oct 2027 🙂 )
Message 12 of 16
(814 Views)
Hi Mathan,

did you try this to learn LabView?
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 13 of 16
(807 Views)
Hi Mathan,

It seems like you are on the right track but like mentioned above, I think you would really benefit from doing either the online tutorials, or even better, the instructor-led classes available. These clases cover the basic LabVIEW concepts, which is where you are currently stumbling.
Eli S.
National Instruments
Applications Engineer
Message 14 of 16
(788 Views)
Dear partha,
 
finally i have succeeded in completing the task. Without ur timely help nothing have been done. Thanks a lot.
 
Also as GerdW and Eli_S told, still am little bit weak in basics and studying all the tutorials.
 
Regards,
Mathan
0 Kudos
Message 15 of 16
(756 Views)

Hi Mathan,

Great to hear about your success! Smiley Happy

- Partha ( CLD until Oct 2027 🙂 )
Message 16 of 16
(752 Views)