Tags |
(This content has not been tagged yet)
|
![]() |
Jan 24 2005, 02:29 PM
Post
#1
|
|||
|
I've come back for more. Member Posts: 2 Joined: 24-January 05 Member No.: 1435 LV:7.1.1
|
Here's a wierd one (a "bug") that I discovered while experimenting with typedefs and diagram terminals that you may want to try out (in LV7.0-7.1.1).
It's possible to create constants on the diagram that are impossible to remove. Here's how. Create a typedef and place a constant of it on the diagram. Right-click on the constant and select "Advanced"..."Hide Control". Once you do you permanently have this typedef constant affixed to your VI. It isn't possible to move or select the typedef constant anymore and you can't delete it. You can still wire it however. Bruce Moyer
|
||
|
|
|||
| Ad |
Jan 24 2005, 02:29 PM
Post
#
|
||
|
|
|
||
|
|
|||
Jan 24 2005, 06:34 PM
Post
#2
|
|||
|
Instant Human, just add coffee Premium Member ![]() Posts: 889 Joined: 31-January 03 From: Waterford, CT USA Member No.: 45 Using LabVIEW Since:1992 LV:8.2.1 ,7.1 ,8.0.1
|
Very interesting. This might provide a way of "watermarking" a VI, or creating an indelible trademark.
It also creates an effective way to place a timelimit on how long an application runs, even if you provide source code. Put a typedef cluster constant on the diagram and wire or not, and let the software run. After you exceed the timelimit have the application delete the typedef VI. This will break your application the next time it is restarted, with no way to fix unless the end user gets another copy of the typedef. -------------------- ************************************************************* "Always listen to the experts, they'll tell you what can't be done, and why. Then go do it." ~The Notebooks of Lazarus Long (by Robert Heinlein) *************************************************************
|
||
|
|
|||
Apr 7 2006, 03:37 PM
Post
#3
|
|||
![]() More Active Member Posts: 32 Joined: 3-December 04 From: Cedar Falls, Iowa, USA Member No.: 1172 LV:8.0.1 ,7.1.1 ,7.0
|
Very interesting. This might provide a way of "watermarking" a VI, or creating an indelible trademark. Update: I tried this in LabVIEW 7.1 and it works as described. In LabVIEW 8.0, the Advanced menu pull-right is disabled. If you placed one in LabVIEW 7.1 and open the VI in 8.0, it is still "stuck", but you can't "stick" a new one. Bob Young
|
||
|
|
|||
![]() ![]() |
| Time is now: 8th January 2009 - 11:57 PM |