From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I change the logging interval for the DSC module?

I have logging set up for shared variables, but I don't need to log continuously.  Is there a way to change the logging interval?
0 Kudos
Message 1 of 9
(10,808 Views)
Hi Brian,

I hope you are doing well! When you say that you don't want to log continously, does this mean that you would like the shared variable to be logged in a fixed time interval of say 30 seconds? You should be aware that the DSC logs data everytime a tag value changes by an amount that is higher than the log deadband value you have defined for the tag in the Tag Configuration Editor. So, if that was your concern, then the DSC module does take care of that situation. Please be sure to let me know. More information can be found at
How to log data at different logging rate in LabVIEW DSC
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 9
(10,785 Views)

Adnan-

That is exactly what I needed to know.  That is an efficient way of doing it.

Thanks,

Brian

0 Kudos
Message 3 of 9
(10,778 Views)
It appears that the deadband is in percent instead of actual units.  Why is that?  I would prefer absolute units.
0 Kudos
Message 4 of 9
(10,752 Views)
Hi Brian,

I hope you are doing well! Deadband's, in terms of percentages, are more easier to program with. These links could provide more information:
What is a Deadband? What Types of Deadbands Exist? How are Deadbands Configured in OPC and the LabVI...
Deadbands and Scaling with Memory Tags in LabVIEW DSC
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 5 of 9
(10,729 Views)
Thanks for the answer.  Yes, my project is coming along, and I think I am the backside of the learing curve for the DSC module. 
 
One more deadband question:  When configuring alarms, do I have to enable scaling for my variable for the deadband to work.  Since the alarm deadband is a percentage of full scale, what does it use for full scale if I don't have scaling enabled?
 
Thanks,
 
Brian
0 Kudos
Message 6 of 9
(10,714 Views)
Hi Brian,

I am glad your project is going well. You don't need to enable scaling in order for deadband to work. Deadband is just the the minimum percentage of a given range or amount by which a measured value must vary in order for the device or computer to register a change. If you enable scaling, then you need to set the deadband to reflect that.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 7 of 9
(10,701 Views)

Adnan-

My question regarding alarm deadband was whether or not I had to enable scaling.  The definition of alarm deadband is based on percentage of full scale range.  Without enabling scaling, what is the full scale range of the variable?  I understand the deadband for logging is a percentage change from the last logged value.

Brian

0 Kudos
Message 8 of 9
(10,677 Views)


Brian Beal wrote:

My question regarding alarm deadband was whether or not I had to enable scaling.  The definition of alarm deadband is based on percentage of full scale range.  Without enabling scaling, what is the full scale range of the variable? ...


Unless this part of the DSC module has changed in newer versions:

Scaling does not have to be enabled, and the values used to define the full range are the default values of Raw Zero Scale and Raw Full Scale (on the Scaling page of the SharedVariable properties dialog) which are 0 and 100.

=====================================================
Fading out. " ... J. Arthur Rank on gong."
0 Kudos
Message 9 of 9
(10,660 Views)