I am trying to setup a pointlink between datapoints of two different datasources. The source point is a numeric value, which must return a string value. I need the source datapoint name to appear in the string as well - I.e. if my source datapoint name is point1, the return string will be point1_1 -
but I want to implement programmatically something like this:
var x = source.value; if(x == 1.0) return [sourcename]+'_1'; else return [sourcename]+'_0';
Is there a way to achieve this? Our production setup will have around 400 of these pointlinks so it's really not practical to let the client manually input the datapoint name for each of these strings.