EICS
Member
This is a Citect SCADA question
I have Six variables of type REAL (Float) to compare and determine (identify) which variable has the highest value and then identify that Variable name.
Lets Call them
VarA = 5, VarB = 60, VarC = 45, VarD = 145, VarE = 90, VarF = 128
I'm struggling to find a way to do this logic simply and easily.
i need to identify which variable has the highest value example "VarD"
any Suggestions from the wealth of knowledge on this forum welcomed.
I have Six variables of type REAL (Float) to compare and determine (identify) which variable has the highest value and then identify that Variable name.
Lets Call them
VarA = 5, VarB = 60, VarC = 45, VarD = 145, VarE = 90, VarF = 128
I'm struggling to find a way to do this logic simply and easily.
i need to identify which variable has the highest value example "VarD"
any Suggestions from the wealth of knowledge on this forum welcomed.
Last edited: