Aaron,
You can use either:
Engine.CheckExpression
or
Expression.Validate
In CVI you will use the Engine method as follows:
int __declspec(dllexport) __stdcall MyEntryPoint (CAObjHandle context)
{
CAObjHandle tsEngine = 0;
char* expression =0;
char * errDesc =0;
long startPos;
long endPos;
VBOOL isValid = VFALSE;
TS_SeqContextGetEngine(context, &errorInfo, &tsEngine);
TS_EngineCheckExpression (tsEngine, &errorInfo, context, expression, &errDesc, &startPos,&endPos, &isValid);
CA_DiscardObjHandle(tsEngine);
CA_FreeMemory(errDesc);
}
Check the TestStand API online help for more information.
Hope it helps.
Antonio.
Message Edited by Antonio Lie (NI) on 10-25-2005 04:28 PM