06-09-2010 04:36 PM
Hello,
Are there any functions in DIAdem that does the job of comparing the contents in the channel ? For example I just write "IF(AH2< 1*AJ2,15*AJ2,IF(AH2>AJ2,AJ2,AH2))*10/AJ2" and excel does the same for all the coulmns.
One way to do it is to use CHDX,CHV functions in a for loop but I wanted to know if there are better ways to do something like this ?
Thanks
Vamshi
06-10-2010 10:41 AM
Hi Vamshi,
Yes, version 11.0 we have the function IIF(condition, true_result, false_result), which is very similar to the IF function in Excel, and which can be used in a Channel Calculator expression. Before DIAdem 11.0 you could still apply this logic, but the syntax was more challenging.
Brad Turpin
DIAdem Product Support Engineer
National Instruments