Hello All,
I used LabWindows/CVI's "IVI Instrument Driver Wizard" to get going on an NI Switch Executive - compatible IVI driver for a particular design of RF switch chassis. I feel pretty good about the state of my code to do the right things for the different routines in the "template" C file that the wizard created. But now I am trying to "seal the deal" and create an actual real installable IVI driver.
I find it disconcerting, though, that the wizard created a LabWindows/CVI .prj file configured to create an executable. I think an IVI driver should be a DLL, right? So if it set that wrong, then that makes me wonder what else I need to fix about the project in order to stay on track for actually building a good IVI driver. Another example is I'm not sure what to do about "exports" from the DLL.
Supposedly the IVI Compliance Package (ReadMe for ver 19.0 here: https://www.ni.com/pdf/manuals/376942d.html ) contains a thing called "IVI class driver examples for LabWindows/CVI, LabVIEW, and Measurement Studio" but I don't know where to look for those on my disk, or how to tell whether I chose to install that when I installed ICP 19.0. I have looked in NI Pkg Manager to try to see, but didn't find help there. I figure if I found an example LabWindows/CVI project that builds a usable IviSwtch driver, then I could pattern mine after that one.
In LabWindows/CVI under menu "Help -> Find Examples..." then Browse according to Directory Structure, then "IVI -> IviSwtch", what I get there seems to be an example of using an IviSwtch driver, not building one.
So can anyone help this newbie?
Thanks!