02-18-2013 01:09 AM
I have a application that uses ANSI c types. Need to add instrument communication to the application. The instrument API uses IVI types. What is advisable to handle adding IVI types in a project that uses ANSI C types?
02-18-2013 05:50 PM
Hi lvrat,
Have you seen the LabWindows™/CVI™ help document for IVI drivers? At the bottom, it mentions the NI IVI Compliance Package , which can be downloaded from a link on the previous page. The LabWindows/CVI help states, "The NI IVI Compliance Package contains IVI-class drivers and support libraries necessary for the development and use of applications that use IVI instrument interchangeability." Please let me know if that points you in the right direction.
Warm Regards,
02-18-2013 05:54 PM - edited 02-18-2013 05:56 PM
..
02-18-2013 05:57 PM
Thanks, I am aware of how to develop using IVI compliance package. My question was related to using two different library in the same project. The project developed using ANSI C and has UIR file now needs calls to instrument driver. So ivi.h will be required. Can two different types (IVI and ANSI C) be used in one project?
thanks!
02-19-2013 10:48 AM
Hi lvrat,
When you create a simple .c file wth both headers, do you run into any conflicts? If these two libraries have type conflicts this should reveal them. Please let me know if you run into any errors with this.
Thanks,