I need to do a simple translation of data in a DAT operator.
This is the logic I need to perform on the value
If value is less than zero
Multiply value by -1(make positive and call it posValue)
Get difference between posValue and 180 call it diffValue
Create new value which is sum of 180 + diffValue
But where do I perform this and how would I write it??
Where is your data starting? If it’s in CHOPs then an Expression CHOP may be what you want. If it’s in DATs then possibly and Evaluate DAT is what you want.
thanks, will give those a try
is the following close to what I need for formula to work?
if $val <0
$posVal = val*-1
$dif= 180-$posVal
set value = 180+$dif
endif
And would it be possible to point me to a simple example using the Evaluate DAT?