From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple ethernet interface VI example requesting

Newbie LabVIEW question:

I have an ethernet interface based instrument I want to remote programming control from a LabVIEW VI.
I would be using the instruments VISA commands..

I'm in LabVIEW 2015..

I can communicate with the instrument in National's MAX..

So I'm set up there..

But I need to see how to open up communication initially with the instruments ethernet interface when I begin my LabVIEW VI.

I would like to see a small VI which initializes and sends perhaps one command.

Thank you
Chris

0 Kudos
Message 1 of 6
(1,094 Views)

Hi Chris,

 


@chrlum47 wrote:

I have an ethernet interface based instrument I want to remote programming control from a LabVIEW VI.
I would be using the instruments VISA commands..

I'm in LabVIEW 2015..

I can communicate with the instrument in National's MAX..

So I'm set up there..

But I need to see how to open up communication initially with the instruments ethernet interface when I begin my LabVIEW VI.

I would like to see a small VI which initializes and sends perhaps one command.


When you want to use VISA functions then you should use VISAOpen to "open up" the communication…

 

Which device do you want to interface?

Does the manufacturer of that device provide LabVIEW VIs? Does a device driver exist for that device in NI's IDNet?

Which protocol does the device support?

Best regards,
GerdW


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

Here is a very simple example, assuming the instrument accepts SCPI commands.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 6
(1,039 Views)

Thank you- I bet you that's perfect..

I don't recognize that first function...?

And/or could you just give me a VI containing that?

 

0 Kudos
Message 4 of 6
(1,021 Views)

Well-I told you I was a newbie..

This works fine thank you very much!

0 Kudos
Message 6 of 6
(1,005 Views)