06-10-2020 11:17 PM
Hello All,
Note that I am typing this posting all over again from scratch. I spent quite a bit of effort and posted, but then noticed one thing to fix so I edited. And as far as I can tell my post has now totally disappeared. In my profile it still shows up in the posts count, but it seems to be gone. If you end up seeing both of my posts in this forum, I apologize.
I used the LabWindows/CVI "IVI Instrument Driver Wizard" to create an IviSwtch driver for a particular RF switching chassis design. I now feel pretty good about the state of my code in the various routines that the wizard-generated C file seemed to need customized. However, now I'm having trouble knowing what to do to finish out and really build a good IVI driver.
I find it disconcerting that the wizard created a LabWindows/CVI .prj file configured to build an executable. Isn't it supposed to be building a DLL? So if that was configured wrong, then it makes me wonder what else I should be looking to correct about the project to keep things headed in the right direction. I'm also not sure what to do about exports from the DLL.
I'm thinking if I can find a good, working example of a LabWindows/CVI project that builds an IviSwtch driver, then I can pattern mine after that one as far as build options, etc.
The NI IVI Compliance Package (I have 19.0 installed) appears to offer a thing called "IVI class driver examples for LabWindows/CVI, LabVIEW, and Measurement Studio" (seen in the Readme file here: https://www.ni.com/pdf/manuals/376942d.html ) but I don't know how to tell whether I installed that part of ICP or not, and where I would look on my disk to find the actual examples. I tried running the ICP installer again for some "repair" functionality to revisit installation choices, but it comes up and just says "No operation to perform" so that's a dead end.
When I look in LabWindows/CVI under menu "Help -> Find Examples...", then Browse according to Directory Structure, then IVI -> IviSwtch, what I get there looks like an example of using an IviSwtch driver, not building one.
Can anyone help this newbie?
Thanks!