08-22-2014 12:46 AM
Hi!
I have a graph which displays wave and some cursors. Is there a way to assign a special key binding for the graph palette controls? Say that I want to zoom in on the graph, then I could press the "z-button" on my keyboard and then the zoom in function on the palette would be selected. Same goes for pan, and cursor. Shouldn't there be a easy way in Labview to do this, or do I have to make a separated program?
Best regards Maurlind!
Solved! Go to Solution.
08-22-2014 01:15 AM
I doubt you can do it directly. But you can create Event for key press and using that you can perform the Zoom operation in the Graph. Similarly you can perform the other operations.
08-22-2014 02:23 AM
Hi maurlind,
Shouldn't there be a easy way in Labview to do this
If you think so you can add a new LabVIEW idea in the LabVIEW Idea Exchange!
do I have to make a separated program?
You can control your graph with its property nodes. Use an event structure to determine key press events…
08-22-2014 08:12 AM
Solved it with keyevent and case structure, inside I paced a propertynode with Active palette tool
I used the basic code from this link: http://digital.ni.com/public.nsf/allkb/D295B048D1B6E0D3862571EA005FBDE4
Best regards Maurlind!