I'm trying to figure out how to develop a switch IVI driver with
LabWindows/CVI. I've run the IVI code generator wizard and I want to
try running the skeleton code in MAX so that I can debug the driver as I add
changes. Its easier to code when you start out with something that works then add things and see if it breaks. I set up the debugger to run MAX and added a logical name, driver session, and Instrument Driver Software Module pointing to my dll.
When I tried to add MySwitch in Switch Executive I got this error:
An error has occurred while attempting to access device MySwitch
Primary Error: (Hex 0xBFFA0011) Function or method not supported.
Elaboration: FunctionId:3, FunctionName: InitWithOptions
I thik this might be happening because I am not setting the right configuration options to simulate the switch. I tried adding breakpoints to the MySwitch_InitWithOptions function to help me figure out the problem but they didn't get hit apparently.
Here's my main question: What are the steps I need to take to simulate the skeleton code driver generated by the IVI driver wizard?
Thanks,
Eric Pope