06-12-2009 04:32 AM
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!
06-12-2009 07:54 AM
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,
06-15-2009 05:06 AM
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!
06-15-2009 07:09 AM
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
06-15-2009 09:47 AM
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,