How to create a feedback control system in labview with an integration block?

Hallo,
I design a model of a simple mechanic system composed by one damper, one mass and one spring.
I would simulate a free response of this mechanic system, but I don't be able to integrate the mechanic state in Labview.
Seeming that the integration block in LabView produce a wrong answer.
I've attached this model create in Labview 8.2.1.
Thanks in Advance
Michele
Attachments:
Sistema dinamico6.vi ‏462 KB

Michele,
First of all, when you are trying to develop a Dynamic Simulation, I strongly recommend that you use the LabVIEW Control Design and Simulation Module (http://sine.ni.com/nips/cds/view/p/lang/en/nid/203826), or, for LabVIEW 8.2.1, the LabVIEW Simulation Module. They allow you to develop your dynamic simulation natively in LabVIEW, specially in the case that you have feedback loop in your code (which is your case).
Now, looking at your program, I have several recommendations that would help you to better control your simulation. First, avoid using the Dynamic Datatype (Blue wire) in you simulation. For example, you are generating a Waveform inside the loop and you are just getting one element of the first batch. Probably, you want to generate only one element per iteration of the while loop and apply that to your equation. If that is the case, you should remove the "Simulation Signal" express VI and use the Point-by-point VI (located at Signal Processing Pallette). There you can also find an integration VI that allow you to define the sampling time for your application.
Also, the feedback node that you are using will introduce one sampling time to your simulation, which mean that, if your simulation and equations are not correctly setup to take that into account, your simulation will be incorrect. If you were using the Simulation Module, it would take care for your to do the correct integration, additional to allow using different solvers (like RK 4-5) to reduce the error on the integration.
Hope this helps. Let me know if you have more questions.
Barp - Control and Simulation Group - LabVIEW R&D - National Instruments

Similar Messages

  • How to create a TDMS control system?

    Is it as simple as
    1) install an ECC
    2) install TDMS add-on?
    Please confirm.  Thanks!

    Refer these notes,
    Note 890797 - SAP TDMS - required and recommended system settings
    Note 877860 - Installation of DMIS 2005_1
    Note 970531 - Installation and delta upgrade of DMIS 2006_1
    Note 970532 - Installation of DMIS Content 2006_1
    Note 1244346 - Support Packages for TDMS (add-on DMIS, DMIS_CNT, ...)
    https://wiki.sdn.sap.com/wiki/display/TDMS/TestDataMigration+Server?showChildren=true
    Regards,
    Ravi

  • How to create a table control in Business HTML??

    Hi All,
    I dont have much knowledge about Business HTML. Can anyone tell me how to create a table control. The requirement is to accept two fields from user and then on click of a button get these values populated on a table control. Can u pls help me out on this??
    Also to create the table, I tried using SAPTemplateTableBegin()functions, but using these functions gives me an error. Is the because the standard SAP template files does not exist or what??

    Hi Raja,
    My first approach was the same as u said but the issue is when i try to generate a template i.e. (system generated template), the generated template uses standard TemplateLibraryDHTML.html functions like `SAP_TemplateHeader()`
    `SAP_BodyContentBegin()`
    `SAP_FormBegin()`
    The above all is not supported in our client's ITS and so we have to manually create a table control using the step loop functions in DHTML and correspondingly FIELD-SET in ABAP.
    We could successfully do this but as i mentioned in my previous message, we still have to make the table entries editable and refresh the internal table when the values in the table are changed.
    Pls help!!
    Rgds,
    Swapna.

  • How to create test database in system (have downloaded mxdb)

    how to create test database in system (have downloaded mxdb)...Can someone pls help as I am new to SAP

    Hi amit,
    the maxdb documentation gives all information which is needed:
    Install the software with SDBSETUP:
    <a href="http://maxdb.sap.com/currentdoc/4c/da3b3c51bd4b3ae10000000a114084/frameset.htm">Installation</a>
    Create a database with DBMGUI
    <a href="http://maxdb.sap.com/currentdoc/84/d8d192570411d4aa82006094b92fad/frameset.htm">Create Instance</a>
    Reagrds, Christiane Hienger

  • How to create Rfc for EP system in Solution manager

    Dear experts,
    I am doing ChaRM configuration for my EP system ( java only).
    I also configured CTS+ successfully but we want to integrate this with Chram in solman.
    I have done all configuration according to standard doc for ChaRM.
    But when creating project from solar_admin it is giving "   NO RFC for DEP system"
    so please suggest me how to create RFC for java system in Solution manager.
    thanks in advance
    dhiraj

    Hello,
    You need to setup an ABAP communication client and system, that's done through the TMS settings:
    For source system:
    - CTC                                              1
    - CTS_SYSTEM_TYPE                          JAVA  (others for a MDM system)
    - NON_ABAP_SYSTEM                          1
    - COMMUNICATION_SYSTEM:              (SAPSID of the ABAP communication system (e.g. the domain controller))
    - NON_ABAP_WBO_CLIENT                    (Client of the ABAP stack on which the Transport Organizer Web UI (CTS_BROWSER) is activated and will run.)
    - WBO_GET_REQ_STRATEGY                 TAGGED
    - WBO_REL_REQ_STRATEGY                 MANUAL
    For quality and production Java system (target systems):
    - CTC                                              1
    - CTS_SYSTEM_TYPE                          JAVA (others for a MDM system)
    - NON_ABAP_SYSTEM                         1
    - COMMUNICATION_SYSTEM:                 (SAPSID of the ABAP communication system (e.g. the domain controller))
    - DEPLOY_WEB_SERVICE                       CTSDEPLOY
    - DEPLOY_DATA_SHARE:
    When this is done correctly, you will see the fields ABAP communication system and client populated in SMSY.
    When ChaRM needs to operate on the non ABAP systems, it will take the RFCs for the communication system and client.
    Best regards,
    Miguel Ariñ

  • How to create a DB Source system in BW

    Hi Guys,
      Can anybody explain me how to create DB Connect  source system in BW.
    Points will be awarded.
    Thanks,
    Chinna

    Hi Chinna,
    Below are the steps to be followed for the SS creation in BW :
    Prerequisites :
    1.System Number
    2.System IP address
    3.ALEOLTP like userid and password – this is the RFC user ID in the R/3 system. Usually set to communication - must be set to dialog in the R/3 Source System for the duration of the create/restore connection process.  Note: the password must be in capital letters.(If all instances are in unicode system)
    1.At the time of making the connection, the R/3 source system will need to be opened for client independent configuration.
    2.If it is a connection create or restore, the personal userid of the person doing the work must have SM59 access.
    Follow the naming convention which is being used in your system.
    1.     Logon to r/3 source system using the r/3 RFC userid to check that the userid has been set to dialog user. It is mandatory that the r/3 source system userid be setup temporarily as dialog to create the connection. If not contact the requester to have this done before continuing with the next step.
    Note: When re-checking to ensure that the r/3 userid is a dialog user, you may get prompted for new password. Change password, and make a note of the new password. Use this new password in the steps that follow for the r/3 RFC userid.
    2.     Logon to BW system using your own userid.
    3.     Enter transaction RSA1, In Source Systems, right-click on Source Systems as shown below to create new connection.
    4.     In the screen select the appropriate Source System connection type. Suppose your  are creating connection for r/3 instance, so in this case we pick the very first option.
    5.     A popup window will get displayed asking for the necessary information. To fill in the appropriate information in the that screen you need the following information concerning the r/3 source system.
    •     IP address (Application Server) &
    •     System Number
    Get this information for the r/3 source system from the SAP Logon Pad.
    6.     If Parameters have been incorrectly entered  then  the following error message will appear : “Check connection parameters for the source system”.
    7.     Re-check and re-enter correctly. If all is good then You will see the following prompt : Please log on as an administrator in the following screen.”Click green check to continue.
    8.     This will bring you to the r/3 logon screen. Logon using the r/3 RFC id. Once logged on click Check in ‘Check RFC destination’ dialog box.
    9. Consider the r/3 RFC destination screen.
    10. Check to make sure that BW system information (Userid, IP address, System Number etc) is correctly showing in the Technical Settings and Logon/Security tabs. Next do the following,
         Step 1: Enter password for the BW RFC userid id.
         Step 2: Save Settings
         Step 3: From Test Menu , click on authorization. Ensure there are no errors
         Step 4: Back out of screen.
    11.     System may ask you to logon as administrator again. Logon as in Step 10. This time click on Use in ‘Check RFC destination’ dialog box.
    Connection related processing will start up at this time, and continue for a little while (can be a couple minutes or more).
    12.     Subsequently, a dialog box will show up on the screen.
    13. Pick option, Replicate As Well.
    Replication and activation of data sources & transfer structures will begin.
    With the completion of this step you will have successfully established this source system connection. To confirm, right-click on the new source system entry and click on check
    14. If the connection is good, the following message with the source system ID will display at bottom left corner of screen : Source system connection is Ok”.
    Hope this will be helpful to you.
    Thanks & Regards,
    suchitra.V

  • How to Create  Software components , Technical systems , Business Systems

    Hi,
    How to Create  Software components , Technical systems , Business Systems and Logical Systems
    and Link between them. foe different adapters.
    Ponts will be awarded..
    Regards,
    Jayasimha Jangam.

    Steps to create software component,
    1. Goto SLD --> Software catalog
    2.select new product
    3.Fill the Vendor, Name , version and choose create
    4.now go back to the SLD main page and then choose software type as sofware component
    5. select new component and in the next page select your product which you have created in the previous step
    6.then give your vendor, name and version and choose create
    7. now the sofware component is created, you can import the same in you integration repository for your scenario
    Go through the following link which gives you a clear idea about technical, business systems,
    http://help.sap.com/saphelp_nw04s/helpdata/en/24/8fa93e08503614e10000000a114084/frameset.htm

  • How to create Dynamic Table Control

    Hi
    How to create Dynamic Table control , The field names and values to be displayed in table control are to be fetched from Add-on Tables.
    Regards
    Prasath

    Hi Jonathan,
    Actually the columns to be displayed are not constant . It will be increased based on the database values, Anyhow it will not exceed 100.
    Please confirm my understanding.
    1. In this case I have to create 100 custom columns and make it visible / invisible based on my requirement and I can set the title at runtime.
    2. How can i assosicate / reassociate the datadictionary reference for the columns that i use. Because I need to show the search help values for the
    dynamic columns.
    Your opinion on this will be helpful.
    Regards
    Prasath

  • How to create the composite control with textinput,button and grid.

    I have created the application having two Textinput  and three button and a DataGrid.
    1. on click of first button next to "select a value" , a DataGrid will be open.
    and i am using all the functionality of DataGrid.
    2. now by using all of these control i have required to create single composite control.
    plz help me how to create this composite control.

    Right click the graph and select Create>Property Node. On the diagram, find the property node, right click it and first select Change All to Write. Right click again and if you select Properties, you will see a list of all the available properties for the graph. The properties you want are XScale.Minimum, XScale.Maximum, XScale.Increment, YScale.Minimum, YScaleMaximum, and YScale.Increment. You can grow the single property node to have as many properties that you want. Once you have all the properties created, create front panel controls and wire them to the property node. See the attached picture.
    Attachments:
    graph_properties.jpg ‏16 KB

  • How to create an activity when system finds duplicate record!!

    Hi CRM Experts,
    I am working on CRM 5.0. We are uploading contact details to CRM through ELM.
    Here My queries are:
    1) How to create An Activity when system finds duplicate record?
    2) By using ELM we can create BP with Activities and BP with Leads. But Here, my scenario is we have to Create BP with leads and Acivities. can any one help me on these areas?
    Thank in Advance.
    Sree

    Hi Sree,
    I can help you with your first query.
    When the system finds a duplicate record then either the system stops working further or proceeds with the error free record.
    So once the duplicate entry is found only the first record will be considered and not the second or the duplicate record.
    Regards,
    Rekha Dadwal
    Kindly reward with points if usefull !!!!

  • How to create tables for control data

    HI
    How to create  tables for controls of types of data (screen control)? what is the process for this
    Regards,
    Anil

    Well, do you want to do it the easy way?  If so, then just create a table maintenance program.  You can do this via SE11, utilites, table maintenance generator. The table maintenance will be generated and you can then maintain the table via SM30. 
    If you want to go the more challenging way, you can write your own table maintenance program using a table control on your screen.  You can use the table control wizard to help you along.
    Regards,
    Rich Heilman

  • HT3597 How do you exit voice control on iPhone 4, with iOS7.1.1?

    How do you exit voice control on iPhone 4, with iOS7.1.1?

    capsjenwalker wrote:
    How do I disable Voice Control all together on a 4?
    Sorry, you can't. There is no setting to completely disable such.

  • How to create a new Oracle OSB project automaticaly with script without IDE

    Hello,
    I want to create automatically an "Oracle service bus project" and an "Oracle service bus configuration project" with scripts (ANT or Maven or ...) without using IDE, without using workshop or Eclipse. I want to create automatically (ANT or Maven) just a skeleton of an OSB project witch i can use after in workshop.
    I want to create 1 "Oracle service bus configuration project" with many "Oracle service bus project" automatically (ANT or Maven or scripts) witch i can use after in workshop. How to create a new Oracle OSB project automaticaly with script without IDE ? How can i do this ?
    I'm using Oracle service bus 10.3.1
    Thank you for your help.

    Thank you for your response,
    I do not want to just create the services (proxy services and business services) but I want to create a template for 40 OSB project with the same scripts ANT/Maven.
    Template="Oracle service bus configuration project" + "Oracle service bus project" + services of 40 OSB projects
    The goal is that I have more than 40 projects to create and just the name of the projects that changes (when I say the name of the project ie the name of the OSB project, the name of proxy services and the name of business services ).
    So I want to give my script (ANT/Maven) the name of 40 OSB project and the script must generate the skeleton of the 40 projects at once time and after generation of skeleton of the 40 project, I will import them in the workshop to add manually mapping and routing and other things that differs from one project to another.
    So i want to generate automatically a skeletons of 40 OSB projects using a script (ANT / Maven) and I give to the script juste the names of the 40 projects.
    I want to create a "Oracle service bus configuration project" and "Oracle service bus project" automatically of 40 OSB projects (ANT or Maven or scripts) witch i can use after in workshop.
    I want to create one 'template' of all 40 projects in the same time, with the same directory structure (Transforlation, Business services, proxy services, WSDL .....) and all 40 project have the same transport, just the names of projects and services witch changes and i can give to the script all names of projects and services and i can give also all WSDL.
    Regards,
    Tarik

  • How to create and read text file using LabVIEW 7.1 PDA module?

    How to create and read text file using LabVIEW 7.1 PDA module? I can not create a text file and read it.
    I attach my code here.
    Attachments:
    File_IO.vi ‏82 KB

    Well my acquisition code runs perfect. The problem is reading it. I can't seem to read my data no matter what I do. My data gets saved as a string using the array to string vi but I've read that the string to array vi (which I need to convert back to array to read my data) does not work on the pda. I'm using version 8.0. So I was trying to modify the program posted in this discussion so that it would save data from my DAQ. I did that but I still can't read the data after its saved. I really don't know what else to do. All I need to do is read the data on the pda itself. I can't understand why I'm having such a hard time doing that. I found a possible solution on another discussion that talks about parsing the strings because of the bug in the "string to array" vi. However, that lead me to another problem because for some reason, the array indicators or graphs don't function on the pda. When i build the program to the pda or emulator, the array indicators are faded out on the front panel as if the function is not valid. Does this kind of help give a better picture of what I'm trying to do. Simply read data back. Thanks.

  • How to create users and groups using WLST Offline with Weblogic 8.1.4

    How to create users and groups using WLST Offline with Weblogic 8.1.4?
    Any ideas?

    Hi this is how i created a user using WLST Offline?
    cd('/Security/' + domainName)
    # Delete the default user name weblogic
    # incase you want to remove the defualt user weblogic
    delete('weblogic','User')
    # Creating a new user defined
    create(userName, 'User')
    # Setting the password of the user you created.
    cd ('/Security/' + domainName + '/User/' + userName)
    cmo.setPassword(password)
    Regards
    Makenzo

Maybe you are looking for

  • OBIEE 11g installing in Linux. domain creation error

    Hi, OBIEE 11g installing in Linux server now. domain creation is in progress for about an hour and in log I can see below error. Creating a new AdminServer Object ... AdminServer port is 7001 Starting the domain ... java.lang.OutOfMemoryError: PermGe

  • Period Key Causes Return

    This is similar to a previous post, but no one has posted a solution. "This may be strange, but when I type a period "." strange things happen in Mail and Safari! It is as if when typing a period it is like hitting the return key! Forinstance, if I'm

  • The IRM Issue of PDF File

           Hi,now there is a demand in my project,we know that we can encrypt a pdf file,set the permissions that whether the users can copy/print from pdf-files,             now we want to set a timespan of these permissions, for example: before Dec 31,

  • Can't Uninstall Rescue and Recovery on my Lenovo 3000N100 laptop, using XP

    Hi yesterday I tried to update to Rescue and Recovery 4.21, but didn't uninstall my previous version. However  when I was trying to install the 4.21 it asked me if I want to replace this file with another and I said yes to all.  When I did try to  un

  • How to get User's Name and Email to use in an InfoPath Form?

    Hey guys, I created a form that MUST have the user filling it out and his/her email in it, but I don't want the user to type it, instead I'd like the form to get it from Office 365 AD, since this form is in Sharepoint Online via Office 365. How can I