VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Veristand gateway does not start

Hello,

 

We are using VeriStand 2011 SP1 with all patch installed.

 

Something strange happened this morning.

Until 2 weeks we started the VeriStand gateway manually.

For 2 weeks we changed it to start it automatically as a service for windows 7.

There was no problem on the 10 computers we installed it.


We don't really know why, but on 3 other computers, neither the service started the VeriStand gateway automatically, nor the gateway could be started manually. The error message was that the file NationalInstruments.Veristand.Gateway.dll is not found. Despite the fact that the file is located in C:\Program Files (x86)\National Instruments\VeriStand 2011\Data, the file is not found.

 

We made a copy of the Data folder in order to install a patch provided by NI.

After investigation, we detected that the copy of the Data folder should be removed in order to work fine.

Does someone know what can prevent VeriStand Gateway to be started using NI API and the StartVeriStandGateway method.

 

Best Regards,

CFOE

0 Kudos
Message 1 of 4
(5,597 Views)

Hello CFOE,

 

Perhaps we could use some clarification on the method you are using to start VeriStand as a service for Windows 7.  Do you have code you have written that you have set up as a service, or are you trying to call a specific VeriStand executable as a service?  On the three computers that were exhibiting the issue, could you start VeriStand normally without error by loading it from the Start Menu?  The gateway should start automatically when VeriStand is loaded.  

 

If you have any code we could examine that you are using to start the gateway, it might be beneficial to look at as well.  Let us know and we will see about finding some answers!

 

Regards,

| Zach J. | Systems Engineer, HIL and Test Cells | National Instruments |
0 Kudos
Message 2 of 4
(5,518 Views)

Hello BluesKnight,

 

We written a code that we set up as a service. It works fine on many computers.

We don't call a specific VeriStand executable as a service.

As I said in the previous message, VeriStand could not be loaded using the service or from the Start Menu.

 

I don't think that it comes from our code because VeriStand could not be loaded from the Start Menu. I think it is linked to the patch sent by NI in order to solve our issue.


This issue appeared the same time we installed NI's patch.

 

The patch provided by NI should be installed manually in the C:\Program Files (x86)\National Instruments\VeriStand 2011\Data folder. 2 dlls have been replaced but saved in a Data_copy folder.

 

What are the best usages when manually patches have to be installed. No one said us that we should not save the dlls in a other folder in the same tree.


We found the solution to restart the gateway. We simply removed the backup dlls and folder.

 

Best Regards,

 

CFOE

0 Kudos
Message 3 of 4
(5,489 Views)

I'm not too familiar with how the GAC assemblies refer to their dependencies or are being referred to as dependencies, but this might be the cause. The registered assemblies would point out the backed up assemblies (if the directory is in the list of search paths) but would not contain the right classes/methods...

 

Just a guess since we lack some information 😉

Eric M. - Senior Software Engineer
Certified LabVIEW Architect - Certified LabVIEW Embedded Systems Developer - Certified LabWindows™/CVI Developer
Neosoft Technologies inc.

0 Kudos
Message 4 of 4
(5,483 Views)