Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

waitforbuttonpress (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: commands

Requires: MathScript RT Module (Windows)


c = waitforbuttonpress


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.


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.


The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine No (returns error or is ignored)
Supported on RT targets No


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