NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Teststand LabVIEW DLL deployment

Hello,

I am having a lot of difficulty with my application. I wrote a user interface in Labview to select tests (also Labview) which would be run under Teststand. I bring the user interface VI to the front by setting the "window appearance" to bring to front if called and close afterwards. I compiled the Labview software into a DLL and then deployed the code to another computer. What I see on my development machine is the software running correctly with the window opening and closing on cue. On the deployment side, I click on the Labview Operator Interface and then an icon is shown in the system tray (lower right corner of screen) which is a black LV Operator Interface icon. Hovering about the icon, I get a "NI Teststand Remote Engine - Not connected" message. Nothing else happens. If I click on the icon, it just pops up and again displays the "NI Teststand Remote Engine - Not connected" message. Anyone out there know what this is and how I solve it. I am not running the application remotely or any of that. I also checked all of the stuff with DCOM that is mentioned in the TS Reference manual and all is set correctly. I am running:

TS 3.1
LV 8.2
XP Pro with SP 2

Michael
 

Message Edited by MF on 01-11-2007 02:41 PM

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

Hi,

Have you used the TestStand Deployment tool to deploy your Operator Interface and also the TestStand runtime engine?

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 6
(3,633 Views)
I did use the deployment engine to include TestStand Engine and clicked the LabVIEW complex and simple operator interfaces under the Advanced button. On the deployed computer, I get the operator interface going by selecting Start Menu -> Programs -> National Instruments -> TestStand 3.1 -> Operator Interfaces -> LabVIEW.

Mike
0 Kudos
Message 3 of 6
(3,620 Views)
Hi Michael,

Are you getting a specific error?
Is this icon appearing immediately after you execute your LabVIEW Operator Interface?

Here's a KnowledgeBase that describes the XP SP2 issue, and it may explain detailed settings that might not have been clear in the Reference Manual.

TestStand Remote Execution Fails When Using Windows XP Service Pack 2 With Error -17850 or -17851
http://digital.ni.com/public.nsf/websearch/4615BF8FFC7E43E786256E7F004CB5F7?OpenDocument

Gavin Fox
Systems Software
National Instruments
0 Kudos
Message 4 of 6
(3,605 Views)

Hi MF,

A couple of thoughts.  When you see the black Icon have you checked your system processes to see if TestExec.exe or anything that starts with TSAUTO* is running?  If not then the TestStand engine isn't starting. 

Do you have a current license on that machine for TestStand?  You have to have at least the Base Deployment License to execute the TestStand engine on a machine.  http://digital.ni.com/public.nsf/websearch/B4B7C4ADB9B21B3F86256D360061891F?OpenDocument

Regards,

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

I solved the issue of the black TestStand icon. Apparently, after I removed a few TestStand deployments using "Add/Remove Programs" under t he Control Panel, something got messed up and any new deployments did not install correctly. So I uninstalled all TestStand software and the deployments and then I went under c:\Programs\National Instruments and deleted the TestStand directory. I also deleted any remaining files under the deployment directories. Then I restarted the machine and did a fresh deployment. The black icon went away and all was good again.

I have seen this issue a few other times for various other NI software. Sometimes you have to remove all bits and pieces of the software in order to have the new software install correctly.

Mike Froehlich
WinSoft Corp
0 Kudos
Message 6 of 6
(3,570 Views)