NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Log window with scrolling on the execution main window

Hi

We want to create a LOG window behaves like a normal window (with scroll & move options)
on the Test Stand Operator Interface  Execution Window. Please see the example attached picture.
We tried first to do it using CVI but couldn't do scrolling and couldn't move the window.
We wander if there are special tools to perform it using the Test Stand ?
Can you send examples + explanations ?

Thanks.

0 Kudos
Message 1 of 8
(3,927 Views)

Hi,

Have you looked at the example textbox.prj in the samples\userint\ folder of CVI. This shows a text box which scrolls when you insert an new line.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 8
(3,915 Views)
No , I didn't see , I'll check it , thanks.
0 Kudos
Message 3 of 8
(3,895 Views)
Ray ,       
     The example mentioned by Ray does not cover what we need.
     I am affraid that I was not understood enough.
     Using the CVI example we created a log window. However , we can not scroll or move the window because
     tasks are done in parallel e.g. - we can not do the processing of the events of the user execution window which at that time run
     and at the same time (these are parallel tasks) do a real-time window with scrolling. This why we ask - maybe from
     the Test Stand it is possible to do ? We know that from Test Stand it is possible to look into a report file created on line
     by it - so maybe it is possible to open such window also from the Test Stand. Right now , from the CVI we didn't succeed
     and the Textbox control.prj example does not supply the answer.  
 
  Pazi
0 Kudos
Message 4 of 8
(3,886 Views)
Hey Pazi,
 
I understand that you are trying to make the scroll bars appear and the window movable on your execution window on your CVI operator interface.
 
First of all, the way that the TestStand controls for operator interfaces work is actually not like typical listbox controls.  They are actually ActiveX objects that interface directly with the TestStand API.  Like a listbox control, the scrollbars on the execution view will only appear if the number of items in the box exceed the max viewing size.  So, for instance, the screenshot that you sent only contained one element in the list.  Because there is nowhere to scroll to, the scrollbar would not appear.  If, however, you increase the number of steps to exceed the vertical limitations of that listbox, the scrollbar will appear to allow you to view all of the steps.
 
Secondly, when you mention moving the window, it sounds like you're wanting to move around the window containing that execution view control.  The example that you're looking at is using tabs to switch between the report and the execution view.  You probably found this example in C:\Program Files\National Instruments\TestStand 3.5\OperatorInterfaces\NI\Full-Featured\ .  This example is a great operator interface, but can be confusing as to how everything works due to its complex design.  Please refer to the example that should be on your hard drive under C:\Program Files\National Instruments\TestStand 3.5\OperatorInterfaces\NI\Simple.  This should provide a more basic introduction to the concept and, based on my understanding of your "movable window" concept, should provide an understanding of that functionality as well.
 
Please update if this does not help.
 
Thanks,
Andy McRorie
Applications Engineer
National Instruments
 
 
Thanks,

Andy McRorie
NI R&D
0 Kudos
Message 5 of 8
(3,868 Views)

Hi Pazi,

Maybe Andy has a better handle on your requirement, but I am unclear as to which window you are referring to and too what you mean by moving the window. I thought you were referring to the small CVI panel at the top left hand corner.

If its that panel, then you need to set the panel so that its moveable, you will find this in the Edit Panel, and Press the Other Attributes button.

Regards

Ray Farmer

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

Hi,

I have attached an example which I hope will answer your question.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 7 of 8
(3,818 Views)
Ray ,
 
Thanks a lot. First , to clarify what did I mean by a moving window : I want to create a log window
in addition to and in parallel to the main user execution window. So , while we see the user interface
window active with all its information going on , we shall be able to create a log window. In the term
" movable " window I simply meant that this log window shall be like any other window you open in
Windows operating system e.g. - each window you normally open can be moved from location to location ,
scrolled , opened and closed , reduced to the task bar down in the screen bottom line etc'. Just a
normal window - as many others. This should be while another window e.g. the main execution window
operating and with no connection.
I shall look in the example zip file you sent but I can tell you that as a result from the example we got last
Friday or Saturday we know now what to do although the example by itself does not answer our requirements
but having read that we got some idea and I think the issue is dolved. I shall check today with the program
engineer who took care of this but as far as she reported she succeeded to handle that.
 
Thanks again for your + other forum members efforts.
 
Pazi  
0 Kudos
Message 8 of 8
(3,806 Views)