Help with waveform generation

Hello,
I have 2 waveforms and I’m trying to add one after another, (like an analogy of concatenation of characters).
I was thinking to make a time offset of one waveform and then add them, but it didn’t work well.
I would appreciate some ideas.
Thanks
I annex a picture of my VI
Solved!
Go to Solution.

The waveform data type is basically just a cluster of 3 pieces of data: 1. the actually data array (Y), 2. the time interval between the points (dt) and 3. the timestamp (t0) that was generated at the begining of the acquisition. The build array function won't let you concatenate the waveforms because it doesn't know if it should use the timestamp from the first waveform or the timestamp from the second. You will need to break each waveform down to its components, concatenate the data arrays, and insert this data into a new waveform with the desired timestamp that you want to use. It should look something like this:
Jeremy P.
Applications Engineer
National Instruments

Similar Messages

  • Need Help With Waveform-driven Image Effects

    Hi,
    I've been working on a full-dome 3D animation for a couple of years now and I'm looking for someone to help with a custom plug-in for After Effects, Photoshop and/or Combustion. I need to be able to drive filters and effects like Brush Strokes and 'sketchy' noise with the waveform from an audio file. I've been using a very poor mans workflow in which I've mapped the waveform by breaking it up into vertical ranges of varying intensities and then applying respective levels of the effects and filters to the sequential images based on where they fall in the waveform ranges. So for the test Ive done, I've been literally applying Photoshop actions to very small packets of still images from rendered sequences, and it has been dizzyingly time-consuming. Ideally I would want to be able to do this dynamically with a motion graphics package, but really I'm looking for as much help as I can get.
    This project began as my master's thesis and I'm working on it during the free time I have between teaching and freelance work; I don't have much money but I am willing to pay for help with this goal. There is still a lot of 3D work that I still need to do and the rendering process will be slow, so this wouldn't be a job with strict or tight deadlines. The final images will be very large (3200x3200) and with the growth in the full-dome market, these sizes could easily increase. If anyone is interested or could help me with this endeavor in any way, please respond to [email protected] Thank in advance to anyone who reads this.
    Max

    See the SDK_Backwards sample to see how to acquire audio data from a layer. This is the same access method used by AE's own waveform drawing plug-ins. Feel free to contact me directly with any questions.

  • Help with PDF Generation

    We are currently evaluating LiveCycle ES to potentially convert numerous Pro/E 3D drawings to PDF. Unfortunately, I am having a difficult time finding the proper resources to help achieve this. What we would like the process to do is:
    1) Take a Pro/E file, and apply a forms template
    2) Add an "Exploded View" animation for the 3D drawing (such as what can be generated by Adobe 3D Reviewer)
    3) Expose the "Bill of Material" to the template fields
    4) Save the generated PDF to a defined folder
    5) Perform these steps for a "watched folder" for when new drawings are submitted
    In LiveCycle Workbench, I have been able to read a Pro/E file and apply our template. But I cannot find information on how to achieve the other steps.
    Could somebody please point me to specific resources and/or samples that would help with this? Any help would be very appreciated.
    Thanks!

    Thanks for your reply.
    If I'm understanding you correctly, option 1 probably won't work for this situation, because we're working with existing ProE drawings -- hundreds, if not thousands, of them. So, they don't want to go back and add the exploded view. Unless you're saying that we could use javaScript to generate the exploded view and BOM from the ProE files?
    Do you know of an example (or other resource) that describes either of the options you outlined? Could you explain a little more?
    Thanks again!

  • Need help with report generation toolkit

    I'm having a really hard time finding a solution for my problem. I'm measuring a distance and a diameter simultaneously. The outcoming values have a depency and are stored in a 2-D array.  I want to export this array to an excel table and x-y-chart (distance is x and diameter y). So far I can export the data to a table, however the charts produced are useless. Can somebody please help me? I'm almost crying since I'm trying to find a solution for 3 days now.
    Additionally, after one measurement is done, the user should have the possibility to do the next measurement, and the data has to be stored in the same excel file, in another worksheet. How can I do this? 
    Attachments:
    Hauptprogramm_0.5.vi ‏129 KB

    Hi!
    If you want a nice graph in Excel based on your data you have input there, I would recommend creating a macro that builds your graph. Read more about macro, Excel and LabVIEW here. I don't have the Report Generation toolkit, but I think you can send macros with it too. 
    Regards,
    Even
    Certified LabVIEW Associate Developer
    Automated Test Developer
    Topro AS
    Norway

  • TS1410 Help with 2nd generation iPod.

    Hi
    Have just purchased my first imac. I have a 2nd generation ipod that now is not recognized in itunes. It still works with my old pc, which is at the end of its life. I am not very good with technical details so if anyone out there can help please could they tell me in idiot terms! My daughter just thinks that the ipod is too old (a little like me)!!!
    Many thanks

    The Nano should still work with your new Mac.  What happens when you plug it in? what shows up on the iPod's display in iTunes?
    WIth the iPod still connected to the Mac, try and reset it.
    How to reset iPod
    Does the iPod still appear in the Finder?
    B-rock

  • Need help with Report Generation Toolkit: Excel Set Cell Format.vi

    Hi people,
    I've been searching and found this old thread of someone asking what is the input parameter "Number format". And I dont know what should I put in there. I've tried so many possibilities, but nothing works so far, such as:
    0,0
    0,?
    0,#
    #,0
    ?,0
    and also with @, doesnt works. Where would I find help about this parameter?
    I'm using Excel2003, german version, thus local decimal separator is a comma.
    I also found this help from NI, but seems doesnt help me either. Do I miss something important?
    thanks,
    Yan. 

    Hi,
    I've used your suggestion and some numbers in excel doesnt need to get "right click, change to numbers" anymore (green indicators on the left-top side in some cells are gone). But, I think its still not a number, because I cant use a simple formula, such as in cell A10 I type "= A1/2" (cell A10 equals cell A1 divided with 2) . I got error which says its not a number.
    Well, but other thing is found, any format-string I put in the input of Excel Set Cell Format.vi, such as #,########, will be shown the same as "customize #,########" if I right click in a cell in excel and click "Zellen formatieren" (formatting cell). But however, the numbers are still depends on the input of the format I put in the Append Table to Report.vi.
    regards,
    Yan.

  • Need help with waveform and digital output

    Hey everyone,
    I am driving a rotational motor with an example waveform output VI and an example digital output VI. I am able to successfully send a square wave with the desired properties to rotate the motor and I am also able to successfully send a digital output (1 or 0) to change its direction (clockwise/couter-clockwise.
    However I need some advices to write a setup such that after the motor runs as desired, I can return the motor back to its original position. I think the simplest way is timing how long it takes to finish its task, and just change the digital output, keep the same wave properties and run for the same amount of time.
    So how can I time how long the program runs and with some kind of button, change the digital output and run the program again?

    As more of a program architecture tip, this sounds like a great time to be using a State Machine.  I say this because you mention resetting the motor (one state) then running it again (another state) repeatedly.  As a design tip, I would check out this article, along with the Design Pattern Template that comes with LabVIEW.  You can find this by going to File >> New... then expanding the tree to VI >> From Template >> Frameworks >> Design Patterns >> Standard State Machine.
    Cheers, 
    Brian A.
    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

  • 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

  • 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

  • Ipod Nano 6th generation setting issue - hi, when i am listening music and the screen goes to sleep my music stop playing.Please help with settings

    hi, when i am listening music and the screen goes to sleep my music stop playing.Please help with settings

    No problem.   And no worries, several people have made this same mistake!
    Either way enjoy the iPod!
    Brock

  • 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

  • DAQmx with signal generation

    Hello,
    I am working on converting my current test code that used Traditional DAQ to DAQmx. I need some help with DAQ Waveform Generation.
    In my current code I am using the Traditional DAQ to send a Sinewave output on on the DAC0Out on my PCI-6036E card. I have it set-up so I can runt he VI and when the Vi stops the Signal Keeps going until I tell it to stop. I need to do the same thing with DAQmx. I found that the example 'Cont Gen Voltage WFM-INT Clk-Variable Rate.vi does everything I need but when the VI stops so does my signal. What can I do to make it so the signal stays running when my vi stops.
    this VI is a Sub in my program, the user is able to control a boolean to start and stop the waveform, I cannot keep it in a loop as they may want to turn ont he waveform and perform other tasks then turn it off.
    I am trying different things as well, but any help would be appreciated.
    Oh yeah, this is an XP machine running  LabVIEW 8
    Jeff D.
    OS: Win 7 Ultimate
    LabVIEW Version: 2011,2010,2009 installed
    Certified LabVIEW Architect

    Hello Jeff,
    To continue to output a signal after you have stopped and closed the VI, you use the auto cleanup terminal on the DAQmx Create Channel VI.  Auto cleanup specifies if LabVIEW automatically destroys the
    task when the application completes execution. If auto cleanup is FALSE, LabVIEW does not automatically destroy the task until you exit
    LabVIEW. But you can use the DAQmx Clear Task VI to manually
    destroy the task.
    I'm attaching a modified version of the Cont Gen Voltage WFM-INT Clk-Variable Rate.vi that continuous to generate the AO signal until you close LV.
    Good luck!
    Micaela N
    National Instruments
    Attachments:
    Modified Cont Gen Voltage Wfm-Int Clk-Variable Rate.vi ‏47 KB

  • Error -2146827284 with report generation 1.1.4

    Hi. Im working with Report Generation 1.1.4 and I was testing it for exporting data to an excel book. I was making some vi's to learn how to use it and do what I need it for. I need to take two non constant numeric values and save them in an excel table of two columns and graph them. The error comes when I transpose the original matrix, so i can have 2 columns instead of 2 rows in excel. In the picture you can also see that no graph is displayed. If anyone knows has experience doing this kind of activities between labview and excel I would appreciate some help! Thanks!
    Attachments:
    2 columns table xcel report generation test.vi ‏11 KB
    test.JPG ‏165 KB

    Why are you turning your array into a matrix?  A matrix is not the same thing as an array.  (They are related, but are not truly the same thing.)
    Turn on context help and read about all the inputs into the charting function.  You want to have a 2-D array.  You are actually only starting off with a 1-D array.  (Which you can't transpose if you wanted to because it is only 1 dimensional).  Create a 2-D array of data to feed into the charting function.  If you need to transpose that you can.  Don't play with matrix transformations, they are rarely used and only for special math operations when they are.  Wire up any other inputs to the charting function as needed.  The default chart type is xlColumnClustered which I am going to guess is not truly the graph you want.  You probably want an XYscatter.

  • Hello everyone, hoping for some help with my new Apple Cinema Display 20"

    Hi everyone, I bought an Apple Cinema Display 20 inch LCD monitor, just about 3 weeks ago. I have two issues I am hoping to get some help with.
    1) I am using the screen on a PC with Windows XP, and I was very disappointed at the lack of PC support. I have no on screen display (OSD), so I can't see what percentage I have my brightness set to, and I can't alter the colour or contrast of the display, etc. Luckily it defaulted to very good settings, but I would really like to be able to use the (fan made?) program called "WinACD". If I would be best asking somewhere else, please direct me there. If not, my problem is that I installed it added the "Controls" tab, but it just says, Virtual Control Panel "None Present". I have tried googling for an answer, and I have seen many suggestions, but none of them worked. I installed the WinACD driver without my USB lead plugged in, and someone said that was important. So I have tried uninstalling, rebooting, then reinstalling it again with the USB plugged in, and a device plugged in to my monitor to be sure. It didn't seem to help. I have actually done this process a few times, just to be sure. So I would really like to get that working if possible.
    2) I am disappointed at the uniformity of the colour on the display. I have seen other people mention this (again, after a google search), and that someone seemed to think it is just an issue we have to deal with, with this generation of LCD monitors. Before I bought this screen, I had an NEC (20wgx2), and it had a very similar issue. Most of the time, you cannot see any problem at all, but if you display an entire screen with a dark (none prime) colour, like a dark blue green colour, you can see areas where it is slightly darker than others. It was more defined on the NEC screen, and that is why I returned it. I now bought this Apple Cinema Display, because it was the only good alternative to the NEC. (It has an 8bit S-IPS / AS-IPS panel, which was important to me). But the problem exists in this screen too. It isn't as bad thankfully, but it still exists... I have actually tried a third monitor just to be sure, and the problem existed very slightly in that one, so I think I am probably quite sensitive in that I can detect it.
    It is most noticable to me, because I do everything on this PC. I work, I watch films, and I play games. 99% of the time, I cannot see this problem. But in some games (especially one)... the problem is quite noticeable. When you pan the view around, my eyes are drawn to the slight areas on my screen which are darker, and it ruins my enjoyment. To confirm it wasn't just the game, like I said, I can use a program to make the entire screen display one solid colour, and if you pick the right type of colour (anything that isn't a bright primary colour), I can see the problem - albeit fairly faintly.
    I am pretty positive that it is not my graphics card or any other component of my PC, by the way, because everything is brand new and working perfectly, and the graphics card specifically, I have upgraded and yet the problem remains - even on the new card. Also, the areas that are darker, are different on this screen than on the other screens I have used.
    So basically, I would like to register my disappointment at the lack of perfect uniformity on a screen which cost me £400 (over double what most 20 inch LCD screens cost), and I would like to know if anybody could possibly suggest a way to fix it?
    It is upsetting, becuase although this problem exists on other screens too, this is, as far as I know, the most expensive 20" LCD monitor available today, and uses the best technology available too.
    p.s. If anyone would like to use the program that lets you set your entire PC screen a specific colour, it is called "Dead Pixel Buddy", and it is a free piece of software, made by somebody to check for dead pixels. But I found it useful for other things too, including looking at how uniform the colour of the screen is. That's not to say I was specifically looking for this problem by the way... the problem cought my eye.
    Thanks in advance!
    Message was edited by: telelove

    I've been talking about this on another forum too, and I made some pictures in photoshop to describe the problem. Here is what I posted on the other forum:
    Yes, "brightness uniformity" definitely seems to be the best description of my issue.
    Basically it just seems like there are very faint lines down the screen, that are slightly darker than the other areas on the screen. They aren't defined lines, and they aren't in a pattern. It's just slight areas that are darker, and the areas seem like narrow bands/lines. Usually you can't see it, but in some cases, it is quite noticeable. It is mainly when I'm playing a game. The slightly darker areas are not visible, and then when the image moves (because I am turning in a car, or turning a plane, or turning in a shooter etc.) the image moves, but these slightly darker areas stay still, and that makes them really stand out.
    As for how it looks, I tried to make an example in photoshop:
    Original Image:
    http://img340.imageshack.us/img340/3045/td1ja9.jpg
    Then imagine turning the car around a bend, and then it looks like this:
    http://img266.imageshack.us/img266/959/td2hq7.jpg
    It's those lines in the clouds. If you can tab between the two images, you can see the difference easily. Imagine seeing those lines appear, every single time you move in a game. (I haven't tested this in movies yet, but I am assuming it's the same).
    It isn't very clear on a static image. But when the image moves, the darker areas stay in the same place and it draws your eyes towards them. It isn't terrible, but it is annoying, especially consider how much this screen cost.
    Message was edited by: telelove

Maybe you are looking for

  • Re: How to have more than one vertical axis in graphs...

    As a matter of fact, there is a library of dual-Y-axis controls, developed by National Instruments, but for some reason it did not make it into the official release. I've been using it under v.5.01 quite successfully. The only problem with it is that

  • Adobe Photoshop Express is now available on Windows 8

    Adobe® recently released Photoshop® Express on Windows 8 tablets, and is now available for download via Windows Store. Adobe® Photoshop® Express is a little app that packs big fun into every photo you take with your smartphone or tablet. Use easy edi

  • MAX( ) function in 2 columns... Wrong Data

    Hi Folks, I have A DDIC Table with mandt, Destination, Date, Time, KUNNR and some other columns. Now I want to determine the LATEST entry for a KUNNR. Now I did: SELECT        mandt desti kunnr MAX( erdat )        MAX( ertim ) [..other nonkey fields.

  • Working folder & template questions (Mac and Win)

    I'm using Captivate for Mac (both 5.5 and 6). In the recording preferences (Project Info) there is a field for "Working folder" for FMR in Captivate 5.5 or Video Demo in Captivate 6. For new blank projects, it appears that the Working folder is autom

  • App Memory Leak When Open iPhoto

    Hi everyone, Does anyone have experienced app memory leak when open iPhoto?  My free memory immediate dropped from 5000 mb to 15mb when I open iPhoto and the app never open.  If I force to quit iPhoto, all return to normal and everything work fine.