LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting up a VISA for a TCP/IP connection

Solved!
Go to solution
I am trying to write a program in LabVIEW that will allow me to take data from my LeCroy Wavejet 354 and display it in a LabVIEW interface.  I have installed LeCroy's VICP passport.  I have no problems pinging the device so I know my ethernet connection to the computer is good.  It is not clear as to how I can use VISA to establish the desired connection for TCP/IP connections. In MAX, the remote systems function doesn't detect the o-scope's IP address.  I also tried creating a new device under devices and interfaces in MAX and after "create new" it gave me no option to create anything.   Do you have an example VI that can help me see how VISA can be used to establish this connection or know of some other way I could get this to work?  Thanks for the help.
0 Kudos
Message 1 of 6
(9,259 Views)
Solution
Accepted by topic author BYUlab
Remote systems is not the correct way to add an Ethernet instrument. Right clicking on Device and Interfaces and then left or right clicking on the Create New..., should display the screen below. You want to select VISA TCP/IP Resource
Message 2 of 6
(9,255 Views)

Also note that there is a LabVIEW driver on idnet located at:

http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=10101

 

Hope this helps.

Now Using LabVIEW 2019SP1 and TestStand 2019
0 Kudos
Message 3 of 6
(9,250 Views)
When I go into MAX and then to Device and Interfaces it doesn't give me all of the options in the image you sent me.  I only installed the general parts of LabVIEW on the installation DVD (I didn't mess with any of the options).  Do I need to reinstall anything.  Also, to the third response, because I am using the VICP passport I believe I don't need the driver you gave me the link for or do I?  The LeCroy website said I didn't. 
0 Kudos
Message 4 of 6
(9,224 Views)

Hi BYULab,

 

Alan from LeCroy Tech Support here...    Unfortunately, the "Accepted Solution" isn't correct.

 

When using the VICP Passport, you cannot create a TCP/IP resource in MAX for the scope. You can create an alias in MAX via the VISA Options... but it isn't necessary at all.   In fact, you don't need to do *anything* in MAX to connect to the scope.

 

To connect to the scope, simply enter into the VISA Resource control the following string:  VICP::<ip address> (example: VICP::100.100.100.1)

 

I've attached a screenshot...

 

Best Regards,

Alan

 

 

--------------------

Alan Blankman, Software Engineer
Teledyne LeCroy
800-425-2000
http://www.teledynelecroy.com
alan.blankman@teledyne.com
0 Kudos
Message 5 of 6
(9,211 Views)

This solution does not seem to work somehow in my case.

 

I am using Lecroy 354 wavejet and have been unable to establish any communication via ethernet using LabVIEW 2013 following the ideas mentioned earlier.

I have the VCIP passport program and the drivers installed. I can also get the communication to work using program provided on the Lecroy webpage but not with LabVIEW.

0 Kudos
Message 6 of 6
(5,276 Views)