12-18-2008 05:06 AM
I have used NI hypertrend control in my software for logging data continuosly.but if we keep continuos logging function of the contol on then software gets hanged,while if we keep this logging function in off mode software works properly.
i want in my software this logging function shud be continously on so can anyone suggest me how i can program this control so that software will work without getting hanged.
Regards,
Anisha
12-18-2008 07:18 AM
Hi Anisha,
Thanks for the post and I hope your well today.
It does appear you've located the issue to the length of time the logger is acquiring for... Does the length of time vary for the crash? To me it could be there is a max length of the historical data. Have you tried reducing the amount of data? or clearing/flushing the control periodically?
Another concern could be the update rate..
Just some thoughts,
12-18-2008 11:53 PM
Thanks James for your reply,
I could not find any property of NI hypertrend contol for clearing/flushing periodically.I have done it at the starting of VI.. and even when i try to exit from software tag engine gets hanged.
12-19-2008 04:02 AM
I suspect that some of the values in the .scf are corrupted or incorrect. I had him create a new .scf file and everything loaded fine.
Can you specify a size of the buffer?
could there be a database corruption?
Could you maybe send me some example - maybe there a more effecient way to program what you wish to acheive...archiving Citadel on the fly rather than starting and stoppoing it?
Thanks,
12-22-2008 12:26 AM
Hi James,
I am using same .scf file for retriving data in same software and all that funcions are working properly,so there are less chances of having problem in .scf file.
Still i am sending you .scf file which i am using and also i am sending .bmp files of my coding.
Please go through it and Help me out.
Regards,
Anisha