NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Error when editing IVI Scope Step in TestStand 3.1

When I open the edit box for an IVI Scope Step in TestStand 3.1 I get the following error: Method '~' of object '~' failed (-2147417851).  I get the same error again when I click on the Logical Name dropdown box in the edit window.  I have an IVI logical name of 'TekScope' in MAX that was created when I installed the IVI drivers for a Tektronix DPO7000.
 
Software Installed: TestStand 3.1, NIMax 4.3, NI IVI Compliance Package 3.2, Windows XP Pro. SP2
 
It seems that TestStand is unable to communicate with MAX.  I don't think it is a version compatibility problem because I had the same problem when using MAX 3.1.1.
0 Kudos
Message 1 of 4
(3,426 Views)
Hello Gary,

I have not been able to find much information regarding this error other than a couple Microsoft KB's.  The most common cause of this error seems to be mismatched DLL files with Microsoft Data Access Components (MDAC).  This Microsoft article seemed to be most promising to me.  It is also possible that there may be something corrupt with your IVI driver.  Please let us know if there are any updates or further information.

NickB
National Instruments
Applications Engineering
0 Kudos
Message 2 of 4
(3,357 Views)

Nick,

Thanks for the reply.  This problem went away when I opened the IVI example sequence that is installed along with TestStand.  It has not repeated since.  I can now access my defined 'TekScope'.

I am having a problem getting the IVI code to run in simulation mode.  I modified the TestStand 3.1\Examples\IVI\IviStepTypes.seq file to change the Fileglobals.ScopeLogicalName value to TekScope which is the scope name in the dropdown box for edit IVI tools.  I then selected the scope steps and selected Run Selected Steps.  I get the following error:

An exception occurred calling 'RunStep' in 'ISubstep' of 'TestStand Ivi Step Types'
An error occurred while executing the step.
IVI Error: The IVI instrument failed to initialize for logical name 'TekScope'.
Details: TekScope_InitWithOptions returned an error: -1074134964 (0xbffa004c). The option string parameter contains an entry with an unknown option value.
Source: TSIviStepTypes

-1074134964; User-defined error code.

In MAX the TekScope.DriverSession - Simulate With setting is nisScope, Driver Setup is blank.

0 Kudos
Message 3 of 4
(3,355 Views)
Gary,

I think that if you have installed an IVI driver for your specific instrument, you do not necessarily want to simulate it with the nisScope.  Instead, from this dropdown menu, select specific driver, and on the software tab, make sure that you have selected the correct driver on the software module dropdown.  Let us know if this helps out!

NickB
National Instruments
Applications Engineering
0 Kudos
Message 4 of 4
(3,336 Views)