08-10-2021 02:11 PM
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
08-10-2021 02:30 PM
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?
08-11-2021 07:17 AM - edited 08-11-2021 07:18 AM
Here is a very simple example, assuming the instrument accepts SCPI commands.
08-11-2021 09:55 AM
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?
08-11-2021 10:33 AM
That's a snippet, an image with the VI embedded in it.
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x2PkCAI&l=en-GB
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
08-11-2021 11:13 AM
Well-I told you I was a newbie..
This works fine thank you very much!