LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to communicate with SCPI using Labview?

Hello.

I want to communicate with SCPI using Labview but I have no idea on how do it. Once I have connected my device to the pc using the ethernet connection how can I send the SCPI commands to the instrument? I tought, but I don't know if I am right, to use the VI patterns; if this could be true, where can I find some infos about the VISA? 

Thank you

Message 1 of 13
(26,588 Views)

What is the instrument (make/model)?

Have you looked for LabVIEW drivers, you may want to search it here.


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


Message 2 of 13
(26,585 Views)

No unfortunately they are not NI instruments. One is an agilent instrument. I want to start to practice with this one.

0 Kudos
Message 3 of 13
(26,581 Views)

Have you checked the link, moderator1983 provided?

 

Please read carefully:

He was talking about INSTRUMENT drivers, not DEVICE drivers.....

NI has a strict terminology on this:

Device: NI product, most often build into the PC/PXI system, nowadays increasing number of USB and E-Net devices available

Instrument: Any third party boxed instrument, interfaces most often Serial (RS232), USB, GPIB or E-Net.

 

So instrument driver is exactly what you are looking for. And Agilent provides LV instrument drivers for most devices as also Agilent feels the power of LabVIEW....

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 4 of 13
(26,577 Views)

Oh well sorry I haven't understood it. Now that is clear I checked and those are the two instruments:

 

http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=8017

 

and 

 

http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=19037

 

now that I have found them...what else?

 

Thank you guys for your help

0 Kudos
Message 5 of 13
(26,572 Views)

@inuyasha84 wrote:

now that I have found them...what else?


You should be going to start your code... Smiley Very Happy


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


Message 6 of 13
(26,570 Views)

Eheh no really I have other few questions.

In the Rigol link that I posted I read:

 

"This instrument driver is NOT supported or maintained by National Instruments.   This driver is maintained and supported by the instrument manufacturer or a third party."

 


So as suggested I went on the Rigol site 

 

http://www.rigol.com/support/ivi/more.html

 

but I haven't found the driver. So how to procede?  The instrument is the Rigol DSA1030A. What is the procedure to communicate with an instrument  of which I don't have the driver?

 

On the other side about the LeCroy instrument I'm taking some minutes to read how to instal the Plug and Play... I'm talking about this guide:

 

http://www.ni.com/devzone/idnet/inetinst.htm

 

Smiley Very Happy

0 Kudos
Message 7 of 13
(26,567 Views)

@inuyasha84 wrote:

The instrument is the Rigol DSA1030A. What is the procedure to communicate with an instrument  of which I don't have the driver?


In your earlier post, you mentioned Agilent...Smiley Surprised

Rigol hasn't provided LabVIEW drivers for this particular instrument, but IVI drivers are available for C-programming-language interfaces (LabWindows) but you can always convert it to something which is compatible with LabVIEW, check this link.


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


Message 8 of 13
(26,563 Views)

Hi inuyashi,

 

when the link provided in the IDN doesn't work you could go the "official" way:

- Open the website of the manufacturer (www.rigol.com)

- Search for your device DSA1030A and open it's product page.

- Nearly all measurement device manufacturers support their devices with additional software: so you would open the tab "Saftwares" on the DSA1030A website.

- Wow: Rigol presents you an IVI driver to download, install, and use...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 9 of 13
(26,561 Views)

Yea I'm sorry it was supposed to be the Agilent but actually it is used by another guy so those two are the instruments I can use.

 

Ok Great! I'll check the  option you suggest me for the Rigol and I'll let you know.

Ty guys

 

 

0 Kudos
Message 10 of 13
(26,553 Views)