10-23-2009 10:39 AM
Hi,
Can anyone refer me to the web page where i can find the differences in DIAdem vbscript commands (deprecated, syntax etc) between DIAdem 9.1 and DIAdem 10.2? We are upgrading our application from DIAdem 9.1 to 10.2 and have come across few issues with the values returned by certain commands. For example, i have attached the code snipped which returns different values in each DIAdem versions. I appreciate your response.
Dim MinVal, Index MinVal = CMin("Time Zero") Index = Find("Ch('Time Zero') = " & MinVal) |
DIAdem 9.2: MinVal = -1.4653898078996E-04Index = 1DIAdem 10.2.1:MinVal = -0.00014653898079Index = 0 |
Best Regards
Haja
10-24-2009 05:02 PM
Hi Haja,
I don't think such a web page exists. In this particular case I think you're running across a difference in how often DIAdem re-calculated the characteristic values of a channel. Try adding this command before the CMin() line:
Call ChnCharacter("Time Zero")
ChnMin = CMin("Time Zero")
Or you can use the CCh() function that automatically re-calculates the quantity you're asking for:
ChnMin = CCh("Time Zero", 1)
If that doesn't help, please send us a representative data set.
Brad Turpin
DIAdem Product Support Engineer
National Instruments