LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Ethernet communication using Keithley 2701 in NI MAX

I'm trying to set up my Keithley 2701 in NI MAX so I can use it in LabVIEW but no matter what I do, NI MAX does not recognize it.  I have the Keithley driver installed as well as VISA.  I've also verified communication in the command prompt using ping, so I know it's communicating.  I've also used kickstart on this computer, so I don't understand why it isn't working.  Someone please help.

0 Kudos
Message 1 of 6
(492 Views)

Hi jseele,

 

do you know the rules on how to define IP addresses and the usage of leading zeros for such addresses?

I guess you missed something like this!

Best regards,
GerdW


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

Yes, I know about leading zeros.  I've tried with and without them.  Like I said, I've set up the IP to work with kickstart just fine.  So that isn't the problem.

0 Kudos
Message 3 of 6
(446 Views)

Just use the raw VISA Resource name. You don't need to set up anything in NI Max to use VISA Ethernet Devices in LabVIEW.

 

Use something like "TCPIP0::169.254.248.70::inst0::INSTR" (replace with IP Address) instead of creating a VISA Alias.

0 Kudos
Message 4 of 6
(440 Views)

Using what Shockhouse suggested should get you mostly there, but I feel it important to mention that it's likely the reason it's failing is that you put the instrument name in the VISA string as "Keith" instead of "inst0".  99%+ of the time, that portion of the string needs to be "inst0".

 

Also, I note that you're using the 169.254 address range for your IP addresses.  This can work for a while, but that range is the "I looked for a DHCP server and didn't find one, so I randomly picked one" range.  If this is meant to be a permanent connection, it's probably best to set up a local 192.168 range with static IPs.

0 Kudos
Message 5 of 6
(417 Views)

I tried that and it did not work.  I was able to get response by changing the port number in NI MAX, however.

0 Kudos
Message 6 of 6
(410 Views)