Check out the related Code Repository Files or visit the LabVIEW Wiki Development Environment Portal
Tags |
(This content has not been tagged yet)
|
![]() |
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.
|
||
|
|
|||
| Ad |
Jul 27 2004, 03:35 PM
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
|
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.
|
||
|
|
|||
Jul 28 2004, 01:18 AM
Post
#3
|
|||
![]() Confucius say: Crowded elevator always smell different to midget 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
My Blog
My Gallery
|
Hey, you can always add a password.
File>>VI Properties then select ->Security -------------------- Thank You
Michael Aivaliotis - Follow me on Twitter - My Personal Blog Search the LabVIEW Web - Build the LabVIEW Web - Got VIPM? ![]()
|
||
|
|
|||
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
|
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.
|
||
|
|
|||
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.
|
||
|
|
|||
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
|
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. This post has been edited by Bryan: Jul 29 2004, 02:45 PM
|
||
|
|
|||
Jul 29 2004, 02:53 PM
Post
#7
|
|||
![]() Confucius say: Crowded elevator always smell different to midget 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
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. 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. -------------------- Thank You
Michael Aivaliotis - Follow me on Twitter - My Personal Blog Search the LabVIEW Web - Build the LabVIEW Web - Got VIPM? ![]()
|
||
|
|
|||
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
|
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. It's great to get confirmation from seasoned LabVIEW programmers that I'm going down the right path.
|
||
|
|
|||
![]() ![]() |
| Time is now: 8th January 2009 - 01:06 AM |