National Instruments 320682C Musical Toy Instrument User Manual


 
Utility Library Chapter 8
LabWindows/CVI Standard Libraries 8-72 © National Instruments Corporation
Parameters
Input
stdioPort
integer CVI_STDIO_WINDOW (0) =
the CVI Standard Input/Output
window.
HOST_SYSTEM_STDIO (1) =
the host system's standard
output.
Return Value
status integer Indicates whether the function
succeeded.
Return Codes
0
Success.
-2
Destination was not a valid range.
Parameter Discussion
In a standalone executable, the default value for stdioPort is CVI_STDIO_WINDOW.
In the CVI Development System, the default value for stdioPort is the current state of the Use
host system's standard input/output option in the dialog box brought up by the Environment
command in the Options menu of the Project window. The value that you set using this function
is reflected the next time you bring up the environment dialog.
SetStdioWindowOptions
int status = SetStdioWindowOptions (int maxNumLines,
int bringToFrontWhenModified,
int showLineNumbers);
Purpose
Sets the current value of the following Standard Input/Output window options:
Maximum Number of Lines
Bring To Front When Modified
Show Line Numbers