LabWindows/CVI

Content Type
Programming Language
Current manual

SetStdioWindowOptions

SetStdioWindowOptions

int SetStdioWindowOptions (int maximumNumberOfLines, int bringToFrontWhenModified, int showLineNumbers);

Purpose

Sets the current value of the following console window option:

  • Bring to front when modified

Parameters

Input
Name Type Description
maximumNumberOfLines int
Note Note  This value is not used.
LabWindows/CVI ignores maximumNumberOfLines.
bringToFrontWhenModified int Indicates whether to bring the console window to the front each time you add a string or character to the window.

The default value is 1.

1—Yes
0—No
showLineNumbers int
Note Note  This value is not used.
LabWindows/CVI ignores showLineNumbers.

Return Value

Name Type Description
status int Indicates whether the function succeeded.

Code Description
0 Success.
-1 Maximum number of lines is not within the valid range.

Additional Information

Library: Utility Library

Include file: utility.h

LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later

Example

Refer to userint\standardio.cws for an example of using the SetStdioWindowOptions function.

Was this information helpful?