ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW MathScript RT Module

cancel
Showing results for 
Search instead for 
Did you mean: 

crash due to matlab function

Hi All,

 

My LabVIEW VI crash (Exception: Access violation (0xC0000005) at EIP=0x00000000) when it runs to a matlab function "inv". Seems it is a normal matrix function and should be supported in mathscript. After I delete this function, everything works fine. Can someone give me any clue on how to fix this? The crash report is as following.

 

Thanks,

Jiaqi

0 Kudos
Message 1 of 8
(8,671 Views)

PS: The LabVIEW I'm using is 2013 SP1 and the MATLAB is R2013b.

0 Kudos
Message 2 of 8
(8,669 Views)

Are you using the Mathscript Node or the MATLAB® Script Node? Also, what is the size of the Matrix you are dealing with? Are you dealing with 32-bit or 64-bit LabVIEW? 

 

MATLAB® is a registered trademark of The MathWorks, Inc.

Miles G.
Emerson Test & Measurement Group
Senior System Support Engineer
0 Kudos
Message 3 of 8
(8,643 Views)

@Kilometers wrote:

Are you dealing with 32-bit or 64-bit LabVIEW? 


The error message says 32bit. Seems the VI is loaded over the network.

 

 

Is your matlab 32 or 64bit?

0 Kudos
Message 4 of 8
(8,635 Views)

Hi Miles,

 

I use Mathscript Node and the Matrix size is 3*3. LabVIEW is 32-bit. The funny thing is it worked fine yesterday afternoon and crashes again today with nothing changed:(. 

 

Cheers,

Jiaqi

0 Kudos
Message 5 of 8
(8,624 Views)

Hi Altenbach,

 

You are right! The VI is loaded over the shared drive. Would this be the reason?

 

Cheers,

Jiaqi

0 Kudos
Message 6 of 8
(8,622 Views)

@jwan887 wrote:

The funny thing is it worked fine yesterday afternoon and crashes again today with nothing changed:(. 


Have you tried to simply restart the computer and try again? Do you run any unusual antivirus software?

0 Kudos
Message 7 of 8
(8,618 Views)

I tried to restart the computer but it didn't work. The antivirus software was installed by the uni IT so should be OK. 

0 Kudos
Message 8 of 8
(8,614 Views)