Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

waitforbuttonpress (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the commands class.

Syntax

c = waitforbuttonpress

Description

Waits for a key up event or a mouse up event before continuing execution. In a plot window, the mouse up event must occur in the plot area or outside of the plot window. If you click the scroll bar, the menu bar, the title bar, or the toolbar, this function does not continue execution.

Details

Outputs

Name Description
c Returns the action that resumes execution. c is a scalar that can return the following values.

0 Indicates that a mouse up event resumed execution.
1 Indicates that a key up event resumed execution.

Details

This function is not supported in the LabVIEW Run-Time Engine. This function can remain in your scripts when you build a stand-alone application or shared library, but the LabVIEW Run-Time Engine does not execute this function.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit