Forums › SA Series Discussions › SA124B – API – LabWindows/CVI
- This topic has 3 replies, 2 voices, and was last updated 8 years, 10 months ago by
rtcjss.
- AuthorPosts
rtcjssParticipantI try to write an application for the SA124B with LabWindows/CVI under Win7. I use the sa_api.h, sa_api.lib and sa_api.dll files. (x64)
Unfortunately the compilation its not success.
I receive many errors for the sa_api.h.
Does anyone know the problem ?
The sa_api.h File is suitable to work with CVI ? or need to make changes ?
I look for help!Attachments:
You must be logged in to view attached files.
AndrewModeratorHello rtcjss,
I personally have never used CVI but I have seen these types of issues before. You are seeing this because our API is not 100% C compatible. It is going to complain about missing typedefs on the enums and structs and maybe a few other things. I think if you addressed this, the CVI compiler would be able to parse our header file without errors. This is just a guess though. Without CVI, I cannot test this.
Regards,
A.J.
rtcjssParticipantHi AJ,
Thanks you about your advice.
After doing many changes in sa_api.h file, the compilation success !
But still I get errors after linker. The linker no identify the SA functions.
I try to change the Linker parameters.
Best Regards,
JSS
rtcjssParticipantHi AJ,
After reinstllation of Spike (32) instead of (64) it is work.
Thanks,
JSS- AuthorPosts
You must be logged in to reply to this topic.