Waveform collect lecroy oscilloscope

I'm just working on lecroy oscilloscope. I've to save waveform which is averaged by oscilloscope. Then I've few seconds delay and it will continue like this way. Then I've to integrate all graphs and have to save in pc.
I can do everything but my vi shows error  when I want to attach unbundle function in my vi and also i couldn't connect this function to read waveform vi. Pleae help me if anyone has some idea.I'm new in labview. 
Best regards
Abdul

I wrote this program for another oscilloscope but i've to change for lecroy oscilloscope where read waveform.vi will change and all other necessary changes . But when i add read waveform.vi which is for lecroy oscilloscope, i couln't connect unbundle and others. Please give me a brief description and if you have idea how would i change this vi for lecroy or you can do it and upload for me. I'll be grateful to you.
Attachments:
TOF-MS_delay Mih_Jul_2007_30.vi ‏200 KB

Similar Messages

  • Bad resolution waveform transferred from Lecroy oscilloscope to PC

    Hello,
    I am currently using Lecroy WavePro 7300A to analyze waves. When I tried to acquire the waveform from this oscilloscope to my nearby PC via Ethernet cable (using VICP::x.x.x.x as VISA address) I got problems with the resolution of the waveform picture.
    In fact, as you can see from my attached pictures, the BadRes.jpg picture represent the captured waveform when the vertical scale of the oscilloscope was set to 50mV/div and the GoodRes.jpg represent the waveform when the vertical scale was only 10mV/div. The peak value of the waveforms is around -12.5mV to 12.5mV
    It is quite obvious that the main trends of the two waveforms captured are the same, but from my point of view, it is like you have 2 pictures of the same scene and size, but one of them has only 1 megapixel resolution, and the other one has 5 megapixel, so the second one looks sharper when the size of the pictures is large enough.
    Consider the LabView VIs, I have enclosed my GetWave.vi as you saw in the pictures, and all other the sub VIs either comes from the default VIs (when install LabView), or VIs from the installation of LabView Driver CDs, or VI from the installation of Lecroy Drivers  "lcwave" and  "LeCroy Wave Series". I am currently using LabView 8.2.
    Finally, I would like to ask if there is any to get a good resolution of the waveform even when I set the vertical scale of the oscilloscope to very large, say 100mV, for example.
    Thank you for your reading.
    SG.
    Attachments:
    GetWave.vi ‏40 KB
    BadRes.JPG ‏119 KB
    GoodRes.JPG ‏118 KB

    Hi - Alan from LeCroy Tech Support here...
    Let's start with the 10mV/div setting.  With a signal that is 25mV peak to peak, you are only using about 31% of the scope's full scale range. (31% = 25mV / (8divs * 10mV/div). When you change to 50mV division, you are only using 6% of the full scale range.  The resolution drops in the same way;  the scope is an 8 bit digitizer over the full scale range.  31% of this range is = 0.31*255 = 83 levels;  6% is only about 15 levels.  This is what you are seeing in your images; the volts per ADC code increases by a factor of 5 when you change the gain from 10mV to 50mV.  Since your signal is small compared to full scale, you don't have much resolution.  In general, you always should use as much of the grid as possible to get the best resolution.  See LAB WM308 for more information and examples: http://www.lecroy.com/tm/library/LABs/PDF/LAB_WM308.pdf
    Note that Scope Explorer can retrieve the volts per ADC code.  Go to the Traces screen, right-click on a channel, and choose "Show Trace Properties". For 50/div, the vertical_gain is only 0.00220973 (2.2mV per ADC code). For 10mV/div, the value is 0.000441946  (442uV).
    Feel free to contact me for more discussion!
    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]

  • How to acquire reference waveforms from Tektronix oscilloscopes

    Hi,
    I want to acquire stored waveforms .wfm from oscilloscope to LabVIEW for analysis purpose.I tried by using Tek scope drivers,but gives error. what is the appropriate way to do it. Plz help...
    Thanks in advance.
    sayaf.

    Use Tektronics Programer Manual. Find All GPIB commands and there find what command to acquire waveforms. Usually, you write GPIB command and read response from Tek.

  • Lecroy oscilloscope multi pulse acquisition

    Hello, I am working with a Lecroy 24Xsa oscilloscope to acquire a waveform with multiple pulses connected to computer over TCPIP.  I have used the labview drivers and example code provided by Lecroy and am able to capture the wave and save it to my computer, but capturing the whole wave at once results in too low of a resolution.  The problem comes from the fact that the multiple pulses are of varying amplitudes across a relatively long time frame.  Is there a way to change the vertical resolution and shift along the x axis, while keeping the timing in order to accurately record the pulses time and amplitude?
    Thank you in advance for your help

    Hello,
    You can use a zoom trace to zoom in on a single pulse.  This will give you better resolution.  Be aware that the zoom uses the lowest resolution that it is set to.
    This means that zooming out, will change the resolution (Just like changing the vertical scale on the input channel) but zooming back in will not increase it again, you would have to turn it off and zoom again.
    The easiest way to zoom is to use a mouse or the touchscreen and simply draw a box around the section of the signal you want to zoom to.
    Then you can grab the data from the zoom trace.
    NYC is correct that this is not a LabVIEW issue and should not be on the NI forums.  If you have more questions or are not sure how to setup the zoom etc.  you may give me a call or send me an email and I am happy to help!
    Cheers,
    Leonard Brown
    Applications Engineer
    Teledyne Lecroy
    [email protected]
    1-800-553-2769 (Extension 6088: 8am to 5pm Pacific Time).

  • MAX keeps crashing while trying to locate lecroy oscilloscope

    MAX keeps crashing on me while I try to find my oscilloscope over
    ethernet.  WINXP, LeCroy 454, LabView 7.1, NI VISA Server
    3.3.  I can connect to the scope with TightVNC.  If I select
    the scope in the MAX menu tree.  I get a very long hourglass, then
    crash of MAX.  MAX actually crashes a lot.  Is that common?
    thanks,
    Cullen
    LabView 6.2 for Linux running on Ubuntu (Debian) with 2.6 Kernel
    Labview 8.0 for Windows running on XP, IMAQ 3.6.0, NI-1428, NI-1430, NI Camera Link I/O Ext Board

    Cullen,
    Sounds like you might have two separate issues.  First if MAX crashes a lot, I would recommend that you try to repair the installation of the drivers you have installed on your computer, as well as MAX.  This can be done pretty easily by going to Add or Remove Programs then selecting National Instruments Software and clicking Change.  This should bring up another window where you can select the different programs to repair.  Hopefully once you have done this you will no longer have problems with MAX crashing. 
    After looking around a bit for more information about using the LeCroy 454, I found that it is recommended to install the IVI drivers for this instrument to communicate using TCP/IP.  These drivers use the LeCroy VISA to communicate, and may explain why you are unable to get MAX to recognize the driver and why it crashes.  I would recommend trying to install the IVI driver for this instrument and see if you can get it working after that.  The IVI drivers are maintained by LeCroy and can be found at the following website. 
    http://www.lecroy.com/tm/Library/Software/LabView/LabViewDrivers.asp?menuid=8
    Hope this information helps!
    Andy F.
    National Instruments

  • Taking snapshot of continuous waveform in oscillosco​pe

     my project was -labview front panel has to take the snapshots of the continuous waveform generated from oscilloscope.My front panel is able to take the main graph (which is not rolling or moving ) in oscilloscope and save it in a file in the form of jpeg file.but my main theme is -front panel has to take snapshots of the  continuous  waveform and save those it in a file in jpeg form .

    northridge wrote:
     my project was -labview front panel has to take the snapshots of the continuous waveform generated from oscilloscope.My front panel is able to take the main graph (which is not rolling or moving ) in oscilloscope and save it in a file in the form of jpeg file.but my main theme is -front panel has to take snapshots of the  continuous  waveform and save those it in a file in jpeg form .
    See to the below thread, if I had understood your requirement correctly.
    http://forums.ni.com/ni/board/message?board.id=Bre​akPoint&message.id=1020&view=by_date_ascending&pag​...
    Else, post some code for us to help you more...
    - Partha
    LabVIEW - Wires that catch bugs!

  • I need an example for stacking waveforms in onboard memory using MS Visual c for PCI-6115

    I would like an example of stacking multiple acquisitions in onboard memory for the PCI-6115 card. This is sometimes referred to as "Multiple Record". It is called "Sequence Waveforms" on Lecroy Scopes. I have done this on other cards before, but not on an NI card.
    The example should include a way to accept a trigger, gather x number of samples, and rearm rapidly without transferring any of the just-acquired data. This way I won't miss any trigger events. The onboard memory is sufficient to store all of the waveforms that I need. One the card has acquired n waveforms, I want to DMA them into RAM.
    Thanks to anyone that can help!
    If you need any more specifics, just le
    t me know and I'll post them.

    I would like an example of stacking multiple acquisitions in onboard memory for the PCI-6115 card. This is sometimes referred to as "Multiple Record". It is called "Sequence Waveforms" on Lecroy Scopes. I have done this on other cards before, but not on an NI card.
    The example should include a way to accept a trigger, gather x number of samples, and rearm rapidly without transferring any of the just-acquired data. This way I won't miss any trigger events. The onboard memory is sufficient to store all of the waveforms that I need. One the card has acquired n waveforms, I want to DMA them into RAM.
    Thanks to anyone that can help!
    If you need any more specifics, just le
    t me know and I'll post them.

  • Waveform distortion

    Hi, 
    I am using ni5640r to generate an array of signal and read it out from oscilloscope. Howevery, the waveform in the oscilloscope seems getting distortion. Can somebody help to find the reason?
    Thanks
    Austin
    Attachments:
    original.jpg ‏119 KB
    distortion-1.jpg ‏106 KB
    distortion-2.jpg ‏115 KB

    Hi,
    It would be helpful to give a little more information on your signal connections, generation rate, etc.  Something to initially check out though would be the probe compensation on your scope (adjust the compensating capacitor in the probe).  The document below shows how an overcompensated or undercompensated probe can affect a signal measurement.
    http://zone.ni.com/devzone/cda/tut/p/id/4721 
    Also, I would recommend to post this question on the IF-RIO discussion forum also which can be found here:
    http://forums.ni.com/ni/board?board.id=ifrio 
    Regards,
    Message Edited by Jordan F on 07-27-2009 11:47 AM
    Regards,
    Jordan F
    National Instruments

  • MSO-X 4000 Read Waveform Timeout

    I'm having trouble using the NI instrument drivers for the Agilent MSO-X 4000 oscope. I'm trying to use the trigger on channel 2 to acquire the waveform on channel 1. Currently, I always get this error code : "VISA Read in Agilent 2000 3000 X-Series.lvlib:Wait for Acquisition Complete.vi->Agilent 2000 3000 X-Series.lvlib:Read Waveforms (Single).vi->"
    The problem comes from Read Waveform vi timing out. This does not occur if I set the trigger characteristic mode to "Auto" instead of "Normal". I've attached a screen shot of parts of the code. The top section is my initialization phase and I use the bottom section to read after the signal is setup. In both Auto and Normal mode, I get a full waveform on the oscilloscope, but obviously with it constantly triggering in Auto mode, I don't get the correct waveform. I'm completely baffled as to why this is happening. I've dug through the forums and someone recommended updating the firmware, which I did to no avail.
    Attachments:
    LabviewCode.jpg ‏77 KB

    I've figured out the problem after digging through the MSO Programming guide.
    I believe there's a programming error in the instrument driver that I downloaded from here:
    http://sine.ni.com/apps/utf8/niid_web_display.mode​l_page?p_model_id=21187
    I removed the "IG;" command from the Initiate.vi (called by Read Waveform.vi) in the MSO Instrument driver and the program works fine. The "Read Waveform.vi" is actually reading the waveform twice using two different commands. The first read (IG) clears the screen, so if the oscope is in triggered/single mode, there won't be a waveform to read for the 2nd time and therefore it will time out. If the oscope is in Auto mode, the screen is updated with data so the .vi doesn't time out, but returns garbage data

  • Get waveform from TDS2012

    Hello,
          the attachment is an example whose function is to acquire the waveform from an oscilloscope  from a reference book. Now I'm wondering whether the waveform displayed in the waveform graph is just the waveform the oscilloscope acquires. My oscilloscope is TDS2012. I connect the oscilloscoe probe to the channel 1 input connctor.Attach the probe tip and ground lead to the PROBE COMP connectors.The  PROBE COMP signal is a square wave with a frequency of 1KHz and a peak voltage of 5V. If I choose channel 1 as the trig source, and let the programme run for 1000 times,it will take more than 1minute to complete this task. I just want to know whether the  waveforms  refreshed in the waveform graph are generated by the source during the  1 second since the programme starts.
    Attachments:
    get waveform from an oscilloscope with VISA function.vi ‏17 KB

    Hi yaoyao,
    Your question all depends on the behavior of the CURVE? command.  If it generates a new acquisition each time it is called, then you should be seeing 1000 different waveforms.  If CURVE? simply transfers the existing waveform without initiating a new one, you will be transferring the same waveform 1000 times.  The programming manual should have more details about the behavior.  You may need to call
    You should look at the LabVIEW instrument driver that we have for this instrument:
    http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=047216EC20B66FABE0440003BA7CCD...
    The instrument driver should simplify programming and you can look at the block diagrams to see which instrument commands are being sent.

  • Grabbing an array of y's from a waveform

    Hello, I'm trying to take a waveform from an oscilloscope and grab the array of ys. I will then progress through each index of the array to send the point over a TCP port to a Java program. My current program grabs the waveform currently from the oscilloscope but does not increment through the array. Does anyone have any advice on why it is not working?

    Hello Ryliu,
    As Dennis says, I do recommend you to look for auto-indexing elements into an array on the output of a loop. For this you can look into the following links. I also advise you to take a look on a producer-consumer architecture for adquiring and sending data through the TCP port.
    https://decibel.ni.com/content/docs/DOC-20828
    http://zone.ni.com/reference/en-XX/help/371361G-01/lvhowto/auto_indexing_1/
    Regards,
    David M.
    National Instruments 

  • I do not see the waveform correctly in the VI

    Hi,
    I'm trying to visualize a waveform from the oscilloscope (Rigol DS1064B) into the labview. The VI I am using is the example of Rigol (is attached). I do not know what can be the problem, all I do is choose the correct VISA resource name and click run continously?? I have to do something else?
    More information in case it is useful:The signal input in the oscilloscope is 1000,000MHz and 5Vpp. And the scale of the oscilloscope is 500us and 1V. In the beggining of the VI the scales are -0,5 to 1 for amplitude (y axis) and 0 to 0,004 for time (x axis). But when I run the VI scales change to -1 to 1 for amplitude (y axis) and 0 to 1100 for time (x axis) and only see a horizontal line on the 0.
    Anyone know what could be the problem?
    Tanks in advance.
    Attachments:
    RIGOL DS1000 Series Acquire Continuous Waveform.vi ‏29 KB

    Dennis_Knutson wrote:
    Ranjeet_Singh wrote:
    You are running you while loop in 100ms delay, How you will recognize the new updated data?
    ???? What is the relevance of this?
    perikillo,
    As you can see, the VI issues an autoset. The graph is also set to autoscale on the x and y axis as well as loose fit so the initial x and y values are not relevant.
    What do you actuall see on the scope's screen?
    p.s. Never, ever use Run Continuously until you know what it does. It is a special debug mode.
    He is updating the waveform in 100 ms. If any new changes comes then how he will recognize it? May after 200ms old data may appear and stays till 2 sec hence looks like old datas still there
    Kudos are always welcome if you got solution to some extent.
    I need my difficulties because they are necessary to enjoy my success.
    --Ranjeet

  • LabVIEW drivers for LeCroy Voyager M3 USB analyzer?

    Has anyone written or is anyone aware of 3rd party LV drivers for the Lecroy Voyager M3 USB analyzer? The API provided by LeCroy has limited capabilities.
    Thank you,
    SM

    Hi -
    Alan from LeCroy oscilloscope tech support here...
    One of my coworkers in protocol analyzer tech support asked me to post the following note...   The LeCroy Voyager has an Application Program Interface (API) for creating scripts or commands from which a LabVIEW driver can be developed. This API can be controlled remotely using the DCOM protocol. For assistance with the API one can contact the LeCroy Protocol Support Group at [email protected]
    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]

  • What is the difference between triangle wave, triangle waveform, and triangle pattern

    For generating a triangle waveform, I have 3 vi's that I could use. Signal Processing -> Signal Generation -> Triangle wave.vi, Signal Processing -> Signal Generation -> Triangle Pattern.vi, Programming -> Waveform -> Analog waveform -> Waveform generation -> Triangle waveform.vi.
    What is the basic difference between these 3. I understand that all 3 have a different input set and I can use them according to what combination of input data I have. Is there any specific case for which each of them is used?
    Solved!
    Go to Solution.

    so, does this mean that I can not use triangle wave and triangle pattern to generate an actual waveform. Why I am asking is because I tried checking the waveform on an oscilloscope. The waveform generated by triangle waveform.vi is visible on the oscilloscope but not the one generated by triangle pattern and triangle wave.
    the attached vi CreateWaveformTest.vi does show up correctly on the oscilloscope. 
    The other vi, createparttern test.vi shows up correct in the waveform graph but I am not abe to see it on the oscilloscope. comes up as a straight line
    Attachments:
    CreateWaveformTest.vi ‏58 KB
    CreatePatternTest.vi ‏71 KB

  • Plotting of graph with more than 4000 data points in Excel

    Hi All,
    I am fairly new to labview world. I am trying to plot out line graphs of the results from my program into Excel worksheet. I have huge set of data points(10000) stored in each of 10 different worksheets in MS Excel workbook. I am trying to compile results into last sheet as graphical representation of all the various dataset into 10 different graphs.
    My problem is that I am getting error because MS Graph does not allow me to plot more than 4000 rows or datapoints. Is there better and cleaner way of programming this? Or if some one can provide an example of how to handle such case. I'll appreciate any help.
    My goal is to able to plot one set of data 1st then I will be able to run through various worksheets to compile into standalone results.
     ERROR MESSAGE: "Report Generation Toolkit: Graphs you create or edit in Microsoft Graph cannot contain more than 4,000 rows or columns, including row and column headers. "
    Also for example if we run Line Graph example and change the # of data points from 100 to 4000, we get same message.
    Error -41114 occurred at NI_ReportGenerationToolkit.lvlib:Excel_Insert_Chart.vi -> NI_Excel.lvclass:Excel Insert Graph.vi -> Line Graph (Excel).vi
    Thanks,
    Saurabh

    Hi Dennis,
    I am collecting waveform data from oscilloscope using labview in both data & graph format. So my program collects data for a particular operating condition & then saves the data on a worksheet. After it loads new operating condition & goes over same cycle. I have to save all the data points in excel for different use cases, which I am saving in different worksheet for each specific operating condition.
    Since I already have data saved in excel at the end of test, I am trying plot each use case in the same report for study & presentaion after tests are finished. I have not been able to do so. I read the post which you have mentioned, seems like newer excel or labview version have same issue. I am using LV 9.0
    I will try using decimation but if you have any better way of handling this problem, I'll appreciate if you can share that.
    Thanks for your help.

Maybe you are looking for

  • On the use of VARCHAR2 vs. CHAR

    I'm posting an e-mail thread that has been moving around in my organization, whith guidance from an Oracle representative. The basic issue concerns the use of CHAR vs. VARCHAR2 when defining a table in Oracle. I would like to get some comments from t

  • Trying to embed PDF in Flash website

    I've had great luck embedding a PDF in an html page through pasting the "copy embedded code" into the html code, but is there any way to embed one of these suckers into a Flash video (webpage)? I just can't see how? Thanks

  • CS6 won't update

    Hi I'm running an installation of CC and CS6, and whilst CC App Mangler – sorry – Manager shows an update available for DW CS6, it refuses to install. Here's the output from the error log: 12/04/13 09:55:48:510 | [INFO] |  | OOBE | DE |  |  |  | 5797

  • How can I email a photo as an attachment only and not as a photo in the body of the email?in the message

    How can I send a photo as an attachment only and not in the body of the email?

  • How to use Cisco ASA5510 as an IPS

    We have a Cisco ASA5510 w ith ASA-SSM-10 module but we´d like to know how to configure it as an IPS. We have it in the same network but in a simulate enviroment 2 different network segments.