LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Key F4 to retry the last function / instruction similarly in MS-Office

Key F4 to retry the last function / instruction similarly in MS-Office ?

0 Kudos
Message 1 of 3
(2,228 Views)

Hi WerBoh,

 

use a key press event to detect F4, then restart the last function used in your application. QueuedMessageHandler might be a suitable programming scheme...

 

Or do you talk about the LabVIEW IDE?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,225 Views)

Your question isn't very clear on what you are trying to achieve.

 

I'm assuming that you're talking about capturing a user pressing the F4 button in your LabVIEW application to retry the last action/command. I think this would be possible using an event structure to detect the F4 key being pressed and using this to prompt your application to do that action/command again.

 

The event structure can be set up as follows:

08-11-2013 14-32-58.png

 

How you actually implement this will depend on the architecture of your application - you'll need to remember the last action that was performed (perhaps on a shift register).

 

If you're talking about in the LabVIEW development environment itself - I don't think this is possible. You could suggest it on the LabVIEW ideas exchange though!


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 3 of 3
(2,223 Views)