LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

"Test IVI specific driver " is not working when DriverSetup parameters are given in NI MAX

Hi,
 
I have developed an IVI specific driver for MIO NI 6229. I am trying to test the IVI driver but its not passing the Compliance test. I have attached the installer of the class driver and the specific driver (change their extensions from .txt to .msi). Kindly check it out.
 
Before running the test verify the following entries in NI MAX:
 
IVI Drivers - > Advanced -> Instrument Driver Software Modules has 2 entries as "IviMIO" and "IviNIMIO"
 
Ivi Drivers -> Driver Sessions has an entry as "NI6229" with the DriverSetup under General tab as "Model=6229"
 
Now create a logical name and map it to the above driver session and run the Compliance tests. When i run using a Client Application in LW/CVI it is working fine, but only the IVI tests are throwing errors.
 

Compliance Test

Class: Specific Instrument:

IviNIMIO

Module Path:

c:\IviNIMIO.dll

Test Date:

08-11-2007, 12:36:46

The driver could not be initialized through the class driver.

Compliance Test was halted.

Error returned: bffa1190

Error Message: The session handle is not valid.

 
I have also noticed that when we choose Class: Custom and start the NI Spy, internally it is calling "IviDCPwr_Init(...)"...why is that? Though my class driver has prefix as IviMIO and specific driver as IviNIMIO...?
 
Kindly let me know what the problem is.
 
Thanks,
Priya.
 
Download All
0 Kudos
Message 1 of 5
(4,283 Views)
Hi KSPriya,

A few other users have had similar problems. Take a look at this thread:

Using IVI specific driver as a class driver
http://forums.ni.com/ni/board/message?board.id=140&message.id=19983&requireLogin=False
Joe Friedchicken
NI Configuration Based Software
Get with your fellow OS users
[ Linux ] [ macOS ]
Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)
0 Kudos
Message 2 of 5
(4,263 Views)
Hello Priya,
      Do you follow the regular naming conventions with Initialize and Initialize with Options?  What tests did you select to run?

Thanks,

NathanT
0 Kudos
Message 3 of 5
(4,235 Views)
I am running all the 3 tests-Compliance, structure and functional tests. I have used the standard naming convention for functions like  IviMIO_ and IviNIMIO_
0 Kudos
Message 4 of 5
(4,124 Views)

Hello Priya,

       Here is the error that I got when I ran the test on your specific driver:

 

Compliance Test
Class: Custom
Specific Instrument: IviNIMIO
Module Path: c:\Program Files\IVI Foundation\IVI\Bin\IviNIMIO.dll
Test Date: 09-29-2008, 15:43:27

The driver could not be initialized through the class driver.

Compliance Test was halted.
Error returned: bffa1200
Error Message: TestConfigurationStore.xml Not Found or Not Valid.
Reinstall NI IVI Compliance Package.  If you still see this error after reinstallation, please contact National Instruments.


Is the name of your Configuration Store file "TestConfigurationStore.xml" ?

 

Thanks,

 

Nathan

0 Kudos
Message 5 of 5
(4,101 Views)