Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

Exception when initializing Lecroy Ivi driver using C#

$
0
0

Hello!

 

We bought a Lecroy WaveRunner 64MXI-A and tried to control it remotely, we already created a Visa Resource using MAX, tested it using the VISA test panel and everything seemed ok, we queried without problem.

 

The problem came when we downloaded and installed the ivi driver from lecroy http://teledynelecroy.com/support/softwaredownload/labview.aspx, we added the references like the documentation said and initialized it in this way using c#.

 

ILeCroyScope mylec = new LeCroyScopeClass();
mylec.Initialize("TCPIP0::LCRY0621N67647::inst0::INSTR", false, false, "Simulate = false");

 

it throws the following exceptionSmiley SadSystem.Runtime.InteropServices.COMException  Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED).

 

that exception isn't thrown when we set simulate = true. And we already tested it using a simple message based session, but no luck with the ivi driver.

 

Has anyone encountered this problem and found a solution? any help is helpful, thanks.

 

PD: I already contacted lecroy but no answer atm, so i am looking for advice here.

 

 

 


Viewing all articles
Browse latest Browse all 5565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>