Exception during initialization of Lecroy Ivi driver using c#

Hello!

We bought a Lecroy WaveRunner 64MXI-a and tried to control remotely, we have already created a resource of Visa using MAX, tested using the Panel to test VISA and everything seemed ok, we interviewed without problem.

The problem came when we downloaded and installed the driver of the ivi of lecroy http://teledynelecroy.com/support/softwaredownload/labview.aspx, we have added references as literature has declared and initialized in this way using c#.

Mylec ILeCroyScope = new LeCroyScopeClass();
MYLEC. Initialize ("TCPIP0::LCRY0621N67647:inst0:INSTR", false, false, "simulation = false");

It throws the following exceptionSystem.Runtime.InteropServices.COMException Exception de HRESULT: 0x8000FFFF (E_UNEXPECTED).

that the exception is not thrown when we simulate = true. And we already tested it using a session simple message in function, but no luck with the ivi driver.

Has anyone encountered this problem and found a solution? any help is useful, thank you.

PD: I have already contacted lecroy but no response atm, I'm looking for advice here.

Hello Nelson.

Just a tip, I just send you an email response to your support request by email TeledyneLeCroy.

Tags: NI Hardware

Similar Questions

  • How to set the properties of the EOS in the IVI driver

    I am coding a compatible driver IVI (in LabWindows/CVI) for an old GPIB instrument that does not support the EOI. To read the response device, I need to define the character of the EOS and terminate read on EOS. MAX I can correctly set the properties of communication and communicate with the device, but I do not know how to set these values in my driver. I tried if various attributes (for example with viSetAttribute (io, VI_ATTR_TERMCHAR_EN, VI_TRUE)), but still get errors (I guess I should use the incorrect session handles). How to set these properties inside the device IVI driver properly? These parameters must be active for this specific device only - all other devices on the bus use EDI. So I think that I can not just in the world, set this property on the map.

    Any help is appreciated. Thanks in advance,

    Martin

    To change VISA attributes as parameters EOS via the pilot of the IVI, your application must first acquire the handle valid VISA (VISA session) or the IVisaSession interface. The first is applied when the uses of pilot IVI VISA - C API and the latest is applied to when the IVI driver uses VISA COM API. Session handle of the IVI - C (that was returned by the function _init() ) is * NO * a VISA manage so you cannot call the API C VISA with the session handle.

    I don't know if the IVI driver you are using has such a property or attribute allowing to access the handle VISA or IVisaSession interface, but for example, driver Agilent IVI COM "IO" property, which returns the reference to IVisaSession or any good VISA com interface.

    Makoto

  • VI Initialize with OptionsString missing the resource name field when creating the IVI Driver Generator LabView 8.6

    Hello world

    We have just uploaded the latest LabView version 8.6 and there is a nice tool called generator of LabView LabWindows CVI Instruments drivers. Our driver of the instrument is an IVI driver that has a LabWindows CVI interface that uses the generation of LabView tool to create all the VI that could be used to talk to the underlying driver IVI hollow discovery of .fp, .sub and .h files. No mistake and screws more than 30 are generated automatically.

    There is an inconsistency in the Initialize function IVI driver. There is a VI Initialize driver without an input of OptionString parameter and there is a second VI with the OptionString parameter.

    Two of these screws should have a required entry field that is the ResourceName of the instrument, but this field is visible in the initialization of VI that has no OptionString input parameter and is not at all visible in other VI initialize that has an OptionString input parameter

    No idea why the second version of Initialize does not display the ResourceName parameter?

    Thank you

    Sorin

    Hey Sorin and Heather,

    I've just built your IVI driver and can see the question you come through.  What version of LabVIEW and the tool are you using?  I am looking into this further for trying to dig your problem a little more.   If you add the connector to the connector pane, the created VI meets the needs that the name of the resource exists, it's just not in the connector pane.  This can do a right-click on the icon in the upper right of the front panel and selecting display connector.  Select where on the VI wish you add the connector, and then select the name of the resource.

  • Problems in the use of Ivi driver ke230y in 'IviDCPwr measure [MSR] .vi.

    Hi all

    I have a problem in using pilot IVI (ke230y) to control power electric keithley2303 with LABVIEW 2013.

    After I booted and config ke2303 well and executed for 'IviDCPwr .vi measure [MSR]', it multibordure errors. For the period of 15 seconds, and then reports errors that appear:

    The code (attached) when I test it with other food such as agilent66309d and keithley2306 (with ivi driver ke230x), it works well.

    I have no idea on this problem with power supply keithley2303, can you guys never encounter this problem and can answer for me to fix.

    Thank you for your reading and your help!

    Best wishes

    Phil


  • Agilent 6812 B power cord does not work with the class IVI driver

    I try to use a power source Agilent 6812 B with class IVI DISARM on RS232 driver.  I have everything set up NI Max but I can't by the initialization routine.  I tried in LabView and LabWindows and nor will not work.

    I decided to follow the lines RS232 RX/TX and I see that he is sending the "* IDN?" command and it times out before receiving a response.  Unfortunately, it does not send the Terminal newline at the end of the string.  I can cross NI MAX and send "* IDN? \n' and he responds with the ID very well.

    So my question is, would be possible that the IVI specific driver is not written correctly to send a jump as an end of line character or do I need to configure the Compote to send this character separately?  The IVI driver has been downloaded from instrumement network driver of NOR and it says it is compatible with the 6812B, but has been tested with 6813B.


  • Satellite Pro P70 - Has: 2nd invisible HARD drive - how to initialize the 2nd HARD drive

    I have a P70 - A. Satellite Pro
    'Primary' hard disk failed, and has been replaced by the service centre.

    Now, only the main hard drive is shown and the Service Center said that I had to 'initialize' the second hard drive to make it visible. They assure me that the hard drive is there, just hidden.

    How can I make visible?
    How do I initialize it?

    Usually, you can initialize the disk by DiskManagement.

    In disk management, right-click the disk you want to initialize and then click on initialize disk.
    In the dialog box initialize the disk, select the disk to initialize.
    You can choose to use the master boot record (MBR) or the style of partition GUID partition table (GPT).

    Once a disk is initialized, you can create partitions on it.
    After you create a partition, you can format the partition to create a filesystem (NTFS).

  • How Firefox 4.0.1 can start a profile during initialization without typing "firefox.exe - ProfileManager"?

    How can I get Firefox 4.0.1 to load a profile during initialization without typing "firefox.exe - ProfileManager"?

    Firefox 3.6.12 would pause during initialization to ask which profile to load.

    I want to install various plug-ins on different profiles for evaluation.

    You can use the short form firefox.exe-p for get profile manager.

    Simplest is to create a shortcut on the desktop to start the Profile Manager, or create a shortcut of s for each profile if you don't have a small number.

  • Restore the data in the external drive using Time Machine

    Hi y ' All!

    I store my photos in my external hard drive because there is not enough space in memory is internal. This is actually my second drive external hard than my first (Adata HE720) is not the beginning of last year. Unfortunately, my WD Elements has stopped working and I can't restore data using Time Machine, as the drive is not found in Time Machine under devices, and I'm sure that I restored my photo library and many other files from my old external drive using Time Machine.

    Can someone tell me how to recover my old files? I have many other important data here including my photos and I don't want to lose them. I'm fairly positive that Time Machine allows me to get the data as is the point of it.

    Thank you in advance!

    P.S. If you guys have any recommendation on a reliable external drive, please do tell me!

    Hey guys, I found the problem.

    It turns out that I'm never giving time Machine to deselect my external drive to backup; Therefore, there is absolutely no copy done during execution Time machine. I really don't understand why Apple made this the default behavior, but it is what it is.

    So, people, don't forget to go to Time Machine preferences and make sure that you remove the external hard drive that you want to backup under options. Once you do, you can enter the time Machine and your drive will appear under devices.

    See you soon.

  • With the help of IVI driver for delay in the MSO6104A of reading

    Hello

    I have the IVI driver NOR for the scope of the MSO6104A. The driver is functional, and I managed to use it.

    My scope has a function of delay between two different channels. But, how to read delay help scope step IVI measurement?

    Is there another way to read this measure?

    Thanking in advance

    As far as I know, without delay only is not supported a measure of IVI function. For example, you can complain to ivifoundation.org first. Or, in a code module, you can use the driver of specific instruments for the measurement. This would make the application "no - IVI" so in the first place, most of the grounds using IVI disappeared. Or retrieve the waveforms from each channel and calculate the delay in a code module.

  • IVI driver sessions shows no MAX

    According to the tutorial of the document "Getting started using National Instruments IVI with LabVIEW or LabWindows/CVI", I have install the sofware IVI Compliance Package2.1, NI VISA5.0 and hp34401a ivi driver, but I can't find any driver in MAX4.7 sessions, it should display "hp34401a" element according to the tutorial document.could you help me? Thank you.

    Hello

    IVI Compliance Package2.1is an older version of the PIC.  Please try to install the latest version of the PIC of drivers and updates, and let us know if you still have any questions.

  • The IVI Driver download for E3631A Agilent expects a C: drive - solution

    Exe self extractor for the Agilent E3631A IVI driver expect drive c to exist.  I don't have drive C: self extractor opens then C: drive is no reports and they closed the extractor.  Does anyone know a work around for this?

    How can you not have a c:\ drive?  What kind of PC are you running?

    Try to rename the .exe is a zip file.  Then see if you can open it using winzip or another zip program to be able to drag files manually.

  • Creating a program the evolutionary IVI driver installation problems

    I have problems when you try to create an upgrade for an IVI driver installation.
    I created the installer by using the creative installer included with LabWindows/CVI 2010 IVI. In my case, I have two versions of the IVI driver DLL and configuration (1.0 and 1.1).
    1.1 - the installation program was created using the option "install existing rebuild" of the creator of the installer.

    My problem is the following:

    • If the driver of the IVI is not installed the 1.1 - installation is completed without error.
    • However, if the 1.0 driver is present, the 1.1 installer gives me the error message following just at the beginning of the installation:
      "Setup has detected a third party IVI driver in the directory C:\Program Files (x 86) \IVI Foundation\IVI\Bin. Please uninstall the existing driver before proceeding with this installation. »

    I noticed the things so far:

    • The UpgradeCode MSI remains the same for both configurations (as expected). This seems to indicate that the installation program supports upgrades.
    • The installer contains a DLL (NiIviDriverDetection.dll) used in a CustomAction to the 3rd party.
      What this DLL seems to do, is to perform a control version of the currently installed driver IVI DLL (1.0 in my case).
      According to the results of this audit, the installation process is abandoned.

    If everyone has noticed this behavior or anyone has any suggestions on how to create an IVI driver installer which can be upgraded without uninstalling the old version first?
    Maybe I put just an evil version information field, but I do not know that which (if any)...

    Advice would be greatly appreciated!

    I seem to have found a solution:

    The problem is that the MSI CustomAction, seeking a third drivers IVI (DetectAction.C1C4DD2F_AD86_44E6_BA47_FC41E5C0DAAF) is performed before the FindRelatedProducts Action.

    So the DetectAction is not ignored if an older version of the IVI driver is located (looking at the MSI tables clearly was NEITHER).

    Move the sequence numbers of the 103 to 107 behind the FindRelatedProducts Action InstallExecuteSequence shares both InstallUISequence tables (for example starting at 370) will make it possible to do an upgrade of an IVI driver installation.

    This can be accomplished using the Orca tool included in the Windows SDK.

  • create IVI driver for HP 34401

    I searched and can't seem to find if there is a driver available for the HP/Aggilent 34401 IVI? Is it possible to create an IVI driver for this resource?

    Hello Dennis,.

    Please, try the following:

    1. make sure that MAX is closed

    2 re-run the IVI for IVI 34401 driver setup and use it to uninstall the driver

    3. make sure that MAX is always closed

    4 run the IVI installer from the IVI 34401 again driver to install the driver

    5 confirm that the installer put the files (.c, .fp and .sub) at the following location: C:\Program Files\IVI Foundation\IVI\Drivers\hp34401a

    5a. also confirm that there is a hp34401a_32.dll in the folder C:\Program Files\IVI Foundation\IVI\Bin

    6. open MAX and see if there is now a session driver for the specific driver of IVI hp34401A

    7. If there is not a session driver driver, you will need to create a

    Please let us know how it goes,

    NathanT

  • The export could not be performed. An error occurred during initialization of MAPI

    I need to import e-mail messages and settings of Outlook Express 6 on Windows XP SP2 to Windows Live Mail on a new Windows 7 PC.

    I try to export messages from Outlook Express, but I get a message saying that "the export cannot be performed. An error occurred during initialization of MAPI".

    I changed the Outook Express settings as described in section http://support.microsoft.com/kb/179637/en-us (method 2), but the message remains and I can't continue.

    • How can I go on the export of messages?
    • Can I copy the .dbx files and import them into Windows 7?
    • Is there an alternative?

    Outlook is not installed on my PC I want to install it either.

    Concerning

    Mario

    The export is only if you have installed Exchange or Outlook.  Copy the entire repertoire of dbx files to the Win7 computer desktop and make sure that the files are not read-only.  Then, in WLM use file | Import | Messages and point to this directory.
     
    Steve
     

    I need to import e-mail messages and settings of Outlook Express 6 on Windows XP SP2 to Windows Live Mail on a new Windows 7 PC.

    I try to export messages from Outlook Express, but I get a message saying that "the export cannot be performed. An error occurred during initialization of MAPI".

    I changed the Outook Express settings as described in section http://support.microsoft.com/kb/179637/en-us (method 2), but the message remains and I can't continue.

    • How can I go on the export of messages?
    • Can I copy the .dbx files and import them into Windows 7?
    • Is there an alternative?

    Outlook is not installed on my PC I want to install it either.

    Concerning

    Mario

  • How can I delete all the music on my rocket drive using my computer?

    How can I delete all the music on my drive using my computer? I printed the user manual, but the statement is vague.

    Please help a frustrated old man,

    Thank someone who answers this time (even before ayone answers that I tend to forget to say thanks for the help)

    misterhy

    [email protected]

    You can (and should) get the free mp3tag: http://www.mp3tag.de/en/

    Install mp3tag.  When you install, let it be added to the context menus (an option during installation).

    Open mp3tag and in tools, Options, Tags, Mpeg do option Write ID3v2.3 ISO-8859-1. Those are tags favorite rocket, and once make you it by default, whenever you save tags in mp3tag you will get tags Fuze and respectful.

    Your albums may not be labeled at all, or may be marked in ID3v1, who will not read the "rocket". So he goes to the title, if there is a title tag or file name if there are no tags.

    You can now right click on an album folder and see mp3tag as an option to open it. When you click mp3tag, you'll see the files listed. Put them in order from top to bottom - you can try clicking on the header of the track-number or the name of the header file if they are 01-Track 1. If you can align them up and down, highlight all the and click Dial automatic tools Wizard with the option of leading zeros. Bingo: Track numbers 01, 02, 03, and they will play in the order.

    Sometimes people put numbers to track on the file names and they list in alphabetical order by song title - not good. If the "rocket" Impossible to find track numbers and the name of the file is FirstSongTitle-01 (rather than 01-FirstSongTitle), the "rocket" will play them in alphabetical order by name of file: FirstSong, FifthSong, FourthSong, SecondSong, SixthSong, ThirdSong. Then you will have to put in one of the track numbers.

Maybe you are looking for

  • [N900 / WNDR4500]-cannot use / access some sites web/services even after reset to factory settings

    Hello I just moved into a new home; my old cable modem was damaged during the move, and so I had to replace it (same manufacturer, newer model). The problem started then with messeging (Messenger of the LINE) service not working at all when the wifi

  • Computer to TV (win 7)

    I connected hdmi and my tour told me that I have a good connection to my TV.  I have an Amazon movie on computer but cannot transfer to the t.v.  Help

  • How to prevent auto sorting (alphabetically) for TreeField

    Hi guys: I did a string in the array, which is in the order I want, but when I add to a TreeField (for example. ( myTree.addChildNode ((,)), it shows in alphabetical order on my Simulator screen, anyone know how to prevent this automatic sorting?

  • Map its CMI8738 not recognized in Windows 8

    I just upgraded from Windows XP to Windows 8. My CMI8738 PCI sound card worked perfectly on Windows XP. But Windows 8 cannot detect even there is a PCI sound card, attached to the motherboard. There is no built-n sound card on the motherboard, but Im

  • Single edition still available?

    HelloI am a customer of the company and passed to DPS2015 in July - early...Now I have a new customer for whom I did a corporate magazine (100 pages, printing, no series, just on the edition).They push me to do at least one application ipad only him.