How to set the input frequency output rate linearizer function

I have an input range of 0 to 2000 Hz with a digital meter. I need to convert the signal in gallons per minute (GPM) using a non-linear process with 10 points on the scale. Here are the 10 points of the scale.

In display

0 =.64 Hz DSP0 INP = 0.001 gal/MIN

INP 1 =.83 Hz DSP1 = 0.002 gal/MIN

INP 2 = 0.03 Hz DSP2 = 0.007 gpm

INP 3 = 0.83 Hz DSP3 = 0.025 gpm

INP 4 = 0.12 Hz DSP4 = 0.038 gpm

INP 5 = 01.16 Hz DSP5 = 0,126 gpm

INP 6 = 07.77 Hz DSP6 = 0,380 gpm

INP 7 = Hz DSP7 = 0.503 02.43 gpm

INP 8 = 016.33 Hz DSP8 = 0.637 gpm

INP 9 = 695,22 Hz DSP9 = 1.056 gpm

I need Labview to provide a linear display throughout each segment (i.e. between the sequential characteristic points) so that any entry in the system in Hz translates into a rate of GPM. Any ideas?

Thank you

Toddzilla

This VI works perfectly now. I had to increase the samples per second at 80 k so he could flatten. The function ' scaling and mapping ' is the key to this.

Be sure to enter at least 20 frequency of entry on the front block until you try to run it, increase intake of up to 1700 freq for GPM indicator work...

Thank you all for taking the time to help me.

Kind regards

Toddzilla

Tags: NI Software

Similar Questions

  • How to set the input to a text field filter?

    I use a text entry (a flash component) to which the user will enter numbers only in (positiv and negative integers and floating point numbers) but not any other symbol.

    Copy the following code


    on keyDown me

    If ("1234567890 -") contains the key or the key = backSpace or key = tab keyCode = 123 or the keyCode 124 = then
    Pass
    on the other
    stopEvent
    end if

    end

    This script works fine when I use it with style text old fields to the Director. It does however not work with new component flash style (text entry).

    How can this be repaired?

    Thanks in advance for any help.

    HUMAN RESOURCES


    First of all, I should mention that I have avoid using Flash inside Director, so there may be a better way.

    As you noted, catch events keyDown globally affect all entrances to the keyboard. If you want to specify a subset of sprites so you need a management system which. The simplest would be a global list that fill you it with a small number of sprite when switching to a new framework.

    global gRestrictedInputSprites

    on preparemovie
    gRestrictedInputSprites = [1, 5, 6, 23] - SAMPLES
    keyDownScript = "chatchKeys()".
    end


    on stopMovie
    keyDownScript = «»
    end


    on chatchKeys
    If gRestrictedInputSprites.getPos (_movie.keyboardFocusSprite) then
    If _key.key = "," and then
    stopEvent()
    on the other
    Pass
    end if
    on the other - overall restrictions on entry
    Pass
    end if
    end chatchKey

    And then add a beginsprite to your Framescript to set the values of the gRestrictedInputSprites for each image tag loop you on--assuming that you place the frame head with "go the frame."


    global gRestrictedInputSprites

    on beginSprite me
    gRestrictedInputSprites = [] - the list of sprites all entry who need entry restrictions for this frame.
    end

    on exitFrame me
    go part
    end

    If you follow this path then I suggest to use a GPDL to set the sprite shortlists. No need to write more than one behavior.

  • set the input value using a workflow setting?

    Jdev 11... 2
    I have a taskflow browse master / detail that called the edict taskflow passing parameters to a router that will either modify it or create method for the detail record (change/create master is in a different position). I can successfully modify/create the main form and I can change/create the detailed form, but I didn't understand how to set the input value for the agency_Id (of the master) in detail. I control data binding to create my detail record 'create', and I have a task flow parameter that has the agency_id I want as the default value in the detail. I don't know where to put the input value. I tried to add another method to the method call that has her 'create' binding for retail, but it seems that I can have only a single method. Do I need another method call to set it? Or should I do something programmatically? (I'm Javaless, so hopefully I can do declaratively).

    Thanks much for any help. If I can figure out how to make this piece, I'll have the beginning of an application that does something useful.

    LB

    Hello

    There is a new Createmethos called 'create with Params' that you can use for this.

    http://www.Oracle.com/technology/products/jdev/tips/fnimphius/createWithParameters/createWithParameters.html

    Simply plug the parameter to the variable of pageFlowScope containing the input parameter

    Frank

  • How to set the output meter channel to generate a signal pulse using DAQ6008

    Hello there I am generating a pulse signal of 100 Hz and a duty of 20% of the 6008 data acquisition cycle using visual studio 2013. I have code that needs to generate this but I'm not sure on how to set the channel output meter. When I run this NI MMAX and my vb error code indicates that the physical channel is not supported. I am a user of data acquisition were first and would appreciate any help offered.

    If you look at the USB-6008/6009 User Guide and specifications, you will see that the counter in these devices cannot rely as edges of entry. It cannot generate a pulse.

    Lynn

  • How to set the output of the report to the session variable

    Hello
    Is it possible to output report to the session variable value. If my report returns 1 row and 1 column.

    I have a dashboard command prompt where I select name, but I want to find the ID of the same name.
    This ID I want to move to a Fx column, to achieve this, I created an interim report and I got the code. Now my problem is how do I put this ID in the session variable.

    Please help if anyone knows...

    Have you read this:
    How to set the session / presentation in the repository variable variable

    Dashboard invites on Month Name but the report on the ID of the month filter:
    Re: Guest dashboard on the name of the month but the report on the necessary month ID filter

    If you have dashboard guest (name), then you can have that one report that is filtered by a name but present card to display or not id but use id in the service. Or two reports as in the solution in the second link above and the second report has id in the function and filter by the id of the first report. You need not define this ID in the session for this example variable.

    Please close your previous discussions, if they are treated.

    Concerning
    Goran
    http://108obiee.blogspot.com

  • Make sure that wire you all the inputs and outputs of your node library function call?

    This document says "make sure that wire you all the inputs and outputs of your node library function call.

    http://digital.NI.com/public.nsf/WebSearch/7253D2F0D91F68058625752F005AB672?OpenDocument&submitted&&...

    But all the terminals on the right side of the call library node considered "outputs" referred to in the foregoing statement?

    This same document continues to show the right way to allocate memory with this illustration and in the illustration, the right "outputs" are left without junctions.

    Am I right in assuming that the only terminals that count as outputs, those who use the code of the DLL (modify) as output?  If it is true, then all other terminals output associated with the values entered alone so don't really account as outputs, correct?

    In the parameter call-library configuration screen there is a "Constant" check box and the help that he wrote "indicates whether the parameter is a constant."  What is this box? for me in the setup of the DLL call

    Finally, assuming that a call from the DLL that is supposed to write in these five outputs, is it legitimate to use constants like this to book a space of memory for the output values?

    How about if local variables associated with the output terminals are used instead?

    Despite the linked document, it is necessary to connect the corresponding entry for simple scalar output parameters (for example a digital). LabVIEW automatically allocate memory for them. If you do not want the entries for all the output wire anyway, there should not be no difference between a constant and a local variable; I would use a constant to avoid useless local variables.

    For settings that are only entries, there is not need to connect the outlet side. It's a bit simplistic since all parameters are entered only and get one result (other than the return value), you pass a memory address and modify the content to this address, but LabVIEW manages this dereferencing pointer for you. If you want to really get into the details, learn more about pointers in C.

    The "Constant" check box acts as the qualifier "const" on a c function parameter. It tells the compiler that the function you are calling will not change this setting. If you call a function prototype includes a const parameter, then you must mark this as a constant parameter when you configure the call library function node. Otherwise, I wouldn't worry on this subject.

  • How to set the storage space allocated to the restoration of the system to 200 MB?

    Could you tell me how to set the maximum storage limit to 200 MB?

    Whenever I have delete system restore points, my hard disk free space increases about 10%.  About a week or so later, it's back to where it was before I deleted the restore points.

    It is very important for me because I am sure that storage space is set too high.

    Hello

    See the "BOLD" marked links with more information to help.

    Phantom memory also holds your restore VSSadmin points it defines parameters.

    How to create a Vista System Restore Point
    http://www.Vistax64.com/tutorials/76332-system-restore-point-create.html

    How to make a Vista system restore
    http://www.Vistax64.com/tutorials/76905-System-Restore-how.html
    How to turn System Restore on or off in Vista
    http://www.Vistax64.com/tutorials/66971-system-restore.html

    Adjustment of the amount of disk space, System Restore uses for restore points
    http://bertk.MVPs.org/html/diskspacev.html

    How to change how much Space System Restore can use
    http://www.Vistax64.com/tutorials/76227-system-restore-disk-space.html
    http://www.Petri.co.il/change_amount_of_disk_space_used_by_system_restore_in_vista.htm

    ShadowStorage vssadmin commands
    http://TechNet.Microsoft.com/en-us/library/cc755866 (WS.10) .aspx
    http://technet2.Microsoft.com/WindowsServer/en/library/89d2e411-6977-4808-9AD5-476c9eaecaa51033.mspx?mfr=true

    Guide to Windows Vista system restore
    http://www.bleepingcomputer.com/tutorials/tutorial143.html

    Expiration errors occur in Volume Shadow Copy service writers, and shadow copies are lost during
    backup and at the time when there are high levels of input/output
    http://support.Microsoft.com/?ID=826936

    A good utility:

    Explorer of the shadow - free
    http://www.ShadowExplorer.com/

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • How to set the key numb to activate at startup

    How to set the key numb to activate at startup on computer laptop gateway running windows 7?

    Original title: numb locking button

    Hello Wan,

    Thanks for the quick response. We appreciate your time and your efforts.

    By default the NUM LOCK status is the same as it was before you shut down the computer properly. If it is on when you shut it down it will be on when you turn on the computer again.

    A few users have solved this problem by disabling fast boot option in the BIOS (Basic Input Output System). I would ask disable youFast Boot to the BIOS and check if that helps.

    For more information about how to disable Fast Boot in the BIOS, I would ask you to contact the manufacturer of the system.

    Note:

    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.

    Hope the helps of information provided. Let us know the results and do not hesitate to post on the Microsoft Community, in case you have problems when you are working on Windows.

  • How to use the input as VC Atttibutes string?

    Hello everyone,

    I'm discovering VCO. And I need your help.

    How can I use input string as a VC attributes at the end? Then, use this return as input for another workflow.

    The workflow that I am putting in place is:

    1-name of the VM to search in vCenter: input String (example: 'TOTO')

    2-search 'TOTO' virtual machine in the vCenter, if found then

    3 - use this result to clone a VM TOTO

    For stage 1 and 2, it works, I can search based on the input of the chain and get a result.

    But for step 3, I use another workflow 'Create virtual machine' and we must put a VC:VirtualMachine.

    And it does not work because the type I get to step 2 is not compatible with the entry for step 3.

    Progressive input signal 3 waiting for VC:VirtualMachine

    And the output of step 2 is the table / VC:VirtualMachine.

    I tried to change the input type for step 3 as table / VC:VirtualMachine.

    Whenever I got the error message:

    TypeError: Cannot find the cloneVM_Task function in the DynamicWrapper (Instance) subject: [VcVirtualMachine]-[class com.vmware.vmo.plugin.vi4.model.VimVirtualMachine] - VALUE: VirtualMachine, vm-907 > "LYNC01." (Name of the dynamic Script Module: cloneVM_1 #13)

    I don't want the workflow using the VC search plugin, but I need to set the input parameter.

    If someone has an idea.

    Thank you all.

    Keep the entry for step 3 as VcVirtualmachine (only one), but add an extra step:

    2.5: get the first (or last, should not question: I hope that you will find only one :-)) table.)

    You can do it in Javascript, using the method. pop() from an array.

    var sourceVM = foundVMs.pop () / / sourceVM is of type VcVirtualMachine, foundVMs table/VcVirtualMachine

    See you soon,.

    Joerg

  • How to set the voltage on a 3.3 volt NI 9237 module?

    Hello

    How to set the voltage on a 3.3 volt NI 9237 module?

    The voltage is now at 2.5 volts.

    This is my first time with this camera.

    This set of MAX or are there jumpers?

    I want the value of the excitation voltage at 3.3 Volts and do not change.

    The NI 9237 is a NEITHER cDAQ-9172.

    Thank you

    Bill

    Hi POBA,.

    This can be set to your programming environment.  For example, LabVIEW Signal Express, a task of MAX, or a DLL call in a text-based environment.  You want to create a strain, tension Custom with excitement, or any bridge based task in any environment.

    "" "In MAX, right-click on your device and choose create a task" acquire signals "analog input"...

    "" "In LabVIEW, place a DAQ Assistant" acquire signals "analog input"...

    "" "In Signal Express, add a step for Acquire" DAQmx Acquire"analog input"...

    In any C language based, you will want to call a function such as: DAQmxCreateAIVoltageChanWithExcit, DAQmxCreateAIStrainGageChan, DAQmxCreateAIBridgeChan

    You can then specify the Source of Exictation to be internal to 3.3V.

    Best,

  • How to set the character encoding in Blackberry

    Hello

    In my application, I get the data using http server methods...

    now my question is that, in that the data is seen some like that

    ex: Córdoba, but inside, I do not like this...

    After some R and D, I thought that I have to set the character encoding...

    can someone tell me how to set the character encoding and how I can get all languges in my application

    See below the code for reference

     HttpConnection c = null;
                        InputStream is = null;
                        DataOutputStream os = null;
                        int rc;
        c = (HttpConnection)Connector.open("http://10.10.10.00012:8585CountryDatar;deviceside=true;");
                                c.setRequestMethod(HttpConnection.POST);
                                c.setRequestProperty("If-Modified-Since", "29 Oct 1999 19:43:31 GMT");
                                c.setRequestProperty("User-Agent", "Profile/MIDP-2.0 Configuration/CLDC-1.0");
                                c.setRequestProperty("Content-Language", "en-US");
                               /* Getting the output stream may flush the headers */
    
                                os = (DataOutputStream)c.openDataOutputStream();
                                byte[] res = net.rim.device.api.system.GPRSInfo.getIMEI();
                                os.writeUTF(net.rim.device.api.system.GPRSInfo.imeiToString(res));
    
                                os.flush();
                                /* Optional, getResponseCode will flush
                                    Getting the response code will open the connection,
                                    send the request, and read the HTTP response headers.
                                    The headers are stored until requested.
                                */
                                rc = c.getResponseCode();
    
                                if (rc != HttpConnection.HTTP_OK) {
                                   throw new IOException("HTTP response code: " + rc);
                                }
    
                                is =(DataInputStream)c.openDataInputStream();
                                 byte[] data1 = new byte[256];
                                 int len = 0;
                                 int size = 0;
    
                                int ch;
                                StringBuffer sb = new StringBuffer();
                               while ( -1 != (len = is.read(data1)) )
                               {
                                    sb.append(new String(data1, 0, len));
                                }                
    
                             data = sb.toString();       //Here data is a string storing all data came from server
    

    Give us a break please.  I have other things to do!

    You set the encoding here:

    SB. Append (new String (data1, 0, len));

    Most of the servers give you UTF - 8, but you know that.  Anyway, if it is UTF - 8 follow these steps:

    SB. Append (new String (data1, 0, len, "UTF - 8"));

  • How to set the image of the project format

    Newbie question: I create a video from various sources. Some sequences are 1280 x 720, other clips from old DVD, whose size is 642 x 480. The first clip I have loaded in my project is the old (642 x 480 pixels), it seems because I loaded the small clip in the first place, the whole project is that report width / height. So now when I try to bring new clips, they get cropped. How to set the size to 1280 x 720? It's ok, if there is black bands around the small clips. Thank you

    I use first Pro CC on Mac OS 10.9.5

    Select your sequence in the project Panel, and then open it by going to sequence/sequence settings in the menu dropdown.

    Now change the custom output Format.

    Now, you will be able to change the settings.

  • Documaker: How to set the overflow by page 2

    Hi Experts,

    I want to put the overflow of 2 per page.
    Overflow works, but a part of the production is superimposed on 1 page.
    I can't set the overflow by 2 pages?

    1 formA (contains Subform1)
    2 Subform1 (contains Subform2)
    3 Subform2

    Subform2 has 2 pages (pages 1/2).

    Subform1 on proforma is the overflow setting when the trigger by XML.
    Search mask (counter)!: / xxx, data, repetition, repetition

    Subform2 on Subform1 offers which are always repeated 3 times.
    Reference:
    Documaker: How to define repeated 3 times exceeding always.

    For example, there are 2 types (Type 'X', type there "") in "Repeat".
    In the test, sample output is as follows.
    I want 12 pages output, but output data are 11 pages because PAGE 6 superimposes itself on 1 page.
    (1), (2), (3) East County. (Always 3 times a 'Repeat')

    PAGE 1: TypeX (1) - page1
    PAGE 2: TypeX (1) - page 2
    PAGE 3: TypeX (2) - page 1
    PAGE 4: TypeX (2) - page 2
    PAGE 5: TypeX (3) - page 1
    PAGE 6: TypeX (3) - page2 is encroaching TypeY (1) - page1
    PAGE 7: Typical (1) - page 2
    PAGE 8: Typed (2) - page 1
    PAGE 9: Typed (2) - page 2
    PAGE 10: Typed (3) - page 1
    PAGE 11: Typed (3) - page 2

    Please tell us how to set the overflow by page 2.

    Thank you

    It always seems that you have your typed page (1) configured to use an absolute origin and defined on the same page as your another subform.
    If your know you will have to TypeX and typed elements and you want the TypeY to start on a new page, then you must go back to the provision of origin in DMStudio and create a new page and start the subform to TypeY on its own page.
    By definiing two subforms on the same page of the form and each giving origin start to ABS 0, you say that the two elements can co-exist on the same page. That might be true if they are mutually exclusive where you would have only one or the other. But if you can have both, you can't have the second subform have an absolute origin. Otherwise, he will always overlap all that exists on the page where you set trigger.

  • How to set the number of e-mail messages that are stored on my iPhone

    How to set the number of e-mail messages that are stored on my iPhone – so when I don't have a network connection I can see a 'large' number of messages in my Inbox etc.

    This is series is not defined in the world

    You must go to settings-> mail, contacts, and calendars and check the settings of your e-mail provider offers in this area

  • How to set the time that my screen stays on?

    How to set the time that my screen lights up.  I have an iPod Touch 6?

    Settings > general > auto-lock

Maybe you are looking for

  • Failed to start; dark screen extended

    On the attempt to start, the screen was black. Screen brightness then returned; It appeared that I was in 'safe mode' and that, perhaps, I forgot my password. I then initiated a reboot, but the same cycle repeated, starting with a black screen. Help.

  • Pictures transferred to the iphone do not show in the PC

    IPhone 4s: IOS 9.2 PC OS win 7 ICloud: No. Other services to store pictures or images of cloud: No. Are physically stored pictures on the Iphone: Yes I copied photos of android in a folder on my PC. I opened Itunes and sync the folder on the PC so al

  • Restore failed - error code = 0 x 17 (data error (cyclic redundancy check).)

    I bought the Acer eRecovery discs and when I go through the process of execution of the recovery I get the error that is in the subject line. It fails on the same file each time POP01ICW0OX03C1161. STORMWATER MANAGEMENT. I changed the HDD and DVD hun

  • Interruption material (Usbport Dxgkrnl, Heci) make high CPU

    Hi expert, Please help me in this matter: I have problem with my laptop on a few week it is still not solved: -When I start start up, the CPU usage is about 1 to 2%. -After a few hours, my CPU usage is about 30 to 40%, but no program is running. Just

  • Require the NDIS2 drivers for HP LAN and USB travel hub

    Hello I have some ultrabooks with no LAN on board, which I am trying to use an image Ghost (the network). I use a HP LAN and USB hub, but to get the ghost to work, I need drivers BACK (NDIS2) to get this working.  Any ideas where I could get these in