LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DSC not logging data

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

0 Kudos
Message 1 of 16
(3,988 Views)

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,

Matthew H.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 16
(3,961 Views)

Here's the report from the new computer. I'm trying to find the old computer, but it may have gone to surplus. 

0 Kudos
Message 3 of 16
(3,952 Views)

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,

Matthew H.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 16
(3,940 Views)

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

 

 

0 Kudos
Message 5 of 16
(3,937 Views)

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,

Matthew H.
Applications Engineer
National Instruments
0 Kudos
Message 6 of 16
(3,922 Views)

Here you go... hope this helps.

 

cheers,

mike

0 Kudos
Message 7 of 16
(3,913 Views)

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)? 

Matt S.
Industrial Communications Product Support Engineer
National Instruments
0 Kudos
Message 8 of 16
(3,891 Views)

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

 

 

0 Kudos
Message 9 of 16
(3,884 Views)

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.

0 Kudos
Message 10 of 16
(3,866 Views)