Labview programming to convert weight measurement into mass flow

Hello,
I have continuous analog input measurement from weight scale. I want to convert the weight measurement to mass flow measurement.
E.g.:
1st minute weight measurement: 200kg
2nd minute weight measurement: 300 kg
3rd minute weight measurement: 350 kg
and so on.
I want to convert those weight into mass flow which is
1st mass flow300-200)keg/1min = 100kg/min
2nd mass flow: (350-300)kg/1 min = 50 kg/min
and so on.
So the weight and should be updated every minute, whatever the time value of while loop iteration.
Can somebody give solution of this case with labview programming? (structure in block diagram)
Thanks,
Eko

Hi Eko,
is this some kind of homework?
Well I suggest to use two shift registers to hold mass and time, then two subtract nodes to get the difference of current and old vlaue for both and finally a simple divide to get the mass flow...
Look here to get the basics!
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome

Similar Messages

  • Is there a LabView library for MKS type 1258A controller mass flow ?

    I have only found library for 647C and MKSMassFloViaRS-485 . Is it possible to work for the 1258A?
    Thanks in advance

    Hello SVP1, 
    Here are the MKS drivers we have:
    ni.com: "mks" - 3rd Party Drivers
    http://search.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/en/pg/1/sn/ssnav:idr/q/mks/
    I am sorry to say we do not have one for your device. 
    What you could do is contact the manufacturer to see if one of the drivers we do have also works with your device.  Sometimes this happens with very similar devices, but is not supported by National Instruments.
    Regards. 
    Ernesto

  • How do you convert labwindows programs to labview programs?

    Is it possible to convert a labWindows/CVI developed program into a LabView program?

    No. Maybe once NI releases the LabVIEW scripting tools, someone will create such a tool but for now, the only thing you can do is create a DLL from the CVI code and use the Call Library Function Node. This is done all the time with CVI/IVI instrument driver and there is a tool to do this type of conversion.

  • How to convert labview program to .exe file?

    Is it possible to convert VI file into .exe file? How to go about doing it?

    hi
    you simply need to use the application builder - included in LabVIEW professional version or you buy this tool separately.
    Remark: On target machine the Run time engine (for free) has to be installed.
    regards
    wha

  • I know how to convert wma files into aac but the itunes program messed all my album how can i fix that

    When i convert my wma files and put them into my itunes program it converts them automaticly but it mess up all my albums it split albums and it put lonely song here and there and i cannot put them back were they bellong...why it does that ? How can i fix that because i do have a lot of albums and i would like to convert them all and make sure that all song are in the album were it should belong ?
    Thank in Advance.
    Yan.

    Filling in the Album Artist will fix things most of the time, though if you also have an older iPod then you might find the album splits up again on your device. For more information see my article on Grouping tracks into albums.
    tt2

  • How to batch convert bmp files into jpg by dos command or c# program language?

    How to batch convert bmp files into jpg by dos command or c# program language?
    Many thanks for replying.

    Try
    GraphicsMagick.

  • Is there a program that converts Quicktime video files into Media Player?

    Is there a program that converts Quicktime video files into Media Player video files?
      Windows XP  

    Windows Media Player on a PC plays avi and mpg in addition to the WMV and ASF files so you can either use a Windows program that generates those files from .mov format or you can use QT Pro to convert the .mov to uncompressed avi and then use Windows Media Encoder to make WMV files. Although it may be out there no one here has mentioned a PC program that converts directly from .mov format to WMV. There is a program for Mac OS that does it and I believe that company is working on a version for Intel Macs so it wouldn't be much of a stretch for them to port it to Windows.

  • Keithley 2636 measures current and 2400 offers a 3 volt pulse synchronized in a labview program

    Hello,
    I am not very familiar with labview and I neet a program to realize keithley 2636 measuring current and 2400 offering a 3 volt pulse synchronized.
    It means that when 2636 measure one times, 2400 give a pulse. When 2636 measure 100 times, 2400 offers 100 pulses synchronized.
    The Channel A of 2636 is used for measuring and Channel B is used for another works.
    The attatchment is the labview program I created and it can not be run synchronized.
    Thanks for your help!
    email:[email protected]
    Attachments:
    repeat04.vi ‏38 KB

    Hi Lin,
    I did not talk about a GPIB (or similar) cable to connect both devices with a PC, I did talk about the special cable for synchronizing both devices with each other called TriggerLink!
    Please read the user manual of your K2400, (chapter 11 on triggers, or figure 1-2 for a view of the rear panel). It describes the TriggerLink capabilities of Keithley devices!
    RTFM!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Convert Agilent 34972A command to labview program

    Hi,
    I'm using labview to remote control Agilent 34972A. 
    i need to read from one channel at a higher frequency,and write the result in a file. I think the following command would do that, but I couldn't make it work in labview program.
    CONF:RES  70000,1(@101)
    ROUTCAN(@101)
    TRIG:COUN 1000
    INIT
    FETC
    I attached the program that I'm using right now to get data from different channels with lower frequency.
    Thanks.
    Attachments:
    VI.jpg ‏190 KB

    It was suggested at http://forums.ni.com/t5/Signal-Conditioning/readin​g-from-one-channel-without-mechanical-opening-and-​... that you use the monitor function but I guess you didn't read that or bother to try.

  • Embedded Labview exe in a LabView program

    Is it possible to integrate an exisiting LabView *.exe file in another LabView vi or LabView project?
    The existing LabView *.exe does output some measurement data on the front panel, but I would need this data written e.g. to an Excel sheet. So I thought it must be possible to embed the LabView *.exe file into another LabView vi, that reads data from the *.exe file and writes the data into a data file.
    I don't have access to the original LabView program, before it was converted to an *.exe file and I don't know the settings used to built the *.exe.
    Toodles,
    Optimike

    Without testing I'm not sure if it is working.
    Maybe you should be able to open an application reference to the application. You should add the entries for VI Server in the configuration file to listen on a specific port. In LV 8.6.1 you can open the application with this port. With this reference you can try to open a VI reference for the VI from which you want the data. Use Get CTRL Value to read the data from the control.
    The application must be running before you can do this. For the final solution you must make any error handling on errors by the Open Application Reference primitive.
    The thing I'm not sure about is if this will work across different versions of LV.
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • Control a 3 phase motor and convert input voltages into pressure values.

    Hi,
    I'm in my 4th year at university and I have been given a project that involves the experimental investigation of the interaction between fishing gears and the seabed. The work will consist dragging full-size or scale trawl components along a channel containing typical seabed sediments. I aim to create a LabView program that will allow me to operate the motor and analyze the 6 transducers I will be using.
    For the motor I desire to be able to:
    1 - Start the motor.
    2 - Define the speed it accelerates to.
    3 - Have the ability to switch off automatically depending on its speed and distance it has to the end of the rig to avoid the trolley crashing.
    For the 6 transducers (4 pressures, 1 load cell, 1 horizontal displacement) I desire to be able to:
    1 - Convert the voltage signal into the relevant unit of measurement.
    2 - Record data at a rate of 10Hz.
    3 - Output the recorded data into a file and also onto graphs.
    I also intend to introduce an emergency shut down facility for the whole system.
    I have started doing the built-in tutorials so i am able to do the basic routines. However I have no idea where to start creating a program to control a 3 phase motor and to be able t convert voltages from transducers into pessures and distances.
    I have version 8.5 if anyone has any information or advice i would greatly appreciate it .
    Thanks,
    Grant.
    Message Edited by grantstephen on 03-14-2008 11:28 AM

    You should try in the LabVIEW forum.  This forum is for Employers with LabVIEW job openings.
    http://forums.ni.com/ni/board?board.id=170
    =============
    XP SP2, LV 8.2
    CLAD

  • Connecting hardware(c​onnected to myDAQ) to my labview program

    Hi,
    I have a labview program that will send an email (Gmail) when you click the " Button " in the program but 
    i need to modify it so that when i press a switch button at my hardware(connected to myDAQ)  the email will be sent ; meaning to replace the " Button " with my hardware 's switch button.
    Consulted with my lecturer and she says something like inputing logic 1 into the mydaq/labview to run the process.
    I have attached my program below.
    Any help is greatly appreciated!
    *I'm using NI LabVIEW 2013 SP1 (32-bit)
    P.S : i know this is the 2nd thread i created but i'm not sure how to close that one(i have already selected a solution) 
    Attachments:
    Basic Sending email program.vi ‏341 KB

    In order to use your signal input instead of your button, you need to read in the signal as a boolean. Digital inputs are already in the form of booleans (just like how your digital outs are set up), but if you are pulling in the trigger through your analog inputs, you'll just have to add some threshold logic to convert from an analog value to a boolean.
    If you have digital inputs, just set it up the same way you have that DAQ Assistant in there already reading in analog inputs and wire the boolean trigger to the same case structure as your button.
    Your teacher probably means channel 1 is your trigger input when she says "logic 1". This just means if you're pulling in multiple channels, that you use channel 1 as your trigger (which is actually the second channel becauce indices in LabVIEW are base zero).
    Actually, after thinking about it, maybe your teacher is pointing out that you need to add logic to read in a value of 1 as True? This makes me think you're reading an analog input as your trigger and you need to use logic so that a value of 1 is True.
    James
    LabVIEW Professional 2014

  • Password for labview program

    Hi all,
    I am developing a labview program for a high
    power microwave device. The final program will
    be running stand alone on a pc attached to the
    microwave device in a laboratory. To ensure
    safety, I am wondering if I can set up a password
    to the labview program at start up so only
    authorised people can use it? Or if there is
    other way to do that. Any comment will be
    greatly appreciated.
    Thanks.
    Regards
    Hank
    Sent via Deja.com
    http://www.deja.com/

    In article <[email protected]>,
    [email protected] wrote:
    > Hi all,
    >
    > I am developing a labview program for a high
    > power microwave device. The final program will
    > be running stand alone on a pc attached to the
    > microwave device in a laboratory. To ensure
    > safety, I am wondering if I can set up a password
    > to the labview program at start up so only
    > authorised people can use it? Or if there is
    > other way to do that. Any comment will be
    > greatly appreciated.
    >
    > Thanks.
    >
    > Regards
    >
    > Hank
    >
    > Sent via Deja.com
    > http://www.deja.com/
    I am pretty sure that you can do that by using a case loop outside of
    your main program. You can set it up so that user(s) will have to
    enter a string (which would be password) before he/she can get to the
    front panel of the main program.
    Within this vi, you can have an array of strings such that users can be
    given different passwords (or level of authority) for more security.
    After the user enters the password, you can compare the user input by
    using equal function in the comparison palette (make sure the password
    list is case sensitive or stuff like that or you'll have to convert all
    the user input string to either upper or lower case if you want to save
    some trouble). If the result of comparison is true, then they can get
    into the main program, or else the program will quit.
    You can also put in looping structure to make it more fancy such that
    each user can be given say 3 chances to enter the correct password...
    If you want to go really fancy, you could also try to put in a data
    file that stores all the passwords in binary format (requires a little
    conversion, of course) in a directory of the target machine that you
    know exist (say WINDOWS or WINNT), and include the data file as part of
    your instalation disk content, point the installation destination to
    that directory. In your password program, find the target machine
    operating system and then look for the file from there.
    Hope it helps. If you have any questions, please e-mail me at
    [email protected], and I'll try to e-mail you a copy of my code.
    Sent via Deja.com
    http://www.deja.com/

  • HP4275A can not pass self test after running the labview program

    I am using Labview to control HP4275A LCR meter. The Labview program is just the instrument driver for the HP4275A, and it works great. Before running the program, the instrument can pass both Open and Short test perfectly. But after running the program, it can not pass self test, neither Open nor Short. I don't know why?? Is it relative to my Labview program??
    Thanks

    Thank you so much for your help. Yes, the instrument is in Local after running the instrument driver. In normal Open self test, just choose Capactiance as the Display A, and leave the four output terminals open then press the Self Test button. The Open self test will start and "OP" will be shown in the DIsplay A window, after 2 seconds, the open test will be finished. If something abnormal, the number of the abnormal step is displayed in Display A. Similar with the Short test.
    The problem I had was: before running the instrument driver, the self tests pass; but after running the instrument driver, the Open and Short test show abnormal, Open test is abnormal at step 17, and Short test is abnormal at step 24.
    And the instrument driver is only write commands into the instrument and then read back measuring values from it. Nothing else. So I am not sure if the problem is my instrument driver.
    The weird thing is the problems happened several times and then if I do the Open and Short self test again after running the instrument driver, both pass. I am not sure whether the problem will come back or not.
    Ia there any help??
    Big thanks

  • Help, Ni-Daq channel names and labview program error 10001?

    Can anyone please help me, I have inherited a role that I know nothing about. I have managed to get an NT pc to now recognise the SC-2345 board, set up and configure two channels and test them in Measurement and Automation program, this I managed after getting error 10401 and looking within these message boards which are very good.
    I have then started a labview program, previously written by ex-employee, and now get error 10001, after trawling the FAQ and forums I think that I have a naming error in the virtual channels created, how do I find out what the channels should be named within the Labview program, do I need to load an editor etc and then open a config file?
    Sorry if this seams like a simple error, but I am trying to learn the software from a book that is a little tattered.
    Regards

    Hi,
      error 10001 can be caused by a few things including an incorrect scanning order.
    If you'd like to post your code back onto here (or if it's large, ftp it to ftp.ni.com/incoming and let use know the name of the zip file you've packaged it into), then we can see what the DAQ section is supposed to be doing and hopefully provide some clues as to where to look for the information / why the error is occuring.
    The first thing to do is go back to Measurement and Automation explorer and try setting up a global task that refers to the channels you're interested in.
    This removes the programming side of things, since you select from drop down lists, to verify that you can communicate correctly with the hardware at the rates and across the channels that you want.
    These links is going to be your best learning point for getting up an running with the program.
    http://digital.ni.com/public.nsf/allkb/DD52ABD7C15F0B15862562910074F09E
    http://zone.ni.com/devzone/cda/tut/p/id/3116
    http://zone.ni.com/devzone/cda/tut/p/id/4656
    In terms of LabVIEW, there's several I/O controls you can use which will list the hardware channels you have configured or the global tasks you have created in Measurement and Automation explorer. (see the last link above)
    Another option is to look at our Alliance Partners if you need things configured and up and running in a hurry.
    http://www.ni.com/alliance
    If you just need a little pointer on getting kicked off, then you could see if you local sales engineer is available to go through things with you for an hour if they're in your area at a convenient time (for the UK / Ireland, please call in on 01635 572410 and ask to go through to sales), or we do offer start-up assistance (but that's something you need to purchase) to get a day's onsite assistance with getting your hardware up and running and starting you off with advice / examples on your application (note this is an effort based thing rather than a results based guarantee)
    Finally you could consider coming on one of our courses on LabVIEW and / or Data Acquisition to learn more about the software / hardware and be better prepared to handle the implementation yourself.
    Hope that helps
    Sacha Emery
    National Instruments (UK)
    Message Edited by SachaE on 03-23-2007 11:49 AM
    // it takes almost no time to rate an answer

Maybe you are looking for

  • Error on Running Full Client Reports on Infoview

    Post Author: AmitP CA Forum: WebIntelligence Reporting I'm running WebI 6.x on a system with the following environment Microsoft Windows Server 2003 SP 1Business Objects 6.5 SP2Microsoft Internet Information Services (IIS) 6.0 Whenever I try to run a

  • Thunderbolt dock for dual display

    Hi All, Does anyone have a recommendation for a reasonably priced (say < $100) Thunderbolt dock? I want the MagSafe 2 + Thunderbolt 2 cable simplicity... i.e. set the laptop on the desk and click the two cords into my MacBook Pro. I need to connect t

  • How to add Java projects to FlexBuilder2?

    In a recent Breezinar about Flex Data Services James Ward demonstrated how to to debug a Flex2/Java application by simultaneously setting breakpoints in both the ActionScript client and in the Java server from within the same instance of Flex Builder

  • HT4009 How to transfer an app made from an in-app purchase to all other idevices

    I downloaded the free version of the app "phone4kids" on iPhone which then Transferred directly to my ipad and iPod touch. I later bought the full version using an in-app purchase. However, even after I synced all devices to iTunes the full version d

  • Pro's: Is my advice correct? Thanks :)

    Hi All, b Is the advice re fall back into the other partition correct? Some say the Combo Updater works better than Software Update. I have partitioned my HD into a large and a small volume. I had 10.4.2 on both and was paranoid about the 10.4.3 upgr