SA124B – API – LabWindows/CVI

Forums SA Series Discussions SA124B – API – LabWindows/CVI

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #95775
    rtcjss
    Participant

    I 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.
    #95787
    AndrewAndrew
    Moderator

    Hello 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.

    #95864
    rtcjss
    Participant

    Hi 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

    #95871
    rtcjss
    Participant

    Hi AJ,
    After reinstllation of Spike (32) instead of (64) it is work.
    Thanks,
    JSS

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.