How Do I Add a Constant to Channel Data in DIAdem?Primary Software: DIAdemPrimary Software Version: 8.1 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I have a channel of data in DIAdem and want to add a constant value to that data. Using a loop in DIAdem AUTO, I added the constant to each individual data item in the channel, but it is very slow. Is there a more efficient way to add a constant to a DIAdem channel? Solution: The formula interpreter in DIAdem DATA can easily add a constant value to any specified channel. Within the interpreter, type Ch('Channel Name') := Ch('Channel Name') + constant, and it will add the value constant to that specific channel.If you would like to add the constant programmatically with DIAdem AUTO, you can call the following function: Call FormulaCalc ("Ch('Channel Name') := Ch('Channel Name') + constant")Related Links: KnowledgeBase 2X07BQEV: How do I Use Variables in a FormulaCalc Method Call's Formula Text String in DIAdem AUTO? Attachments:
Report Date: 11/06/2003 Last Updated: 12/02/2004 Document ID: 335AM344 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
