LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Communicating with a tektronix DPO7254

Hi,

 

I'm trying to set up a Tektronix DPO 7254 so that I can acquire data from the oscilliscope using another PC that has additional controls I can use alongside with the data aquisition. I downloaded the drivers from the NI site and they seem to be recognised by labview (8.2) and connected the 7254 to the PC via a com cable. I then tried one of the test programs in the example folder, but none of the com ports seem to communicate with the oscilliscope. The program just hangs and then I get an error stating

 

rror -1073807346 occurred at VISA Write in Tektronix 7000 Series.lvlib:Error Query.vi->Tektronix 7000 Series.lvlib:Configure Channel.vi->Tektronix 7000 Series Acquire Multiple Waveform.vi

 

Am I doing something stupid here? Or does the driver only work when installed on the 7254 itself?

 

Cheers

0 Kudos
Message 1 of 2
(3,346 Views)

As you should have seen from the driver page, the only supported interfaces are GPIB, USB, and Ethernet. Are you sure the serial port on the scope can be used for remote control? A basic step before running any LabVIWE code is to use a program such as Hyperterminal to check com settings and cable.

 

If in fact the serial port works, you will probably need to modify the driver. You would also typically run the initialize function before doing anything else. Select the resource by clicking on the little arrow on the right side of the VISA resource name control. If you do that, you would be selecting only valid resources.

0 Kudos
Message 2 of 2
(3,340 Views)