Adding Proportional control using NI LabView Control Design Toolkit

I was just wondering is it possible to add a proportional control to your program using the NI Control design toolkit? There is a PID control fuction available, but i just want the P
Thanks

LC87,
A proprotional controller is equivalent to a multiply, so you could just create a transfer function with Numerator=[Kp] and Denominator=[1].  You could also use the CD Create PID Model (Parallel) with zero wired to the Integral Gain (Ki) and Derivative Gain (Kd).  If you are going to implement this in a Simulation Loop, then all you need to do is use a multiply primitive.
Chris M 

Similar Messages

  • Problem using PID toolkit and control design toolkit to design the closed loop system. (for DC motor closed loop)

    Hi, i have facing some problem during i upgrade a project. This project is an opened loop system, it only achieved up to controlling the speed of motor, detecting the speed of motor, and switching the direction of motor while controlling the motor (This motor is a 12 VDC motor).
    In order to improve the project, closed-loop dc motor control system will be implemented to correct the error of the motor's speed and maintaining the speed for the initial setting. I would like to use PID control method to do the closed loop system.
    I already installed the PID toolkit V8.2 and control design toolkit V2.1.2, and i'm using DAQ usb 6221, LabVIEW 8.5
    Below is my problem.
    http://img177.imageshack.us/my.php?image=howtocreatethesetpointnx2.jpg
    question: 1. How to generate a icon for set point? my setpoint is duty cycle...
                    2. How to feedback the output duty cycle to summing junction?
    below this is my basic concept
    http://img237.imageshack.us/my.php?image=closedloopbz5.jpg
    Problem 2:
    http://img357.imageshack.us/my.php?image=problem1yk2.jpg
    question: Why PID toolkit icon cannot wire to cd series.vi?
    Below is my original program...
    http://rapidshare.com/files/140538836/pwm_generate-final_PSMII.vi.html

    Hi Cyrus
    Have you had the opportunity to see our
    developer zone site on the PID toolkit? This article also has sample
    code at the bottom that may help you in developing your application. I
    have also linked below knowledge bases regarding setting a point
    profile and generating a PWM from a digital output line. 
    PID toolkit
    http://zone.ni.com/devzone/cda/tut/p/id/6440 
    How to generate a set point profile:
    http://digital.ni.com/public.nsf/allkb/125F27AC143B6AFD86256C2B0004A4DC?OpenDocument
     How to generate a PWM on a digital output line:
    http://digital.ni.com/public.nsf/allkb/1561D31534F07D608625727900391114?OpenDocument 
    Thank You
    Eric Reid
    Thank You
    Eric Reid
    National Instruments
    Motion R&D

  • How do I put data into a template using the Labview report generation toolkit for Microsoft Office?

    I am running Lookout 5.0 and have recently purchased the Labview Report Generation Toolkit for Microsoft Office to create reports from my Lookout logged data. Since I have never used Labview I am having my problems. I tried following the tutorials but they do not seem to be examples of what I want to do.
    I log rainfall totals (1 spreadsheet)in Lookout from 40 different sites in 5 minute increments. I copy these totals and paste them into another spreadsheet which sums them up to give me hourly totals and then paste those totals into a spreadsheet for distribution.
    In Labview I create a new report and use the distribution sheet as my template, but how do I complete
    the steps of loading the raw 5 minute data into labview and then paste it into the hourly total spreadsheet and then transfer those totals into the distribution template?
    I have been trying to figure this out for over a week, and I am getting nowhere.
    Any response would be appreciated.
    Thanks
    Jason P
    Jason Phillips

    Lookout saves the files in .csv form which can be opened in Excel. I did make some progress by using the "append table to report" vi which allowed me to put values into an array and then those values were entered into my template on my report vi.
    Where I am stuck now is I want to be able to put values into my template from a .csv file, not from an array I have to manually put numbers in.
    Once those values are in my template I want to pull summed values from the template and place them into a final excel file for printing.
    I have attached examples of the files I am working with to help you better understand what I am trying to do.
    I hope that makes sense.
    Jason Phillips
    Attachments:
    HourlyTotalsTemplate.xls ‏120 KB
    eb_rain_gauge_ss.csv ‏23 KB
    EastBankHourlyRainReport.xls ‏28 KB

  • How to set tabstops in MS Word using the LabVIEW Report Generation Toolkit

    Using the Report Generation Toolkit of LabVIEW, I need to set multiple tabstops that very in distance in MS Word.  I also have different sets of tabstops that I use and re-use at different times in the same report.  Is there a way to set the tabstops under program control?  I searched through the various VIs and found that there is a property ("Tabstops", "Word.Tabstops") in the _ParagraphFormat property node that refers to tabstops.  I found it in the Word Format Paragraph (adv) VI.  Unfortunately, I could not determine how to use it.  Any suggestions?  Is this an operational element?

    Bluebell,
    Sounds like you've already done some fantastic work to expose the various properties and methods of MS Word. It took me about 20 min before I could find the specific property that you were talking about! I found it under Word.Document>>Paragraphs>>Tabstops>>Add. There is a position, alignment and leader parameter that you can set from this property node. I've found that the best way to discover what these parameters do is to simply experiment. You could also try using the macro recorder in Word, perform the specific task, and then look at the code generated. I'm guessing that position sets the position of the tabstop itself. It sounds like your application is really specific. For such a specific task, I think I'd write a macro and call that macro from LabVIEW.
    Chris Cilino
    National Instruments
    LabVIEW Product Marketing Manager
    Certified LabVIEW Architect

  • How do I show a Waveform using the Labview Report Generation Toolkit?

    I am using LV 6.0.2 & have charts that consist of Waveform array type data - how do I break this down properly to using in Easy Graph.vi for the report generation tool kit which accepts on 2D arrays ?

    It looks to me like you want to use the Get Waveform Components VI in the Waveform Subpalette on the Functions Palette. The Waveform data type is a cluster of three elements, one of which is the data array. Because you have an array of Waveforms you will want to extract the data from each waveform in the array and build a 2D array of data for the Report Generation VI. The easiest way to do this would be auto-indexing into a for loop. The for loop should have the Get Waveform Components VI in it and then each data array (1D array) will be added to a 2D array using auto-indexing on the way out of the for loop as well.
    Hopefully my description was able to help out. I am including a bit of code which isn't really useful other than illustrating the code I des
    cribed above. It simply takes an array of waveforms, extracts the data and creates a 2D array of data.
    As a side note, I find the Context Help Window extremely useful when using new data types. This is especially true when using Graph and Charts
    Good luck!
    -scraggs99
    Attachments:
    Waveform_Array_to_2D_Data_Array.vi ‏30 KB

  • How to save Charts to a word document using LabVIEW Report Genereration toolkit?

    I just started using the LabVIEW Report Genereration toolkit, but I can't figure out how to save Waveform Charts (one dimensional data versus time, instead of Graphs) to a Word document. Can somebody give a suggestion? Thanks!

    Nina,
    In MS Word, you have 2 options when you select Insert Object:
    Microsoft Excel Chart
    Microsoft Graph 2000 Graph
    If you select Insert Picture, you can choose Chart. This is the same chart as when you select Microsoft Excel Chart.
    To insert this chart, you will use Word Insert Graph.vi. This VI calls Word_Insert_Chart.vi, that uses ADO object Graph.Chart and its properties and methods.
    From the Microsoft Help:
    Create a chart by using Microsoft Graph
    When you create a chart by using Microsoft Graph, a chart and its associated data are displayed in a table called a "datasheet."
    Zvezdana S.
    National Instruments

  • LabView database connectivity toolkit 1.0.1 compatibility with MS-ACCESS 2010 / Labview report generation toolkit for Office 1.1.3 compatibility with Office 2010

    In the very near future we will be forced to upgrade to Office 2010 Company wide and I am a little concerned with some of our older test platforms that have applications built in LabView 8.2.1.  These applications save data to MS-ACCESS 2000 databases using the LabView database connectivity toolkit 1.0.1.  Office 2003 is also loaded on these test platforms with all test reports generated using the LabView report generation toolkit for Office 1.1.3.
    I have not gotten my hands on a copy of Office 2010 yet to see if there will be any compatibility issues.  Does anyone have any experience in this area?

    The MS-Access part is fairly well isolated through the ADO interface LabVIEW uses. The only possible problems there IMHO are difficulties with possible Acess compatibilities itself such as an example, SQL statement you may have invoked directly through the ADO interface. Maybe you did use a depreciated command back then that has since been removed. As long as the only thing you do are simple INSERT and SELECT statements only, I would expect it to just keep working.
    The Report Generation interface is a different beast. Microsoft manages to change the Automation interface with every version of office in a way that strongly binding applications like LabVIEW break on. There is no good way around that except not changing those methods, but that is a cause that has been lost already. You will certainly have to verify the version dependant Report Generation API VIs to still work with Office 2010 and most likely you will have to make some changes to those VIs to make them work again with the modified ActiveX interface of Office 2010. Note, that I have no experience with porting report generation to Office 2010 but I have had some headaches from porting that between Office 97, 2000, 2003, and 2007.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • LabVIEW Control Design can't multiply an improper TF with a proper TF

    I'm calculating a dynamic inversion where I need to multiply two transfer functions,
    H = inv(G1)*G2.
    All transfer functions G1 G2 and H are proper. However, inv(G1) is improper. Even though the resulting H is proper LabVIEW's Control Design tool fails to perform the multiplication complaining that one of the systems is improper. Works fine in Matlab.

    Sorry, I forgot to add that I'm not using DAQmx, but doing it manually. I'm a beginner at this and am really stuck.
    I've attached my basic file to the post so you can have a little look, and a screenshot as you may not be able to open some parts of the file due to my non-popular DAQ board. Please note that the DA value is not required, as I'm using the control ouput instead of this, and that the chart has now been modified to show error vs controlk output.
    If I could get some help, I'd be extremely grateful.
    Attachments:
    2026_ReadSingleAD_LiteExperiment3Modded.vi ‏37 KB
    fd.JPG ‏122 KB

  • LabVIEW Control Design and Simulation Module version 2013

    I have had Labview downloaded for quite some time now. Downloaded control design and simulation module. Installed it. When i go to use it in the
    functions menu, only the window appears. Opening it shows an empty window. I have attached a screenshot of the issue. Could someone please explain to me what the problem is and how I can go about fixing it?
    Attachments:
    Labview screenshot.docx ‏998 KB

    As Altenback said, It is very possible it expired or it needs activation. To see for sure, go to your "NI License Manager" and expand the Modules. you should see:
    If not green then you have to fix the license.
    Barp - Control and Simulation Group - LabVIEW R&D - National Instruments

  • No lo puedo instalar labview 2011 Control Design and Simulation

    no e podido encontrar la verision para instalarlo agradezco si alguien me puede ayudar y guiar  en la instalacion 

    Hola, [email protected]
    Gracias por utilizar los foros de discusión, en el siguiente link puedes descargar el módulo LabVIEW Control Design and Simulation 2011.
    www.ni.com/download/labview-control-design-and-simulation-module-2011/2554/en/
    ¡Saludos!
    David P.
    National Instruments
    Ingeniería de Aplicaciones
    www.ni.com/soporte
    David P.
    National Instruments
    Applications Engineer
    www.ni.com/soporte

  • I wish to control pneumatic proportional valve using NI 9263 but requires 5 mA control signal 0 to 10v

    I wish to control a pneumatic proportional valve using the NI 9263 analogue voltage output module.  The module can only supply 1 mA and the valve requires about 0 to 10 volt @ ~5 mA. I have considered using an OP amp in unity gain buffer.  Any suggestions / circuit examples ?
    regards Slopey

    We usually use an Analog Devices or Dataforth isolated 5B module 0-5Vdc input to 0-10VDC output. This seems to work nicely.
    Tim
    Johnson Controls
    Holland Michigan

  • Poll - Which Version Control Software Do You Use With LabVIEW?

    I wish the forums had a poll feature. I created a poll in the developer community - Which Version Control Software Do You Use With LabVIEW?
    http://decibel.ni.com/content/polls/1818
    Edit: I just saw that there already is a poll for that
    http://decibel.ni.com/content/polls/1050
    =====================
    LabVIEW 2012

    julieann wrote:
    You can use a source control provider to share files among multiple users, improve security and quality, and track changes to shared projects. Use LabVIEW with third-party source control providers so you can check out files and track changes from within LabVIEW. See info. here.
    Looks suspiciously like someone trying to increase hits on their blog. A coincidence that it was posted the same day as the blog post?
    Message has been reported to the moderator. Laura can decide whether or not it's appropriate.

  • (Control Design & Simulation) State-Space block doesn't give output

    I've tried and tried but can't get the State-Space block module to give me a graph / output.
    I have no idea what the problem is and hope that somebody can help me. The numbers and calculations work in Matlab (Simulink) but i can't get it to simulate in labview. 
    Anybody got any ideas?
    Solved!
    Go to Solution.
    Attachments:
    Cavities.vi ‏30 KB
    Matrixes.vi ‏27 KB

    The problem is that you are assuming that LabVIEW executes left to right. Dataflow doesn't work this way. Your code as this:
    does not tell LabVIEW that it has to execute everything from left to right. What is happening is that he is executing the 3 'island' of code in parallel and, in this case, it will have 'empty' values. You have to remove the local variables to make this work and dataflow paradigm will execute your code from left to right, as you want. here is the code:
    Also, one more thing. Your input to the "CD Linear Simulation" is all zero. That means that you are trying to input zero input to a linear system, which will give you a zero output to the response. You probably do not want that since zero as input doesn't give you any more information. If you want to see how to system goes to zero after initial conditions, you should use "CD Initial Response". Or you should modify the input signal to the system. Please study this shipping example to understand how to use Linear Simulation and Initial Response:
    C:\Program Files (x86)\National Instruments\LabVIEW 2012\examples\Control and Simulation\Control Design\Time Analysis\CDEx Time Domain Analysis.vi
    Hope this helps...
    Barp - Control and Simulation Group - LabVIEW R&D - National Instruments

  • Control design and simulation module

    Hi,
    I am new to Labview and i am trying to work on Control System design. I have downloaded and installed the Evaluation Module of Control Design and Simulation Module. The problem I am facing witht this is its not showing any control fuctions in functions Palette. While installing it said its installing only control design and simulation assistant. Please, can anyone help with this.
    I am actually looking at this module to implement Sliding mode control for non linear systems. I would like to know if there are any examples to implement this??
    Thank You.

    Hello
    The problem is the following. The version of LabVIEW that you are using does not match the version of the evaluation version of LabVIEW Control Design and Simulation Module (CD&SIM). If that happens, the installer will not select the support files for your LabVIEW. If you download LabVIEW 2011, then you must install CD&SIM 2011.
    Now, the module in the current version does not have an example with sliding mode control. But using this module, you can easily implement the algorithms and simulation its result using the Control and Simulation Loop.
    Hope this helps.
    Barp - Control and Simulation Group - LabVIEW R&D - National Instruments

  • Control Design and Simulation palette doesn't appear

    I'm using LabVIEW 2009 in Professional License. I've installed Control Design and Simulation Module with its all other required Toolkits. The problem is that Control Design and Simulation palette  doesn't appear in the Functions Palette in any VI. Please help me with that.
    Adeel Amin
    NED University of Engineering & Technology
    Solved!
    Go to Solution.

    If you run NI License Manager, Expand LabVIEW2009>Modules>Control Design and Simulation.Can you verify that you have that directory and what is the color of the cube right next to it?
    Andy Chang
    National Instruments
    LabVIEW Control Design and Simulation

Maybe you are looking for

  • Error compilng servlet - even after including servlet.jar in classpath

    I have the tomcat installation , which shows the default page on stating the tomcat. I have my classpath set to - set CLASSPATH=c:\tomcat4.1\comman\lib\servlet.jar;c:\j2sdk1.4\lib\tools.jar; set PATH=c:\j2sdk1.4\bin; I have a greetserv.java which is

  • How to Find out Users with Hardware Phones

    Hi, Is there anyway that i can create a report that which Users are using IP Phones (Physical) and which users are using soft Phone (Lync Client on PC). Regards Usman Ghani Usman Ghani - MCITP Exchange 2010

  • TS1702 how  can i instal apple apps to my iphone

    how  can i instal apple apps to my iphone

  • Surface Pro 3

    I am wating on the Surface Pro 3 to come out with a to air. so I can hook it to my ceal phone. Have you hered an thing new coming out with Surface Pro 3 are they going to call it Surface pro 4? I want it to be a gps for me.

  • Nokia 2630 with broken screen i need contacts

    i have a broken screen and it is hard to find an attachment to fit to the pc, pescky little thing any way i need to copy the contacts over but i cant see what im doing i can get the blue tooth to work well i can turn it on but how do i connect it to