Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

IVI driver for LeCroy HDO 9000 series

Solved!
Go to solution

Hello all,

I'm trying to interface with a Lecroy HDO 9404 oscilloscope.

So far I've drawn an almost complete blank.

- First tried on Linux using USBTMC or Ethernet connection, sending SCPI, VICP or LXI commands, but nothing worked (for some unknown reason I do not see port 1861 as open)

- Then tried on Windows where NI-MAX sees it and assign a Visa address via USBTMC or ethernet (both work). The most I've managed to do so far is a viWrite ("*IDN?") with the proper reply. Yeah!

 

I haven't found ANY info on the SCPI commands this model accepts and instead it says to use a different protocol (MAUI ? VICP passport ? VBS ? ActiveDSO ? Automation ? I'm not clear what those are yet).

 

Anyway, before diving into a new protocol from scratch I wanted to see if I could use a higher level IVI driver. I found one on the LeCroy site that seems to support Series 6000 but when doing an IviScope_ini I get a "The session name or logical name could not be resolved to a session or driver session." if I give it a Via string or an alias name, and "Unknown status code" if I give it an IVI logical name.

More specifically I've defined a new IVI driver logical name "MyIviScope", using Driver session "lcScope", which itself uses the software "lcscope" (LeCroyScope.LecroyScope, lcscope.dll, IviDriver 1.0, IviScope 3.0, WaveMaster, WaveSurfer, WavePro, WaveRunner, HornetRunner, HornetSurfer, JarvikRunner, JarvikSurfer, Falcon, Hawk, Magellan, WaveExpert, SuperJet, Yater4000, Yater6000 [how do they come up with those names, honestly?!?]). It uses the proper hardware asset.

 

So my questions:

- is there an IVI driver for this scope ?

- is there any chance to use this IVI driver on this scope ?

- if not, is there any chance to modify it ? (don't know if source code is available)

- if not, what's the best course of action (which protocol should I choose when calling from LabWindows/CVI) ?

- or maybe I got something wrong with my config

 

Thanks

0 Kudos
Message 1 of 7
(2,275 Views)

I can do driver for  you if you like

CLA
0 Kudos
Message 2 of 7
(2,245 Views)

Thank you Ahmed for the offer, but I can write drivers as well (I already started on this one). I was just wondering if it was a waste of time to reinvent the wheel for something that has surely been done already and that I'd just missed off NI's website, LeCroy's website or gitlab/hub...

0 Kudos
Message 3 of 7
(2,235 Views)
Solution
Accepted by topic author gdargaud

I've started a tentative driver here. It's not IVI, just simple VISA functions to retrieve info without direct control. It would take a lot more work to expand it but that's enough for what I need to do.

0 Kudos
Message 4 of 7
(2,209 Views)

I know this is a bit of a stale thread, but I came across it while trying to find a solution.  So I'm adding my findings in case someone else stumbles across it as well.  There is a LeCroy IVI driver (lcscope) that supports your WaveRunner 9000 scope, as well as WavePro and probably most of the other current LeCroy scope models. I didn't see it on NI IDNet, but it's pretty easy to find on the LeCroy website. 

https://www.teledynelecroy.com/support/softwaredownload/labview.aspx

We tried and failed at first to get an IVI connection to a TCPIP VISA resource using this driver.  Here are the missing steps to get it to work:
1. Install the VICP VISA Passport.(link also on the LeCroy download page).

2. On the Hardware Assets list in your IVI Driver Session, you need to manually add a resource descriptor that refers to the VICP resource format, e.g. VICP::192.168.0.200::INSTR.   Do NOT use the standard TCPIP::<> format- you'll end up failing to Initialize or get other errors downstream.

3. Make sure the remote config on the instrument is set to TCPIP (VICP).

After that it was pretty smooth sailing with the instruments I tested (I have tried WaveRunner 8208HD and WavePro 804HD).

Here is a link describing the VISA VICP Passport.  Doesn't refer specifically to IVI config (which we had to figure out on our own), but it does explain what the passport is and how it works, at least from the VISA side of things.

https://www.teledynelecroy.com/doc/understanding-vicp-and-the-vicp-passport

 

Message 5 of 7
(1,273 Views)

I very recently started a thread, here, as I wish to work with a LeCroy oscilloscope.  It seems you may have some knowledge in the matter of working with LeCroy's design.  If you wouldn't mind I'd like you to field some questions for me, share your insight, please.

 

This would be for an Xtream scope, a HDO.

 

I'd like to be able to use LabVIEW to, on demand, cause any of the VBScripts (called .lss but actually are .vbs, per LeCroy's doc) in the oscilloscope to run, as opposed to needing to manually cause a VBScript to run using the touchscreen.  The idea is using an internal VBScript I can gain access to the MAUI Browser's objects as needed.  It seems the IVI driver and VICP Passport may work, somehow, maybe.  What do you think about how to get this scope control I'm describing?  And of course, if I am all wrong, then please show me how it can be done.

 

Thank you.   

0 Kudos
Message 6 of 7
(1,172 Views)

Eric: My post above was to you.

0 Kudos
Message 7 of 7
(1,171 Views)