How to use peak detection in labview to detect peaks from data acquisition information

Hi
I am a university engineering student who is working in a team to develop a coin detector, its purpose is to recognize different coinage and detect fakes.
For this we are using LabVIEW 8.5.1. I am relatively new to labview and have had no experience of using to before. We are trying to integrate four voltage signals produced by an electromagnet, straingauge, optical sensor and a proximity sensor. We have already developed signal conditioning for these tests and now wish to put them into labview.
Our plan is to use peak detection on each of the tests so that labview can detect peaks which correspond to different coin types, provided they meet set criteria for each coin. Then to combine these either using logic or mathscript to produce a Boolean output for each coin.
One of our advisors helped us develop a peak detection program for a simple simulated sine wave however we are struggling to adapt this for data acquisition information and itegrate it with mathscript and to be honest it does not make much sense. I have attached the program below. Thanks in advance for your assistance. 
Attachments:
Strain 2.vi ‏25 KB

Chris,
Here are several ways to help  you get started with peak detection:
1. On your functions palette, you can search for "peak detect" and you'll find several different variations of VIs that will do peak detection.
2. You may also want to take a look at this tutorial: Peak Detection Using LabVIEW and Measurement Studio
3. There's an example in the example finder called "Peak detection and display" that will probably be useful. 
Hope this helps, 
Misha

Similar Messages

  • How to use crystal reports in LabVIEW

    Hi, Can anybody tell me how t use crystal reports in LabVIEW. If any material if you will be very helpful.
    Regards,
    Rajashekar

    activeX

  • How to use PXI-8532 in LabVIEW Development Environment?

    Hi,
    I want to know how to use PXI-8532 in LabVIEW Development Environment.
    I'm using
    1. Windows7 32bit
    2. LabVIEW Pro 2012 SP1 32bit
    3. NI-Industrial Communications for DeviceNet 2.3
    4. PXIe-1062Q
    5. PXIe-8135
    6. PXI-8532 *2 (Names are "dnet0" and "dnet1".)
    * Both PXI-8532 are installed in the same chassis (PXIe-1062Q).
    I want to construct the system that "dnet0" sends data, and "dnet1" receives it. The data type I want to use is an array of bools.
    I made VI (test.vi), but it does not work.
    Could you tell me the reason why my VI doesn't work correctly.
    Thank you so much for your help and time.
    Best Regards,
    volcanon2
    Attachments:
    test.vi ‏28 KB

    activeX

  • HT4356 How to use Canon Selphy Photo Printer (CP900) to print from iPad 3?

    How to use Canon Selphy Photo Printer (CP900) to print from iPad 3?  I would like to print the photos in my ipad on my Canon Selphy Photo Printer (CP900) which has wifi...

    hi
    ideally if you want to print from the ipad you should have an airprint enabled printer:
    http://support.apple.com/kb/ht4356
    however, there are workarounds, you can download a decent third party app to print such as print n share, printcentral or printdirect

  • How to use wavelet analysis in labview 8

    Dear everybody
    how can i use wavelet analysis in labview 8
    thanks in advance

    Hey khairy,
          There's quite a bit of information available at ni.com about wavelet analysis and how to perform this in LabVIEW.  By just doing a quick search, I came up with the following links:
    NI LabVIEW Advanced Signal Processing Toolkit:
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/1395
    Advanced Signal Processing Toolkit Demo:
    http://zone.ni.com/devzone/cda/epd/p/id/4765
    KnowledgeBase Articles:
    Custom Wavelet Analysis Using Signal Processing Toolkit in LabVIEW
    http://digital.ni.com/public.nsf/allkb/11ABBF34A0D8E9BB86256E55005CA69D?OpenDocument
    How Do I Use the Continuous Wavelet Transform to Produce a Scalogram?
    http://digital.ni.com/public.nsf/allkb/79EABCEBCA56F65686256F340062C4D7?OpenDocument
    Good Luck!!
    Brian B
    Field Sales Engineer
    Tennessee/Southern Kentucky
    National Instruments

  • How to use a regural expression to get all digit from a string.

    Hi All,
    Do you know how to use regural expression to get all digits from the following string via ABAP program?
    "'Log Attributes                 0 (  0 )     (   10 % Available  )"
    Thanks,
    Andrew

    Hi,
    Try the code mentioned below:
      DATA: STR_LEN  LIKE SY-FDPOS,
            RSTR_LEN LIKE SY-FDPOS,
            OFF      LIKE SY-FDPOS.
      DATA: IDX      LIKE SY-FDPOS,        "mn B20K054003
            CL       LIKE SY-FDPOS.        "mn B20K054003
      DATA: RSTRING(40).
      DATA: STRING(40).   " value 'A,N,I,L'.
      FIELD-SYMBOLS: <NLS_CHAR>.           "mn B20K054003
    MOVE I_REGUH-ZNME1 TO STRING.
      MOVE SPACE TO RSTRING.
      STR_LEN = STRLEN( STRING ).
      DESCRIBE FIELD RSTRING LENGTH RSTR_LEN.
      IF RSTR_LEN < STR_LEN. RAISE TOO_SMALL. ENDIF.
      WHILE IDX < STR_LEN.                 "mn B20K054003
        ASSIGN STRING+IDX(*) TO <NLS_CHAR>.   "mn B20K054003
        IF SY-LANGU EQ '2'.                "mn B20K054003
          CALL FUNCTION 'NLS_THAI_CHARLEN' "mn B20K054003
               EXPORTING                   "mn B20K054003
                    THAI_STRING  = <NLS_CHAR>       "mn B20K054003
               CHANGING                    "mn B20K054003
                    THAI_CHARLEN = CL.     "mn B20K054003
        ELSE.                              "mn B20K054003
          CL = CHARLEN( <NLS_CHAR> ).      "mn B20K054003
        ENDIF.                             "mn B20K054003
        IF IDX NE 0.                       "mn B20K054003
          SHIFT RSTRING RIGHT BY CL PLACES."mn B20K054003
        ENDIF.                             "mn B20K054003
        RSTRING+0(CL) = STRING+IDX(CL).    "mn B20K054003
        IDX = IDX + CL.                    "mn B20K054003
      ENDWHILE.                            "mn B20K054003
    Regds,
    Anil
    Edited by: Matt on Jul 1, 2009 9:36 AM -added code tags

  • HT1695 I know nothing about how to use my new ipod and when reading the little bit of information in the folder that came with it, all I can do is turn it on, but it just powers down after a few seconds.  How do I work this thing?

    I know nothing about how to use my new ipod and when reading the little information that came with it, all I can do is turn it on.  Then in a few seconds it goes black, never having brought up a screen to do anything!  Help!  What do I do to get this thing going?

    You might consider connecting it to the charger and charging up the battery overnight.
    Please Get the iPod Touch User Manual for iOS 5

  • How to use Connection Pool in ADF ear file creaion from jDev 10.1.3

    Hi,
    We are developing big application in ADF with 10 different modules. We are creating ear file with data source setting.
    How to use connection pool while creating ear file from jDev. Connection pool is alreday created in Application Server 10g.
    What all the setting we need do to make use of connection pool while creating ear file jDev.
    Thanks

    User,
    If you are using ADF Business Components, you can right-click each application module, select "configurations" and edit the configuration you are using. On the initial page of the configuration dialog, you can specify to use either a JDBC URL or a Datasource - you just need to choose Datasource and then provide the name by which to access it.
    John

  • How to use url to open report and refresh report's data,but the report's toolbar haven't "refresh data" button

    Post Author: madbird
    CA Forum: WebIntelligence Reporting
    HI,
    scenario is
    I hope use url to open the report,and refresh the report data,but I didn't the user use the "refresh data" button to refresh the report's data.How to do that?
    regards

    Post Author: madbird
    CA Forum: WebIntelligence Reporting
    Thank you for your attention, amr_foci .
    I created a Web Intelligence report,there will be more than 30 companies use.The company only allowed to see the Company Data. I want to use the url of the way, from my company in the development of the system to open report, and refresh reported Table data.but do not want users to use the toolbar of "data refresh" button to refresh the data .
    Now the question of identity authentication system, as well as statements by url open the question of Has been resolved, but it can not shield statements through the pages of "data refresh" button.
    In addition, I now used by the business object XI system is posted on the JAVA environment.
    Regards,

  • How to Use COLUMN NOPRINT - need to exclude one column from Select *

    Dear Friends,
    I need to exclude one column from a SELECT * query. Everytime the column data type is BLOB, I dont' want it to be part of my SELECT. After googling I found some info about NOPRINT but it doesn't seem to be working in my case. May be I am using it incorreclty.
    COLUMN FILE_DESC NOPRINT
    SELECT * FROM FILES;
    Where FILE_DESC is of BLOB datatype.Can I use it in my SELECT or it has to be used in Dynamic SQL? Is there any other option to achieve this?
    Thanks in advance.

    Hi,
    COLUMN FILE_DESC NOPRINT
    affects all queries in the same SQL*Plus session (unless you cancel it with a COLUMN FILE_DESC PRINT command.)  It doesn't matter if those queries are static or dynamic.  As mentioned before, COLUMN is a SQL*Plus command.  If you using a different front end, then it may have a different way to hide specific output columns.
    Did you have a poroblem when you tried it?  Post a complete test script that the people who want to help you can use to re-create the problem and test their ideas.
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • How to use DS's text processing to parsel the text data stored in DB table?

    I want to use DS's text processing to parse the text data stored in a database table, but all the demo I see is parsing text from a flat file. I tried with the blueprint  sample and edit the input from a flat file to database table, but can not map the column with the base entityExtraction. anyone can give me a guide or example? thanks so much!
    regards,
    Bin

    Still looking for some ansewers. Can any one help me?

  • Help: can labview support anyone's designing Data acquisition CARD?

    I want to design a " Data Acquistion Card" with PCI interface,and want to drivedand process output data in labview, But I don't know whether Labview has this function to drive or read/write this kind of Data Acquisition Card which designed by myself not by NI company.

    What you use in LabVIEW will depend on what type of low level driver you write. LabVIEW has the Call Library Function Node for calling a DLL, the C Interface Node, Active X, and .NET functions. You can even use VISA and do register reads and writes.

  • How to use matlab function with labview?

    Hello,
    I just want to use some matlab functions like floor(),ones()... in my labview code, who can tell me how to do it?
     I want to only install MCR in my PC, so MATLAB script node can not work because it need matlab installed. 
    Thanks
    Solved!
    Go to Solution.

    floor() exists on the standard labview pallet already and the ones() function would be fairly simple to reproduce. If you only need a few basic functions repost asking for direction on recreating those specific methods. However, you're right - there is not a direct way to use compiled matlab code in labview without full matlab and the math script nodes. If you're really desparate to reuse some some exisiting IP there are C++ alternatives that implement many of the same methods and syntax as matlab (http://arma.sourceforge.net/faq.html). I'm fairly sure there are other tools that attempt to translate matlab code into pure c functions, both of which can be called via a DLL from within labview: https://decibel.ni.com/content/docs/DOC-9076
    Alternatively, here is an all NI linear algebra solution: http://sine.ni.com/nips/cds/view/p/lang/en/nid/210525

  • How to use Crossbow Xmesh WSN LabVIEW drivers for downstream communication with motes

    Hello,
    I am trying to use LabVIEW Crossbow Xmesh WSN  driver for downstreaming commands but driver programs are not working.
    I am interested in changing node (Iris mote with MDA300 board) update rate from LabVIEW program running on host PC .
           I have  used  Set node update rate.vi  with  open stream.vi and start stream.vi  in proper sequence and developed a program to change node update rate. When program is run no error is shown but node update rate is not changed.
          Pl suggest what I should I do.
    What is the function of  WSN write VIs (WSN write Raw 1sensor1point). For what type of message this is used. 
    I  want to actuate relay on MDA300 with mote id 2. What VIs (from driver ) I have to use and how to issue command related to it.
    Incase any one can help I will be grateful
    Roop 

    Hi Arjun,
    I am sending you snap shot of VI developed to change node update rate.and also the heirarchy of drivers  VIs used in the program for  better understanding .
    In case you can figure out why the command  message send  is unable to communicate with mote .
    Also for downstream communication with motes the packet format used is described in Moteworks user manual from MiMSic.com
    I think the developer of these drivers can help you  out in solving my problem.
    Thanks
     Roop
    Attachments:
    sreenshot to arjun ni for checking downstream comm.doc ‏288 KB

  • How to use USB interface with LabVIEW Embedded for ARM

    Hi everybody.
    I am developing an application based on the "LabVIEW Embedded for
    ARM". Now I am doing various tests using
    the evaluation board 2300 (with NXP LPC2378), but soon I will
    dedicate to program the micro used in my project (NXP
    LPC2148).
    During the tests, I have seen that "default" LabVIEW interface allows the use
    of CAN, I2C and SPI interfaces of the micro. I want to know how can I also use the
    USB interface that is on the micros -both LPC2148 and LPC2378- (pin USB_D + / D-, USB_UP_LED,
    USB_CONNECT, VBUS).
    Thanks in advance for your suggestions

    @chueco85
    If you've created an application in LabVIEW for ARM and you build it.
    you can go to tools >> ARM Module >> Show Keil uVision
    then go to he build options.
    the hex file will be created when you do a build.
    with flash magic :http://www.flashmagictool.com/
    you can program your device.
    Wouter.
    "LabVIEW for ARM guru and bug destroyer"

Maybe you are looking for

  • Premiere Pro CS5 Playback and Performance Issues

    I upgraded (2) separate editing work stations to CS5 from CS4 about a month ago. I moved from 4 to 5 to try and get rid of some problems which both work stations were encountering. The problems since the upgrade are similiar: playback from timeline h

  • Debugging or Running from OC4J container does not save to database

    When I run a project locally, from the oc4j container, none of my user input is committed to the database, for example... 1. any changes to an lov input field are removed upon tabbing out of the field 2. any other changes are not saved, getTransactio

  • MMC red alert

    Hi Experts, When i started SAP MMC  its starting with red alerts and i am not able to login to server. i have checked listener, saposcol, r3trans -d everything is working. trc file: "dev_disp", trc level: 1, release: "700" sysno      00 sid        HM

  • How to create Integration Flow for SOAP to RFC scenario?

    Hello Friends, We have Single Stack SAP PO 7.3 EHP 1 SP08 AS Java in our environment. We have a scenario where a RFC needs to be made available as SOAP Web Service. So we are using SOAP Sender Adapter and RFC Receiver adapter. We want to build this s

  • App World error id 40850, bb 9860

    Hello There I've recently upgraded my device to bb 9860 monza and i keep getting me an error id 40850 when i try to use the app world, "Blackberry app world is having trouble connecting to the blackberry app world server.verify your network connectio