07-14-2008 03:43 PM
07-15-2008 10:32 AM
Taylor,
The best way to force the Citadel database to log a point regardless of value change is to set the deadband for your shared variable to zero percent. The deadband determines how often the database is updated (if the shared variable value changes by at least the threshold percentage of the deadband it logs the data to the database, otherwise it does not). To set the deadband:
Let me know if this points you in the right direction, or if you have any further questions regarding this issue. Thanks!
Cheers,
Jonah
Applications Engineer
National Instruments
07-15-2008 11:09 AM
Thanks Jonah,
I'll do that. The only issue is that I have selected "make properties match selection" in the bind to source window which makes the data type "single." I think with single data types there is no option for resolution or value deadband in the logging section which is why I couldn't find it before. As far as I know changing the data type to double won't cause any problems with the rest of the program so I'll go ahead and do that.
Thanks again for the help,
Taylor
07-15-2008 11:31 AM
07-16-2008 07:28 PM
Taylor,
I was able to verify that for other datatypes (I verified for a boolean), that the citadel database does collect every point that is written without setting deadband values. For instance (see the attached VI), I tried writing a boolean value every second and then reading the size of the database contents. I observed that the database size did increase every second with the new value written, even if it is the same value.
I hope this answers your question!
Cheers,
Jonah
Applications Engineer
National Instruments
07-17-2008 09:05 AM
Hi Jonah,
Thats great, thanks for the help,
Taylor
07-31-2008 02:09 PM
I have a similar problem than Taylor, but I adquire the data through "Bind to Source" option in "shared variable properties" window. I'm using LabVIEW DSC 8.5.1. I'm polling 400 data points every 3 seconds with KepServer. If I configure deadband of all shared variables, I will have 400 data every 3 seconds, that's right?. Is there a way to log every 1 hour or when a value change happens? I remember that in DSC 7.x I can configure this in Tag Editor.
08-01-2008 02:44 PM