From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
10-20-2014 06:50 AM
i am trying to create a vi in executables, and it is working...
i need to edit properties of front panel control in properties dialog by selecting properties menu in right click...
but the dialog doesnt seem to open.....
10-20-2014 06:54 AM
Why do you want to change the property of a control which is in Executable? When you said you are able to create a VI, are you selecting File>New VI?
10-20-2014 07:06 AM
What properties are you trying to set in the executable? Almost all of those can be set with property nodes. Do you really want your users to be mucking around in a properties dialog during execution? Or would you rather you (being the good programmer) make explicit ways to change specific properties. Trust me, the latter is the way to go.
10-20-2014 11:08 PM
thank u for ur reply...
my application demands user i mean customer can create a vi using controls he like in executables... so on creating a vi. property has to be setted in frontpanel itself bcoz he doesnt kno programming in block diagram , he will just enter max min and databinding tag....
10-20-2014 11:12 PM
i am creating a new vi using vi scripting in executables.... once new vi created frontpanel opened for editing...
10-20-2014 11:30 PM
Are you trying to build executable using LabVIEW scripting, If yes did you read this?
I am trying to understand your ultimate goal on letting the user to play only with the FP (since the user cannot do coding), how are you planning to code the backgroound? Can you please explain your application purpose on top.
10-20-2014 11:39 PM
anand,
we can do scrippting in exe by enabling enhanced dsc support in application advanced properties...there is no doubt in it...
purpose for allowing customer to create a control is, he can see any tag i mean inputs just by linking databinding tag in properties.. so there would not be any restriction to see tags, he can view n number of tags just by changing the databinding address....
to create a vi i m scripting it with a while loop template so if customer after linking runs the vi he can see the tag values....
tags i mean plc address communicating via opc server...
10-20-2014 11:46 PM
i am building exe in a usual way, but i m using vi scripting vis in exe....
10-20-2014 11:55 PM
Thanks for the explanation and its a new learning for me.
I am not sure whether a method exist to open the Properties window for a VI in run mode. But if you are launhing the VI for the user to add controls, you can try to call the VI dynamically so that it will be edit mode and you will have the properties window available.
10-21-2014 12:02 AM
thank u,,,
vi will not be in run mode ,, after creating a vi i will just open it in edit mode ..
so customer can add controls as usual we do in labview drag and drop..
and by right click he can select properties too but dialog not opening...
even i found where the dialog vi resides in labview directory, but in run mode we cannot add controls to a vi....so dynamic calling of that vi is not possible...