AnsweredAssumed Answered

ENA E5071B and VISACOM

Question asked by conchiupct on Jun 2, 2010
Latest reply on Jun 8, 2010 by conchiupct
Hello everybody!

I am trying to connect with my ENA E5071B using VISACOM libraries and IO Libraries v15. I have this situation in IO Connection Expert
Image
and in fact, I am able to connect with the ENA sending to it commands via IO Connection Expert
Image

However if in Visual Basic I perfom the simple code
Private Sub ConnectENA()
Dim hFile As Long
Dim isOpen As Boolean
Dim ioMgr As VisaComLib.ResourceManager
Set ioMgr = New VisaComLib.ResourceManager

Dim Age5071x As VisaComLib.FormattedIO488
Set Age5071x = New VisaComLib.FormattedIO488

On Error GoTo MyErrorENA
Set Age5071x.IO = ioMgr.Open("TCPIP0::15.1.201.236::5025::SOCKET")
Age5071x.IO.timeout = 10000

msgbox("hello")
.
.
.
MyErrorENA:
MsgBox "Error in the ENA connection"

End Sub

I obtain always "Error in the ENA connection".

could you help me please?

Thank you in advance.  

Attachments

Outcomes