NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

minimize output window

Hello, My test consist of one CVI function, that contains some printf lines. In other words my function prints runtime test results in stdout. Each time when print occurs teststand output window activate and maximize itself. My test is long enough and It's really ugly and irritating to minimize it each time. Could you help me? Anybody knows how can I minimize output window? My be I can to minimize it from code? Thanks
0 Kudos
Message 1 of 6
(3,829 Views)
Hey,
 
What are you talking about when you say the TestStand output window?  Is it the report? Execution window? Can you send me a simple CVI code module that will reproduce this?  Or a screenshot of what you see?  A little more information and I'll be able to help you resolve this issue faster.
 
Regards,
jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 6
(3,808 Views)

Thank you for replay.

I am talking about very simple CVI code like

void __declspec(dllexport) simpleFunction()

{

printf("hello world\n");

/* some operations here

you could run delay(2); instead

 */

printf("hello world\n");

}

so, each printf function maximize and active the output window (screenshot attached). I run long tests and want to do something else when my test is running but it's impossible becase of output window popups.

Could you help me?

Thanks

0 Kudos
Message 3 of 6
(3,801 Views)
0 Kudos
Message 4 of 6
(3,783 Views)

Try looking at some of these methods:

SetStdioWindowOptions()
SetStdioWindowPosition()
SetStdioWindowSize()
SetStdioWindowVisibility()

You can read about them in the CVI Help.  Even though you see the TestStand symbol on that I/O window it is really CVI that is generating it when you do a printf.  TestStand just owns it.  You can set different options for the window using these functions.

Hope this helps,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 5 of 6
(3,761 Views)

Hi,

Using SetStdioWindowVisibility (0) will hide the window.

Using SetStdioWindowOptions(100 , 0, 0) would show 100 lines but would not bring the window to the front when text was sent to the standard I/O.

Hope this helps

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 6 of 6
(3,756 Views)