Hi Beachman,
If by "program" you mean a VBScript, then the VBScript syntax would typically be an IF-statement, such as:
IF ProgramRevision < 900 THEN
ELSE
END IF
The main thing that changed compatability-wise between DIAdem 8.1 and 9.0 was the VIEW api. The entire VIEW api has been converted over to an object-oriented api, and the old VIEW commands no longer work in DIAdem 9.0. Another difference is that now all load routines (except DataLoad) by default append data to DIAdem, whereas before many of them by default replaced the channels in DIAdem. A third difference is that in DIAdem 9.0 by default no channels may have the same name as any other channels inside the same channel group. You can change tha
t default behavior back to the DIAdem 8.1 style with a dialog change or a programmatic setting of the DIAdem variable "ChnNamingMode".
Brad Turpin
DIAdem Product Support Engineer
National Instruments