03-29-2022 04:48 AM
Hello All,
I need to open LDF file for LIN communication and to create controls on front panel for specific signals.
By using XNET, i manage to open LDF, to get all frames and signals, and all attributes of signals.
In some frames, i have different type of signals, for example boolean, some signals which are only 2 bites width, U8, U16...
Also number of signals variate in frames.
Is there a way to create control for each signal (data type ) dinamically? i doubt...
For example, in one frame i need 3 boolean switch, one numeric control with 4 bites, and two numeric control U16..
Can someone advise, how to solve this issue...Or to give some ideas...
Thanks
11-28-2022 09:27 AM
Dear ,
You can check the following link : https://forums.ni.com/t5/UI-Interest-Group-Discussions/Control-indicator-creation-at-run-time-dynami... . There are different ways of doing what you ask, you need to understand which one suits you the best.
best,
anasei.
11-29-2022 03:23 AM
And even if that is one day possible (it's an item on the LabVIEW roadmap but not for the immediate future) it's going to be A LOT, and I mean A VERY LOT of VERY nitty gritty programming to do that. I'm sure that most people won't go that extra mile, or should I rather say that extra light year, for this and keep doing whatever we all did in the last 30 years, namely making front panels with predefined sets of controls at design time. 😀
11-29-2022 06:51 AM
Maybe you can make something out of this.