LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

> Related links

Check out the related Code Repository Files or visit the LabVIEW Wiki Development Environment Portal


Tags
(This content has not been tagged yet)
 
Reply to this topic Start new topic
> Saving Executable Vi's
Paul
post Jul 27 2004, 03:35 PM
Post #1


Active
*

Member
Posts: 22
Joined: 21-May 04
From: Fort Belvoir, VA
Member No.: 423
LV:7.0


I was wondering how to save a VI without a block diagram, only allowing the user to access the GUI.

--------------------
Thank You
Paul F.


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ad
post Jul 27 2004, 03:35 PM
Post #















Tags
(This content has not been tagged yet)
Go to the top of the page
Quote Post
Bryan
post Jul 27 2004, 05:03 PM
Post #2


Very Active
***

Member
Posts: 197
Joined: 12-May 04
From: Charlottesville, VA
Member No.: 404
Using LabVIEW Since:1999
LV:7.1 ,8.0 ,8.20
us_pennsylvania us_california us_virginia


FILE >> SAVE WITH OPTIONS >> CHANGED VIs >> REMOVE DIAGRAMS

Make sure you keep a copy with the diagrams, if you don't you won't be able to make changes to it later.


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Michael_Aivaliot...
post Jul 28 2004, 01:18 AM
Post #3


Confucius say: Crowded elevator always smell different to midget
Group Icon
*****

Admin
Posts: 2402
Joined: 13-October 02
From: Planet Earth
Member No.: 2
Using LabVIEW Since:1994
LV:8.5 ,8.2.1 ,7.1.1
Greece Canada United States My Blog My Gallery


Hey, you can always add a password.
File>>VI Properties then select ->Security

--------------------


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Bryan
post Jul 28 2004, 02:32 PM
Post #4


Very Active
***

Member
Posts: 197
Joined: 12-May 04
From: Charlottesville, VA
Member No.: 404
Using LabVIEW Since:1999
LV:7.1 ,8.0 ,8.20
us_pennsylvania us_california us_virginia


I would make it a long password too. Not too long ago I was browsing the NI Developer Zone and came across a VI that cracks password protected VIs via the brute force method. The longer the password was, the longer it took. I have a 10 or so character password that I apply to some of my VIs and I didn't have the patience to wait around long enough to see if it could crack them.


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Paul
post Jul 29 2004, 11:38 AM
Post #5


Active
*

Member
Posts: 22
Joined: 21-May 04
From: Fort Belvoir, VA
Member No.: 423
LV:7.0


Would saving without the block diagram prevent the user from accidently/intentionally rearanging the front panel icons, or is there a seperate lock command for those?

--------------------
Thank You
Paul F.


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Bryan
post Jul 29 2004, 02:45 PM
Post #6


Very Active
***

Member
Posts: 197
Joined: 12-May 04
From: Charlottesville, VA
Member No.: 404
Using LabVIEW Since:1999
LV:7.1 ,8.0 ,8.20
us_pennsylvania us_california us_virginia


If you go to the very last button to the right on the tool bar, (the one that contains "move forward" "group" "ungroup" etc.) There's a selection called "Lock".

Just select all controls that you want to lock in place and go up and select "Lock" and there ya go. biggrin.gif

This post has been edited by Bryan: Jul 29 2004, 02:45 PM


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Michael_Aivaliot...
post Jul 29 2004, 02:53 PM
Post #7


Confucius say: Crowded elevator always smell different to midget
Group Icon
*****

Admin
Posts: 2402
Joined: 13-October 02
From: Planet Earth
Member No.: 2
Using LabVIEW Since:1994
LV:8.5 ,8.2.1 ,7.1.1
Greece Canada United States My Blog My Gallery


QUOTE (Paul @ Jul 29 2004, 07:38 AM)
Would saving without the block diagram prevent the user from accidently/intentionally rearanging the front panel icons, or is there a seperate lock command for those?
*

Actualy, password locking would prevent ANY editing including front panel changes.
QUOTE (Bryan @ Jul 29 2004, 10:45 AM)
If you go to the very last button to the right on the tool bar, (the one that contains "move forward" "group" "ungroup" etc.) There's a selection called "Lock".

Just select all controls that you want to lock in place and go up and select "Lock" and there ya go. biggrin.gif
*

Yes, this is a good option as well. It sounds like you are running LabVIEW code on a test system and your operators are aborting the VI or something. When you build your VI, you should design it so it automatically runs on startup and has all the menus and toolbars disabled. If you have to click the RUN button to execute your application then something is wrong.

--------------------


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Bryan
post Jul 29 2004, 03:14 PM
Post #8


Very Active
***

Member
Posts: 197
Joined: 12-May 04
From: Charlottesville, VA
Member No.: 404
Using LabVIEW Since:1999
LV:7.1 ,8.0 ,8.20
us_pennsylvania us_california us_virginia


QUOTE (Michael Aivaliotis @ Jul 29 2004, 09:53 AM)
Actualy, password locking would prevent ANY editing including front panel changes.


Really? I actually didn't know that. I've always done mine like you suggested below:

QUOTE
Yes, this is a good option as well. It sounds like you are running LabVIEW code on a test system and your operators are aborting the VI or something. When you build your VI, you should design it so it automatically runs on startup and has all the menus and toolbars disabled. If you have to click the RUN button to execute your application then something is wrong.
*


biggrin.gif That reassures me that I'm programming wisely. I've never had a whole lot of interaction with other LabVIEW programmers, I've learned all I know right now pretty much on my own and have worked independently with LabVIEW (most places I've worked, I have been the only LabVIEW programmer in my department).

It's great to get confirmation from seasoned LabVIEW programmers that I'm going down the right path. biggrin.gif


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

 




Time is now: 8th January 2009 - 01:06 AM