I try to simulate an instrument with IVI Driver and want to use the Simulation Drivers Software Module.
So, in MAX I configure like this : Logical name go to AgN67xx Driver session, in this session, I decide to simulate with N67xx, and when i go to this last one, I pointed to nisDCPwr Driver Software module.
When I launch my exemple in CVI with "IviDCPwr_InitWithOptions" function, I always have an error like "the session handle is not valid" (0xbffa1190).
And when I try to change my IVI driver session configuration with "simulate with : Specific Driver", I don't have this error and I don't really understand why.
My aim is to configure something which could simulate the instrument, and choose data we want to return thanks the simulation driver software module so if you have some ideas, don't hesitate to help me !
Answer by David Rohacek · Feb 07 at 05:16 PM
Here is a link to the discussion on the NI Forum: