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

menu (MathScript RT Module Function)

LabVIEW 2011 MathScript RT Module Help

Edition Date: June 2011

Part Number: 373123B-01

»View Product Info

Owning Class: support

Requires: MathScript RT Module

Syntax

out = menu(title, option1, option2, ...)

Description

Shows a menu with options for you to select.

Examples

Inputs

Name Description
title Specifies the title in the menu. title is a string.
option1 Specifies an option in the menu. option1 is a string.
option2 Specifies an option in the menu. option2 is a string.

Outputs

Name Description
out Returns the index of the option you select. out is an I32 scalar. If you close the menu without making a selection, out is 0.

Details

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

Examples

K = menu('Select from:', 'Option 1', 'Option 2', 'Exit')

Related Topics

input


 

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