Continuous waveform generation with PXI7952 & NI6587

Hello Everybody,
I am looking for code exemple in LabView 2009 for continous waveform generation with PXI-7952 & NI 6587.
Thanks for you help.

Bonjour,
Pour la carte FPGA PXI-7952R il y'a une application de référence ici : http://zone.ni.com/devzone/cda/epd/p/id/6066
Pour l'autre carte étant une carte numérique vous trouverez un tas d'exemples dans LabVIEW via le menu Aide » Recherche d'exemples.
Cordialement,
Da Helmut

Similar Messages

  • Continuous data generation with VI simulation.

    Is there any method that can generate the data continuously .I'm already seeing the data for the 18000samples that i have in a waveform graph.
    I am attaching my simulation of reading spreadsheet  (text files with tabs) and the data that i'm giving.
    All i want to do is continuously generating the data by making changes to the imulation.
    Is it possible with looping??
    Please share your ideas with me.
    Bharath.
    Attachments:
    bharath_22.vi ‏13 KB
    data_excel2.txt ‏190 KB

    Hi bharath_reddy,
    I was reading your question and I am not exactly sure if I am understanding correctly what you are asking. Are you trying to bring in data from a spreadsheet file and load it onto a waveform graph? That is what your example VI looks like you are trying to do. Or are you trying to continuously acquire data coming from a spreadsheet file and you want it to keep acquiring the new data? If so, you will probably have to finish acquiring the data to the spreadsheet before it can be loaded to LabVIEW. There are some great examples in the NI example finder about using the File Input and Output in the NI Example Finder. Have you taken a look at these examples?
    National Instruments
    Applications Engineer

  • Error with "on-the-fly" controls in waveform generation

    I am trying to output a waveform in which I can change amplitude while the VI is running. When trying to do so, however, I am allowed to change the amplitude only once, and then I get error #-10880. What does this mean? I am using AO Write, and placing the waveform calculation and generation inside a sequence structure, with a wait statement, in the hopes of giving "changes enough time to take place".
    Thank you.

    jmarotta wrote in message news:<[email protected]>...
    > I am trying to output a waveform in which I can change amplitude while
    > the VI is running. When trying to do so, however, I am allowed to
    > change the amplitude only once, and then I get error #-10880. What
    > does this mean? I am using AO Write, and placing the waveform
    > calculation and generation inside a sequence structure, with a wait
    > statement, in the hopes of giving "changes enough time to take place".
    > Thank you.
    Hi, Jmarotta,
    I am not very sure how to solve your problem, but the error #-10880 is
    "updateRateChangeError A change to the update rate is not possible at
    this time because when waveform generation is in progress, you cannot
    change th
    e interval timebase, or when you make several changes in a
    row, you must give each change enough time to take effect before
    requesting further changes."
    You can find this in the help/error code/Data Acquisition Vis... Hope
    this would help. ^_^
    Regards,
    celery

  • Is there any way to change waveform generation using formula with user defined formulas

    Hi,
    I need to build a VI that has in input a formula (Exen(w*t)) and output a waveform.
    The waveform generation using formula.Vi that comes with labview has Defined formulas and theu are not dinamic I don't want that.
    I try to change with a text control but VI dont generate the graph.
    Can someone help me with this please?
    Best regards
    Ricardo
    Attachments:
    test.vi ‏18 KB

    Hello.
    If you want to change your formula with a textbow, you can use the Eval Formula Node.vi if you have a full version of LabVIEW.
    see http://digital.ni.com/public.nsf/allkb/C5DBAA3A788​271EE86256B02007DD6B3?OpenDocument
    Best regards

  • How does buffer size affect double buffered waveform generation?

    I had originally posted the following question:
    "Why does the double buffered waveform generation pause after the first buffer before continuing?"
    "I am using an AT-AO-10 board to generate a multiple channel waveform in double buffered mode. The board's DAC's are updated by an external clock signal. While the waveform generation performs well, I notice that after the first buffer has been generated there is a time delay before the next buffer is output. However the second buffer and thereafter perform well without any time delays. If anyone can provide me an explanation on why this happens I would appreciate it. I am using NI-DAQ API functions to generate the waveforms and my settings for the WFM_DB_Config function are 1 for oldDataStop to disallow regeneration of data and 0 for partialTransferStop to not stop when a half buffer is partially transferred."
    -posted by Vadi on 6/7/2001
    I received a response from Geneva as follows:
    Geneva L. on 6/11/2001 says:
    "Vadi,
    The first thing is to make sure that you have the latest version of NI-DAQ installed, NI-DAQ 6.9.1. If you need to install it, make sure you completely uninstall any prior versions. Then, you will have examples installed in either the NI-DAQ or the CVI directory. In the AO directory, you should find the WFMdoubleBuf example.
    Start with that to make sure the output appears as you expect. Then, you can modify it to apply your external update clock, following the idea presented in the WFMsingleBufExtUpdate example. You might even want to double-check that your external clock acts as you expect using an oscilloscope.
    Finally, modify the example such that you can update on multiple channels, remembering that you interleave each channels buffer into one buffer for WFM_DB_Transfer. Whatever data is in the buffer will be updated on the output channels.
    Regards,
    Geneva L.
    Applications Engineer
    National Instruments"
    I have checked my version of NI-DAQ and it is 6.9.1. I am generating the double buffered waveform according to the format shown in WFMdoubleBuf and with some modifications from WFMsingleBufExtUpdate to allow me to use my external update clock. However I continue to notice the same phenomena again and again. For a buffer size of 7500 or 10000 points there is a time lag meaning after the first buffer has been output there is a noticeable time delay before the second buffer and buffers there after is output. This time lag doesn't exist for the buffers that are output after the first buffer but it does exist for the first buffer. When I decrease the buffer size down to 5000 points the time lag disappears (Note: this phenomena also occurs when I use an internal time base as opposed to my external clock). Is there a reason for this? I am using a AT-AO-10 board and I know the on board FIFO is 1024 points deep. However from the documentation provided it doesn't indicate that double buffered mode uses the on board FIFO at all. In fact, the functions require that the FIFO mode be turned off (in WFM_Load) for double buffered waveform generation. Is there a reason why when the buffer size is increased that there is a time lag after the first buffer? Is this because of the functions themselves or is this because of the AT-AO-10 board?

    Vadi,
    Make sure that your buffer size is set to the same number of points that you're actually writing to the buffer initially. For instance, if you run the example as-is, the NIDAQMakeBuffer puts exactly the ulCount amount of data into the buffer. Then, it continuously writes out half buffers. Thus, if you are not writing enough data to fill up the buffer the first time, there will be that lag until the section where half buffers are output.
    Regards,
    Geneva L.
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • How to do another thing before returning of a buffered waveform generation?

    Hi There,
    The DAC0 and DAC1 of PCI-6024E are used to generate waveforms by the buffered analog output mode. We know that before the buffered generation is completed, the starting function of generating waveform, either "WFM_op" or "WFM_Group_Control",will not return, unless you call "Timeout_Config". In my application developed by Visual C++, I hope that after starting the waveform generation process, I can do another thing, for example, plotting data or data processing. Would you tell me how to do that? I greatly appreciate you for any reply and suggestions.
    Kylin

    Kylin,
    Actually, WFM_Group_Control() is not synchronous. It is asynchronous and will return immediately after the generation has been started. I would suggest that you take a look at the following examples. They are located in C:\Program Files\National Instruments\NI-DAQ\Examples\VisualC\Ao:
    WFMsingleBufAsync.C
    WFMsingleBufSync.C
    WFMsingleBufAsync.C is an asynchronous generation that uses WFM_Group_Control(). On the other hand, WFMsingleBufSync.C is a synchronous generation that uses WFM_Op(). In your situation, you would want to follow the programming structure of WFMsingleBufAsync.C.
    Good luck with your application.
    Spencer S.

  • Waveform generation upon trigger start for one cycle

    Hi there,
    I am trying to generate one cycle of a waveform(triangle wave) upon recieving a trigger signal from another input.
    I have the waveform generation working however it generates more than one cycle and also stops before a whole waveform is generated. The waveform generated can have a different duration than the trigger signal (frequency).
    How would I change the program to have it generate only one waveform upon trigger. 
    Please see the attached VI in Labview 8.5.
    Attached is also what  the program should do as JPEG image diagram.
    Thank you!
    ~Anthony
    Attachments:
    cycle.vi ‏117 KB
    waveform.png ‏6 KB

    Anthony,
    I played around with your vi for a little bit, and it seems that the easiest way to manipulate your data of the triangle wave is to wire an input to the sampling info of the vi. The input is looking for a cluster of 2 doubles, 1 being sampling rate, 1 being # of samples. In the vi I built, I just set rate to always be 1000 times the frequency, and the samples to always be 1000, giving you 1 period. 
    Hopefully this helps!
    Chris Van Horn
    Applications Engineer
    Attachments:
    cycle.vi ‏117 KB

  • Waveform generation VIs

    When a waveform generation VI is used in code, will it not keep
    generating as long as the code is active,  till the Reset node (
    if available ) is pulled high ?
    But it appears that to do so, the waveform VI has to be inside of
    a  while loop. I tried to run a while loop and a function
    generator VI outside of it as a trial . But found that, after the first
    call, the waveform VI was idle and it was only the while loop that was
    executing. Can someone clarify on this.
    I would have expected that the function generator VI  to start and
    continue till the whole code containing it is stopped. Is that too much
    to expect
    Raghunathan
    Raghunathan
    LV2012 to Automate Hydraulic Test rigs.

    Along the same line, I noticed the same comment in the help file:
    "This VI remembers the time stamp of the previous waveform generated and continues to increment the time stamp from that point"
    Seems to me that the VI should be keeping track of the Number of Samples and the Sample's Per Second based on the last time the VI was run (whether in a loop or not) So why is it that this VI seems to rely on the sampling rate of the loop itself? If I increase the Millisecond Wait Time my generated signal slows and when I decrease my millisecond wait time my generated signal updates much faster.
     Run the attached VI (LV 8.2.1)
    Message Edited by craige on 10-27-2008 11:22 AM
    Attachments:
    Test_Chart.vi ‏20 KB

  • Synchronizing data acquisition&waveform generation

    I'm attempting to synchronize analog waveform generation and analog data acquisition using an AT-MIO-16E-1 board. I've followed the instructions in the manual on how to do this but with no luck (maybe the VI I wrote is incorrect).
    Any suggestions?

    Have you taken a look at the Simultaneous AI/AO examples that ship with NI-DAQ? They can be found in Examples>>I/O Interfaces>>Data Acquisition>>Simultaneous AI/AO. They will give you some examples of how to program your board.
    Regards,
    Erin

  • My macbook pro(Lion 10.7.2) continually lost connection with the magic mouse, which charged well.

    There is something wrong with my new macbook pro MD322(Lion 10.7.2). It continually lost connection with the magic mouse. I ensure that the mouse is charged well. I also looked up the matter on Web. It looks that the matter is familiar for many users.

    I have a m-audio fast track pro that I'm having a similar problem when using it with my new Macbook Air. I found changing it to 16 bit will work.
    I have a Apogee iMic that works fine so my guess is we will have to wait for Avid/M-Audio to update drivers.

  • I have just upgraded to Mavericks and have been using Time Machine on an external disk with Snow Leopard.  Can I continue to backup with Time Machine on the same external disk or do I need a new disk since the operating system has changed?

    I have just upgraded to Mavericks and have been using Time Machine on an external disk with Snow Leopard.  Can I continue to backup with Time Machine on the same external disk or do I need a new disk since the operating system has changed?

    Hi there,
    I found that Time Machine in Mavericks will sort it all out for you. You shouldn't need to buy another backup drive, unless you have insufficient space left and can't afford to delete whats on there. It should just work fine.

  • What is the normal amount of GB of Other Space for a new 32 GB Ipod touch 5 Generation with iOS 6.1.3? Also, will iOS 7 slow down/drain the battery of my device?

    My Other storage space was at 2.84 GB after i loaded all my music/apps onto a recently purchased 32 GB Ipod touch 5 Generation with iOS 6.1.3.  Resetting the settings and removing the music and apps did not help reduce the Other space.  I restored to a backup and got my Other storage space down to almost 400 MB.  When I started syncing music it grew 500-ish MB.  Each time I sync, the Other grows a bit more.  This is really irritating.
    The official listed available GB on my 32 GB is 28.22 GB (not including Other), so now I am irritated knowing that this Other is taking up my space when I didn't even have 32 GB of free space to begin with. So 28.22 - 2.84GB = 25.38 GB.
    I want to restore to a new device to see if that helps, but do not want to upgrade to i0S7.  Is there any way to do this?
    If I upgrade to i0S 7 I am worried it might slow my ipod or drain the battery faster.  Will it do that?  The ipod is expensive and I dont want it to go downhill and obsolete on me because it can't handle a better operating system. 

    Less than 1 1/5 GB is normal. It does grow with time.
    What is the Other on my iPhone and How to Remove It

  • HT4962 I have an Ipod Touch 2nd generation with version 4.2.1 IOS and it no longer seems to be recognized as a device when I plug into my computer. I want to update my sync settings but can't do this without being able to select the device. Any suggestion

    I have an Ipod touch 2nd generation with version 4.2.1 IOs and it is no longer recognized as a device when I plug into my computer. This means I can not change synch settings - any ideas on what I need to do ?

    See:
    iOS: Device not recognized in iTunes for Windows
    I would start with:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    or
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP

  • HT4623 My iPod Touch is te 4th generation with iOS 4 only... The desktop that it used to connect with was broken and I couldn't update my iPod touch as all content is linked to the iTunes on that broken PC. What should I do?I won't erase all my music reco

    My iPod Touch is te 4th generation with iOS 4 only... The desktop that it used to connect with was broken and I couldn't update my iPod touch as all content is linked to the iTunes on that broken PC. What should I do?I don't want to erase all my music recording. (couldn't back up easily...) my dairy, my financial record made on apps...
    If I got a new Mac book pro soon, would it helps backuping everything?

    awesome121, he does not an an iCloud account. You need iOS 5 or later for iCloud and the poster said he has iOS 4.
    awesome121 wrote:
    DO you have a icloud account?

  • I have an ipod nano 2nd generation with a non responsive click wheel

    I have an ipod nano 2nd generation with a non responsive click wheel. I have fully charged it tried resetting it and on two different computers with the latest iTunes I have restored it with the latest firmware then moved it to hold and off hold held in the menue button and select button for 10 seconds but all I get is a screen where I select the language but cant get any response from the scroll wheel.
    The hold button is working (I see the lock icon go on and off) I have done the restore procedure and then reset many times but no good I am wondering if I should open it up and disconnect the battery for 30 seconds.
    I would appreciate any advice thanks in advance. (This is my Daughters ipod mine is an 8 gig one.)

    You need a newer model iPod, a 4G or 5G. The 2G can only go to iOS 4.2.1

Maybe you are looking for