キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

Debug window data/display issues

I am using CVI2015.  I am running a few .bat files that display some data in the debug window.  My first issue is the debug window is stuck in the background.  I would like to have it move up front when it is being updated.  I turned on show window when updated and I tried SetStdioWindowOptions (10000, 1, 0);   but it does not function.  it always stays in the background.  Is it possible to capture the debug window output in real time and send it to a text window?

0 件の賞賛
メッセージ1/9
3,999件の閲覧回数

You can set the debug window to come to the front of your screen when updated by going to Options >> Environment and selecting Bring Debug Output window to front whenever modified

 

Here's some more information on the environment options:

http://zone.ni.com/reference/en-XX/help/370051V-01/cvi/usermanual/prjenviron/

 

Hope that helps!

Francine P.
Applications Engineering
National Instruments
0 件の賞賛
メッセージ2/9
3,971件の閲覧回数

That was the first thing I tried.  I have data updating the window, it does not move up front. it stays minimized.

0 件の賞賛
メッセージ3/9
3,968件の閲覧回数

That's strange... it sounds like the "Bring Debug Output window to front whenever modified" option should do the trick... I checked our known issues and bug reports and haven't found anything related to this feature. Are you able to try downloading a newer version of CVI and see if the problem persists, or try on another computer? 

Francine P.
Applications Engineering
National Instruments
0 件の賞賛
メッセージ4/9
3,948件の閲覧回数

This PC is used on the production floor.  I do not want to update the PC because I will have to validate multiple programs to verify they still work on 2017.  I will try it on another test pc.

0 件の賞賛
メッセージ5/9
3,941件の閲覧回数

I tested this in CVI 2017 and it the "Bring Debug Output window to front whenever modified" option worked for me. It brings the Debug Output window to the front of all the output windows, it doesn't bring the entire CVI window to the front, was that what you are looking for?

 

You can always output to a standard text window by using printf instead of the debug window. It will still output in real time, and you can log the output to a file too if you need to save it.

Francine P.
Applications Engineering
National Instruments
0 件の賞賛
メッセージ6/9
3,924件の閲覧回数

The issue I have is I am running a .bat file that launches a programming tool.  The output of the programmer is sent to a file.  The initialization is sent to the debug window.  I do not have control over it.  I would like the debug window moved up front so I can see if the programmer initialized correctly.

0 件の賞賛
メッセージ7/9
3,920件の閲覧回数

I see... again, I'd try testing on a different computer with CVI 2017. Could be a bug with 2015 that was fixed in a later version. 

Francine P.
Applications Engineering
National Instruments
0 件の賞賛
メッセージ8/9
3,907件の閲覧回数

I have to move the code to a 2017 version.  I tried it on 2013 and have the same issue.

0 件の賞賛
メッセージ9/9
3,904件の閲覧回数