LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB / Serial driver substitution

Solved!
Go to solution

Hi. I am trying to control my first legacy instrument using LabVIEW. it is a Tektronix TDS 320 (scope). I am talking to it via Serial (not GPIB). The only drivers I can find for it for LabVIEW are GPIB. Would it be possible to port these drivers from GPIB to Serial, or would I need to write my own drivers.

Cheers, Alec

0 Kudos
Message 1 of 3
(2,576 Views)
Solution
Accepted by alecjcook

Hi Alec,

 

you should replace all GPIB-calls with VISA-functions.

Then it's rather easy to select the correct bus for communication, as VISA supports both of them (and some more)...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,570 Views)

@GerdW wrote:

Hi Alec,

 

you should replace all GPIB-calls with VISA-functions.

Then it's rather easy to select the correct bus for communication, as VISA supports both of them (and some more)...


I would say you can reuse about 95% of the driver code. But it is some important differences between how the communication is done regarding RS232 and GPIB. The "TKTDS 3xx Application Example.vi" will not work by only porting visa setup from from GPIB RS232. The diffrerence is explained in the programmer manual. Here is a source. http://webphysics.davidson.edu/faculty/dmb/py310/tds320.programmer.manual.pdf 



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 3 of 3
(2,561 Views)