LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in USB communication with TDS 2004B using LABVIEW 8.2

I am trying to programm a LabView 8.2 application for communication with the Tektronix TDS 2004B digital scope through the USB link. I am using the tktds1k2k driver vi functions.
 
In MAX the scope is identifyed as USB0::0x0699::0x0365::C030934::INSTR and I can do basic VISA I/O operations, e. g.,  sending the identity query "*IDN?\n" and reading the corresponding reply from the scope.
 
However, using VISA functions within LabView such as WRITE and READ results in a runtime error. Moreover, if I try to initialize the instrument using the tktds1k2k Initialize.vi, another runtime error occurs:  error code = 1074135040, at tktds1k2k Initialize with options.vi
 
Is there a simple explanation for this problem?
 
I would appreciate very much if someone could help me.
 
Thanks.
 
manuel joão.
0 Kudos
Message 1 of 5
(3,778 Views)

Hi Manuel,

I'm guessing you installed the IVI driver for the Tecktronix scope. Based on the error, it is likely that you do not have VISA (or some other dependent software component) installed on your system. When VISA is not present on a system, the IVI engine fails to load. This causes functions that use the IVI engine error -1074135040 (xBFFA0000). You can download NI-VISA from NI's support and downloads page. Check the link below to be sure that you hav ethe correct version.

http://joule.ni.com/nidu/cds/view/p/id/820/lang/en

http://joule.ni.com/nidu/cds/view/p/id/831/lang/fr

Do you have downloaded the instrument driver on this web page http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=9076 ?

If no, try with this one.

Regards,

Christophe S.
Account Manager East of France І Certified LabVIEW Associate Developer І National Instruments France

0 Kudos
Message 2 of 5
(3,758 Views)
Hi Christophe,
 
Thanks for your kind reply. I have the professional edition of LABVIEW with VISA already installed. I have also downloaded the instrument driver from the web page you mentioned. Is there any other possible reason?
Thanks again.
 
João.
0 Kudos
Message 3 of 5
(3,742 Views)

Hello Joao,

And do you have installed the IV compliance Engine ?

Check this link http://forums.ni.com/ni/board/message?board.id=170&message.id=145602&requireLogin=False, there is a similat post with the same error message.

Regards,

Christophe S.
Account Manager East of France І Certified LabVIEW Associate Developer І National Instruments France

0 Kudos
Message 4 of 5
(3,726 Views)
Hello Christophe,
 
Thanks again.
 
I checked the configuration installed in my computer. I have IVI Compliance Package 3.0 and MAX 4.2.1. Is there any incompatibility?
 
Best regards,
 
Jo~so
0 Kudos
Message 5 of 5
(3,715 Views)