LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set the logging deadband on bound shared variables?

I am working on a project where I use the DSC module with an OPC server. I have created a shared variable that is bound to an OPC tag and enabled data logging. 

However, there is no place I can find where to set up the deadband for logging? The Deadband option is disabled and greyed out as soon as I bind the variable to a source and the value deadband under log data is not visable when using a bound variable.

 

Is it not possible to set up deadbands on bound variables?

 

The only option I can find is to set a deadband on for the OPC server. However, this is not going to work since I have hundreds of variables with different deadbands. Also, there is no way to define a variable range on the OPC items, and it seems like that the default range is the range of the variable type (sgl in most cases).

 

Is there anyone using DSC with OPC that has a solution to this?

 

Thanks,

 

Bjorn  

0 Kudos
Message 1 of 3
(2,624 Views)

Try to change the data type of bound shared variables to Double.

Message 2 of 3
(2,611 Views)

Thanks YanYuan, that did it.

0 Kudos
Message 3 of 3
(2,601 Views)