07-28-2009 10:38 AM
Hello,
I am looking for a way that when we press printscreen, nothing appen. I look on the forum and i found nothing .
I am using LV 6.1 but if neccesary i can upload to 8.5
07-28-2009 01:17 PM
Are you saying something happens to LabVIEW? Or, do you get some sort of popup or something? If so, it sounds like you have some screenshot capture tool installed.
Are you trying to prevent people from getting screenshots?
07-28-2009 01:21 PM
I just don't want somebody take a picture of the front panel when i run the vi
07-28-2009 01:24 PM
07-28-2009 01:24 PM
What about somebody with a camera phone? Just wondering...
This is something you have to do at the operating system level, not in LabVIEW. You didn't indicate which operating system you have, but on Windows there's a number of tools that disable keys. Just Google for it.
07-28-2009 01:38 PM
And just as easily re-activate the feature by doing the same Google search.
Fully preventing someone from taking screen captures is not easy. Any feature that can be disabled can also be enabled.
07-28-2009 01:39 PM
Cellphone camera is still a possibility.
I am asking this because I dont want when testing something for a client and if I get out of the room he can take a screenshot of the data save it on a usb drive and leave with it
07-28-2009 01:44 PM
Okay... So it is the data that you want to prevent the client for copying.
You could display the data on a TAB and require a login / password to see that tab (which displays the data).
So before leaving the room, remember to exit the data display TAB.
There are other schemes that you could implement, but the above may be among the easiest to implement.
07-28-2009 02:15 PM
The tab control is a good idea. If you act on the "Value change" event then you would actually need to make sure the stuff in that tab is hidden until you've actually verified the password. Otherwise you can click the tab, the password dialog comes up, and then someone can just move the dialog out of the way. You could act on the "Mouse Down?" event for the tab control. This allows you to cancel the action before it happens, but then you'd have to figure out if the click occurred on the tabs, and which tab was actually clicked.
If you wanted to you could even include a countdown time that automatically switches back after a certain amount of time.
Attached is an example of hiding the super secret stuff. It uses the Login Dialog that ships with LabVIEW. This is purely meant for demonstration.
You'd still want to disable the print screen, though.
07-28-2009 02:27 PM
If its is a Windows OS, set up a user account, then lock the PC (via cntl+alt+del) if you leave. You will have to log back in in order to see any screens.
-AK2DM