LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

read LDF and dinamicaly create controls

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

0 Kudos
Message 1 of 4
(1,268 Views)

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.

0 Kudos
Message 2 of 4
(1,115 Views)

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. 😀

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 3 of 4
(1,081 Views)

Maybe you can make something out of this.

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 4 of 4
(1,065 Views)