HELP! (how to acquire two channels via gpib?)

Hi,
I have the following problem:
I have a LeCroy 4 channel OS connected via GPIB to my PC.
I need to acquire 100ms of data from two channels simultaneously, triggering
the event with a third channel.
I have installed the Labview-IVI drivers for my OS, but looking at the
application's example I find only a one-channel acquisition example, and I
don't know how to change them in order to do a two-channel acquisition.
(I' m able only to make sequential acquisitions....).
How can I syncronize the read waveform blocks?
Please help me,
Many thanks
Andrew

Since you have an IVI driver for the scope, you can use the IVI Oscilloscope class driver. Do all of the initialization and configuration for acquisition, channel, and trigger (under the configuration palette). Under the measurement palette, you can do an IVI Scope Read Waveform for one channel, and then do a an IVI Scope Fetch Waveform. The read initiates an acquisition and the fetch returns a waveform for any other enabled channel without doing another acquisition. Both the read and fetch return an initial x relative to the trigger and x increment in seconds so its easy to get the data you need from the waveform arrays. Good luck.

Similar Messages

  • With single trigger, I want to acquire two channel in sequence

    I wanted to observe the sequence of  effects on more than two channels with respect to a single trigger input. And also I wanted to measure each channels with different " number of samples". For example Firstt channel with 10 samples and second with 500 samples. How I can implement this on PCI 6034 and USB 6008 DAQs 

    The 6008 has only very basic functionality.
    I would say to achieve the results you want you will need to add multiple channels to a single task, all at the same rate, and only extract the data you need.
    That way all channels will be synchronized.
    I don't think the 6008 can even do correlated digital-analog I/O or trigger off an input channel.
    I don't have any experience with the PCI 6034, but if you only need 500 samples then the method I mentioned above should work regardless.
    Troy
    CLDEach snowflake in an avalanche pleads not guilty. - Stanislaw J. Lec
    I haven't failed, I've found 10,000 ways that don't work - Thomas Edison
    Beware of the man who won't be bothered with details. - William Feather
    The greatest of faults is to be conscious of none. - Thomas Carlyle

  • PLEASE HELP: How to establish a link via ftp to sapserv?

    Hi All
    We have having serious problems with one of our producton servers and sap have asked me to ftp som files to 'sapserv3'. However I don't know how to establish a link via ftp to sapserv!!
    Can some one help me get this set up?
    Thanks in advance
    Phil

    Hi,
    Try from the server where you have 'saprouter' running for SAP Remote support.
    Then open a command prompt and simply go to:
    >> ftp sapserv3 (or the neares sapserv for you, e.g. sapserv3 is located in Europe)
    Login with user 'ftp' and supply your email address as password (guest logon is ok).
    Then you can upload your file (via put command in FTP) to the sapserv under 'upload' directory.
    The complete list of sapservX are:
                  147.204.2.5     sapserv3    # Walldorf
                  204.79.199.2     sapserv4    # Foster City
                   194.39.138.2    sapserv5    # Tokio
                   194.39.139.16  sapserv6    # Sydney
                   194.39.134.35  sapserv7    # Singapore
    Hope it helps....
    Cheers !!
    Satya.
    PS: Pls reward points if the answer is helpful...Thx

  • [Help] How to merge two rows in a datagrid?

    How to merge two rows of a specific column in a datagrid?
    ex.
    |_______|_____|_____|
    | merged |_____|_____|
    |_______|_____|_____|
    |_______|_____|_____|
    thx a lot~

    I need to merge column heading. Have u find any solution for
    ur problem?

  • How to acquire two signal values from the same GPIB

    I have a power meter which provides two values,  the power and wavelength simultaneously.  So when I'am giving in the GPIB write command probe a joint command is not provided by ILX light wave. So how can i get the values simultaneously.
     Please help

    Hi perumpadapu,
    you should read the manual of your device/software. There you should find the answer.
    Or ask the customer support for that device.
    As long as you don't even provide a name of your device we cannot provide much more help!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • I cant understand what this problem... and How to create two channel

    i have try solve this problem and there are still happen again....and someone can help me... the another one..there are have solution to design 2 physical channel in my project. Someone can give me advice, any idea and suggestion...t.Q 
    Now i have attach my final project.vi
    Attachments:
    Oscilloscope_B.llb ‏130 KB

    OK this is by no means a finnished product. I added a state machine and tried to show you how to do some of the things that you are looking for.
    Tim
    Johnson Controls
    Holland Michigan
    Attachments:
    Oscilloscope.zip ‏119 KB

  • How to acquire 2 channels simultaneously on a 4472 DAQ?

    Hello,
    I have the Lockin Toolkit from NI and the 4472 DAQ board. I need to be
    able to acquire lockin data simultaneously on 2 channels (or from two
    lockins in other words). I'm wondering what the best approach to doing
    this is.
    I have tried copying the program but i get a buffer not ready error.
    Surely this is because the software is trying to initialize the board
    again through it's 0th state in the state machine. That turns the 2nd
    lockin on but stops the first channel(lockin) from acquiring.
    I'm thinking it would be proper to modify the channel array and the
    software to simply redo everything it's doing with the first channel
    only in this case avoiding the reinitialization of the board.
    Would this be the right approach? Any thanks is greatly appreciated.

    Hi Romulus,
    If copying the labview diagram is causing the problem, then duplicate/copy the code for Lock-In amplifier only.
    Collect data from 2 lock-in amplifiers using 4 channels of 4472. You can use the same card and acquire data from 4 channels. Then, split the acquired data from 4 channels into 2 different arrays for each lock-in amplifier. The first array will have output from first Lock-In Amplifier and second array will have output from second amplifier. You can use delete from array or array subset in LabVIEW to split the array into 2-D arrays.
    If the signals being acquired into Lock-In Amplifier are same, I would replicate states 3 and 4 and pass the second array to the replicated state. You can replicate a case inside case structure by right clicking on the case structure and select "duplicate case". Then , you need to make minor modifications to make your controls and code to get it working depending on your application.
    Please let me know if you have any questions or if anything is not clear.
    Kalyan
    Applications Engineer
    National Instruments

  • How to record two channels at once with two mics

    How do you set up and record-enable two tracks with seperate microphones at once?

    Thank you Eriksimon but I'm afraid I did not correctly ask my question.  I am using two USB mics without an external interface.  They are plugged into seperate USB ports on my Imac and I can only access one or the other for recording purposes.  I wish to use them at the same time on two seperate record-enabled tracks so that I can obtain either seperate vocal tracks or a stereo image of an acoustic guitar.  One of my mics is a stereo Yeti but I am not satisfied with the results using the stereo capsule arrangement.  Thanks again!

  • Please help: How to bulk retrieve data via JDBC?

    I want to retrieve great amount of data from oracle database through java/jdbc. Is that possible I can run oracle EXP.exe from java? I know I can use JNU, is it easy and reliable? Is there any other JDBC bulk fetching functions available and efficient? Thanks a lot for any help.
    -ZZ

    use TOPLINK from OracleHmmmm...
    ssniazi does nothing but ask for contact information or recommend Oracle products.
    Based on this I consider it likely that this person is some sort of sales representative either directly or indirectly associated with Oracle.
    I personally wouldn't provide any contact information to them. Nor would I accept any advice until this person starts to actually provide some solutions or at least correctly reveals any financial interests that they might have.
    In addition I believe ssniazi is in violation of the conduct code of this website because ssniazi is requesting information which will be used by a business entity without telling the users that it will be used in that way. And I expect that Oracle itself would frown on such activities.
    2.3 You agree that You will not use the Website to:...(g) collect or store personal data about other users unless specifically authorized by such users.

  • How to add two X Axis in the Column chart?Need Help

    Hi,
    I have a requirement to add two X axis in the SSRS column chart.Can someone please help how to add two X axis. I tried the secondary axis for horizontal axis but current x axis is shifting to other side, second X axis is not coming.
    Regards
    Jon

    Hi Jon,
    According to your description, you want to add secondary X axis for one series in a column chart, right?
    The secondary axis is useful when comparing two value sets with two distinct data ranges that share a common category. In Reporting Services, it’s not supported to create two X axis for one series. We can create secondary X axis when there are two series
    in a column chart. As we tested in our local environment, we can add secondary X axis for specific series. Please refer to the screenshots below:
    So I would like to know what’s your exact needs about creating two X axis for one series. If possible please share some detail information about your data and expected looking of the chart.
    Reference: Plot Data on a Secondary Axis (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu

  • Connecting PCs via GPIB in Labview

    Is there a way to connect two PCs via GPIB, both running a Labview program? I just want to excange text files between them. The GPIB cards are PCMCIA-GPIB cards from NI.

    You can, but you might not enjoy it.
    I don't have the specifics for your GPIB cards, so I don't know how to do it for them, but in a previous job we put one of the GPIB cards in a non-System Controller mode. Then we could make it look like an instrument. Sorry I can't provide more details as it has proprietary code in it. But hopefully it gives you a place to start.
    Les Hammer

  • How to calculate the phase difference between two square wave (acquired from two channel in one DAQ)

    Hello everyone ,
     I need a quickly help that as below :
    I am trying use PCI-6220 to acquired six signals from one rotation encoder (channel A, channel B,channel Z ,and their non-signals) .The encoder out signals will be square wave and 4000pulses per revolution. I set it rotation at 300rpm speed. I need show every square wave of six out channels in waveform and measure the A-B phase difference to check if the value is correct (designed value should be 90deg) .
    I have no idea how to measure or calculate the phase difference of two square wave base on synchronizate to acquire these two square wave from two channel on the PCI-6620....
    Anyone can give a idea how to calculate the phase difference with two square wave ?
    Thank a lot and Thanks again...
    Tim

    Tim,
    Here is a simple rising edge detector for one channel.
    Lynn
    Attachments:
    Rising edge.vi ‏15 KB

  • How do I get XLR audio to play in two channels?

    Hi
    I have recently captured audio via an XLR port on my camera and was aware that it is was only on one channel but was hoping to copy the clip into another channel in FCE so it played back on both channels. For the life of me I cant work out hoe to do it because it shows up as two channels (one with silence) and wont let me seperate them.
    Can anyone help?
    Many Thanks
    Adrian

    You can do the following:
    o - select the clip in the timeline
    o - cmd-L to unlink video and audio
    o - alt-L to separate the 2 stereo channels
    o - select the empty audio channel and delete it
    o - open the good audio channel in the viewer
    o - change the Pan control to 0 (from -1 or 1)
    o - now you can link back the audio and the video: select them both and cmd-L
    Piero

  • How to modify the VB examples in ni-scope to sample data simultaneously from two channels in PCI 5922?

     Dear all:
    I want to write VB programs to sample data simultaneously from two channels in PCI 5922. The niscope driver has some example VB programs to sample data from one channel, for example, the "save to file ", the program works well to sample the data from one channel.  When I modify it to sample data simultaneously from two channels, I always get error so I seek your help on how to write the program to sample two channels simulatenously. Thanks.  I attached the sample program here and what I tried to modify is the "channel name" and "waveform()"
    Regards
    Andy
    Attachments:
    savetofile.doc ‏42 KB

    Hi Bajaf, regarding the FFT of the four channels, the next link might be what your looking for:
    http://digital.ni.com/public.nsf/allkb/862567530005f09c8625671b00739970
    Respect the phase issue how are you doing the acquisition of the signals, are you doing two independent acquisitions? if you are controlling them as independent acquisitions try to synchronize them with triggers and the clock.
    How much are they out of phase?
    By the way we know have forums in Spanish
    Best Regards
    Benjamin C
    Senior Systems Engineer // CLA // CLED // CTD

  • IWebsites. Can anybody help me? Don't know how to publish two dif. sites

    Hi,
    Can anybody help me? I don't know how to publish two different websites to two different domains.
    I have www.windypoint.ca (website is up and running)
    and I have www.oldfriend.ca (website is ready in iWeb, but can't publish to www.oldfriend.ca
    How do I do that?
    Any/Every tip will be appreciated!!!
    Thanks, Marc

    Are you publishing to .Mac or or straight to your domain name via ftp?
    It is just that the process is different for the two.
    If you are using .Mac, then you are publishing using this and re-direct to your domain name at your host. If you are publishing directly, then you publish to a folder and use ftp.
    You need to separate your sites out first, by copying the domain.sites file and then publishing to a folder and then uploading via ftp in the normal way.

Maybe you are looking for

  • How to share calanders with my colleagues

    Myself and my colleagues want to share our calanders with each other. We will all be on the same page! How can we do this? Thank you! Garry

  • TS1363 I want to move my itunes libarary from my PC to my ipad - itunes on my PC doesn't recognize my ipad as a "device

    itunes on my PC does not recognize my ipad as a device.  Windows explorer does recognize that an ipad is attached.  What am I doing wrong?

  • Scanned doc now too big for print

    Hi, I have scanned this sheet and modified it, now i need to print it back but photoshop says its too big for print. Indeed it just printed a portion of it. Can someone with experience of this kind of issue explain me the technicalities and what shou

  • @EJB injection

    Hi, I've seen this asked before, but there was never enough information, so I'm going to ask this again. I am trying a simple test with WebLogic 10.0 MP1. I have created an EAR file with 3 modules inside: 1. A JAR file containing a stateless EJB. 2.

  • Re: Digital Signage issues

    Hi Everyone, I have recently created some PDF documents from MSword templates in Acrobat XI Pro . I have included signature fields as part of these documents. These signature fields seem to work perfectly fine in Acrobat XI Pro, but when I save them