Provide a way to compile an xcontrol, to have only 1 file to distribute.
What thinking of is some sort of EXE style file that hide the implementation and all used VI.
Edit: And you can drag en drop direcly on the front panel and you got the xcontrol.
Yes, maybe something along "built specifications...built control". This would make a plain "*.ctl" file that can e.g. be put in the user palette or distributed, but retains all functionality of the Xcontrol.
(examples could be an xy-chart (with settable history size) or a fake radio button control that allows up to two items selected, or even some fancy airplane control, such as an artificial horizon).
Still, I see some problems, e.g. it is probably not easily possible to support "advanced...customize" or even resizing.
The steps to accomplish this are:
Create a source code distribution as an LLB
Make the XControl the only top-level element of the LLB.
Create a mnu file for the xcontrol and put it in the LLB (I am not sure if this works, if not place the mnu file next to the LLB.
Create an installer using VIPM or OpenG Package builder that places the LLB (+.mnu) inside user.lib
PS the need for the MNU file is because LabVIEW ignores XControls in the auto-palette builder.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.