value of PV in the PID controller may be a string?

Hi all

I'm trying to generate a humidity control using the mass flow controller. I have a USB moisture sensor. The reading of the probe are sent in a spreadsheet and converted string. The value (a string) is used to enter the value of the pv of the MIP? Is it achievable?

Thank you!

Just use one of the chain of digital features.

Tags: NI Software

Similar Questions

  • Excel sheet entry to 'setpoint' of the PID controller

    Hello

    I use this (attached) vi to control the thermostat of Lakeshore. I got the website vi OR. I want to change the vi as to the set value, it takes as input an excel sheet (could be any other form too). This spreadsheet contains a list of temperatures. The vi reads the first temperature and then that sets the value of the PID controller setpoint. Once the set point is 'set' the vi waiting for awhile (say 1 hour) before reading the next entry in the excel sheet set point. I want to wait that it is because I programmed a gamma spectrum software such that it counts for 1 hour and then starts a new count. The part of the spectrum is not very intelligent but its ok for now. The problem I have is that when I run this vi (attached), the indication of the set on the temperature controller (hardware) tends to zero and stays there. Can someone help me by pointing out the error that I do. This vi is Labview based 6.0 (it's a bad implementation!)

    Thank you

    Saurabh

    Slim,

    You could possibly have the calendar in step in the worksheet as well?

    It would be a classic case where you could use state machines (or producer / consumer - events if the user input is critical), research of this architecture and examples on ni.com. Also for synchronization purposes, are looking for functional global timer or try to modify this example https://decibel.ni.com/content/docs/DOC-6523 to add 'elapsed time' (as in the elapsed time express vi) features similar to this code.

    You have reports such as:

    Initialization: initialize your control panel front/graphics etc. Read the spreadsheet file. Make sure that the comms exist between the software and the controller, etc..

    Set the temperature: set the first value, start a countdown (depending on what you set)

    State check: check the status of controller etc failure. Check if the user has pressed the stop button. Check if the timer in the previous state has expired?

    In case of error stop the timer and take the measures necessary to correct, to report to the user

    If the user has pressed the stop button, close all references, etc hard reset and exit the application.

    If the timer has expired, get the next value and go on to set the temperature.

    I hope this helps.

  • The PID control

    Hello world.

    I wrote a program of temperature control in labview and used the PID Toolkit for it.

    The entrance to the PID is the measured temperature and the output is a PWM signal fed to a relay that turns heater on or off.

    The control works but I want the temperature to be stable within a range of + - 2%.

    Currently, the temperature varies more than that.

    IAM sure, this is the setting of the PID.

    Because I have not worked with regulators PID Iam not exactly how to tune my system.

    The best way I found is to zero I and D and make the system oscillate with P.

    The only problem is that the system of temperature is so slow that it takes quite a long time to reach the set point which in turn would mean a lot of hours of tests only.

    Now Iam just wondering if there is a faster way to set the PID controller?

    Thanks in advance,

    Best regards

    Michael

    I've used this method several times with slow heating appliances. It can take a long time to reach a stable temperature, but at least do not monitor constantly as he approaches this value.

    In figure 3.4, Yes, the Min value is the initial value that is stable. It is OK to start an initial PWM output of 0, which speeds up the process, if your radiator is already at a steady temperature (the temperature in the room).

    In general, the difference between the output of the first and the last values, better will be your control (you will get best results of going from 0 to more than 50% to 5%), but it will take more time to settle to a new value and of course you must ensure that you do not exceed the capabilities of your system. It's a good idea to have a separate alarm system in place that can cut power to heater if you exceed a temperature, especially if you plan to walk away from it until it stabilizes.

    To a fixed cycle, the system will not continue to heat up indefinitely unless you have a perfect insulation without heat loss - but, as I mentioned above, do not choose a value that will not cause the system to overheat.

  • PID controller compatible LabView

    Hi all

    We have built an oven of automated test. It was decided that it is cheaper and more convenient to use a pre built the PID controller, however

    our task is to set the temperature of the oven by using LabView code, so the PID should communicate with the computer.

    I would be really grateful if you could give me a little advice if these controllers exist and where they are or it could be easier to use the box of DAQ + OR PID

    box tools + with external power supply + heating element power transistor.

    PS just to note, temperature range is not very high (20-200 ° C)

    All the best

    Alexander

    Hi Alexander,.

    When you talk about PID controller, there are two options:

    1 software based controller PID (you can develop using the LabVIEW PID toolkit)

    2. regulator based material PID... If you choose to have a PID of hardware in service, you must ensure that it can be used with LabVIEW, I know that what is your concern...!

    For most of these PID regulators (hardware) are an instrument of series (RS-232, RS-485 or MODBUS based) and which can be easily integrated with LabVIEW... no tool is necessary, but all you need is VISA functions or MODBUS library.

  • Cannot find the motion controller

    I use a 12 unidex by aerotech motion controller.  My labview program worked well, my motion controller when all of a sudden he couldn't find it.  I went measures and tab automation looking for him, but he could not find the controller.  The program has been able to find all other connected devices, but not the command of movement.  I disconnected all other devices except the unidex and labview still could not find it.  Then I took the controller and it covered on an identical motion controller (no reason to).  Not only labview couldn't find the first motion controller, he could yet find that I had grafted on.  Thoughts?

    Good new everyone: the GPIB address was surreptitously to 0 which remote impossible given that this value is reserved for the GPIB controller.  I appreciate the advice of each.

  • Windows cannot be installed on this physical drive of this computer may not support the start-up this drive make sure that the drive controller is enabled in the computer's bios menu

    Hello world

    I know, there are several other threads on this topic, but I couldn't find a working solution. I currently have no OS on my DELL XPS 17 L702X. When I try to install from a USB stick bootable Windows 7 Home Premium x 64 I get this error message: windows cannot be installed on this physical drive of this computer may not support the start-up this drive make sure that the drive controller is enabled in the computer's bios menu.
    I've tried wiping HARD drive and reformat with GParted. I don't really know what I could do.

    I would be very grateful if you could help me

    Hello

    I suggest that you contact the manufacturer of the computer to change the BIOS settings and check if it is has updated the BIOS.

    Important: BIOS change / semiconductor (CMOS) to complementary metal oxide settings can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the configuration of the BIOS/CMOS settings can be solved. Changes to settings are at your own risk.

    Let us know the results. We will be happy to help you further.

  • Problem with the default value for OAMessageTextInputBean to the controller layout

    Hello

    I encountered this problem when I expand a controller for the page create a work request (/ oracle/apps/eam/workrequest/webui/EAM_WR_WORK_REQUEST_DETAIL_PL). My goal is to re - fill OAMessageTextInputBean 'Additional Description' after the user clicks "Save" or "apply". When I try to change the value of another field, it works correctly, the problem persists for 'Description Addidional' more precisely. I don't know that I have the correct id (I took it from xml received by jdr_utils.printdocument). The journal does not all controllers running after the attempt to set the value.

    Compare these logs:

    [21]:PROCEDURE:[xxfideltronik.oracle.apps.eam.workrequest.webui.xxPageRegionCO]:Goosfraba, pre-added!
    [21]:EVENT:[fnd.framework.webui.OAMessageTextInputHelper]:OAF LOG: Event : Get Attribute Value, in: oracle.apps.fnd.framework.webui.OAMessageTextInputHelper: View:null ,Attribute:EAM_WR_WORK_REQUEST_DETAIL_PL426_EamWrRqlog , Return Value without datatype conversion :4321
    [21]:PROCEDURE:[xxfideltronik.oracle.apps.eam.workrequest.webui.xxPageRegionCO]:Goosfraba, added!
    

    [Descriptive information, does not work]

    and:

    [64]:PROCEDURE:[xxfideltronik.oracle.apps.eam.workrequest.webui.xxPageRegionCO]:Goosfraba, pre-added!
    [64]:EVENT:[fnd.framework.webui.OAMessageTextInputHelper]:OAF LOG: Event : Get Attribute Value, in: oracle.apps.fnd.framework.webui.OAMessageTextInputHelper: View:RequestDetailsVO ,Attribute:PhoneNumber , Return Value without datatype conversion :null
    [64]:EVENT:[fnd.framework.webui.OAMessageTextInputHelper]:OAF LOG: Event : Set Attribute Value, in: oracle.apps.fnd.framework.webui.OAMessageTextInputHelper: OldValue:null ,New Value:4312
    [64]:PROCEDURE:[xxfideltronik.oracle.apps.eam.workrequest.webui.xxPageRegionCO]:Goosfraba, added!
    

    [Phone number, works fine]

    Here is my code for the method of the processFormRequest controller:

    public void processFormRequest(OAPageContext pgCtx, OAWebBean wBean){
         super.processFormRequest(pgCtx, wBean);
        
         String description = pgCtx.getParameter("EamWrRqlog");
         log("Goosfraba: " + description, pgCtx);
    
         if(description != null){
              OAMessageTextInputBean additionalDescription = (OAMessageTextInputBean) wBean.findChildRecursive("EamWrRqlog");
              if(additionalDescription != null){
                   log("Goosfraba, pre-added!", pgCtx);
                   additionalDescription.setValue(pgCtx, description);
                   log("Goosfraba, added!", pgCtx);
              }
         }
    }
    

    A solution would be: -.

    1. create a transitional VO with an attribute, LongDescription.

    2 associate this attribute with the EamWrRqlog field.

    3. in the processFormRequest, set the TransientVO attribute value

  • How to capture the value of the profile controller option in the OPS?

    Hello

    I have a requirement to capture the value of the value of the profile controller option in the OPS?
    How to write the code for this?

    Thank you

    Hello

    I have a requirement to capture the value of the value of the profile controller option in the OPS?

    Pagecontext class we getProfile method using this you can get the value of profile:

    pageContext.getProfile ("profilename");

    Concerning
    Meher Irk

  • Satellite P300D-10U - how to enable the AHCI controller in the Bios

    I have toshiba satellite P300D-10U with windows vista 32-bit, disc ssd drive 2nd hard drive
    and I can't do IT controller SATA AHCI in the bios.

    http://www.Toshiba.EU/discontinued-products/satellite-P300D-10U/

    What can I do?
    install the new windows 7 32 / 64-bit and updated the bios for this maybe windows I can ON AHCI Controller in bios

    This bios has the ability to run on AHCI?

    Thanks for replying,
    Thank you.

    BIOS of the screen:
    http://ImageShack.com/a/img745/6711/ez591J.gif
    http://ImageShack.com/a/img901/7149/SRjUz3.gif
    http://ImageShack.com/a/img743/7539/8Pt5ro.gif
    http://ImageShack.com/a/img901/8573/iPfiOZ.gif
    http://ImageShack.com/a/img746/7872/T3nBfa.gif

    SSD of the screen
    http://ImageShack.com/a/img908/4148/ZjaDr1.gif
    http://ImageShack.com/a/img661/9900/846hMR.gif

    I changed the value to 0
    HKEY_LOCAL_MACHINE es\Msahci

    I install ATi SATA2 RAID (pilot preinstallation)
    http://www.gigabyte.com/products/product-page.aspx?pid=2500#DL

    CD..

    To my knowledge, the Satellite P300 series BIOS doesn t contain the ability to switch the AHCI compatible mode.

    I don t think that even after updating the BIOS such option would be available in the BIOS.

    I see on the first screenshot of the BIOS, the SSD drive is connected to the second controller.
    I recommend you connect the SSD to the first controller (instead of the HARD disk).
    Maybe then you could get better performance.

    Just for the note: portable computers with a graphics card ATI supports the AMD chipset, and in this case the ATI graphics card driver contains the SATA driver files.

    However, I guess the HARD disk controller specification allows the use of better performance of SSD drive.

  • Installtion of Labview RT on the PXI controller

    We have a 8106 controller PXI that runs on the Windows operating system. We want to make it work on real-time OS of NOR. What are the steps I need to do to install this. Vascular when I boot in the BIOS of fron LabView RT, it displays "control transfer to the user program. System not configured, restart... ». I am able to connect it to MAX by the host PC and able to install Veristand 2011. But it does not reflect while the boot controller.

    Converting Windows a RT, there are some very important things that you must do to handle the conversion. big is your hard drive.  Your hard drive needs to be formatted with a FAT32 partition - probably formatted Windows NTFS, RT cannot read or use.  Convert your drive will be a manual step for you; If you follow these steps, you can use a disk RT PC Desktop Utility to perform the Exchange against (these instructions with a PXI-8106 module):

    First of all, must be a FAT32 partition on it and the format.

    1. Acquire a drive Flash USB 256 MB or more.  Plug it into your host computer.
    2. Image/Format the USB Flash drive via MAX
      • Under tools of-> creating USB utility MAX desktop PC
    3. Plug the USB key into 8106
    4. Enter the BIOS of 8106 using the "Delete" key
    5. Go to the menu "LabVIEW RT" and "Priming" the value "" Windows / other OS '. "
    6. Press F10 to save and exit, restart the controller.
    7. Enter the BIOS of 8106 using the "DELETE" key (we had to put the controller for Windows / Other and restart the computer to enable USB be detected/used)
    8. In the 'Boot' menu, make sure that "USB HDD" (probably also has your mfg of the inserted USB) option is #1 in the startup list (using keys + /)
    9. In 'Advanced-> Integrated Peripherals' ensure 'Legacy USB Support' is [ENABLED].
    10. Press F10 to save and exit, restart the controller.
    11. The startup controller using the USB flash drive.
    12. In the USB Flash Drive Options, choose the 6 'Options of Format' option (according to the image of the flash player, can say another thing, but option # is the same).
    13. Choose to format the drive, use the Option #2 in the format "Erase all Partitions on the disk and create a new single Partition" - This clears the disk partition information and creates a single FAT32 partition on the drive.
    14. FAT32 format (DO NOT use the use of a 8106 - BIOS does not include the system of dependency files).
    15. Once completed, restart the controller (to do this, you can use Option 9).

    Now, we must get the controller to think that it is a PXI and not a desktop RT PC controller

    1. Enter the BIOS of 8106 using the "Delete" key
    2. Go into the menu "LabVIEW RT" and "Boot" "LabVIEW RT safe mode" value
    3. Press F10 to save and exit, restart the controller.
    4. In MAX, find the device to remote systems.  Right click on the device and choose "format disk".
    5. Once you format the disk, the controller will think it is a PXI controller.
    6. (You may need to remove the MAX controller and press F5 to detect again for updated images)

    Now we are going to put the controller in RT mode so we can use it.

    1. Enter the BIOS of 8106 using the "Delete" key
    2. Go to the menu 'LabVIEW RT' and 'Start Configuration' value 'LabVIEW RT'
    3. Press F10 to save and exit, restart the controller.

    There you go.  Now you are ready to rule the world in a deterministic way.

    -Danny

  • Error 1 occurred Armijo rule stepsize reduction failed to reduce the value of function within the maxiters

    Hello

    I try to use the VI of unconstrained optimization to fit a measured spectrum. However, each call VI, I get the error:

    Error 1 occurred Armijo rule stepsize reduction failed to reduce the value of function within the maxiters

    Possible reasons:

    LabVIEW: An input parameter is not valid. For example if the input is a path, the path can contain a character not allowed by the operating system such as? or @.
    =========================
    NOR-488: Command requires controller GPIB be in Charge.

    Does anyone know what I'm doing wrong and how I can fix this problem?

    The VI for the stepsize Armijo rule reduction can be found here:

    \vi.lib\gmath\NumericalOptimization\qn_armijo rule stepsize reduction.vi

    In the current implementation, the spectrum is able to a rectangular spectrum. This may be the cause of the error?

    I have attached the screw that I use. They are written in LabVIEW 2010.

    Thanks Marc67 for your quick reply, but I found the error.

    It was pretty stupid, that I used a bad vector of departure for the unconstrained optimization VI, which was too low values.

  • Tecra R10 - where can I find the network controller driver?

    In the other devices of computer management, there is a network controller.

    Could someone tell me where I could get the driver for this device please?

    Sorry, but I don't understand what the problem is now...
    I can also find all the drivers for XP, Vista32bit, and Vista 64-bit.

    The unknown device may be the wireless LAN card and not the normal LAN card. Did you check that?

  • Satellite C660-117 - where to download the Ethernet controller driver?

    Hello.

    Can someone please help with my laptop? Here's my laptop specs:
    Model: Toshiba Satellite C660-117
    Part number: PSCOLE-00Y00JEN
    Serial number: XA458343K

    I have just rewiped my laptop with Windows 7 Ultimate. I use the laptop on a wireless connection. In Device Manager, I have an exclamation mark next to the Ethernet controller. This prevents me from going online.

    Can someone direct me please the link to download some driver I need?

    Thank you much much in advance.

    Dennis.

    Hey Buddy,

    Controller driver Ethernet can be both: WLAN or LAN card. All the drivers and tools can be downloaded from the official website of Toshiba:
    http://EU.computers.Toshiba-Europe.com > support & downloads > download drivers

    You have installed Windows 7 Ultimate, but may I ask why you haven t used the Toshiba with Windows 7 Home Premium recovery disc? On this disc are all the drivers and tools are installed because it s a picture of factory for you don t have stress with driver and installation tool.

  • How can I connect PC to the PID block when there is no block to HAVE?

    Hi, I've just started using NOR-FBUS (NI USB-8486 with Configurator OR 4.1)

    for my device configuration, there is only block AO, tuberculosis, RB and PID.

    Question 1.

    Can I manually set SP in the Configurator? If so, can you please tell me how?

    Questino 2.

    I tried to follow the tutorial in the manual, but I did not block of I... so how can I

    wire of my SP to the PID block?

    Much appreciated,

    Thank you

    Hello

    Have Weiwei VALUE should follow the change in TB after adjustment. But you couldn't change it manually.

    Here, I've prepared a PPT on how to create a PID loop.

    FOR INFO.

    Good luck.

  • Reset the PID.vi only once on the State transition

    Hello

    I'm controlling a fatigue gear using LabVIEW test bed and I use the PID.vi to control the hydraulic circuit. During the transition from the start as a test State, I need once the PID (the integrated error) values to be reset during the transition. The current configuration constantly resets the PID causing the hydraulic output voltage to be lower than the set value. I can't understand how to be set to Boolean false to pass true during the transition from the State and then back to false to prevent resets of the other by default. I have attached the current revision of my code.

    Thank you very much for your help!

    Trace

    It's a good idea, but it is not necessary to select blocks with the true and false as inputs, just equality by different and use the output directly to reset.

    Also, I see that you have PID blocks in two separate cases. Note that those will act independently from each other - if you reset into a State, then move to another State, it will not be reset. Maybe it's what you want, and maybe it isn't, but be sure to put multiple instances of the PID block that control the same in different cases. You can also see weird integral questions when you place in case, if a long time share when you run the same instance.

Maybe you are looking for