How do I specify if the PID object is direct or reverse acting?

I have a process that requires a reverse acting controller - eg if the PV is above the setpoint, I need to increase the controller output to lower the PV. Where in the PID object configuration do I specify this?

Pat,
I think - you can achieve a "reverse acting" PID controller by setting the Gain value negative. However, if you manipulate the PID parameters you should know what effect it will have on your system. If you want to be sure you should simulate the parameter before you apply them to the "real" world. In addition you could verify the -Gain setting with the formula (position/velocity control equations) given in the Lookout online help of the PID control object.
Hope this helps
Roland
PS: I always keep in mind what my control profssor told us once - "just a minus sign (sign change) in contol theory could mean a lot"

Similar Messages

  • How do I get to the request object in a webflow.

    How do I get to the request object in a webflow.
    I created a input process and one function it needs to do is create a cookie.
    Problem is I don't have a response object.
    How do I create/get the response object so I can create a cookie.
    Thanks
    Michael C Ford
    ------------------ Code Line ------------------------------------
    public Object process(HttpServletRequest req, Object requestContext)
    throws ProcessingException
    // get the pipeline and namespace info for the process
    PipelineSession pSession = null;
    String namespace = null;
    String username = req.getRemoteUser();
    pSession = getPipelineSession(req);
    namespace = getCurrentNamespace(pSession);
    /* ***** DO THE INITIAL CREATE OF THE BEAN *** */
         try {
              Properties props = new Properties();
              props.put(
                   Context.INITIAL_CONTEXT_FACTORY,
                   "weblogic.jndi.WLInitialContextFactory");
              Context ctx = new InitialContext(props);
              Object homeObject = ctx.lookup("com.??.??PortalMgr");
              SeechangePortalMgrHome seechangePortalMgrHome =
              (SeechangePortalMgrHome) javax.rmi.PortableRemoteObject.narrow(
                                                      homeObject,
                                                      SeechangePortalMgrHome.class);
              SeechangePortalMgr portalMgr = seechangePortalMgrHome.create();
    /* Set the initail user */
    portalMgr.setUser(username);          
              UserRuntime userRuntime = (UserRuntime)portalMgr.getRuntimeObject();
              System.out.print("Run Time User is " + userRuntime.getUserName());
              System.out.print("Run Time User is " + userRuntime.getOrgSeq());
    // ** cookies for Actuate XXX=(customer sequence ID), YYY=ZZZ is a dummy per
    their requirement
              Cookie cCustSeqNumber = new Cookie("XXX",userRuntime.getOrgSeq());
              Cookie cPassword = new Cookie("YYY","ZZZ");
              cCustSeqNumber.setPath("/");
              cPassword.setPath("/");
              ??response.addCookie(cCustSeqNumber);
              ??response.addCookie(cPassword);          
         } catch (Exception ee) {
              System.out.print("Unable to create Portal Manager" + ee);
    // at this point we add the logic to produce the bean
    return "success";

    Thanks
    Just what I needed, except I needed to caste response.
    Michael C
    "Daniel Selman" <[email protected]> wrote:
    Michael,
    // get the HttpServletResponse from the HttpServletRequest
    HttpServletResponse response =
    equest.getAttribute( WebflowConstants.HTTP_SERVLET_RESPONSE );
    Cookie cPassword = new Cookie("YYY","ZZZ");
    cCustSeqNumber.setPath("/");
    cPassword.setPath("/");
    response.addCookie(cCustSeqNumber);
    response.addCookie(cPassword);
    You HAVE the HttpServletRequest...
    public Object process(HttpServletRequest req, ObjectrequestContext)
    throws ProcessingExceptionMake sense?
    Dan
    "michael C Ford" <[email protected]> wrote in message
    news:[email protected]...
    How can I get to the response this way ?
    this just stored the response as an attribute did it now ?
    If I don't have it, how can I use it in a setAttribute ?
    Sorry just a little slow
    I can't do this can I ?
    request.setAttribute(WebflowConstants.HTTP_SERVLET_RESPONSE,response);
    Cookie cPassword = new Cookie("YYY","ZZZ");
    cCustSeqNumber.setPath("/");
    cPassword.setPath("/");
    response.addCookie(cCustSeqNumber);
    response.addCookie(cPassword);
    "Daniel Selman" <[email protected]> wrote:
    Michael,
    I found this handy snippet in our code:
    // Put the httpServletResponse into the request, this is done
    in
    case IPs want to
    // use the response to deposit cookies. The IPs maynot howeverwrite
    // anything to the response as this will cause an
    IllegalStateException
    request.setAttribute(WebflowConstants.HTTP_SERVLET_RESPONSE,
    response);
    So, the HttpServletResponse is bound into the HttpServletRequest usingthe
    key, WebflowConstants.HTTP_SERVLET_RESPONSE.
    Magic!
    Sincerely,
    Daniel Selman
    "michael C Ford" <[email protected]> wrote in message
    news:[email protected]...
    How do I get to the request object in a webflow.
    I created a input process and one function it needs to do is create
    a
    cookie.
    Problem is I don't have a response object.
    How do I create/get the response object so I can create a cookie.
    Thanks
    Michael C Ford
    ------------------ Code Line ------------------------------------
    public Object process(HttpServletRequest req, Object
    requestContext)
    throws ProcessingException
    // get the pipeline and namespace info for the process
    PipelineSession pSession = null;
    String namespace = null;
    String username = req.getRemoteUser();
    pSession = getPipelineSession(req);
    namespace = getCurrentNamespace(pSession);
    /* ***** DO THE INITIAL CREATE OF THE BEAN *** */
    try {
    Properties props = new Properties();
    props.put(
    Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    Context ctx = new InitialContext(props);
    Object homeObject = ctx.lookup("com.??.??PortalMgr");
    SeechangePortalMgrHome seechangePortalMgrHome =
    (SeechangePortalMgrHome) javax.rmi.PortableRemoteObject.narrow(
    homeObject,
    SeechangePortalMgrHome.class);
    SeechangePortalMgr portalMgr = seechangePortalMgrHome.create();
    /* Set the initail user */
    portalMgr.setUser(username);
    UserRuntime userRuntime = (UserRuntime)portalMgr.getRuntimeObject();
    System.out.print("Run Time User is " + userRuntime.getUserName());
    System.out.print("Run Time User is " + userRuntime.getOrgSeq());
    // ** cookies for Actuate XXX=(customer sequence ID), YYY=ZZZ isa
    dummy per
    their requirement
    Cookie cCustSeqNumber = new
    Cookie("XXX",userRuntime.getOrgSeq());
    Cookie cPassword = new Cookie("YYY","ZZZ");
    cCustSeqNumber.setPath("/");
    cPassword.setPath("/");
    ??response.addCookie(cCustSeqNumber);
    ??response.addCookie(cPassword);
    } catch (Exception ee) {
    System.out.print("Unable to create Portal Manager" + ee);
    // at this point we add the logic to produce the bean
    return "success";

  • How can I refer to the PhotoShop Object library dynamically depend on the release of PhotoShop?

    Recently, I make a program, now I face a big program:
    I make the program by visual basic and photoshop script , but my client have different release of Photoshop, for example : photoshop 7.0 cs and cs2. I know every release of PhotoShop have ist own Object library, but in visual basic 6.0, I can only refer to one PhotoShop Object library. for example: if I refer to Photoshop 8.0 Object library, if my clients release of Photoshop is 7.0. there will be a error message : Run-time error '429 ( cant create object) Run-time error '430(Class does not support Automation or does not support expected interface), How can I refer to the PhotoShop Object library dynamically depend on the release of PhotoShop?
    my email is : [email protected] .
    any suggestion?

    Please read, and reply back here with information https://forums.adobe.com/thread/1499014
    -and try some steps such as changing browsers and turning off your firewall for downloads

  • How can we find out the info object in a query ....?

    How can we find out the info object in a query is belongs to that particular info cube? If the query is built on a Multiprovider having 4 different info cubes.

    Hi,
    If you have restrictions at the infoprovider level in the RKF then it is coming from that particular infocube.
    Or go to the selection option in the multiprovider...her you can get the mappings of which key figure is populted from which infocube.
    For characteristics you will have to look for identification tab in the characteristics option.
    Thanks

  • How to get hold of the XPRequest object in the Login View

    Hi all,
    I need to customize the Login View to pre-populate the loginname field when a user hits the page. The difficult part is that the user is using PKI Cards, and I need to use the following server-side code fragment to retreive the Login Name.
    String loginName = "";Object o = request.getAttribute("javax.servlet.request.X509Certificate");
    // Got certificate => Windows XP PKI Card Userif (o != null) { String dnstring = ""; int startIndex = 0, endIndex = 0; java.security.cert.X509Certificate clientcert[] = (java.security.cert.X509Certificate[]) o; dnstring = clientcert[0].getSubjectDN().toString().toUpperCase(); // Gets the Login name // This is obtained by getting the portion of the string after "UID=" and befroe the next comma. startIndex = dnstring.indexOf("UID=") + 4; endIndex = dnstring.indexOf(",", startIndex+1); loginName = dnstring.substring(startIndex, endIndex);}
    The problem is that I can't seem to get hold of a XPRequest object (the Plumtree object used to wrap the JSP request object) in the Login View. I need this to call the request.GetAttribute method to retrieve the client certificate.
    Anyone knows how to do this? Or maybe I should be customizing another component instead?
    Thanks in advance for any suggestions!
    Weng Kong Lee

    From the 5.0.4 JavaDocs for AActivitySpace:
    com.plumtree.uiinfrastructure.activityspace.IXPRequest[b]GetCurrentHTTPRequest() Return the HTTP Request for the current request. com.plumtree.uiinfrastructure.activityspace.IXPResponse[b]GetCurrentHTTPResponse() Return the HTTP Response for the current request.
    Hope this helps clear things up.
    -- Don

  • How to apply branding in the Flash object

    Hello everyone,
    How we can apply the CSS to the flash object in Nakisa 3.0 (orgchart). for example changing colors fonts, etc..
    Br

    Hi Ibrahim,
    These elements cannot be changed without an enhancement from Nakisa. They have to include your new fonts/colours into the flash module. You must contact them directly to findout if/how/when this can be done and for what cost.
    Best regards,
    Luke

  • How to pass UserID to the view object after authentication?

    Hi,
    I am developing an application using Oracle JHeadstart 10.1.3 Version 10.1.3.0.83
    I have a view where all clients' data are. But when a client logs in he/she should see only his/her data, he/she should not see other clients' data.
    So after logging how I can pass his/her UserID to the view? We are planning to use the OID for authentication. So when the client logs in with his/her user id, I want to pass that user id to the view so that the view query will return only the records associated with that client.
    Any help would be appreciated
    Thanks
    Syed

    Syed,
    Although not fully documented yet in the Devguide, 10.1.3 still ships with basically the same security code that we had in 10.1.2. I suggest reading the security section in Chapter 5 of the 10.1.2. Devguide to get an idea of how that would work. Basically, it boils down to setting a JhsUser object on the session that you can access in the Model through the JhsApplicationModuleImpl.getUser() method.
    Using the user in a whereclause could be done programmatically by altering the whereclause of a VO on the "executeQueryForCollection" method, but you could also use a bind variable and then bind it to the JhsUser object on the session through an EL expression like #{jhsUser.displayName}
    Hope this helps,
    Peter Ebell
    JHeadstart Team

  • How to add image in the button Objects.

    Dear All,
    I need image in the button object. I don't know whether it is possible or not.
    If anyone know the idea for solving this problem Please siggest me.
    Thank you
    saroj neupane

    You cannot put an image on a button put you can have an image then create a clear button that you can put over top of the image. Send the image to the background then set the background fill of the button to none. This will make the button transparent. You may need to play with the borders of both obejcts to get the effect you want.

  • How do I save only the VISIBLE objects in AI to Pdf or jpeg.

    I have multiple layers but only want to save the currently visible elements objects out in a PDF or JPEG,
    how do I do this without having to tediously double click each layer and choose "do not print" (layer).
    would be nice to have a preference in prefs to "not print hidden layers".

    You can choose to have your non-visable Illustrator layers preserved but invisible in your PDF, or removed completely. To remove them, select Acrobat 5 compatibility or earlier, or deselect the preserve layers option. If you include your invisible layers there is a possibility they will re-appear in some PDF viewers.
    http://forums.adobe.com/message/4964425#4964425

  • With multiple events in a single event case, how to associate value with the correct object?

    I am playing with the template where an event structure takes note of user inputs and a main state machine is then used to respond to these inputs. When I only monitor one control I use the 'NewVal' output to read out the changed value. But when I monitor multiple objects with a single case I also have to associate the readout with the correct owner. After some tinkering I was able to extract the label property and use a case to assign them. Are there better ways of doing this? For example maybe there is a way to connect the label text directly to the 'bundle by name'?
    Also this should be easy to accomplish by simply creating local variables of the objects and read from them, but I got the impression that the use of global and local variables is now strongly discouraged?
    Thanks for any suggestions!
    Attachments:
    Untitled.png ‏39 KB

    Well, I don't really like these theroretical discussions. Can you attach a simplified version of some of your code?
    There are many other ways to identify the particular control. You could for example search an array of references for the value of the "ctlref" event data node. This would make the code much more robust (your code will fail for example if you (or some other programmer updating your code in a few years!) notices a mispelling and edits the label without also changing the case structure cases).
    LabVIEW Champion . Do more with less code and in less time .

  • How do I output just the rotoscoped object ?

    Just using AE for first time. Need nice smooth cut out of human to composite over BG.
    Learned to get my mov in, use the roto brush etc until I see a good clean image in both layer and composition windows.
    Go to render and have used both lossless and lossless with alpha, and get full video of original.
    What am I missing?
    Thanks for basic instruction!
    Patrick

    Find the beginning of the part of the clip you want.  Put the timeline cursor there.  Hit Alt/Opt-[ to set an in point on the layer.  Hit the b key to set the beginning of the work area.
    Find the end of the part of the clip you want.  Put the timeline cursor there.  Hit Alt/Opt-] to set an out point on the layer.  Hit the n key to set the end of the work area.
    Go to Main Menu>Composition>Trim Comp To Work Area.  The comp is now as long as the part of the clip that you want.
    Add the comp to the Render Queue and render.
    This is REALLY basic stuff.  In addition to learning how to do the cool stuff, you really, Really, REALLY need to spend some quality time here:
    Getting started with After Effects (CS4, CS5, CS5.5,  CS6, & CC)
    People are going to get tired of holding your hand, so step lively.

  • How to return or rollback the transport object in PRD?

    Hi Experts,
    I transported a revised program to PRD. But I decided to return it to my previous code. How would I do that in PRD?
    I'm not a real basis. PLease guide me.
    Points for the helpful ideas. Thanks!

    Hi,
    You have to move a separate transport with the version of the program you wanted from development to production. You cant change it in prod itself.
    Thanks
    Aneesh.

  • How to get Refrence of the calling Object in the called method

    Is there any way to achive below without having explicitly passing or storing a's refrence.??
    class A {
    public void run(){
    B b= new B();
    b.doStuff();
    public static void main(String [] args){
    A a = new A();
    a.run();
    class B {
    public void doStuff(){
    /* ??????????? Is it possible to get Instance of A, a's refrence without changing doStuff() signature */
    If not, how does the following join() method of Thread gets the refrence of the Instance of Calling Instance(t1 & t2) , so as to attach the calling Thread at the end of called Thread(t) ??
    class TestThread extends Thread{
    public void run(){
    for (int i=0; i < 10; i++)
         System.out.println("Iteration:"+i+" of TestThread");
    class A extends Thread{
    Thread t;
    public A(Thread t){
    this.t=t;
    public void run(){
    try {
    t.join();
    }catch (InterruptedException e){}
    for (int i=0; i < 10; i++)
         System.out.println("Iteration:"+i+" of A Instance"+this);
    public class Main{
    public static void main(String [] args) {
    TestThread t = new TestThread();
    A t1 = new A(t);
    A t2 = new A(t);
    t1.start();
    t2.start();
    t.start();
    }

    Reposting with markup.
    class A {
        public void run(){
            B b= new B();
            b.doStuff();
        public static void main(String [] args){
            A a = new A();
            a.run();
    class B {
        public void doStuff(){
             * ??????????? Is it possible to get Instance of A, a's
             * refrence without changing doStuff() signature
    }If not, how does the following join() method of Thread gets the refrence of the Instance of Calling Instance(t1 & t2) , so as to attach the calling Thread at the end of called Thread(t) ??
    class TestThread extends Thread{
        public void run(){
            for (int i=0; i < 10; i++) System.out.println("Iteration:"i" of TestThread");
    class A extends Thread{
        Thread t;
        public A(Thread t){
            this.t=t;
        public void run(){
            try {
                t.join();
            }catch (InterruptedException e){}
            for (int i=0; i < 10; i++) System.out.println("Iteration:"i" of A Instance"+this);
    public class Main{
        public static void main(String [] args) {
            TestThread t = new TestThread();
            A t1 = new A(t);
            A t2 = new A(t);
            t1.start();
            t2.start();
            t.start();
    }

  • How to store images in the File Object????

    Clearly saying i wrote a jsp program which contains an input tag as follows
    <form action="filename.jsp">
    <input type="file" name="path">
    <input type="submit" value="submit">In the above input tag i entered a file path looks like c:\Sunset.jpg .But after i hit submit button it is not taking the absolute path instead it is taking relative path Sunset.jpg ...
    Can any one figure out the problem...
    My jsp code
    filename.jsp
    <%
              Class.forName(drivername);
              Connection con=DriverManager.getConnection("URL",usr,pwd);
              File file=new File(request.getParameter("path");                // example path="c:\Sunset.jpg
    %>{code}
    In the above program +request.getParameter("path")+ returns null I don't know why this is happening
    i wasted nearly three days please any one help me out............                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    I asked a similar question once and the answer I got was - Don't.
    Instead, store the images on a drive somewhere and store the path in the database.
    But I'm no expert - that's just what I was told by someone who does this kind of stuff a lot.
    Hope that helps.

  • How to retreive String from the Connection object

    hi all,
    I am using HttpConnection to Connect to the server.I want to retreive string from the Connection.
    As like Connection.openInputStream() is there any method to get the String from the connection.In the server side also i want to send the String not the stream .
    Thanks in advance
    lakshman

    Just read the string from the stream.

Maybe you are looking for