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

waitforbuttonpress (MathScript RT Module Function)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

Owning Class: commands

Requires: MathScript RT Module (Windows)

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 if you request an output from the function. Either do not request an output or remove this function from scripts before you build a stand-alone application or shared library.


 

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