geodo
2008-08-04 11:10:09 UTC
Hello guys
I have a software in ADA langueage that use IVI-C to connect different instrumentos using IVI-Class instrumentos of NI dll. I have made the binding for the headers files and its run correctly.
My problem is with IVI-COM, i create a Instance with SessionFactory in ADA, but i dont know how to convert it en an instruments object (IVIDCPWR for example).
I convert the type directle and the Add_Ref and Release methods runs correctly, but when i call Initialize method to connect to the instrument, i have a exception
raised PROGRAM_ERROR : EXCEPTION_ACCESS_VIOLATION
Anybody can help me? please
thanks
I have a software in ADA langueage that use IVI-C to connect different instrumentos using IVI-Class instrumentos of NI dll. I have made the binding for the headers files and its run correctly.
My problem is with IVI-COM, i create a Instance with SessionFactory in ADA, but i dont know how to convert it en an instruments object (IVIDCPWR for example).
I convert the type directle and the Add_Ref and Release methods runs correctly, but when i call Initialize method to connect to the instrument, i have a exception
raised PROGRAM_ERROR : EXCEPTION_ACCESS_VIOLATION
Anybody can help me? please
thanks