NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

User Interface using old style ActiveX Controls

Solved!
Go to solution

I've been trying to build a User Interface for TestStand 4.1.1 using LabView 8.6.1 (on Windows XP)

However the ActiveX controls keep displaying in the old style "block" non-3d.

 

UI_New_build.jpg

 

This only seems to be a problem when you build a new exe. If you use the included User Interface (Full Featured) in TestStand it displays correctly.

 

 UI_Old_build.jpg

 

I have been able to replacte this problem on two other development systems (one a fresh windows XP, LabVIEW 8.6.1 & TestStand 4.1.1 Install).

 

1) Take a copy of the LabVIEW full-functional User Interface.

2) Open the Project file

3) rebuild the exe

 

This is only a problem when you use the exe. When you run it from the LabVIEW Development system it look fine.

Simon Holman
Software Engineer
Certified LabVIEW Developer
Certified TestStand Developer

measX GmbH & Co. KG.
http://www.measx.com
0 Kudos
Message 1 of 9
(5,593 Views)
Solution
Accepted by topic author Simon_Holman

Hi Simon,

 

In order for your User Interface to take on the XP Theme controls, you will have to place a manifest file that specifies the activex control themes in the same directory as your executable. TestStand ships with a manifest file for the C# UI that you can also use for the LabVIEW UI. Simply browse to <TestStand 4.1.1>\User Interfaces\Simple\CSharp and copy the TestExec.exe.manifest file to your LabVIEW User Interface executable directory.

 

Note that the manifest file will have to have the same name as your LabVIEW UI executable. For example, if you name your UI, "MyCustomTSUI.exe", you will have to name the manifest file "MyCustomTSUI.exe.manifest".

 

Please let me know if this solves your problem or if you still have more questions. Thanks!

Manooch H.
National Instruments
Message 2 of 9
(5,566 Views)
Great that did the trick. Thanks
Simon Holman
Software Engineer
Certified LabVIEW Developer
Certified TestStand Developer

measX GmbH & Co. KG.
http://www.measx.com
0 Kudos
Message 3 of 9
(5,559 Views)

Hi,

 

Sorry for digging this thread up but I would like to understand how you managed to create such an interface with LabVIEW. Is this interface particular to TestStand or have you done it by yourself? I am asking the question because I have to rebuild a User Interface for an application done with LabVIEW.

 

Thanks for replying

Chris

0 Kudos
Message 4 of 9
(5,197 Views)

This is done by using controls supplied with TestStand. There is a default UI which also comes with the TestStand installation which you can customise.

 

If your problem is just a LabVIEW question and nothing to do with TestStand then you need to repost to the LabVIEW forum.

 

Regards

Ray Farmer

Message Edited by Ray Farmer on 02-18-2010 12:52 PM
Regards
Ray Farmer
0 Kudos
Message 5 of 9
(5,192 Views)

Hi,

 

Thanks for replying! You said that you were using LabVIEW to create a TestStand UI (sorry if I am misunderstanding this)

 

ScreenShot104.jpg

 

I didn't know for example, if you created by yourself that status bar (which meant a customized GUI using ActiveX components) or if it was supplied directly by TestStand.

 

Chris

Message Edited by superfunk on 02-23-2010 10:14 AM
0 Kudos
Message 6 of 9
(5,150 Views)

Hi,

 

This GUI is written in LabVIEW but it uses many ActiveX controls supplied by TestStand.

The status bar is an ActiveX control that is supplied by TestStand.

 

I hope that clarifies your question.

 

Simon 

Simon Holman
Software Engineer
Certified LabVIEW Developer
Certified TestStand Developer

measX GmbH & Co. KG.
http://www.measx.com
0 Kudos
Message 7 of 9
(5,115 Views)

Thanks a lot.

I'm creating a user interface in labwiew for calling TestStand tests sequence.
Can you tell if the user interface can start automatically after opening the sequence files?
How can i do this in Labview Vi? Where?
0 Kudos
Message 8 of 9
(4,573 Views)

Thanks a lot.

I'm creating a user interface in labwiew for calling TestStand tests sequence.
Can you tell if the user interface can start automatically after opening the sequence files?
How can i do this in Labview Vi? Where?
0 Kudos
Message 9 of 9
(4,572 Views)