LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

At PC boot NiPal Service Mgr fails and exits

When the PC boots the operating system complains that NiPal Service Mgr needs to shut down.
This occured after I had run a LwCVI program that locked up the computer so I cycled the power to get it back.
I corrected this once by reinstalling LwCVI.

Is this a problem that NiPal Sevice Mgr is not running?

Is there a simple fix short of reinstalling LwCVI?

Thanks,
archieb
0 Kudos
Message 1 of 7
(4,884 Views)
archieb,

When the popup occurs, does it allow you to investigate further with a 'click here' link? If so, you can see which dll is causing the error. If the dll is located in the CVI folder then you will need to do an uninstall/reinstall. The dll could also be located in the Windows/System32 directory. If the dll is located in another program folder then I'd recommend you uninstall/reinstall that program.

Based on what you posted above I'd guess that the issue is related to CVI dll and that you will have to reinstall. Errors like this are usually related to a bad installation and are fixed with a uninstall/reinstall.
Test Engineer - CTA
0 Kudos
Message 2 of 7
(4,861 Views)
The message was:
Unhandled exception at 0x0036412 in nipalsm.exe:  0xC0000005:  Access violation reading location 0x00000000.

The disassembled code

003633E4  jge         003633E9


003633E6  mov         dword ptr [ebp-14h],ebx


003633E9  cmp         dword ptr [esi+9D8h],1


003633F0  mov         dword ptr [ebp-4],ebx


003633F3  jne         003633FC


003633F5  mov         ecx,esi


003633F7  call        003631DF


003633FC  dec         dword ptr [esi+9D8h]


00363402  jne         0036341A


00363404  mov         eax,dword ptr [esi+9D0h]


0036340A  push        edi 


0036340B  lea         edi,[esi+9D0h]


00363411  push        eax 


00363412  mov         ecx,dword ptr [eax]


00363414  call        dword ptr [ecx+8]


00363417  mov         dword ptr [edi],ebx


00363419  pop         edi 


0036341A  mov         ecx,dword ptr [ebp-14h]


0036341D  or          dword ptr [ebp-4],0FFFFFFFFh


00363421  mov         esi,dword ptr [esi+9D8h]


00363427  cmp         ecx,ebx


00363429  je          00363431


0036342B  mov         eax,dword ptr [ecx]


0036342D  push        ebx 


0036342E  call        dword ptr [eax+10h]


00363431  mov         ecx,dword ptr [ebp-0Ch]


00363434  mov         eax,e
003633E4  jge         003633E9


003633E6  mov         dword ptr [ebp-14h],ebx


003633E9  cmp         dword ptr [esi+9D8h],1


003633F0  mov         dword ptr [ebp-4],ebx


003633F3  jne         003633FC


003633F5  mov         ecx,esi


003633F7  call        003631DF


003633FC  dec         dword ptr [esi+9D8h]


00363402  jne         0036341A


00363404  mov         eax,dword ptr [esi+9D0h]


0036340A  push        edi 


0036340B  lea         edi,[esi+9D0h]


00363411  push        eax 


00363412  mov         ecx,dword ptr [eax]


00363414  call        dword ptr [ecx+8]


00363417  mov         dword ptr [edi],ebx


00363419  pop         edi 


0036341A  mov         ecx,dword ptr [ebp-14h]


0036341D  or          dword ptr [ebp-4],0FFFFFFFFh


00363421  mov         esi,dword ptr [esi+9D8h]


00363427  cmp         ecx,ebx


00363429  je          00363431


0036342B  mov         eax,dword ptr [ecx]


0036342D  push        ebx 


0036342E  call        dword ptr [eax+10h]


00363431  mov         ecx,dword ptr [ebp-0Ch]


00363434  mov         eax,e

------------------------------------------------------------------------------------------
What is nipalsm.exe used for?

Thanks,
archieb

0 Kudos
Message 3 of 7
(4,845 Views)
archieb,

NI-PAL service manager is a service (starts at boot time) that loads driver DLLs into memory.

Test Engineer - CTA
0 Kudos
Message 4 of 7
(4,828 Views)
This service has nothing to do with CVI since CVI does not install any device drivers. Re-installing CVI will not have any effect. You should try re-installing the drivers or try updating to the newest drivers.

Bilal Durrani
NI
0 Kudos
Message 5 of 7
(4,787 Views)
While I do not have the same problem, I am getting a bunch of system error messages in the event viewer.  Some do not start because NI-PAL

The niarbk service depends on the NI-PAL Driver service which failed to start because of the following error:

A device attached to the system is not functioning.

This also occurs with nibffrk, nidaq32k.


Also, These fail to start because of a specified driver failed to start

nibdbgk, nimxdfk


And these got the following error message:

The nistck service depends on the nibffrk service which failed to start because of the following error:

The dependency service or group failed to start.

nistck, nimdsk


Finally, I got this error message as well:

The following boot-start or system-start driver(s) failed to load:

NIPALK

 

I placed these services in manual and stopped them and that got rid of the problems with those.  We do not use these computers on a server or domain, so they do not need to be on. 

NI Domain Service,

NI PSP Server Locator, and

NI Time Synchronization.

Now the only error I get is:

The cvintdrv service failed to start due to the following error:

The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.

It comes on shortly after bootup.  I have tried uninstall/reinstall.  Do not see any type of LV error messages or minidumps.  We are using LV RunTime 8.0, MAX 4.2.1.2001, NI-PAL 2.0.0, and Traditional NIDAQ 7.4.4f4.  It works with the other computers we use in the field, but only this computer and I think 1 other have the last error message.

 

Any help is appreciated.

Thanks,

Jerry P

Stratagraph, Inc

0 Kudos
Message 6 of 7
(4,145 Views)

Jerry,

 

I would recommend starting a new topic as these are not exactly the same and this discussion was resolved about 4 years ago.

 

As this issue is related to this specific computer, it may be fastest to re-install the operating system and NI software rather thatn investigating the cause of the issue. There seems to be many cascading errors due to a corrupt file or registry entry.

 

If you do wish to troubleshoot and fix this issue without re-installing, go ahead and create a new post and add some screenshots of your specific error messages and the Services window.

 

Regards,

---

Peter Flores
Applications Engineer
0 Kudos
Message 7 of 7
(4,127 Views)