Hi,
I try to configure dynamically a sequence call module using TS 3.1 and CVI 7.1.1 :
I use a Custom StepType :
- Sequence Call Adapter
- Custom substep called "Edit"
I want that the "Edit" context menu calls a cvi dll to configure the Sequence Call Module of the current step.
The SequenceContext is the only parameter of my function (except Error parameters).
1/ I get the Step object
2/ I get the Module object
3/ I set the flag SpecifyByExpression to True (SequenceCallModule object)
4/ I call the SetSequenceFilePath method
Here is my problem : the SetSequenceFilePath method returns an error (-17300, Invalid sequence file path).
I check my expression and there is no error.
I try to set the expression manually in the properties of the step I want to edit. I call the GetSequenceFilePath in my function. I get the right expression. Then I call the SetSequenceFilePath method with the resulting string, and I still get an error (with the expression returned from TS).
What is the syntax of the Expression argument of the SetSequenceFilePath method ?
Bruno