How to Control the Valves and Pump with Labview?

I have started a new project where I have to control the valves operation through Labview 2009,using PXI 1031, NI 5105(Digitizer) and NI 6251(M-series DAQ).
The valves I need to control using the labview are:
a) Pressure Reducing Valve (open & close)
b) Remote control Valve(On & Off) with in-built actuator
c) Flow control valve(open, semi open, partially open, semi close, partially close, fully close), 1%, 2%, 3%..etc
d)saftey valve (opening closing depending on increase in pressure from certian limit)
I hav eto control
a) Hydraulic pump operation with in built gear-box
Please let me know, how should l develop the VI for all? How to get started?, any helpful links? If there is any example code?
Its little urgent !

If you are not familiar with LV, I would suggest you go through the tutorials. Then take the leap and figure out how to use Action Engines and State Machines (search any of the terms I used that don't understand, there are a zillion threads on them).
Then...
Sit down and write stand-alone testers for each of the widgets you are going to control monitor etc.
  These testers will give you an idea if they really work the way you think, their character, and will serve as a "Sanity Check" when you think you are going crazy  durring development.
THen integrate the tester so they can all work at the same time. This will become a utility screen that will serve you well when maintaining the critter latter in its life.
Only then...
write out a complete set of state diagrams that describe what you plan to do (don't cheat! ) and walk through them in your head until you are cetain it will all work blah blah blah.
This step is optional but highly recomened...
Compose a detailed set of documemtns describing what you have in mind and post them here (include the images, they will get many mor readers) and let people  pick aprat your design.
When you have a final design, use everything you learned along the way to be a kick-ass developer.
Along the way post distinct well defined question on this site and as long as it looks like you are trying someone will probably reply and get you going again.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction

Similar Messages

  • How to use the eventing and databag with a WAS 6.20 ?

    How to use the eventing and databag with a WAS 6.20 ?
    Is what there is a good guide for these services?
    Thank's

    In the raise event you can pass the value
    like below.
    <SCRIPT>
    function raiseEvt(value1){
    if(window.document.domain == window.location.hostname){
    if ( document.domain.indexOf(".") > 0 ) document.domain = document.domain.substr(document.domain.indexOf(".")+1);
       EPCMPROXY.raiseEvent( "urn:com.sap:BWEvents","BWiViewevent", value1, null );
      // alert('tree domain'+document.domain);
    </SCRIPT>
    and in the
    subscribe event you can get the values like below.
    <script language="javascript">
    if(window.document.domain == window.location.hostname){
    document.domain = document.domain.substring(document.domain.indexOf('.')+1);
        EPCMPROXY.subscribeEvent("urn:com.sap:BWEvents","BWiViewevent", window, "myreceiveEvent");
    function myreceiveEvent( eventObj ) {
          document.forms[0].gp_hidden.value = eventObj.dataObject;
    </script>
    Also look at the following link for a complete documentation.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/Enterprise%20Portal%20Client.pdf
    Regards
    Raja

  • How to control the size/posit​ion of LabVIEW DLL front panel in MFC applicatio​n?

    I would like to make a MFC application which loads a DLL generated by LabVIEW application builder. How can I control the size and position of the front panel in my MFC application? Thanks.

    Did you build the DLL from Labview yourself? If so, you just add another VI to the list. This VI accepts the Title of a front panel and top,left,right,bottom value of the front panel (VI property WindowBond). I'm not familiar with building DLLs using Labview so I really could not help you on how to build the DLL, but I believe it can be done (multiple VIs as multiple functions in a single DLL).
    To get the windows bonds for a vi, you need to use VI server property. Check out the examples under labview directory. There are plenty of them to demostrate how to use this feature.
    Joe

  • How to control the role in portal with SRM7.0

    HI ,My expert :
      I work in SRM 7.0  with EP.
      I want to control the ROle about the business partner manage .In the portal ,some user can edit the business partner  data ,however the other can only display the data .In this case ,I do not  how to control ? dispaly the role in SRM or portal ?
      BestRegards!
      Alex!

    hello
    authorizations are made on SRM; create roles z in SRM and subsequently assigned to a group role-z also. But the authorization in SRM.
    Best regards.
    José Luis

  • How to control (the input and output) EXE file after I call it using exec?

    Hi,
    I knew that I can use runtime.exec() to call one EXE file, and this works. But this EXE has two characteristics:
    1. After this exe starts, it asks user to input number such as 1 or 2 onto computer screen, then press return. Then the exe will start the calculation.
    2. after it starts calculation, it prints 3 columns of numbers onto the screen.
    My two questions are:
    1. How to use java to input the number such as 1 or 2 automatically? this EXE can not work like this in DOS command line:
    C:> file.exe parameter
    The parameter is the number such as 1 or 2 that I wanna input.
    2. how to redirect the 3 columns of numbers from computer screen to txt file?
    My colleague can solve these two questions using Mathematica. So I know that definitely there is at least one solution for it. I just can not do it using Java. This wierd exe file bothered me a lot and I really wish that I can get help from someone in java community.
    Thank you!
    Tony

    When you call Runtime.exec, you get a Process object. (I presume something similar happens when you use ProcessBuilder.) Process has methods with names getOutput, getInput, and getError. These correspond to the standard input, standard output, and standard error streams of the spawned process.
    You can read and write to the process on the streams corresponding to input and output that the process writes to the console.
    [add]
    In fact, you should be grabbing and reading the output/error streams anyway, because of the points raised by the Traps article. Google "Java Runtime exec traps" and you'll probably get a link to this JavaWorld article, which describes common Runtime.exec problems and how to solve them.
    Edited by: paulcw on Jun 15, 2010 4:09 PM

  • Af:ConvertDateTime how to control the year to start with 19xx or 20xx

    Hi,
    I am facing an issue. I have a af:inputDate component with af:convertDateTime with pattern MM/dd/yyyy and secondary pattern= MMddyyyy.
    The issue is when the date is entered as 101147 the date gets converted to 10/11/2047 but the user wants it to be converted to 10/11/1947
    Th requirement is if the two digits entered for year(yy) is less than the last two digits current year(2011) the year should be 20yy else it should be 19yy
    example: if entered date is 052104 it should get converted to 05/21/2004
    if entered date is 062198 it should get converted to06/21/1998
    if the entered date is 07132009 it should be 07/13/2009 (no conversion here)
    if the entered date is 07131986 it should be 07/13/1986 (no conversion here)
    Kindly reply

    This one is a tricky problem - a side-effect of JSF doing a lot of things automatically is that sometimes it does too much.
    I don't have a great solution, but here's a couple of ideas:
    (1) Try using multiple <h:form>s on your page (not nested one inside the other, but separate). Data will only get updated in the form that contains the button that got pressed.
    (2) Use an intermediate model layer, and discard updates as appropriate.
    Neither of these are beautiful solutions - the second is way ugly - but they might help. Long-range, I'd love to see something like "subforms" supported in JSF that can provide finer grained control over what gets processed (validations, model pushes, etc.) and what doesn't without resorting to the blunt hammer of multiple HTML forms.
    I'm a little confused about "the model is updated with the value of the components whenever the form is submitted, and regardless of whether the value of the components has changed or not.", because JSF is checking the old value and using ".equals()" to see if its changed. Note, however, that it's not caching the old value across the request, but simply going back to the model on the subsequent request, which may (or may not) explain the behavior you're seeing.
    -- Adam Winer (EG member)

  • How to recover the userid and password with out losing data in c drive

    Hi, i have ibm server and installed windows server 2008 r2 standard. i forgot the userid and password for login so i used the password crack tool after that try to login but it shows " The login credentials are in correct" so how to login to
    system and get the c drive data safely with out loose.

    Hi,
    According to your description, I assume you have forgotten the administrator’s password. If you have another administrator account, you can use it to reset the password.
    If you don’t have another administrator account, then there is no Microsoft recommended way to reset passwords due to security considerations.
    Here are some similar threads below I suggest you refer to:
    Forgot Password for Windows Server 2008 R2
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/cc3a6a12-66e9-4a06-97fd-2a5c89d627bc/forgot-password-for-windows-server-2008-r2?forum=winservergen
    forgot windows server 2008 r2 admin password
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/ab435f7e-3927-4fda-a991-80f42e18089b/forgot-windows-server-2008-r2-admin-password?forum=winservergen
    Best Regards,
    Amy Wang

  • Help with Controlling the HP E1411B multimeter with LabView

    Hi -
    I'm using LabView 7.1, and trying to control the HP E1411B multimeter in a Textronix VX1410 frame, using a VXI-MXI-2 interface.  I've read that this is a register based device, which means what?  I can't control it using the VISA method in LabView?  I've been successful in this with other devices, so I'm guessing it can't be done because it doesn't work.  I also downloaded both the drivers for this device from the driver database, and neither work.  I can't seem to figure out to nake them work either.  Can anyone help?  I just want to use the MM to make simple measurements and display them in LabView.  If I wanted to create my own driver, what would be the best way to communicate with it?  Thanks.
    Charlie

     Sir,
       I want to make automatic test setup for testing accelerometer. My resources are Test station PC with windows 2000, Agilent E1401B High power mainframe with slot 0 controller, Slot 0 controller is NI VXI-MXI-2 controller, shaker etc. MXI-2 bus begins at PCI at the PC and goes to VXI backplane. Agilent E1401B cage have Agilent E1411B 51/2 Multimeter (in slot 3), Etec Test Head Support Module (slot 2), Etec Digital stimulus response module, ETEC test head I/O panel etc. we have old version labview-2009. using labview i want to control my test whole setup.
         Procedure for test setup is that i need to give power supply to shaker. Also i have to give input signal of 1kHz to shaker for vibration. Accelerometer will be mounted on shaker. Accelerometer output voltage has to be measured with agilent DMM E1411B in VXI cage.
    I have installed NI-VISA n NI-VXI driver and i was trying to program it using visa VIs in LABVIEW, but couldn't succeed.
    First, i am trying to make a simple program which can read resistance and voltage from HP E1411B DMM. There is difficulties in using VISA Out and VISA In VI. to measure DC voltage value from DMM, how should i give command to DMM using VISA out, because input to VISA out is numerial value so how can i give command to DMM. VISA In has only input offset and address space, so how will i know that which offset setting will show voltage value.

  • How to control the size and position of the region on a page?

    I am trying to create welcome page for my client. I need to create a banner and place the login region in the cente of the page with a fixed width and height. How can I do this.
    Thanks.
    Satya

    Hi,
    Edit your region and go to region header of your region
    and type this
    region header
    <table width ="100px" height = "100px">
    <tr>
    <td>
    region footer
    </td>
    </tr>
    </table>
    you can customize your region position in this way...just use table tag attributes,,i hav egiven example of only height and width but you can use all the table attributes to customize your region like background color,back ground image,alignment etc..
    hope this helps you,
    Regards,
    Jitendra

  • There is a difference between how PE8 handles the panel and bin with Windows 7 and Vista.

    In Vista, the panel bin closes wehen unchecked in the Wndows menu.  The same procedure in Windows 7 collapses the panel.  Or am I wrong?

    10G의 경우엔 제가 보니 SELECT List에 dept테이블에 대한 테이블을 엑세스할 컬럼이 없으니 당연히
    한쪽 테이블만 엑세스하고 끝났네요.
    dept테이블의 deptno컬럼이 있으나 테이블을 엑세스할필요는 없고요.
    밑에것은 당연히 해쉬조인으로 풀리는것이 맞군요.
    제가 잘못보았읍니다.

  • How do you control the position and size of images, i.e,. photo to the printer?

    HP Officejet 8600
    Windows XP
    I am trying to figure out how to control the positon and size of photos or pics that are included in an email that I send to my printer via HP ePrint.
    This question was solved.
    View Solution.

    Hey Old_Salt,
    What model HP printer do you have?
    ePrint is a very simple system when it comes to printing, because it doesn't provide as many controls as one may be used to with a computer.  Many of the photosmart printers are designed to recognize a photo in ePrint and print the image to the proper photo paper.
    Jason
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------
    I am not an HP employee.

  • How to change the name and description of a wim using DISM

    With Imagex we could update the name and description of the wim with on easy command:
    imagex /info img_file [img_number or
    img_name] [new_name] [new_desc]
    e.g.
    imagex /info Win7Combined.WIM 1 "Win7(x86)" "Windows 7 x86"
    Since the ImageX tool is deprecated in Windows 8 and has been replaced with DISM, can someone explain how to update the name and description with one easy command using DISM like we could with Imagex?

    It looks like this person had the same issue. Have you seen this
    link
    It talks about exporting an Index into a new WIM. Which, in a way, would be renaming it. It's really recreating it and you have to give it a name. But it seems to work.
    Dustin Estes - MCP | www.dustinestes.com

  • Control a usb missle launcher with Labview

    I have bought a toy named "usb missle launcher"
    The control software have a dll named "hiddog.dll"
    how coul i use the hiddog.dll with labview  
    that is mean
    how coul i control the usb missle launcher with labview
    Attachments:
    Missile Launcher.zip ‏2384 KB

    The Call Library Function Node will allow you to call a DLL. To do so, you need the documentation on the DLL. This documentation would list the functions as well as the arguments for those functions (i.e., inputs and outputs). There does not seem to be any documentation in what you uploaded. Actually, I have no idea what you uploaded, aside from the fact that one of those files was the actual DLL.

  • How to control the line in--- PLAY and STOP ?

    Hi,
       This is the  volume control library downloaded  from NI wed site .It is help for my task.
       My task is to control the line in with LabVIEW, for example STOP, PLAY and adjust volume with LabVIEW button.Though the example I see the volume control can  be enablement.But I don't know how to design the PLAY and STOP button.
       I see it is similar to the volume control.There is function to control the the PLAY and STOP in the system Library-winmm.dll. I don't know  whether all I think is right.I have the following serial question. How to use the function?How to understand the system Library?I can't acquire some information  from it and I don't know the input and output parameter in the funcion.
       Can any one help me out please?
       I'm sorry that my English is poor.
       Thanks.
     lizhi
    Attachments:
    VolCtrl.llb ‏193 KB

    I assume you are referring to audio line-in volume control and lerft-right balance...
    If so, then check out this thread:
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000D83A0000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
    Look at the info near the bottom from Paul S & Spectre. They talk about "winmm.dll"
    -cheers-
    JLV

  • How may control the volumen in microphone and speakers

    Hi all
    How may control the volumen in the microphone and speakers with JMF. What I need to do this?
    I need control this with JSliders component, for rice and lower the volument how in the microphone as in the speakers.
    Thanks for his help?

    waiting on the line

Maybe you are looking for

  • IOS Remote Desktop App resolves hostname but throws Host is not reachable error.

    Hello, I am trying to use the Remote Desktop app on my iPad running iOS 7.0.2 to connect to a server through our Juniper VPN. When I type the hostname or IP address I get an error that say "Host is not reachable". If I connect through my Mac I have n

  • Wrt54g as a wireless access point

    alright i recently changed around my configuration with my wrt54g wireless router. I have made it into an access point which i was unaware is better. Im kinda new to the networking deal though it is what i want to do as a career and access points are

  • Create Blank Signature Field in Acrobat 9

    Looks stupid, but I don't find the way to create blank signature fields in Acrobat 9 pro, I need it to pass the file on so that Reader users can sign it. To sign and then delete the signature (leaving the blank signature field) is not a valid alterna

  • SAFE BOOT/ CANT LOG IN

    HI? I WAS NOT ABLE TO LOG IN TO MY MAC TODAY, IT WAS JUST SHOWING IN THE RIGHT CORNER WITH RED LETTERS SAFE BOOT. I HAVE NO IDEA WHY IT IS IN SAFE BOOT, RIGHT NOW ALL I CAN DO IS RESTART IT OR SHUT IT DOWN, CANNOT LOG IN. HOW DO I GET OUT OF SAFE BOO

  • Rsh disconnect problems in Solaris 10

    My company uses rsh to transmit data to proprietary cards, from Ultra 25's running Solaris 10. We're experiencing random timeouts. The error is rsh connection timeout. We never had this problem on Solaris 8 or Solaris 7. Has anyone run across this be