Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Using the IVI driver of TDS7404B in LabVIEW

Hi,
  I installed an IVI driver for my TDS7404B oscilloscope, downloaded from Tektronix site.
Have defined the instrument in MAX as a TCPIP resource, and verified the VISA session to work correctly (replied to the *IDN? instruction correctly) I performed this VISA communication test from LabVIEW (7.1) and succeded again!
I then configured the IVI session (logical name, hardware asset, driver SW etc.) but when trying to communicate with the instrument through the 'IviScope Initialize With Options.vi' I get the following error:
"IviScope Initialize With Options.vi<ERR>Driver Status:  (Hex 0xBFFA0011) Primary Error: (Hex 0xBFFA0011) Function or method not supported.
Elaboration: FunctionId: 3,  FunctionName: InitWithOptions
"
 
Anyone has a clue how to solve this one?
 
Regard,
  
0 Kudos
Message 1 of 7
(4,427 Views)
Malosh,

This error message means, that the function 'Init with options' is not suppoprted by the TD driver, at least as I understand the error message. Replace it with a simple 'Init' and some other 'set' commands. Makes the wjhole setup a little bit more complicated and maybe even slower, but probably will work.


Greetings from Germany!<br>-- <br>Uwe
0 Kudos
Message 2 of 7
(4,424 Views)

Hi Lul,

 and thanks a lot for the quick reply!!!

I am not sure what you mean by a 'simple init'. As far as I know, the 'IviScope Initialize With Options.vi' is a fundamental VI in communicating to an IVI scope, and is the only way to transform a scope's 'logical name' into an 'instrument handle'. From that I assume either you mean "use the VISA session" (which would be my last, desperate option), or you might have some useful information that I am not aware of (and I relay hope this is the case).

Waiting for the enlightenment...

   Malosh

 

0 Kudos
Message 3 of 7
(4,416 Views)

There are two ways to open an IVI driver session - you can call "Init With Options," or you can call "Init".

I checked the Tektronix web site on a hunch that turned out to be correct. The Tektronix driver for the 7000 series is an IVI-COM driver. IVI-COM has a different interchangeability model than IVI-C. IVI-COM interchangeability is based on the use of COM interfaces defined by the IVI Foundation, rather than on the use of class drivers as in IVI-C. An IVI-COM driver can not be used with an IVI-C class driver. That is why you are getting the error - the IVI-COM dll does not expose the IVI-C entry points that the class driver is looking for.

0 Kudos
Message 4 of 7
(4,413 Views)

Hi Glenn,

  The "init" VI is just another hierarchy on top of the "init with options" so that's why I referred to the last as the "only one"...

Anyway, what your saying about IVI-COM drivers is completely new for me!

Do I still have a way to use this IVI driver or have lost the battle?

0 Kudos
Message 5 of 7
(4,404 Views)

Hi Malosh,

I'm not sure if you are trying to use a resource name or a logical name to pass to the Init With Options VI.  Try using a string constant in place of the VISA resource constant, and pass the resource address to Init WithOptions.  I've heard of VISA resource name constants being an issue with some drivers.

For more info in IVI-COM vs. IVI-C drivers, visit here:

http://www.ni.com/ivi/c_com.htm 

 
0 Kudos
Message 6 of 7
(4,395 Views)
Malosh,
 
Please refer to the following document for more information about using IVI-COM drivers in LabVIEW:
 
 
I hope this helps.
 
Regards,
Vesna
0 Kudos
Message 7 of 7
(4,392 Views)