LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RPC + LabView

How to make RPC calls from LabView?
As far as I understand it is one possibility to discovery all VXI-11.2 compliant instruments (TCPIP) presented in local net.

Thanks in advance
0 Kudos
Message 1 of 6
(5,248 Views)
Hi,
From what you're saying, I understand that you'd like to use RPC calls in LabVIEW to communicate with a VXI-11.2 compliant instrument via an ethernet connection. If you're interested in doing such ethernet communication, then you can install the appropriate VXI driver and use LabVIEW VISA VI's to communicate with the device. VXI drivers can be downloaded from www.ni.com/drivers, and information about VISA communication is available at the following url:
http://zone.ni.com/devzone/conceptd.nsf/webmain/790B808B320DCF6F86256BE2006965E6?opendocument
If this information doesn't answer your question, then please clarify the issue and I will try to resolve the matter.

Thanks for contacting NI!

Marcus G.
National Instruments
0 Kudos
Message 2 of 6
(5,248 Views)
Dear Marcus,
thank you for your reply.

I am not going to communicate with a VXI-11 compliant instrument by means of RPC. I would like to discovery VISA address of VXI-11 compliant instrument by means of RPC only.

The problem is that I have to perform dynamic I/O configuration in system based on TCPIP (VXI11.2 or VXI-11.3) compliant instruments. In developing stage it is impossible to setup TCPIP address that will be used. Hence I have to discovery TCPIP address of instruments presented in my local net in run time (during my program executing time). It is clear that I am able to use some drivers to communication with my devices. But any drivers require to set correct VISA address. Therefore I am searching for any way how to discovery VISA address.

As I
have already written NI MAX executes this task very fast without problem. Therefore I think that MAX software developer know how discovery VXI-11 compliant instrument in run time. I am ready to written some dll in C# if anyone offers how to do this task.

Mikhail Kozlov
0 Kudos
Message 3 of 6
(5,248 Views)
Hi Mikhail,
I don't have a good feel for what you're trying to do beyond communicating with an instrument that is TCP-IP compliant. If that's what you're trying to do, then the VISA VI's in LabVIEW will allow you to communicate with your instrument. If that's not the situation, then answering the following questions, will help me better understand your issue.
What exactly do you mean when you say that you want to find the VISA address by means of a Remote Procedure Call? Are you trying to call the VISA address on another computer? Are you just doing TCP-IP communication with the instrument? Are you trying to use Remote Procedure Calls to call MAX?

Thanks,
Marcus G.
National Instruments
0 Kudos
Message 4 of 6
(5,248 Views)
Dear Marcus,
thank you for your assistance very much.

I would like to get the same information, as it is possible to get by means of using the following MAX steps:
1) Create NEW
2) TCPIP resource
3) VXI 11 LAN instrument
4) Browse local subnet.
The MAX shows all discovered LAN instrument VISA addresses. Nothig more special.

If I would get VISA addresses of my LAN instruments, which is presented and switched ON, then I would be able to use LabView VISA VI's for communication to my instrument.

As I have already written I cannot make configuration by means of MAX once time. I have to perform dynamic instrument configuration each time when I start my LabView program.

When all of my instruments were connected trough GPIB it was e
asy to perform this task since VISA Find resource VI discoveries present GPIB instrument configuration without problem.
0 Kudos
Message 5 of 6
(5,248 Views)

NI-VISA 4.4 includes VXI11 Discovery capabilities... I haven't played with it yet.  There's a new Developer Zone doc about this:  "LXI Autodiscovery in NI-VISA Simplifies LXI Configuration"

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

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