Generating Triangular and sawtooth waveforms in FPGA

I need to generate triangular and saw tooth wave form in FPGA and give it to my testing system, But I cannot generate it, there are options for generating sine wave and square wave only.
I am currently using Compact RIO 9025 with NI9215,9263,9403 modules.
Pls tell me is that possible to generate those waveforms and if it is possible describe me how to do that.

Hello,
There are 2 good documents that will help you get started with this task. There are, of course, many ways you can implement this and the right way will very much depend on your application.
Periodic Waveform Generation with RIO Enabled Hardware and LabVIEW FPGA
Triangle Wave Generated PWM
If you need more to get started, I'd be happy to assist further, but I think these are enough to get you down the right path.
Cheers!
TJ G

Similar Messages

  • Generating a tri state waveform pattern and writing into DAQ card

    Hi,
    I am using LV8.0 and NI-6259 DAQ card.
    I want to generate a waveform pattern which initially goes to +5v and goes to 0v and then again goes to -5v
    and finally goes to 0v. 
    I have used the waveform pattern generator and have generated 4 kinds of waveform with some particular samples
    and I will be appending all the 4 waveform patterns(+5, 0, -5, 0) and the appended waveform will be written into DAQ card.
    The problem is:
        When I probe CRO at the Analog output pin of the DAQ card, the pin level will be always at +5v and sometimes
        it goes to 0 and back to +5v. But I am expecting a waveform with 3 voltage levels i.e.., +5( some 100 samples), 0v(for some 1000 samples.
        -5v(same as +5v) and 0v( 2000 samples). 
    How to get this kind of waveforms in NI-6259 DAQ(M Series) card.
    Please find the attached VI which I have created.
    Letme know the loophole in the VI and correct way of generating a tristate waveform.
    Thanx in advance, 
     Yogesh
    Attachments:
    PWM_sample.vi ‏43 KB

    Hello YogeshaYS,
    Thanks for your post!
    I see that you are wanting to output a waveform that goes from 5 to 0 to -5 and then back to 0. It looks like from your code that you want to do this in a continuous fashion? If this is so you will need a while loop to output the waveform. Take a look at one of our shipping examples that shows how to do analog output waveform. Go to Help >> Find Examples. When here go to Hardware Input and Output >>  DAQmx >> Voltage >> Cont Gen Voltage Wfm-Int Clk.vi. Your VI works great but it only does the output once so that may be why you see some interesting results on your output. Let me know if any of this information helps you with your program. I was able to run it in a continuous mode and see the voltage levels go from 5 to 0 to -5 just like you were wanting. Have a great day YogeshaYS and please reply if you have any other questions on this. 
    Cheers!
    Corby_B
    http://www.ni.com/support 

  • Generating a sequence of waveforms with NI 5640R card

    Hello,
    I have a question regarding generating a sequence of waveforms. I want to use the example "NI 5640R analog input and output" (I know this example is capable of generating a QAM or single tone signal) and make changes such that the when i run the VI i want the output to be switching between single tone and QAM and i want this to happen until i stop the VI.
    And in the future i want to add another waveform (sawtooth) and want my output to be switching between the 3 waveforms. Any help regarding this will be grately appreciated.
    Thanks,
    Sandeep. 
    Sandeep Palreddy, Graduate Research Assistance
    The Microwave Remote Sensing Laboratory (MIRSL)
    University of Massachusetts
    151 Holdsworth Way
    Amherst MA 01003-9284

    Hello,
    I have a question regarding generating a sequence of waveforms. I want to use the example "NI 5640R analog input and output" (I know this example is capable of generating a QAM or single tone signal) and make changes such that the when i run the VI i want the output to be switching between single tone and QAM and i want this to happen until i stop the VI.
    And in the future i want to add another waveform (sawtooth) and want my output to be switching between the 3 waveforms. Any help regarding this will be grately appreciated.
    Thanks,
    Sandeep. 
    Sandeep Palreddy, Graduate Research Assistance
    The Microwave Remote Sensing Laboratory (MIRSL)
    University of Massachusetts
    151 Holdsworth Way
    Amherst MA 01003-9284

  • Generate pdf and html(urgent)

    can anybody tell how to generate pdf and html from a single report,
    thanks in adv

    From a single report, you can generate outputs to html, htmlcss, pdf, rtf, XML and text formats.
    If you use rwclient, rwrun or rwservlet methods, specify desformat=pdf/html and the destination file name in desname command line parameters.
    If you use Reports Builder, open a report, select File->Generate to file and select html/pdf. Then give the file name.
    For more details, Refer to Reports Tutorial / Publishing Reports document from this site.
    http://otn.oracle.com/docs/products/reports/content.html
    Thanks,
    The Oracle Reports team

  • How to generate Header and Trailer for a file

    Hi Guru
    How can we generate header and Trailer for a file
    EX:
    i want to generate header with date and trailer with record count from table.
    Sample file :
    20120120
    fwsfs
    adfwsfd
    adff
    afsadf
    afdwsg
    adgsg
    adgsgg
    asgdsag
    sdgasgdaf
    sdfsagfadf
    10

    Hi ,
    1.Create an interface to load data from oracle to file and set generate header as false option in IKM .
    2.Create variable get_current_date of alphanumeric datatype and implement logic SELECT to_Char(SYSDATE,'yyyymmdd') FROM DUAL under refreshing tab
    3.Create variable get_record_count of numeric datatype and implement logic SELECT '<%=odiRef.getPrevStepLog("INSERT_COUNT")%>' FROM DUAL under refreshing tab
    4.Create a package
    Drag the get_current_date variable ,
    Drag odioutfile and paste the below logic OdiOutFile "-FILE=D:\ODI_TEST\emp.txt" "-CHARSET_ENCODING=ISO8859_1" "-XROW_SEP=0D0A" #GET_current_date in command tab
    Drag the interface
    Drag another variable get_Record_count
    Drag the odioutfile and paste the below logic OdiOutFile "-FILE=D:\ODI_TEST\emp.txt" -APPEND "-CHARSET_ENCODING=ISO8859_1" "-XROW_SEP=0D0A"
    #GET_RECORD_COUNT in command tab
    Link all these in sequence,save and run the package.
    OR Modify the IKM SQL to File Append to achieve same functionality.
    Thanks,
    Anuradha

  • Access to serial and ethernet port in FPGA for cRIO-9068

    hi
    i want to know if i can Access to serial and ethernet port in FPGA for cRIO-9068 like camera IP
    thanks for help

    dalyto wrote:
    thanks
    but how i can i acquire image with IP camera and fpga ???
    The Ethernet hardware interface in the cRIO is not directly connected to the FPGA backplane in a way that you could directly access it. Even if you could it would be a pretty bad idea to try to do. A fully operational TCP/IP network stack implementation in the FPGA would not leave much resources for anything else even on the biggest FPGAs available. That doesn't include support for the typical image compression algorithmes which are even more complicated to implement on FPGA. Even if you would go to highly optimized VHDL code directly it would be a pretty difficult thing to do!
    In fact implemenintg the MAC and PHY of an ethernet interface on the FPGA is totally trivial in comparison. The IP level could also be implemented fairly easily in the FPGA but anything above that is going to give you bad headaches and still will be very limited in number of connections and packet sizes it can support.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • I have new Adobe premier Elements13 and Photoshop elements 12, but Cannot access website to generate code and register

    I have new Adobe premier Elements13 and Photoshop elements 12, (Download from Amazon) but Cannot access website to generate code and register. Please help if you can.
    I do not know how to find my PC specific code, nor can I simply use another PC if the programs are then only for use on that (not my main) PC!. I have entered the correct serial/codes which came in the download files but simply cannot go further as each time I try it fails to connect with the website?
    Vince

    Please post Photoshop Elements related queries over at
    http://forums.adobe.com/community/photoshop_elements

  • While doing F-32 residual payment - Two documents generated AB and RV

    Hi all,
    While Clearing partial payment with respect to Invoice thorough F-32 ( As residual )- Two documents generated AB and RV in development system.
    where as in Quality and Production system there is only one AB document generated.
    Is it standard behavior to generate AB and RV?
    Customer don't what that RV document to be generated.

    Hi,
    This is  one of the option given by SAP to manage your  open items in case of  partial payments. In this  process when you go for residual payment, your original open item against which partial payment is made gets cleared &  system automatically creates a new  open item with the balance amount.
    e.g  you have an open item of Rs 10,000/- since  01.03.2014 & today i.e on 01.04.2014 you are making an payment of Rs 6,000/- against the said  item & you  opt for residual payment. In this case the original open item   i.e Rs 10,000/- gets cleared  & a new open item of  i.e Rs 4,000/-  get created . Note that this new open item created by the system  will have  the new document date (01.04.2014) and new baseline date, i.e here aging of your receivable/payable does not reflects the true picture.
    But this  is not the case when you opt for partial clearing method. In partial clearing method , the original open item is not cleared, instead  both the items are shown as open items.
    If you take the case of above example, after making the partial payment of Rs 6,000/- against Rs 10,000/- you will have two open items. One the original one of Rs 10,000/- since 01.03.2014 and another for Rs 6,000/- on 01.04.2014.In this case the aging of your receivable/payable shows the true picture.
    Yes its  a business decision ,which method to  adopt.
    Thanks & regards
    Deepak

  • Generated files and layout

    After generating automatic documents in Frame9 suchs as TOC, List of Figures and the like I have saved these as templates. Trying to import these formats into newly generated documents will not import the chapter and pagenumbers nor their layout even though these have been included on the reference pages. Adjusting these afterwards often does not affect position, style or layout. More concrete: the numbers in front of the titles are specified yet missing, the page numbers are directly behind the titles instead of at the configured tab stop. Moreover, titles are in Arial, while the pagenums having the same paragraph tag are times new roman. Something I cannot seem to change.  Why does Frame not import the settings from the template or respond to my adjustments after updating. Sometimes it only partly updates.
    Any help and ideas are welcome

    Pieter van de Sande wrote:
    Ok that's what I thought when posing the question. Index and TOC are incompatible. To me they are simply generated files and if I configure the page numbers to be on the right in the Arial font in the TOC I expect these to be the same after importing formats into another generated file. I guess I need to change my train of thought.
    Yes, the're independent from each other. If you look on the TOC reference page, you'll find entries like:
    <$paratext>(tab character) <$pagenum>
    This entry is formatted using the assigned "TOC" paragraph style, e.g. if you're reading a paragraph style named "Heading1", this entry is formatted using the "Heading1TOC" paragraph style. If this style is set to Arial, the whole line (paragraph text and page number) will be formatted using the Arial font, as long as you don't use separate character styles for the placeholders (<$paratext> or <$pagenum>).
    Looking on the SIX reference page, there are other entries. You'll see e.g.
    Level1SIX (tab character)
    (tab character)<$pagenum>
    In this case the text entry is formatted using the "Level1SIX" paragraph format, and the page number is formatted using the "IndexSIX" format. These may specify different fonts. You see, there are completely different formats and "building blocks" which are used to create a TOC and an Index entry.
    Bernd

  • Generate Flexfield and Mapping Information Process errors out

    Hi,
    The Generate Flexfield and Mapping Information process errors out with the following msg:
    **Starts**19-OCT-2009 13:55:02
    ORACLE error 6501 in FDPSTP
    Cause: FDPSTP failed due to ORA-06501: PL/SQL: program error
    ORA-06512: at "APPS.FND_FLEX_DSC_API", line 1626
    ORA-06501: PL/SQL: program error
    ORA-06512: at "APPS.FND_FLEX_DSC_API", line 925
    ORA-01403: no data foun
    I have created the element set with all the elements added one at a time into the element set.
    Any idea on what could be the issue ?

    Pl see if the steps in MOS Doc 453184.1 (ORA-01403 and ORA-06512 at HXC_CREATE_FLEX_MAPPINGS and FND_FLEX_DSC_API on Runnning hxcmprn.sql) can help
    HTH
    Srini

  • Can I generate sine and square waves with NI PCI-MIO-16XE-50 card??

    Can I generate sine and square waves with NI PCI-MIO-16XE-50 card??
    How Do I generate those signals?

    Hello;
    You certainly can do that. The way to go about that is to use one of the Analog Output channels your board have available.
    If you are using Labview to program the board, you can find good examples at Search Examples->I/O Interfaces->Data Acquisition->Analog Output->Multiple Point (buffered) Analog Output.
    If you are using other Software language to program the board, you can fing examples at C:\Program Files\National Instruments\NI-DAQ\example\VisualC\AO.
    Hope this helps.
    Filipe

  • Problem while generating stub and skeleton in ejb

    Hi All,
    I am learning Ejb,i developed a simple hello world application .And i am trying to generate stub and skeleton for that using weblogic.ejbc.I am getting the following error
    C:\nkmb\ejb\HelloEjb>java weblogic.ejbc slb.jar
    <Jun 22, 2006 9:55:35 AM EDT> <Warning> <EJB> <BEA-010212> <The EJB 'HelloBean(J
    ar: slb.jar)' contains at least one method without an explicit transaction attri
    bute setting. The default transaction attribute of Supports will be used for the
    following methods: remote[hello()] >
    C:\nkmb\ejb\HelloEjb\ejbcgen\examples\HelloBean_gbyfgg_Impl.java:11: cannot a
    ccess java.io.Serializable
    bad class file: C:\Program Files\Java\jre1.5.0_06\lib\rt.jar(java/io/Serializabl
    e.class)
    class file has wrong version 49.0, should be 48.0
    Please remove or make sure it appears in the correct subdirectory of the classpa
    th.
    public final class HelloBean_gbyfgg_Impl
    ^
    1 error
    Exec failed .. exiting
    can anybody help me to getting out of this problem.
    thanks inadvance,
    nkmb

    Try the following forum (about EJB technology)
    http://forum.java.sun.com/forum.jspa?forumID=13

  • After receiving a Generator error and prompt to restart. I restarted Photoshop and the app disappeared off my computer. How do I get it back. The cloud widget says it is all up to date?

    After receiving a Generator error and prompt to restart. I restarted Photoshop and the app disappeared off my computer. How do I get it back. The cloud widget says it is all up to date?

    CC desktop lists applications as "Up to Date" when they are not
    -http://helpx.adobe.com/creative-cloud/kb/aam-lists-removed-apps-date.html

  • Help on -  IBOT report to be generated once and then sent to many users.

    Hello All,
    I need some advice to make Ibot efficient. The Ibot at my institution is configured to send a specified report to many users and group. The problem now is the report is generated for every user and then sent to individual user, which takes a lot of time and limits the usage of the resources to other.
    Is it possibel that a report which has to be mailed to many users can be generated once and then sent to all the recipients?
    Thanking you for time and efforts!
    regards
    Ankit

    OK...
    . Do you have the complete application suie of the Audigy SE installed?
    2. If so, in Control Panel do you have the Audio Console or Audio Control Panel?
    3. If you do, change the settings for Decoder Settings to SPDIF passthrough. (THis is however only of AC-3 content, it doesn't affect other formats) (I am not sure the Audigy SE does have a decoder, if not, you need to change the setting in the AC-3 decoder you use)
    4. Then go to Device settings and change the Digital Output sampling rate to 48kHz.
    Now if you cannot find Audio Console, then you should download the latest drivers. They specifically state they allow you to change the "SPDIF output Sampling rate", so you should be able to access the option. I believe your problem lies to the fact your SPDIF is configured for 96kHz output and most probably these very old speakers do not support more than 48kHz.
    PS: The instruction I posted above, are based on an Audigy 2 ZS setup, so the naming of the settings and access programs could be different on the SE, but nevertheless present.

  • How to generate CTT and AMT Segments - PO_4010_850

    Hi,
    Please let us know how can we have B2B generate CTT and AMT segments for PO_4010_850?
    We are passing the 850_XML from BPEL process to Oracle B2B. Would like to know how can we get the CTT and AMT segments generated?
    CTT 01 - Number of Line Items  -  Number of PO1 segments in the transaction (PO)
    Do we have to count the number of PO1 segments manually in the BPEL XSL or do we have some macro already in place (Like we have for SE 01)?
    AMT 01 - Total Monetary Amount (Qualifier Code) - What all values can be passed and how to generate it?
    AMT 02 - Amount in Total for all the line items. - How can we calculate this?
    Thanks
    Priyanka

    Oh. So there is no macro already present for this.
    I have to count the PO1-Segment to get CTT-01. Have to Count all the Line Amounts for AMT02. But how about AMT01?
    Thanks
    Priyanka

Maybe you are looking for