UpdateValues() Writting to digital tags?

Discussion created by matt.inglis on Mar 7, 2013
Latest reply on Mar 7, 2013 by rgilbert

Im using the updatevalues method to write to digital tags on my server, 


however i can't quite work out how to set the value of the AFValue object.


with an analogue value (float32) i would just set AFValue.Value = 0.2 


I have values i want to set my digitals in numerical terms (i.e. 1 is on 2 is off)


But whats the simplist way to write the digital state to AFValue.value?