LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI application start-up delay on some PC's

Hello,
 
On some PC's I have a long delay (30 till 120 seconds) before a CVI apllication starts.
The operating system is XP professional on all PC's and the CVIRTE is version 8.5.
The same application starts directly on the most PC's.
 
What can be the reason of the delay?
 
Regards Jef,
 
0 Kudos
Message 1 of 21
(4,946 Views)
i've observed the same behavior, although shorter delays from 5 to 10 seconds. it seems to relate to the initialization of the runtime... but i don't know more than this. startup time were shorter with CVI 7.5 and 8.0.
0 Kudos
Message 2 of 21
(4,926 Views)

Have you investigated whether anti-virus software is involved? That could very well be a contributing factor.

--Ian

0 Kudos
Message 3 of 21
(4,925 Views)

Hello, I'm seeing the same issue, on my computer (XP with CVI 7.00), delay is aprox 20 seconds.

When I first installed the NI software, applications were starting immediately. This startup delay, seem that started to appear after some crashed applications required a system reset. From then on this delay appears all the time, in whatever new application I create.

Any ideas helping me get rid of this nuisance would realy be appreciated.

 Regards,

0 Kudos
Message 4 of 21
(4,697 Views)

Hello,

I have find out that the start-up delay of the CVI application disappear when I remove my network connection of the PC.

So, it hash something to do with a seach on the network, but I can not find the reason.

Regards Jef,

 

 

0 Kudos
Message 5 of 21
(4,692 Views)
I disabled my network adapter, and tried the application without network, there is no difference, 20 seconds delay is still there. Anyway thanks for the tip.
0 Kudos
Message 6 of 21
(4,687 Views)
Hi miniMe & CE1 ALU,

Both of you are describing the same behavior in a way so I thought I might address these questions to both of you
  1. Do you happen to have Microsoft Firewall Client installed on the machines that exhibit this 20 second startup delay? Just check your <Program Files> directory to see if you have a Microsoft Firewall Client 2004 folder. 
  2. Look at the HKEY_CURRENT_USER\Software\National Instruments\CVI Run-time Engine\cvirte registry key and see if there is a RemoteDebugger value listed there.
  3. Can you confirm what version of the CVI RTE yall have installed on these "slow startup" computers? Check the <System32> directory for the version of cvirte.dll
  4. Does the slow startup happen on shipping examples as well? This will help determine if there is a problem associated with your specific project or if its a global issue
  5. Does the slowness happen when you launch the application from the debugger (i.e. you run your application from within the CVI IDE and it creates a process for your application).

Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 7 of 21
(4,675 Views)

Hello Jonathan,

I have checked your questions and have following answers:

1) No, I have not such folder.

2) No, I have not such key in the registery.

3) The version on all PC's is 8.5.0.279.

4) It is also with the shipping examples.

5) Yes, also from the debugger.

When I remove my network cable, than the delay disapear, why?

I have checked also with the Measurement & Automation tool if there is a server running on my PC to seach on the network when I start a CVI application, but I can not find anything.

When I prepare a executable with an other IDE like Visual C++, than I have no start-up delay.

My source code:

#include <utility.h>
#include <userint.h>
/***************************************************************************************************************************/
int main (int argc, char *argv[])
/***************************************************************************************************************************/
{
 if(InitCVIRTE(0, argv, 0)==0) return -1; // initialize CVI runtime engine
 MessagePopup ("CVE runtime engine", "This program is only prepared to check the start-up delay.");
}

0 Kudos
Message 8 of 21
(4,639 Views)
Hi CE1 ALU,

Did this behavior just start happening with 8.5?
Try the following steps:
  1. Select Start»Control Panel.
  2. Double-click Internet Options.
  3. Select the Advanced tab.
  4. In the Security section, uncheck the Check for publisher's certificate revocation option.
Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 9 of 21
(4,620 Views)

Hello Jonathan,

To answer your questions:

1. I have Microsoft Firewall Client installed on my computer but delay is present also when I shutdown Firewall Client.

2. I do not have registry key that you mentioned

3. cvirte.dll is version 8.5.0.279

4. This delay appares also on shipping examples.

5. This delay is present regardless the way application is invoked - command line or IDE - in release or debug mode

Regards

0 Kudos
Message 10 of 21
(4,607 Views)