Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Drive a ethernet device from a CRIO

Dear all,

I'm trying to  communicate with a digital multimeter Agilent 34410A through Ethernet connection. If I try to communicate using a PC there is no problem but I would like to use CRIO (I have both 9024 and 9074) and exploit the ethernet connection to drive the multimeter. Unfortunately using MAX there is no way to "see" the multimeter in the network devices. If I try to add a VISA/TCPIP resource from the sub panel network device a windows appears with the following message "MAX is unable to create a VISA resource on this system. Either VISA is not installed on this system or NI-VISA does not support creating new resources on this type of system" 

 

I tried to modify the VISA Option under Software-->NI.VISA 14.0.0 including the IP of the multimeter in the Remote acess list. But there no way to communicate with the instrument.

How can I solve this problem ?

You can find the software installed on my CRIO 9074 in the image attached to this message

 

Thank you very much

 

Davide

 

 

0 Kudos
Message 1 of 4
(4,682 Views)

Hi Moonfall,

 

 

which kind of protocol do you have to you to control the instrument?

 

Thanks, have a nice day.

 

FBM

0 Kudos
Message 2 of 4
(4,635 Views)

Hi FBM, thank you very much for your answer.

The instrument is an Agilent34410 (61/2 digits multimeter) and in the programming guide the only info related to the way to communicate with the instrument is related to the SCPI (Standard Commands for Programmable Instruments).

 

I’ve managed to communicate with the instrument through PC via VISA interface following the command list on the instrument manual as always I made for this kind of devices , Unfortunately, as I reported in the previous message,is not possible to create a VISA resource in a CRIO network device. Therefore, I’ve tried to communicate to the instrument using the CRIO through the HTTP protocol. I tried to send a general command like *IDN? using a GET. The following is the content of the "body" using a get to sent the IDN command

 

<html><head><title>Not Found</title></head><body>The requested URL was not found.</body></html>

 

Unfortunately it doesn't work.

Then I send only the URL through the GET and in this case I had an answer from the instrument. The following is the content of the "body" using a get in the case only URL is sent

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">

<html>

<head>

 

 

Have you any suggestion?

Thank you again,

Davide

0 Kudos
Message 3 of 4
(4,631 Views)

Hi Moonfall,

 

I think that with cRIO VISA drivers should work as well as on Win.

 

I found a couple of documents about it: http://digital.ni.com/public.nsf/allkb/CBD27C15C3357295862572420068E6B1

http://forums.ni.com/t5/Real-Time-Measurement-and/How-can-a-cRIO-access-VISA-resources-of-remote-sys...

 

0 Kudos
Message 4 of 4
(4,610 Views)