09-04-2008 01:53 AM
HI i am facing very strenge problem in vision application. I am using NI-CVS 1454 hardware. There is a OCR application running on CVS which inspect product passing on conveyor. I have made different Character set file for different Labels on Product. Now main problem is sometime not exactly knowing when, my chracterset file, Pattern matching templete and my real time exe corrupts. I have attached some ok and corrupted characterset file here and also one realtime exe.
When i opened my characterset file(.abc) in notpad i found following text entry in corrupted files.
####
#Date: Mon, Sep 1, 2008 11:28:00 AM
#OSName: PharLap
#OSVers: 13.0
#AppName: PH_EXEC
#Version: 8.5
#AppKind: AppLib
LVRT.DLL load address: 0x002F6000
I don't understand how this error log massage get written into .abc or ,rtexe file which make them currupt..I have also attached image file of my code structuring.
Solved! Go to Solution.
09-05-2008 08:37 AM
Dear prashantpatel21,
The problem you describe may be due to not having enough memory on the CVS. Do you have the same problem when running a shipping example on the CVS, or an inspection that doesn't use OCR?
Another possibility is corruption of the CompactFlash. on the CVS.
Here are a couple of additional questions I'd like your help on so that I can try to find out more information on your problem:
What is the part number of your CVS?
How old is it?
Were you ever able to successfully run this application reliably, and then it started to corrupt, or was it starting this behavior right off the bat once trying to run the inspection from the CVS?
Please let me know about the above questions, and I'll try to find some additional information for you.
Best Regards,
~Nate
09-08-2008 06:50 AM
Thanking you sir for your reply, Presently i don't have any idea about part number. I will post it soon.
Initially i was just deploying my code to CVS and it was working fine. Then after i developed Host and RT target application. It worked fine for sometime and then after started to corrupt. Initially my pattern matching was also get corrupte. Once i formatted CVS and reinstalled all software and system started to work fine for a week.After a week again problem of corruption started.It is less frequent but unpredictable.
09-08-2008 06:53 AM
09-15-2008 12:38 PM
Dear prashantpatel21,
I see that you have contacted NI support on this issue. If you would, please post the resolution to your problem to this discussion forum thread once you get things back up and running so that other forum users may benefit.
Thanks,
~Nate
09-22-2008 01:44 AM
Hi, I have disabled Rotator log in Martini. Now frequency of problem is reduced. I have added one entry in Martini
Retrogressively=False
I want to know is it possible to disable Labview RT error log.?
09-22-2008 10:44 AM
Dear prashantpatel21,
I don't know of a way to disable the LabVIEW RT error log, at least, not that you or I could access.
Is the idea that disabling LabVIEW RT error logging will also further decrease incidences of corruption?
Have you been making progress with your service request?
~Nate
09-23-2008 03:02 AM
Ignore my previous message. I wrote something else and displayed someother thing. I have disabled RT error log by adding one entry in NI-RT.ini file. i added following entry.
RTTarget.WriteLog=False
Yes sir, Once i modified NI-RT.ini, problem is reduced but i think LabVIEW RT error Log is also contributing in it. If my RT application is running on CVS and i suddenly power off RT, then will this corrupt my *.abc, pattern matching templates or .rtexe. Because operator is least concern about CVS and application running on it. Is there anyway that i safely shutdown CVS.