01-21-2013 11:17 PM
Hi all,
For some reason, my DSC has stopped logging data. I have a fairly simple setup (8 modbus servers) that are being read as I/O servers in the DSC. I have checked the "Log Data"option, and this was working for several months. Recently, I had to move to a different computer, and now nothing is being logged. The data are coming in correctly, the database seems to exist, but there's no new data being stored. I have tried creating a new database, and then going into "Project library: Properties" and poining it to the new database, but nothing seems to happen.
I'd welcome any suggestions.
thanks,
mike
01-23-2013 10:28 AM
Hello mooseo,
Could you provide a MAX technical report from the old workstation and the new workstation? I'd like to compare the software setup on each one.
Best regards,
01-23-2013 03:30 PM
Here's the report from the new computer. I'm trying to find the old computer, but it may have gone to surplus.
01-24-2013 01:18 PM
Hello mooseo,
Are you getting any errors back when you try to access the shared variables? Or is there just no data?
How much of your code was reworked when you moved from the old workstation to the new one?
Any luck on that other MAX technical report?
Best regards,
01-24-2013 01:43 PM
Hi Matthew,
There is no error message. In fact, I can access the shared variables just fine. The historical data charts act like they should, but they have no data. I've looked in the folder where the database lives, and see that it has basically never been used... there are 5 files (sdb_lock, pid_cdih, stridm.cdin, nodetree.elog, nodetree.elog.ckpt0) but nothing else.
I also did locate the original computer and found the technical report.
At this point, I'm reasonably comfortable abandoning any previous historical data, so I wouldn't object to a solution that involved starting the database over. I'd like to be able to use the original project to specify all the variables because it was laborious to set them all up.
thanks for your help.
mike
01-25-2013 08:45 PM
Hello mooseo,
I didn't see anything telling in the MAX Technical reports, but I would like to take a look at your code.
The .lvproj you posted is more of a list of items in a project, but doesn't contain any actual code. Would you be willing to zip up the directory that contains the lvproj and post it here?
Best regards,
01-26-2013 01:48 AM
Here you go... hope this helps.
cheers,
mike
01-28-2013 10:09 AM
Hi Mike,
Has the logging ever worked before on the new computer? Looking at your set-up, and it seems fine. However, I would check the folder permissions as per this help file: http://zone.ni.com/reference/en-XX/help/371618H-01/lvdscconcepts/citadel_hist_db/
Also was this project created in LabVIEW 2011 (old machine) and then ported over to 2012 (new machine)?
01-28-2013 10:16 AM
Hi Matt,
The file was ported from 2011 on the old machine to 2012 on the new one. No, it has never worked on the new one as far as I know. I will check the file permissions soon, but let me know if the 2011-2012 conversien causes problems.
thanks,
mike
01-30-2013 06:33 PM
I went and checked the permissions, and that was a problem. The files were in the \user\username folder (for backup purposes). I have created a ew database in the \users\public folder. I created this databes in Max, and then pointed the lvlib to that location using the properties in project expolorer. Only a few files were created, however, and it doesn't seem to be logging data.