LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

My VI stop Execution Suddenly

Hello all,

 

I am making a LabVIEW Real TIme project, it consists of an automation of a platform.

 

The system is set upas following:

The Platform is connected to the PXI using the M series 6289 DAQ

The PXI controller is 8106, I have made it a Real Time Target

The host computer is Running VISTA home premium (it has a dual core processor)

 

Everyhting is ok and the VI ran in good mannar, but after some time the VI stop suddenly.

I have ran it several times, it stop after the same time.

 

When O re run it, it works normally untill the same amount of time, it stops.

 

Any Help is so much Appriciatted

 

Best Regards!

0 Kudos
Message 1 of 5
(2,566 Views)

Hi Azzam87,

 

Thanks for the post and I hope your well today.

 

Two things come to mind,

 

1) Is your code reaching the same peice of code and crash - as in, something is upseting it.

 

or

 

2) Have you got a memory issue, which is causing it to error. 

 

To get more information you could have a look at the error log,

 

Is There an Error Log File for my Real-Time Controller?

http://digital.ni.com/public.nsf/allkb/E734886E027D0B6586256F2400761E30?OpenDocument

 

Are you running an RT.exe or from LabVIEW? If you run it from LabVIEW you could set some probes and see where the code is reaching when it crashes. 


Hope thie helps,

 

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
Message 2 of 5
(2,555 Views)

Hi Hillman,

 

Thank you for your reply. 

I have viewd the report of the error code, I have not got it.

 

Is there any way in order to make it more comprehensive

 

 

Best Regards!

0 Kudos
Message 3 of 5
(2,518 Views)

Can you post your code?

 

It almost sounds like a counter overflow.  Or some boolean is set or reset after a determined amount of time which stops the VI.

Does it crash suddently?  ends / exits? 

 

R

0 Kudos
Message 4 of 5
(2,510 Views)

Hi Azzam87,

 

Thanks for your reply and I hope your well today

 

I have to agree with with Ray, I think the only way to gather more information on this would be to look at the application in some more detail. 

 

What troubleshooting have you tried?

Have you been able to locate what part of the code the hang happens in?

 

Thanks,

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 5 of 5
(2,500 Views)