How to generate a triangle waveforma array for a particular duration?

I am generating a triangular waveform from a starting potential of 'x' to a switching potential of 'y'. I want to set a hold period after generating the array for a specific time.
For example, after I have generated a triangular signal containing 1000 points, I want to hold the waveform for some duration before applying the potential again. In the attached vi, CreateWaveform.vi, after i get a triangular pattern, I want to insert a hold at the starting/negative potential for a time period determined by the frequency that i set.
Attachments:
CreateWaveform.zip ‏73 KB

what is meant by holding the waveform for some duration? is it a set of new value that needs to be appended to the traigle waveform?
Regards
Guru (CLA)

Similar Messages

  • How to Generate a complex smart form for the Sales Order different pages h

    How to Generate a complex smart form for the Sales Order different pages has different page Layouts  explain me?

    in print program in interface when calling the form there should be some option to tell it to make a NEW spool everytime.
    I have it in mind for sap-script it is ITCPO-TDNEWID. Dont have it in mind for SAMRTFORMS but still it should work somehow similar.

  • How to set a default Billing type for a particular Delivery type

    Dear All,
    How to set a default billing type for a particular delivery type.
    My requirement is, we are creating delivery for a Stock Transport Order. Delivery type is NL and the Purchase order type is UB.
    When we are creating Billing, it should take Billing type "ZSTO" by default, which is the customised Billing type.
    Where we have to do this setting?
    In case of normal sales order, this control will be available in the Sales order document types.
    In case STO, how to set a default billing type for a delivery type (NL).
    Regards,
    Rajesh

    There is a customization available here no default or hard coded
    Normally in a sales doc type we mention which billing type system has to pick
    If the billing happens from a PO which billing type system will take depends on the controls set in the areas mentioned below
    Go to your delivery type OVLK (say your delivery type is NL)
    In that there is a field called default order qty in the order reference tab (say if you maintained DL there)
    This DL is called PSEUDO order type
    Then in VOV8 for DL based on the billing types mentioned ,system will take the billing doc
    For delivery related billing say if you mention say ZF8 in the details of DL in VOV8(provided you have created ZF8)
    Then while you bill the delivery doc of NL system will take ZF8
    For intercompany delivery you can create ZIV billing type also Pure customization
    PO is linked to delivery type ( MM spro settings)--Del type linked to order (pseudo) type---in order type (pseudo) we mention the billing types. Here the flow is bit different that pure SD flow
    Though the invoice is crated by manually putting customized Biiling Type and A/Cing doc also generated, but in the VF04 still system shows the same deliveries pending with Billing Type (F2).
    This manual is not reqd if the said assignments are done properly
    Hope it can assist you.
    Thanks & Regards
    JP
    Edited by: J Prakash on Jun 23, 2010 4:05 PM

  • How can i find the exact BADI For a Particular Transaction

    hi ppl,
    How can i find the exact BADI For a Particular Transaction. Is there any Standard transaction or Programs to do this or suggest some other way.

    Use this code:
    *& Report  ZGET_BADI
    REPORT  ZGET_BADI.
    TABLES : TSTC,
    TADIR,
    MODSAPT,
    MODACT,
    TRDIR,
    TFDIR,
    ENLFDIR,
    SXS_ATTRT ,
    TSTCT.
    DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
    DATA : FIELD1(30).
    DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
    PARAMETERS : P_TCODE LIKE TSTC-TCODE,
    P_PGMNA LIKE TSTC-PGMNA .
    DATA wa_tadir type tadir.
    START-OF-SELECTION.
    IF NOT P_TCODE IS INITIAL.
    SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
    ELSEIF NOT P_PGMNA IS INITIAL.
    TSTC-PGMNA = P_PGMNA.
    ENDIF.
    IF SY-SUBRC EQ 0.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'PROG'
    AND OBJ_NAME = TSTC-PGMNA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    IF SY-SUBRC NE 0.
    SELECT SINGLE * FROM TRDIR
    WHERE NAME = TSTC-PGMNA.
    IF TRDIR-SUBC EQ 'F'.
    SELECT SINGLE * FROM TFDIR
    WHERE PNAME = TSTC-PGMNA.
    SELECT SINGLE * FROM ENLFDIR
    WHERE FUNCNAME = TFDIR-FUNCNAME.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'FUGR'
    AND OBJ_NAME EQ ENLFDIR-AREA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    ENDIF.
    ENDIF.
    SELECT * FROM TADIR INTO TABLE JTAB
    WHERE PGMID = 'R3TR'
    AND OBJECT in ('SMOD', 'SXSD')
    AND DEVCLASS = V_DEVCLASS.
    SELECT SINGLE * FROM TSTCT
    WHERE SPRSL EQ SY-LANGU
    AND TCODE EQ P_TCODE.
    FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
    WRITE:/(19) 'Transaction Code - ',
    20(20) P_TCODE,
    45(50) TSTCT-TTEXT.
    SKIP.
    IF NOT JTAB[] IS INITIAL.
    WRITE:/(105) SY-ULINE.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    *Sorting the internal Table
    sort jtab by OBJECT.
    data : wf_txt(60) type c,
    wf_smod type i ,
    wf_badi type i ,
    wf_object2(30) type C.
    clear : wf_smod, wf_badi , wf_object2.
    *Get the total SMOD.
    LOOP AT JTAB into wa_tadir.
    at first.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 'Enhancement/ Business Add-in',
    41 SY-VLINE ,
    42 'Description',
    105 SY-VLINE.
    WRITE:/(105) SY-ULINE.
    endat.
    clear wf_txt.
    at new object.
    if wa_tadir-object = 'SMOD'.
    wf_object2 = 'Enhancement' .
    elseif wa_tadir-object = 'SXSD'.
    wf_object2 = ' Business Add-in'.
    endif.
    FORMAT COLOR COL_GROUP INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 wf_object2,
    105 SY-VLINE.
    endat.
    case wa_tadir-object.
    when 'SMOD'.
    wf_smod = wf_smod + 1.
    SELECT SINGLE MODTEXT into wf_txt
    FROM MODSAPT
    WHERE SPRSL = SY-LANGU
    AND NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    when 'SXSD'.
    *For BADis
    wf_badi = wf_badi + 1 .
    select single TEXT into wf_txt
    from SXS_ATTRT
    where sprsl = sy-langu
    and EXIT_NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED ON.
    endcase.
    WRITE:/1 SY-VLINE,
    2 wa_tadir-OBJ_NAME hotspot on,
    41 SY-VLINE ,
    42 wf_txt,
    105 SY-VLINE.
    AT END OF object.
    write : /(105) sy-ULINE.
    ENDAT.
    ENDLOOP.
    WRITE:/(105) SY-ULINE.
    SKIP.
    FORMAT COLOR COL_TOTAL INTENSIFIED ON.
    WRITE:/ 'No.of Exits:' , wf_smod.
    WRITE:/ 'No.of BADis:' , wf_badi.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'No userexits or BADis exist'.
    ENDIF.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'Transaction does not exist'.
    ENDIF.
    AT LINE-SELECTION.
    data : wf_object type tadir-object.
    clear wf_object.
    GET CURSOR FIELD FIELD1.
    CHECK FIELD1(8) EQ 'WA_TADIR'.
    read table jtab with key obj_name = sy-lisel+1(20).
    move jtab-object to wf_object.
    case wf_object.
    when 'SMOD'.
    SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
    CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    when 'SXSD'.
    SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
    CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
    endcase.
    Regards
    Vinayak

  • Is there a function for generating a triangle waveform that has both offset and delay?

    I want to have a triangle waveform in which I can set a delay and the width of the waveform (I can achieve this by using  Triangle Pattern.vi). Also I want to be able to give custom values for the min and max amplitude. example I want to be able to set the min amplitude to -1 and max to 6, or any other combination?
    Solved!
    Go to Solution.

    It sounds to me like you are struggling with basic arithmetic. Calculate the amplitude by subtracting the min from the max. Then, from the waveform array, add the min (or subtract the max).
    Message Edited by Dennis Knutson on 01-15-2010 03:46 PM
    Attachments:
    CreateWaveform.png ‏22 KB

  • How to generate several different waveforms on different channels

    Hi,
    I want to generate 4 different waveforms on 4 different channels synchrounously on an external trigger. How can I archieve this
    with WFM_OP?
    thx for help
    Brickwalker

    Are your channels on the same device, or different devices? If they're on the same device, then you'd just use one call to WFM_Op. If you're using multiple devices, you can't use WFM_Op, because it is a synchronous function. You'll have to use the lower-level WFM_Load & WFM_Group_Control asynchronous functions.
    --Joe

  • How to generate a NEW #Mat No for comb made in"Charc & Charc Values" in S O

    Hi Gurus !
    I' m working on VC, What should I do to generate a new material num for Characterstic and characterstic values combination made in sales order screen
    Here is the problem
    My Super BOM is Config Material -- CAR
    10. ENGINE 70 HP WITH 4 SEAT
    20. ENGINE 70 HP WITH 6 SEAT
    30. ENGINE 85 HP WITH 6 SEAT
    40. ENGINE 85 HP WITH 8 SEAT
    My Characterstic and Char Values are
    1. ENGINEPOWER --- 70HP and 85HP
    2. SEATINGCAPACITY -- 4, 6, 8
    In SALES ORDER when I enter CONFIG MATERIAL -- CAR, it takes me to screen
    characterstic and characterstic values screen. I made selection of "ENGINE 70HP WITH 4 SEAT"
    Now my issue is, when I go back to sales order it should generate a new finished material Number "xxx" under Config Material - CAR.

    Hi Gurus !
    I' m working on VC, What should I do to generate a new material num for Characterstic and characterstic values combination made in sales order screen
    Here is the problem
    My Super BOM is Config Material -- CAR
    10. ENGINE 70 HP WITH 4 SEAT
    20. ENGINE 70 HP WITH 6 SEAT
    30. ENGINE 85 HP WITH 6 SEAT
    40. ENGINE 85 HP WITH 8 SEAT
    My Characterstic and Char Values are
    1. ENGINEPOWER --- 70HP and 85HP
    2. SEATINGCAPACITY -- 4, 6, 8
    In SALES ORDER when I enter CONFIG MATERIAL -- CAR, it takes me to screen
    characterstic and characterstic values screen. I made selection of "ENGINE 70HP WITH 4 SEAT"
    Now my issue is, when I go back to sales order it should generate a new finished material Number "xxx" under Config Material - CAR.

  • How to get the connected Adapter Object for a particular BDoc Type?

    Hi All,
    I have a scenario in which CRM system is connected to ERP system.
    In SMW01 transaction, I can see one BDoc with BUS_TRANS_MSG as the BDoc Type in CRM.
    Now, how do I get to know if this one BDoc is a SALESDOCUMENT or SALESCONTRACT.
    Is there any way thorough which I can get to know the Adapter Object for this particular BDoc.
    Regards,
    Madhuri

    Hi Madhuri,
               Happy new year.
    In Transaction : R3AC1.
    You can observe the Linked BDOC for the adaptor objects. For example Sales docuemnt and Sales contrcat will have the same linked BDOC as "BUS_TRANS_MSG".
    If you see an error in SMW01, you want to find whether it is salesdocument or contract.
    1. Please take the Queue name from SMW01.
    from the queue name you can find whether it is sales contract or sales document.
    Queue name is customized in tables: SMOFQFIND.
    I hope this helps you.
    regards,
    Sri...

  • How to disable disclosureClosedIcon on a tree for a particular node ?

    How can I selectively disable the disclosureClosedIcon in  front of a particular tree node and leave the other tree nodes unaffected. If I do myTree.setStyle("disclosureClosedIcon",null);
    Then the whole tree is affected. Please look at the code below.
    <?xml version="1.0" encoding="utf-8"?> 
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application
    xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Script>
    <![CDATA[
    import mx.events.ListEvent; 
    import mx.controls.Alert; 
    import mx.events.TreeEvent;[
    Bindable] 
    public var selectedNode:XML; 
    public function myTreeOpening(event:TreeEvent):void { 
    //How to do the following selectively just for one node. For example if I want to just disable
    //further opening of "Marketing" node and leave the other two
    Alert.show(
    "Trying to disable the disclosureClosedIcon just for the Marketing node"); 
    //myTree.setStyle("disclosureClosedIcon",null);
    ]]>
    </mx:Script>
    <mx:XML
    id="treeData">
    <node label="Mail Box">
    <node label="Inbox">
    <node label="Marketing">
    <node label="Professional"/>
    <node label="Individual"/>
    <node label="team"/>
    </node>
    <node label="Product Management">
    <node label="Professional"/>
    <node label="Individual"/>
    <node label="team"/>
    </node>
    <node label="Sales">
    <node label="Professional"/>
    <node label="Individual"/>
    <node label="team"/>
    </node>
    </node>
    </node>
    </mx:XML>
    <mx:Panel
    title="Tree Control Example" height="75%" width="75%" paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10">
    <mx:Label width="100%" color="blue" text="Select a node in the Tree control."/>
    <mx:Tree id="myTree" width="50%" height="100%" labelField="@label" showRoot="
    false" dataProvider="{treeData}" itemOpening="myTreeOpening(event)"/>
    </mx:Panel>
    </mx:Application>

    Thank you
    but I don't want to modify the underlying xml data by adding isBranch on the node. I just want to modify the display of the data on Tree. The reason is that the xml data is retrieved from database and I can not  modify the XML.

  • How to retrieve the Sapscript layout changes for a particular Transport request in development server after this Transport request so many requests created  ?

    Dear Abapers,
    I request the Abapers kindly reply for this blog
    I want to retrieve the sapscript layout changes for a particular transport request in development server after that many transport request created and moved to quality ? 
    I checked in SE03 transaction the transport request was there.  But I want to retrieve the existing transport request which is not moved to Quality?
    Is it possible to retrieve the existing transport request in development which is not moved to quality ?
    Like how we retrieving the programs using versions in development server,  In the same way I want to retrieve the sapscript layout in development server ?
    Thanks & Regards
    Muzeebur Rahiman.S

    Hi,
    There is no version management for SapScript or Smartforms .
    When you write "transport request in development which is not moved to quality" - was the transport ever released and exported from the development system? If yes, and if the "Transport files" are still available in "Transport directory" (or if the transport files were backed up and could be retrieved), the transport could be imported again. If the TR was not exported, you are out of luck, I believe...
    I would not recommend you do it on your own even if you happen to have enough authorizations (consult with Basis and/or Transport Admin, if you have one in your organization). I would not recommend that it's imported on a development system or QA system, even if the transport contains no other objects - only the SapScript form in question. Import it on a "sand-box" that gets overwritten by system copy from time to time... Once the transport is imported, you should have the old version of SapScript in that system and could analyse the changes and perform manual merge.
    cheers
    Jānis

  • How to find out the set handler for a particular signal?

    I have an interesting puzzle to solve. l'm investigating problems with someone else's code and I'd like to get the name of the handler that is set for SEGV. psig shows that the process catches SEGV, however I don't have access to the source code for all the libraries it links against and none of the source code I have sets a handler for SEGV. Is there a way to find out the name of the signal handler that is set for a particular signal in a process? I'm sure the source was compiled with cc -g. Solaris 8

    Hello Haritha,
    Please follow the path.
    Go to RSA1 -> Metadata Repository ->DataStore Objects(ODS) -> Find you DSO(ODS) there and click on that, you will get all the details(Queries, Objects - Char, Key figures, update rules,etc..) related to that particular DSO(ODS), same is the case for Cube as well.
    Please assign points.

  • How to find out all the OKCODEs for a particular screen?

    I am working on t-code CL20N and trying to record with t-code SHDB, in the second screen when I press enter it is coming out, but when I run CL20N without SHDB it is going through all the screens perfectly, SHDB is not working for CL20N.
    Is there any other way to find out all the OKCODEs for a particular screen/s?

    Hi,
    First look for any push button or menu item which can take you to the second screen instead of hitting enter directly in tcode CL20N . If any such button exist in the TCode, u can use the same button in SHDB also for moving to the  second screen.
    Thanks,
    Rajinikanth G

  • How to get all the approver list for a particular transaction in iExpense

    Is there any API to get all the approver list for a particular transaction in iExpense workflow after submitting an expense report?

    Hi All,
    Could anyone please let me know API to get all AME approvers in one go.
    I am currently using below API to get approver list.
    ame_api.getallapprovers (applicationidin => 201 , -- PO
    transactionidin => l_document_id , -- req header id
    transactiontypein => 'PURCHASE_REQ'
    ,approversout => l_appr_list
    But if any of the approver is INACTIVE then API is going into exception and not showing all approvers. Requirement is like to show all approvers with their statuses (ACTIVE / INACTIVE).
    Reply ASAP.

  • How to restrict  tcode va01/va02/va03 for a particular role

    hi ,
    I have a requirement . I need to restric user fro VA01/VA02/VA03 if the user has role and Sales order customer group is related to a particular group .
    Do we have a Function module to get a role for a user  or can we write a code as authorization level or do we need to write it as user exits of va01/va02/va03 .
    Regards ,
    Prakash

    hi All ,
    My issue is I need to restrict the tcodes for a particular customer group is there in the sales order , that means it is order specific and I already know for which roles it is to be checked .
    Now can  we write any check in pfcg tcode so that we can check at particular group or need to handle at user exit level .
    Thanks in advance .
    prakash

  • How to use AI acquire waveform.vi for continuous acquisition

    Hello all,
    I am using LabVIEW 5.1 and PCI-6023E to acquire a voltage signal continuously, display the acquired data on a chart(display one minute of data at a time)then save all the acquired data to a spreadsheet file.
    When I used the random number as a signal to develop my program; everything has worked as expected. However,it is not working now as I replace the random number with a real voltage signal using the AI Acquire Waveform.vi. I have encounterd several problems:
    1/ Only display one second of data at a time.
    2/ The elapse time that I have calculated does not match with the time display on the chart.
    3/ The program runs very very slow when I increase the number of scans
    to acquire to 1000, but my program need to acquire the signal for 15 minutes at a rate of 50Hz(50sample/second); it is about 50,000.00 samples.
    Do you have any idea how should I do to make it works? I am a novice in LabVIEW; any help would be greatly appriciate.
    Hao
    P.S: I've attached my program if you want to take a look at them.
    Attachments:
    Acquire_Using_Random_Number.vi ‏89 KB
    Continuous_Acquire.vi ‏96 KB

    Helleo Labviewguru,
    Yes, I did tried to see those examples but I could not display on a chart nor store to an array and save to a spreadsheet file when I used the AI Config.vi, AI Start.vi and the AI Read.vi(in a while loop). Can you please help me with this.
    Thank you in advance.
    Hao

Maybe you are looking for

  • Set Text of Container to HTML not working

    I have a div tag named "theAnswer" on a page. When the user clicks the "Submit" button, I want some text to appear inside the div that has HTML formatting. The HTML code for the text I want to appear is below: You are correct!  We are committed to co

  • Issue with Site Configuration / Load Balancing

    We’re noticing strange behavior with our servers that are configured behind a load balancer. We’ve got two servers with different ports and a load balancer: Server1: https://host1:30003/opensso Server2: https://host2:30103/opensso Load Balancer: http

  • Call DLL function with pointer to simple struct

    Hello, I try to call a function using CLFN. My problem is the parameters of the function I try to access. Here is the function and his parameter: typedef struct { int major; int minor; int revision; int build; } VersionNumberType; int Comm_BTE_softVe

  • Previously downloaded apps in the app store are not downloadable any more

    I had deleted apps on my iPad2 and now I'm trying to re-download them again from the Apps store, but these apps are dimmed in color, which indicates that I'm unable to download them any more. (The cloud is grayed out). Can anyone help?

  • Best jpg quality for website work?

    I realize that 72 dpi is the best resolution to use for website images, but at what quality level should I export my image files (1-12) ?