NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand 4.1.1 Evaluation Version Limitation? or I just don't know what I am doing?

Solved!
Go to solution

Hi,

 

I am currently using TestStand 4.1.1 Evaluation version.  I looking at customize the interface.  I am using LabWindow CVI.  I opened the source and its UIR.  I tried to add a button on the panel, but it doesn't seem to change any appearance at all when I compiled and run the executable.  I wonder if it is because I am using evaluation version or I just don't know I am doing?!

 

Secondly, I am also look at integrating source control into TestStand.  From the standard menu, I saw grayed out "Source Control" option.  Again, is it is because of the evaluation version?  Or if I need to setup something in order for this to work?  Currently, in my computer, I know I have SourceSafe.

 

Any information would be great!

 

Thanks.

 

Peggy

0 Kudos
Message 1 of 6
(3,697 Views)

Peggy,

 

i asume that you are looking into the "Full Featured" UI. This UI has resizing functions included. So i guess that your control is overdrawn by the dynamically resized controls. So either work with the Simple UI for starters or you have to change the resize functionality.

 

If you want to work with SCC, you have to configure it first. Please open the Station Options and select the page "Source Control". Select your SCC provider to be default.

After that, you can create a new workspace and include this in SCC, following by a project. In the project, you can include your sequences to SCC.

 

hope this helps,

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 6
(3,679 Views)
Oh, okay. For the source safe, I think my problem is because I did not have a workspace created. Thanks.
0 Kudos
Message 3 of 6
(3,663 Views)

For programming the interface, I am still a bit lost.  I understand that resize part, but I seem to failed to find out where/how to configure the option.  Do you mind to provide me a bit more instruction?

 

Also, can you also recommand me some site or books to help me to get started?

 

Thank you.

 

Peggy

 

0 Kudos
Message 4 of 6
(3,661 Views)
Solution
Accepted by topic author PeggyC

Peggy,

 

i am not aware of any books that help much in this rather special case.

 

Taking a look into the function which does the resizing:

static int ArrangeControls(int processEvents) 

you can see that the code first of all asks for the size of the whole panel.

After this, this size is split up into different rectangles which represent the different parts of the panel (e.g. tab control).

Each rectangle has now the size fitting to the current panel size. So all you need to do next is to step into each pane and resize its controls (e.g. buttons, listboxes,...)

So you see a lot of SetCtrlAttribute-calls with the parameter ATTR_WIDTH and ATTR_HEIGHT.

All you need to do is to include your control in this algorithm for the appropriate pane you used to place your control.

 

hope this helps,

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 5 of 6
(3,647 Views)
Okay.  Thanks.  You answered my question.
0 Kudos
Message 6 of 6
(3,633 Views)