02-09-2012 02:45 AM
I have a run time error : "Create New Object" in automation call failed while trying to use object class CAPL(ICAPL2). I have managed to use object call Application (IApplication3). What is the problem ?
02-09-2012 04:00 AM
Hi,
The real problem is that it is currently extremly cold in europe last few days.
And I assume that no one is out there (including Vector-Support) help sloving this question.
This stuff is very Vector-Api specific. You have do each process step in right order.
If you like that members here will help you should provide more information.
At least one small teststand example.
Regards
juergen
02-09-2012 05:09 AM
Ok, I have now an error while calling "GetFunction" in "ICAPL2" of "CANoe Type Library"
Error code : "-2147418113 : User defined error code"
Possible System Error : Défaillance irréméidable
Have an idea ?
02-09-2012 05:36 AM
Hi,
I have no idea.
Provide a Ni-TestStand example that shows your Vector API initailisation and the step where the error occures.
And don't forget to provide a complete CANoe example configuration.
Another option is to contact vector's-support.
Regards
Juergen
02-09-2012 06:19 AM
According CAPL recommandations :
Important: The assignment of a CAPL function to a variable can only be done in the OnInit event handler of the Measurement object. This means that the variable used to access the Measurement object must be declared using the WithEvents keyword in Visual Basic.
How to do this "WithEvents" in TestStand, I do not want to use Visual Basic, just TestSTand...
02-09-2012 07:54 AM
This report is now on http://forums.ni.com/t5/NI-TestStand/CAPL-with-TestStand/td-p/1869959