AnsweredAssumed Answered

Hello I am having problems with a visual basic screen dump program from agilent.It works great with gpib and  when I open the bas file it explains how to  make changes to this text to make it work with a lan connection- (GPIB0::18::INSTR ) original and wi

Question asked by hardyhansen on May 7, 2016
Latest reply on Jun 15, 2016 by odanzy


Hello

I am having problems with a visual basic screen dump program written by Agilent.

When used with gpib it works great.And when reading the bas file it explains how to make it work with lan--

 

 

    ' Open the session.  Note: For E4406A, to use LAN, change the string to

    ' "TCPIP0::xxx.xxx.xxx.xxx::inst0::INSTR" where xxxxx is the IP address

    status = viOpen(defrm, "GPIB0::18::INSTR", 0, 0, vi)

    If (status < 0) Then GoTo VisaErrorHandler

It doesnt work,and I believe it is missing socket information.

Could one please tell what to do?

TIA

Hardy

Outcomes