Creating two sin signals using function generator.vi example

hi all. i want to create two sin signals with different parameters using function generator.vi example. i tried to modify the example by copying the code and try to output two sin signals on different channels of the DAQ but error message saying that you are validating of the AO write buffer . attached is the file. how can i modify it to solve the problem?!
Attachments:
function_generator2.vi ‏123 KB

Nidal,
Below is an example that illustrates how to generate different sine waves on two separate analog output channels.
Example

Similar Messages

  • The measurement of the phase between two sine signals with NI 6251

    Hi, I am working with NI 6251. I need to measure the phase between two sine signals. I used "Tone Measurements" on each signal and then substracted there phases, but the result was  incorrected. Please, help me to solve this problem.

    You should have a look at the Signal Processing VIs
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Create a generic extractor using Function module,  what steps must I follow

    Hello gurus team
    I need to Create a generic extractor using Function module,  what steps must I follow?
    Just I have a function module not estructures or something, only the program.... and I have intented to do it in rso2 using the fm option, but give an error... somebody can helpme???
    BR

    Hi,
    Generic Extraction via Function Module
    /people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33
    http://help.sap.com/saphelp_nw04/helpdata/en/86/1c8c3e94243446e10000000a114084/frameset.htm
    Thanks,
    JituK

  • Creating a Generic Datasource using Function Module

    Hi Guru's
                  We are tryin to create a Generic datasource using function module, we have found few old how to guides for doing the same but it is not effective and need to be altered. Can anyone suggest me the latest step by step procedure to create the above, also if you have the how to guide kindly paste the link as it will be a great help at this point.
    Thanks in advance
    Regards
    Liquid

    Hi,
    Please goto the Following links  :-
                                                                          PDF
    1)         http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c062a3a8-f44c-2c10-ccb8-9b88fbdcb008?quicklink=index&overridelayout=true
    2)        http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33?quicklink=index&overridelayout=true
                                                     SAP Forum
    3)        Re: DataSouce based on FM
    4)       http://forums.sdn.sap.com/post!reply.jspa?messageID=10050614
    5)       https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33
    6)       Re: Generic datasource with functional module
    7)       Generic Extractor (FM based) - Delta Enabled
    Regards
    Obaid

  • FRF Problem about amplitudes of two sine signals

    Hi everyone,
    I'm carrying out a FRF operation between two acquised signals, so I decided to simulate it simply first.I created two dummy sine signals with 50 Hz frequency value and "1" amplitude level for both.And I divide the second signal with a integer and took the FRF function between them, as below.
    as expected for all frequencies, the result is 0,5 which comes from the ratio of sig2 to sig1.
    But, when I changed the integer value to a float, 1,3 for example, it results nonsense;
    Why these two processes do not match?
    Thanks,
    Ozgur

    Deborah, it happens every time as Jeff indicated. Thanks anyway.
    Jeff, am I understanding right, you're saying that the graph shows the sum of the errors that caused by the uncertainity? And there is another thing, when the data is not simulated but acquised, there will be not a precise amplitude and frequency valuei will it the FRF block go crazy then ?
    I've tried that process with several post-processing softwares; MATLAB, dbFA Suite (A vibratory daq system interface). All results different
    Do you have any suggestions to solve that? Or can it be corrected?
    Regards,
    Ozgur

  • Create a melody with Labview/ Function Generator

    Hi (first sorry for poor english, not my native language)
    I have a project at school which is creating a melody using Labview and a function generator. I've worked on it for hours now and i still can't get through it.
    I joined the vi file with my post so you can get a look at what i've done so far.
    First, i do'nt know which loop i have to use (u'll understand soon enough if u just take a look at the vi file), the problem is that i want to create 4 arrays using 2 text files.
    The first one is used as a reference : exemple the frequency to play an A is 440Hz, so my first text file looks like that :
    A 440
    B 493
    the second one is my melody, which includes the notes and the tempo (in ms)
     , so it's like :
    B 1000
    C 1500
    I used the first two loops to seperate each string lines of my files so I have at the end 4 different arrays. One containing the note's references, one containing the frequency, one containing my melody's notes and one containing the duration of each notes.
    The problem is that when I use a while loop, it seems that my arrays are not containing every elements it should, it only has the last one. Just try to run the vi file.
    Could anyone give me some help ? Don't hesitate to ask more questions if u didn't fully understand my problem !
    Thx
    Attachments:
    PR.vi ‏19 KB

    Hi claudeuntel,
    Your array contains just the last note because at each for loop iteration a new table is created.
    You have to send the table you created at one iteration to the next one.
    To do this you can use shift register.
    I didn't have tested the VI below but it should looks like that.
    Valentin
    Valentin
    Certified TestStand Architect
    Certified LabVIEW Developer
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Travaux Pratiques d'initiation à LabVIEW et à la mesure
    Du 2 au 23 octobre, partout en France

  • How do I create two iWeb sites using a single .Mac account?

    I would like to create two distinct sites/URLs using iWeb and a single — not a family — .Mac account. Is this possible? If so, what are the basic steps?
    When I read related forum posts, it would seem to me that one site would overwrite the other site when I publish. Yes or no?
    iBook 1.2 mhz, G4   Mac OS X (10.3.6)  
    iBook 1.2 mhz, G4   Mac OS X (10.3.6)  
    iBook 1.2 mhz, G4   Mac OS X (10.4.4)   iLife 06

    I would like to create two distinct sites/URLs using
    iWeb and a single — not a family — .Mac account. Is
    this possible? If so, what are the basic steps?
    If you just do the obvious and use File > New Site in iWeb, you do create two distinct sites with different urls. However, you cannot exactly duplicate page names in the sites or publish changes in one without publishing changes in the other. The short default url web.mac.com/username/iWeb normally goes to the top site on the list within iWeb.
    If you create two sites with distinct names in different accounts on your machine, they should not overwrite each other, and they should also have distinct urls. However I think that the
    index.html file which tells browsers what to do with the default short url web.mac.com/username/iWeb may get confused, so that deleting that or modifying it manually might be desirable.

  • How to create a f4 help using function module.

    Hi,
        I want to create an f4 help with out using match code objects.How can i do it ? . Is there  any function code for it ?.

    Hi,
    Please search on SCN before posting...
    Refer FM F4IF_INT_TABLE_VALUE_REQUEST
    Refer this demo code to get a S.help for BELNR based on user input for BUKRS:-
    PARAMETERS : p_belnr TYPE belnr,
                 p_bukrs TYPE bukrs.
    DATA : BEGIN OF itab OCCURS 0,
             belnr TYPE belnr,
           END OF itab.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_belnr.
      PERFORM f4_belnr_help USING p_belnr.
    *&      Form  f4_belnr_help
    *       text
    *      -->P_BELNR text
    FORM f4_belnr_help USING p_belnr.
      DATA : itab TYPE STANDARD TABLE OF it WITH HEADER LINE,
             tb_dynpfields LIKE dynpread OCCURS 0 WITH HEADER LINE,
             v_bukrs TYPE bukrs.
      CLEAR:   tb_dynpfields.
      REFRESH: tb_dynpfields.
      MOVE 'P_BUKRS' TO tb_dynpfields-fieldname.
      APPEND tb_dynpfields.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          dyname                               = 'Z_F4' "program name
          dynumb                               = '1000' "screen number
        TABLES
          dynpfields                           = tb_dynpfields
        EXCEPTIONS
          INVALID_ABAPWORKAREA                 = 1
          INVALID_DYNPROFIELD                  = 2
          INVALID_DYNPRONAME                   = 3
          INVALID_DYNPRONUMMER                 = 4
          INVALID_REQUEST                      = 5
          NO_FIELDDESCRIPTION                  = 6
          INVALID_PARAMETER                    = 7
          UNDEFIND_ERROR                       = 8
          DOUBLE_CONVERSION                    = 9
          STEPL_NOT_FOUND                      = 10
          OTHERS                               = 11.
      IF sy-subrc  0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      READ TABLE tb_dynpfields INDEX 1.
      IF sy-subrc EQ 0.
        v_bukrs = tb_dynpfields-fieldvalue.
      ENDIF.
      SELECT belnr from <db_table> INTO TABLE itab WHERE bukrs = v_bukrs.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield               = 'BELNR' "internal table field
          dynpprog               = 'Z_F4' "program name
          dynpnr                 = '1000' "screen number
          dynprofield            = 'P_BELNR' "screen field name
          value_org              = 'S'
        TABLES
          value_tab              = itab "internal table
        EXCEPTIONS
          PARAMETER_ERROR        = 1
          NO_VALUES_FOUND        = 2
          OTHERS                 = 3.
      IF sy-subrc  0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " f4_belnr_help
    Hope this helps you.
    Regards,
    Tarun
    Edited by: Tarun Gambhir on Mar 26, 2009 11:29 AM

  • Help: Creating web service proxy using JAXB generated domains

    Hi,
    I'm currently doing some investigation considering the use of web services (BPEL) as a complete application backend.
    The application should contain a pojo facade which communicates with some web service proxies. By making a datacontrol
    of the pojo facade, I'm able to expose methods to the client layer.
    I generated my domain objects by using the JAXB Compilation option in JDeveloper. By using that, a java class can be generated
    based on an XSD. Disadvantage of this use, seems to be the fact that the ObjectFactory class, generated by JAXB, is overwritten
    each time I create java classes from an XSD.
    Q1: Is there a solution to prevent the ObjectFactory class to be overwritten? I also could decide not to use it.
    After the domain objects are created, I want to call the actual webservice and receive the response by using the JAXB marshaller
    and unmarshaller. Problem here is:
    Q2: How do I (manually?) create a proxy which calls the web service, by using the domain objects generated by JAXB?
    Q3: An important requirement is that it needs to be simple to switch from several environments (eg from development to test). How
    can I fulfill this requirement in a nice, solid solution?
    Any tips working with web services as the backend layer are welcome!
    JDeveloper 10.1.3.4
    ADF Faces/JSF
    BPEL
    Thanks,
    Koen Verhulst

    repost.

  • Creating "bookmarks" for most used functions?

    Is there a way to create a home page "bookmark" for functions you use a lot, such as turning WiFi On and Off? Or alternatively, does anyone know of an app that would allow you to do that? It would be extremely handy and would save us from having to click multiple times to access common features.
    Thanks!

    Sounds like the Full Screen mode is turned on - hit '''F11''' to turn it off.

  • Create attachment to vendor using function module

    Hi !
    I want to attach files to vendor in abap. Is there any function module for it? I have tried with 'Archiv_create_table', when I run this , it is not showing anything when I go to xk02 to find out any attachments created there.
    Any help is really appreciated.
    Thanks,
    Sonali

    Hi Sonali,
    Refer the forum Re: VF02 - attach an file where i had given the answer.
    in your case the classname is LFA1 & type BO
    <b>Reward for Helpful Answers</b>
    -Satish
    Message was edited by:
            Satish Panakala

  • "[Shape Builder 18-119]Failed to create BSCAN shape" when use ILA in IBERT example design

    Hi all,
    I am using Vivado 2015.2. And I want to use ILA in the IBERT example design to check some nets. But when I start implementation, I get these critical warnings:
    [Shape Builder 18-119] Failed to create BSCAN shape for instance u_ibert_core/inst/bscan_inst/SERIES7_BSCAN.bscan_inst. Found overlapping instances within the shape: dbg_hub/inst/N_EXT_BSCAN.bscan_inst/SERIES7_BSCAN.bscan_inst and u_ibert_core/inst/bscan_inst/SERIES7_BSCAN.bscan_inst.
    [Shape Builder 18-119] Failed to create BSCAN shape for instance dbg_hub/inst/N_EXT_BSCAN.bscan_inst/SERIES7_BSCAN.bscan_inst. Found overlapping instances within the shape: dbg_hub/inst/N_EXT_BSCAN.bscan_inst/SERIES7_BSCAN.bscan_inst and u_ibert_core/inst/bscan_inst/SERIES7_BSCAN.bscan_inst.
    It seems that there are some conflicts between ibert core and ila core. 
    Could anyone tell me how to solve it ?
    Thanks very much!

    Hi,
    Try changing the JTAG_CHAIN attribute value as discussed in http://forums.xilinx.com/t5/New-Users-Forum/ERROR-U0-U-ICON-I-YES-BSCAN-U-BS-I-V7-ISYN-I-USE-SOFTBSCAN-EQ0-U/td-p/461998
    Thanks,
    Deepika.

  • Generating single cycle sine wave using pxi5402

    Hi,
    I'm a relatively new user of NI hardware, had some experience with cRIO systems but not PXI
    I've got a PXI chassis with a PXI5402 fgen card, I'm trying to generate a single, double and triple cycle sinewave (user selectable) but have very little experience with creating waveform files, is there a guide to doing this or is there a vi which lets me create a (relatively) custom waveform, I'm using the 'fgen function generator.vi' example and was hoping to build on this, I'd like to be able to continually transmit my waveform or set a specific number of transmissions
    any help appreciated!

    Hi there, 
    I belive that what you are trying to achieve would be best achieved using the arbitrary function mode, unfortunately this isn't supported by the PXI-5402. As it is a  A PXI-5412 would be better suited to this task. 
    That is not to say, however, that this is impossible. I believe you can achieve single cycle generation using list frequency mode. http://zone.ni.com/reference/en-XX/help/370524M-01/siggenhelp/mode_frequency_list/
    This forum post explains a little more: http://forums.ni.com/t5/PXI/PXI-5402-Burst-generation/m-p/2163496
    Although the forum above mentions using multiple frequencies, list mode allows you to set a duration of signal generation allowing you to choose the number of cycles to generate through timing. 
    I recommend modifying the Fgen Sweep Generator.vi example to generate only one frequency for a specified duration. 
    I hope this helps. 
    Tim, CLD, CTD
    National Instruments (UK & Ireland)
    "No problem is insoluble in all conceivable circumstances"

  • Generate two sine waves with time delay

    I have not been using the waveform generation tools so I hope this is an easy one for somebody.  I want to create two sine waves at different frequencies say F1 = 1.00 KHz and a second at F2 = 1.20 KHz.  I know that to combine them into one I can just add them.  Them problem I have is that I want F1 to start first then a few millisecond later have F2 sum into F1.
    T0 = F1
    T0 + Delay = F1 + F2
    Is there a VI capable of a time delay?  Tried to sum individual signals together but seems more difficult because of the waveform cluster format.
    Any help is appreciated,
    Matt
    Matthew Fitzsimons
    Certified LabVIEW Architect
    LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison

    Would the attached VI work for you?
    Attachments:
    Add Delayed Sinewave.vi ‏54 KB

  • How to generate a chirp(linear FM) signal using dds theory in LabVIEW FPGA.

    how to generate a chirp(linear FM) signal using dds theory in LabVIEW FPGA.
    attachment:a sine signal using dds theory. Hope to get some help. Thanks!
    Attachments:
    FPGA DDS SineGen IP.vi ‏42 KB

    you need to increment the "accumulator increment" during the duration of the chirp.  the "accumulator increment" controls the frequency of the DDS cycle.  by increasing it's value, you are increasing the frequency.  the math for increment values follows the same math as determining the frequency to increment value.
    Stu McFarlane
    Viewpoint Systems, Inc.

Maybe you are looking for

  • Dynamic [Runtime] type casting in Java

    Hello, This is my requirement. I have a method that takes class name as a parameter. Ex: Object myMethod(String classname){ Object xyz = getObject(); //userdefine method which returns some object /*<b>I need to typecast above object with the class na

  • Button creation in ALV GRID

    hi experts, i have a requirement to create a alv grid report and in the output one column should be editable.(till here every thing is correct what i did) i have to create a 'update' button to the tool bar of alv output screen so that if i enter my o

  • PowerBook G4 1.67GHz Won't Boot, Doesn't Get Past the Grey Screen

    The other day I was attempting to Safe Boot, and during the grey screen with the rotating cog, I could hear the hard drive spin down, the the display would turn off. The computer worked fine for the next few days, and now when I attempt to boot it (w

  • Foreign trade data for MMR&CMR

    Hi All, Is it manditory to create the MMR with Foreign Trade/Export dara tab for Export Materials, if we select this for what are all settings we have to do. I am getting an error while doing the billing "DOCUMENT XXXXX HAS BEEN SAVED (FOREIGEN TRADE

  • My ipod touch 4 music quality is much poorer with IOS 6 upgrade. How can I get IOS 5 music quality back?

    My ipod touch 4 music quality is much poorer with IOS 6 upgrade. How can I get IOS 5 music quality back? No available eq setting is acceptable. Right now, I feel like driving a nail through it.