Configuring Vertical Offset of LeCroy WaveRunner 64Xi using LabVIEW

I am using LeCroy WaveRunner 64Xi with its instrument driver downloaded from the NI website. When I run the example lcwave Acquire Multiple Waveforms.vi, the vertical offset becomes negative in the waveform I receive back from the oscilloscope. For example, when I enter the value vertical offset = 2.0 V, the oscilloscope receives it and displays the waveform properly. However, the vertical offset of the waveform returned to my pc becomes -2.0V. I tried to remove the negate value icon from the connector between lcwave Get Descriptor.vi block and Waveform Scale and Offset.vi block. It turns out that the vertical offset becomes doubled up, i.e. when I enter the value vertical offset = 1.0V, the waveform returned to my pc goes up by 2.0V. What could be the problem?

Hi VPL,
Alan from LeCroy Tech Support here.  I'm not exactly sure what you are seeing... Can you restore the driver back to its original state, and then reproduce the problem and send me an email at [email protected] with images from both the scope and the lcwave Acquire Multiple Waveforms.vi front panel?   (You can back up your current version of the driver by renaming its folder first)
Two questions for you:
1) What is "Waveform Scale and Offset.vi"?  This is not part of the driver, and may be your problem...
2) What version of the driver are you using? See the readme file in the instr.lib/lcwave folder.  I'm using 2.1
The problem certainly isn't with Get Descriptor; the decoding of the waveform has been in place for many years without any reported problems.
Lastly, I ran the VI with the a 0 to 1V signals going into C1 and C2.  I find that the returned data matches what I see on the scope. (see the attached image)  (I tweaked the timebase and vertical scale constants that are on the block diagram of Acquire Multiple Waveforms.vi)
Best Regards,
Alan
Alan Blankman, Technical Product Marketing Manager and LabVIEW Developer
LeCroy Corporation
800-553-2769 x 4412
http://www.lecroy.com
[email protected]
Attachments:
scope and VI screenshots.jpg ‏262 KB

Similar Messages

  • Error occurs when using the LeCroy Waverunner driver.

    Hi
    I downloaded a Lecroy Waverunner driver in Instrument Driver Network and installed it. However, when I used it in block diagram. An error message "lcltxxxx_32.DLL is not a 32-bit DLL" appeared. What's the matter with that?
    Bill.

    Hello Bill,
    It sounds like you have the wrong IVI engine installed. The current LeCroy Waverunner software on the website requires the 1.83 IVI Engine and NI-VISA 2.5 or later. If you have old versions of the IVI engine and/or NI-VISA, remember to delete the old versions before reinstalling.
    Regards,
    Ray Kong

  • LeCroy Waverunner 640Zi -- Data Acquisition

    Hello... I am trying to set up my waverunner oscilloscope with LabVIEW SignalExpress for data aquisition. 
    Steps I have taken thus far:
    1. Pulse generator hooked to scope for signal generation
    2. USB from scope to Computer with LabView installed
    3. Downloaded lecroyscope driver 3.2.9-x64
    I turn the scope on, and plug in the USB to the computer and SignalExpress starts up. 
    a. start using data aquisition
    b. add step/aquire signal/ IVI aquire/ IVI scope aquire
    c. create new IVI session .. resource descriptor (I choose my USB device "USB0::0x05FF::0x1023::2812N61507::INSTR"), I select the correct driver (lcscope), and I don't click enable simulation data, hit ok
    d. I keep getting configuration errors
    e. Did research.. some forum said to goto MAX, find drivers and unclick Cache and Interchange Check
    f. Trying to initialize ... still get config errors. 
    g. Back to MAX .. change simulate with specific driver. 
    h. Initialization works... NO errors, BUT no data is being aquired. 
    PLEASE HELP ! 
     

    Hello,
    Sorry to jump in so late, I have been out of the country for a while and am still catching up on things in my office.
    I think you are looking for someone to say "yes, you can connect to the scope with NI-MAX and the VISA Interactive Tool, and here is how to do it"
    A few things:
    The LabVIEW driver for XStream scopes is the right one.  It works with all of the TeledyneLeCroy Windows based scopes.
    As I see was already pointed out. (I will give Kudos soon), the scope must be setup to use the USBTMC interface.  To do this, go to the Utitlites pulldown menu on the scope and select "Utilities Setup..." on the tabs that appear at the bottom of the display, select the "Remote" tab and ensure the interface type is set to USBTMC.  This will also show you the VISA resource (I see it in the title of the VISA interactive tool image shown in a previous post).
    Once this is selected, the PC should detect the USB connection and install the device. (you can see it in your device manager as a USB Test and Measurement Device:
    Once this is done, you can then go into NI-MAX and it will detect and show the resource.  You can now communicate with the device:
    If you have any challenges, feel free to give me a call and I am happy to walk through this over the phone.
    Regards,
    Leonard Brown
    Applications Engineer
    Teledyne LeCroy
    1-800-553-2769
     

  • LeCroy Waverunner 104 xi store trace / destination file setup

    Hi everybody,
    My question might be really simple, but it took me already days without real success...
    I'm currently programming a LeCroy waverunner 104 Xi on CVI 8.5 via LAN. I'm trying to save a trace from a channel C 1...4 or internal memory M 1...4 to a previously specified file on the scope in *.xls or *.txt format. This already works with the STORE command on HDD ('STO C2, FILE'), but only on in a file I specified via keyboard on the scope / the save dialog. The STORE_SETUP command enables me to access all parameters (mode, data type...) of the "save waveform", except the save directory and the filename.
    How can I set this up / which command must be used to specify the destination file. I'm missing something like the Hardcopy_Setup command, where I can just enter the target path and the name...
    I'm really grateful for every answer!
    Michael
    LabWindows/CVI 2009 / 9.1.1

    Hi Peter,
    thank you for your welcome and the answer!
    You're right, I was a bit short with information, sorry. I installed the LeCroy LAB_WM827 VICP Passport for the connection. My communication runs on a LAN connection via this. The commands I am using are from the LeCroy Remote Control Manual Feb. 2005 (seems to be the actual / newest release). A simple example for connecting to the device is in the following:
    #include <ansi_c.h>
    #include <userint.h>
    #include <visa.h>
    #define MAX_CNT 200
    ViSession defaultRM, instr; /* Communication channels */
    ViStatus status; /* For checking errors */
    ViUInt32 retCount; /* Return count from string I/O */
    ViChar IOStringBuffer[MAX_CNT]; /* Buffer for string I/O */
    // Connection
    // Open LAN
    int ConnectDevice (char IP_Adress[])
    char IP_Buf[30];// Adress string
    status = viOpenDefaultRM(&defaultRM);
    if (status < VI_SUCCESS) {
    return -1;
    strcpy(IP_Buf, "VICP::");
    strcat(IP_Buf, IP_Adress);
    strcat(IP_Buf, "::INSTR\n");
    status = viOpen(defaultRM, IP_Buf, VI_NULL, VI_NULL,&instr); // Open LAN
    status = viSetAttribute(instr, VI_ATTR_TMO_VALUE, 5000); // Timeout 5s   // command: 'VICP::<IP_Adress::INSTR>'  return 0;
    In the same way I want to save my data to the HDD of the scope. First I set up the store mode:
    char storeSetup[50]={"STST C2, HDD, FILL, ASCII"};
    //command: "STST <channel>, <destination>, <mode>, <type>"
    status = viWrite(instr, storeSetup, strlen(storeSetup), &retCount);
    if(status < VI_SUCCESS)
    return -1;
    Then I execute the the store command:
    char store[30] = {"STO C2, FILE"};
    //command: "STO <trace>, <destination>"
    status = viWrite(instr, store, strlen(store), &retCount); if(status < VI_SUCCESS) return -1;  
    Up to here, everything works. But my specific problem is that I found no command to specify the target file (like C:\Dateien\Messwert1.txt), where my data should be saved. Everything has to be set at the display of the scope and can't be specified in the software (at least not by me).Now I am looking for the command / code, how to implement the target file setup into my code, so I can ask the user for an input via the CVI frontend and send this string to the scope via "viWrite(...);".
    I hope I was able to explain my problem.
    Thanks in advance for any help!
    Michael
    LabWindows/CVI 2009 / 9.1.1

  • I am using a work laptop and have the same problem. When I try to change the "configure proxy", they only available option is "use this proxy server for all protocols". Could it be that my system administrator blocked me from changing it since they don'

    I am using a work laptop and have the same problem. When I try to change the "configure proxy", they only available option is "use this proxy server for all protocols". Could it be that my system administrator blocked me from changing it since they don't want us to use Firefox.
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.4; FNGP_SYS)

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the ''Safe mode'' start window.
    You have to close and restart Firefox after each change via "File > Exit" (on Mac: "Firefox > Quit")

  • I'm trying to use a madcatz controller on the mac but it turns on for 2 seconds and turns off. the system profiler picks it up as a xbox 360 gamepad but says its not been configured. how can i allow my self use this with my games.

    i'm trying to use a madcatz controller on the mac but it turns on for 2 seconds and turns off. the system profiler picks it up as a xbox 360 gamepad but says its not been configured. how can i allow my self use this with my games!

    I have exactly the same problem.
    I'm a little peed-off with Microsoft on this. The original wireless controller I have doesn't work either since the cable I'm using is 'just' the charge and play cable, so a direct connection to my Mac won't work with this cable. It's a cable for god's sake. Why on EARTH put any limitations on this!?!?
    Next I learn I need an additional USB wireless receiver from Microsoft to get my original 360 controller to talk to my Mac. As I certainly don't want to fork any more microsoft dollars on this, this is not an option.
    Next I think, yes! I have a MadCatz 360 wired USB controller. This should surely do the trick just plugging it in and the way I go. But oh no, for some reason I plug my MadCatz Xbox360 controller in, it flashes a few times then switches off and can't be turned on again.
    The System Profiles recognizes it as a MadCatz 360 device controller but that is about it, but the ontroller software I download for the System Prefs (360Controller, USBOverdrive etc) don't even recognize the controller as being plugged in.
    What the **** Is The Microsoft Deal with all of this!?!?
    PS: Oh, and I forgot to mention, there are No drivers for device 4716 that I can find on the MadCatz website, or am I going blind?
    If anyone has a link, it would be appreciated.
    Message was edited by: nostrawaggus

  • HT3887 how can i configure my wireless keyword so i can use the Function F keys to control volume etc...? I am using 10.5.8 OS

    how can i configure my wireless keyword so i can use the Function <F> keys to control volume etc...? I am using 10.5.8 OS

    little wireless cameras would not have the ability to send back to the base, even thought the base can reach it.
    Now if you take regular cameras and wire them into a Cisco switch that was attached to a wireless bridge that could shine back to the base...now you might have something, but your still going to have to do a survey/path analysis to determine if it is feasible.
    Coverage isnt throughput. I see one base station with 3 or 4 sectoral antennas depending on direction, pointing two several distribution bridges to bridge the gaps that go out again to the cameras...something like that. And all of it should be higher in the air than your construction.

  • How to configure and use labview using java

    I want to configure and use labview in my application using java, please help me out with a solution how i can configure it (like providing input to labview and getting output from labview in java ).
    Thanks,
    ATF

    Did you try a search?
    Or: How Do I Integrate Java with National Instruments Software Products?

  • Interfacer LabVIEW avec un oscilloscope LeCroy Waverunner 6100 A

    Bonjour je suis un nouveau utilisateur de LabVIEW !
    Je voudrais savoir comment faire pour aquerir le graph d'un signal sur un oscilloscope LeCroy Waverunner 6100A, et l'analyser sur LabVIEW (bref controler l'oscilloscope a partir du LabVIEW). J'ai fait installer NI-VISA sur l'ordinateur, et NI-DAQmax. Si vous pouvez m'envoye la procedure a faire, ou un lien vers un site, ou un document PDF.
    Merci beaucoup...

    Bonjour,
    Si j'ai bien compris, vous voulez utiliser un oscilloscope LeCroy et acquérir des données via ethernet ou gpib. Je ne connais pas la démarche exacte avec LeCroy, mais vous pouvez trouver pas mal de drivers LabVIEW sous www.ni.com/drivers . Je pense que cette adresse correspond à votre matériel http://sine.ni.com/idnetwork/main/p/sn/n25:LM.lecroy/sb/navsRel?q=6100A. Pour la mise en oeuvre, vous passera certainement par les outils VISA fournis par NI (ou peut être par LeCroy???), NI-DAQ ne devrait vous être d'aucune aide ici, vu qu'il s'agit de drivers utilisés pour les cartes multifonction de National.
    En espérant que cela réponde à votre question.
    bon courage

  • [svn:osmf:] 14326: ChromeLibrary: fixing hints from appearing at the wrong vertical offset, and preventing scrub bar time remaining calculations to go negative.

    Revision: 14326
    Revision: 14326
    Author:   [email protected]
    Date:     2010-02-22 08:10:39 -0800 (Mon, 22 Feb 2010)
    Log Message:
    ChromeLibrary: fixing hints from appearing at the wrong vertical offset, and preventing scrub bar time remaining calculations to go negative.
    Modified Paths:
        osmf/trunk/libs/ChromeLibrary/src/org/osmf/chrome/controlbar/widgets/ScrubBar.as
        osmf/trunk/libs/ChromeLibrary/src/org/osmf/chrome/hint/Hint.as

  • HT201250 My Airbook can't find my hidden network, and I can't configure it manually, so that I can use time machine.  Can anyone help?

    I have a Mac Airbook and was using Time machine to back up files.  I hid my network SSID and put a password on it.  I can find it to connect to the web but not to connect to the Time Machine, and the software will not allow me to manually configure it.  So now I cannot use the Time Machine to back anything up?  Can anyone help me?  Thank you.

    Hidden networks are not hidden to sniffing software, thus are not invisible to hackers.
    It's only used to prevent confusion or in high traffic locations where a lot of machines are connecting.
    When your Mac wakes from sleep or reboots, it might not automatically reconnect to a hidden network as it has to broadcast the information blindly. Hackers can sniff this and then know you have a hidden network at home, so the Mac won't keep asking if the network is there.
    Turn off hidden network on your router and use WPA2(AES) with a strong random 20+ character, letter, number, symbol password that makes no sense what so ever.
    Like
    4kn4vTR®ƒ¥¨ô;øPgk'e4fl‡°·‚·¸º·Ó¨˜¨mwy5 go59=.º“,
    Very hard to crack that admin password.
    For guest internet access set a easier one, but still long and enterable into all your devices.
    If someone has it then you can rotate it for a new one.
    Never keep the admin router password in any machine or computer, keep it on paper in a safe place.

  • How do I configure the firefox plugin-cointainer.exe to use a socks5 proxy?

    I need to use a socks5 proxy to connect to the internet. I have it configured properly in FireFox but when I use a plugin that loads a Flash app it bypasses the proxy and tries to make a direct connection and fails.

    Hi,
    Please note that though Firefox and its plugin-container.exe fully respects the set proxy settings, all plugins may not do that. Please see [http://decloak.net/ this] (5 of 8).

  • Vertical offset and triggering on 5102 digitiser

    How do I get two traces spaced apart on a graph when using a 5102 digitiser, I have tried adjusting each off set but the traces just disapear from the graph.
    Is there something I need to set?
    Any ideas
    Also I am reading values from the graph using a couple of cursors, this works great for a constant signal from the digitiser, but when it is a single pulse the display disapears when the timeout expires.  
    How can I get it to stay on the the display so I can move the cursors to display the values, also the cursors values don't change when there is no trace, they stay on the last value.
    Thanks
    Allan

    Hi Allan,
    What software are you using (LabVIEW, LabWindows/CVI, Measurement
    Studio, Soft front panel...)? On the Waveform Graph control you should
    be able to set it to stack plots, so you have two seperate plots on the
    same graph. You could also have separate Y-Axis for each plot allowing
    you scale them appropreately. If I know what software you are using I
    could probably write a small example.
    Regards
    Jon B
    Applications Engineer
    NIUK & Ireland

  • I am trying to use Labview and RP1210 compliant hardware to connect to a truck J1939 bus and receive messages.

    I am trying to use Labview and RP1210 compliant hardware to connect to a truck J1939 bus and receive messages. 
    Specifically I am attempting  to read data frames using the RP1210_READMESSAGE .   am able to configure the hardware and send a message to the J1939 bus. .    I think I have not configured something correctly.  I can use the RP1210_SENDMESSAGE and see the message I have sent on the bus using CANalyzer   When I use the RP1210_READMESSAGE   I get the timestamp from a message and the return from the function sends back the correct number of bytes (the number matches the number of bytes I sent out plus four bytes from the timestamp).  What I am having trouble with is actually receiving the data. I have had the same type of behavior from two different hardware (Vector CANcase XL and Nexiq USB Link), so I don't think the issue is vendor specific.
    Has anyone been able to make the RP1210_RECIEVEMESSAGE function work correctly?
    Thanks for any help

    Thanks
    I have already tried that.  The links are the NI RP1210 wraper. The problem I am having is using labview to interface with the RP1210 layer.  The RecieveMessage char*fpchAPIMessage this is the output which is a pointer to a cahracter array.  In this variable I can receive the timestamp of the message but not the message.  The retun showns the correct amount of bytes are aviaable (18 for a 8 byte message) but I can only get the 4 byte timestamp  I think I have to dereference this pointer to view the data.  I am not sure how to fix this. 

  • Process Failure when communicating over MODBUS using LabVIEW 2011 and DSC

    I'm currently trying to read from a PLC's holding registers using MODBUS/TCP. I've confirmed that the PLC is updating the values and responding to MODBUS communication correctly using a third party program called Modbus Poll. However, when I try to poll the PLC using LabVIEW's shared variable engine, I am unable to read any values from the same addresses that I'm viewing with Modbus Poll.
    My setup simply consists of a PC connected directly to the PLC over Ethernet, with no router in between. I am using LabVIEW 2011 SP1 with the DSC module.
    I opened the NI Distributed Systems Manager to view the status of all shared variables in the Modbus library that I created and I've noticed that the CommFail bit is permanently set to "true". All other variables with a "read" access mode report "Process Failure". I've tried restarting the process as well as stopping and starting the local variable engine with no success. I've also restarted my computer several times to see if any services were failing, but this does not seem to have fixed the problem.
    I finally resorted to monitoring communications over the network card that I have the PLC plugged into via Ethernet using Wireshark and I've found that while Modbus Poll is communicating with the PLC, many MODBUS and TCP packets are sent and received. However, when solely using LabVIEW or the NI DSM to communicate with the PLC, there does not appear to be any communication over the network card.
    Something that may be worth noting is that I was able to communicate with the PLC and read values from it with the DSM on just one occasion, when I first figured out which addresses I should be reading from. It all stopped working shortly thereafter. Prior to this, "CommFail" was not usually set to "true" with my current configuration. Thinking that it was my firewall, I have since turned my firewall off, but this seems to have had no effect on the problem either.
    Any help on this matter would be appreciated.
    Solved!
    Go to Solution.

    Just a thought but I think the  register addresses used by LabVIEW are one off of the actual register #.  I was using a CRIO as a modbus IO Server and had to shift the register addresses by 1 to get things to work correctly (can;t recall if it was +1 or -1).  This is documented somewhere on ni.com but can;t seem to find it now.  But here is another  link that may help:
    http://zone.ni.com/reference/en-XX/help/371618E-01/lvmve/dsc_modbus_using/
    Dan

Maybe you are looking for

  • Time capsul on cabel net and wifi net

    Can I connect Time capsul on the cabel net and wifi net at the same time. I have 2 PCs connected in cable net and macbook is conected via wifi. I have some problems with this, pls help. Thanks

  • What is the life expectancy of LocalDB?

    We are considering the use of LocalDB to replace Access as a data store for our 64-bit application. We use ODBC and stored procedures, so SQL CE won't work. Does Microsoft plan to support LocalDB as an ongoing tool?  We don't want to add support for

  • Plug-in/driver for .cine file from Phantom 4k Flex?

    I have playback but it's choppy at 1/4 of resolution. I was on the owners macbook pro and it was playing back at full resolution, with no render time needed.. I have looked everywhere, and the only option I see available is gluetools phantom cine too

  • Moving iTunes Library to External Drive

    Hey there, I would like to free up 25GB of space on the hard drive of my computer by moving my music library to my external drive. I tried once to have iTunes consolidate the library onto the external drive, and by doing that iTunes had difficulty lo

  • Block the user updating UDF in Production Order

    Hi All, I want to block a particular user updating a UDF in the Production Order. He should not update the UDF only. But ha can update other fields in Production Order. He can add row or delete row or change quantity or change the status. But he shou