How can I syncronize the analog input?

The signal coming from the microphone input of the DSP module, displayed on Waveform Graph, is "slipping".
How can I syncronize the analog input?
Thank you!

Ahh!  You are doing this on the DSP itself.  That would explain the Express VI problem, since you probably do not have floating point available.  A simple level trigger is not hard to code using integer math.  You can use the VIs I mentioned above as a guide (the algorithms should work well with integers as well as floating point) or just do it yourself.  A possible algorithm for a positive going edge trigger is the following:
Search array until first point is less than level and second is greater than or equal to level (use In Range and Coerce to search).
Extract array subset from your data starting at the point you just found.
If you need a particular length of data and are continously acquiring, append data from the next scan onto your data until required length is met.
If you run into issues, let us know.  Remember that shift registers are your friend.
This account is no longer active. Contact ShadesOfGray for current posts and information.

Similar Messages

  • Can we acquire the Analog input and Digital Input at

    Can we acquire the Analog input and Digital Input at
    the same time? My sensor data include Analog and
    digital signals.

    Hi Chenchen,
    It usually simplifies things greatly if you use analog inputs to monitor both the analog signals AND the digital signals.
    If you abosulutely HAVE to use digital lines, then the answer is, DEPENDS....
    With the correct hardware and depending on how fast you want to collect data and how closely the measurements have to be syncronized in time, it can be done.
    But first, concider using analog inputs to monitor all signals.
    If you need to move forward with both analog and digital acquisitions, then post a new quesion and give us details on the hardware you are using and the other details we will need to advise you.
    Trying to help,
    Ben
    Ben Rayner
    Certified LabVIEW Developer
    www.DSAutomation.com
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How can I set the microphone input level?

    How can I set the microphone input level?

    It would be best to use the standard windows mixer "sndvol32.exe" (in the windows directory) and control it with the System Exec.vi from the Communication palette.
    You may want to look at the following discussion thread, too:
    how to control the microphone volume input via LabView
    How Can I Record Sound in LabVIEW from Sources other than the Microphone?
    Zvezdana S.

  • How can I syncronize the anniversary calendars of iphone and iPad2?

    how can I syncronize the anniversary calendars of iphone and iPad2?

    If you are syncing your iPad calendar with a supported program on your computer using iTunes you can use iTunes to sync it to your phone too.  Otherwise, if you are running iOS 5 or higher on your iPad you can sync your calendar to your phone using iCloud.
    Are you syncing your calendar with a supported program on your computer using iTunes?  Is your iPad running iOS 5 or higher with an iCloud account?

  • How can I write the analogous code to the logic:iterate tag functionality

    Hai This is Rayalu .And I am very new to the Java World. I have a doubt?.How can I write the analogous code to the<logic:iterate> tag functionality using the JSP Tag Libraries . Pleae Send me some examples .

    Hi,
    SELECT objnr objid aufnr
            from afih
            into table t_afih.
    SELECT objnr
            from JEST
            into table t_JEST
            where stat = 'A0045'
               OR stat = 'A0046'
               AND inact 'X'.
    SELECT objnr
            from COBRB
            into table t_cobrb.
    SELECT arbpl werks objid objty
          from crhd
          INTO table it_crhd
          FOR ALL ENTRIES IN it_afih
          WHERE objty eq 'D'
          AND gewrk = it_afih-objid.
    SELECT aufnr objnr auart txjcd pspel gstrp werks aufnr
            FROM caufv
            INTO table t_caufv
            FOR ALL ENTRIES IN it_afih
            WHERE aufnr = it_afih-aufnr
              And pspel = ' '
              AND txjcd = ' '
             ANd objnr ne it_crhd-objnr
              AND auart in s_wtype
              AND werks in s_plant.
             AND objnr ne it_jest-objnr.
    dont use NE in the select statements, it may effect performance also. Instead use if statements inside
    loops.
    loop at t_caufv.
    read table it_chrd............
      if t_caufv-objnr ne it_chrd-objnr.
      read table it_jest..........
       if   if t_caufv-objnr ne it_jest-objnr.
        (proceed further).
       endif.
      endif.
    endloop.
    hope this helps.
    Reward if useful.
    Regards,
    Anu

  • How can i add the value inputted from the prompt box to the mysql database?

    Hey guyz help me pls with this problem... im only new to javascript and also to the opensource like(php and mysql). I tried to use a prompt box and store the value into the textbox. But now I want to know how to insert/add the value inputted from a prompt box directly into the database if it is possible.

    Java is not JavaScript, they've got almost nothing in common (apart from superficial syntax similarities and the first 4 letters of their names).
    If indeed your question is about JavaScript, then please find a JavaScript forum, as we can't help you here.

  • How can i change the OS input language though java

    hi,
    i am working on Windowx XP and for multiple language input support i am using the windows language bar.
    How can i change the input language through the java itself.

    hi,
    for a solution:
    logText.getInputContext().selectInputMethod(Locale.FRANCE)

  • How do I use the analog input (ADC) to drive a motion profile in MAX

    We are trying to use an anolog input signal from a DAQ card to control the motion contol axis.  For now, we want the motor speed to follow a sinusoidal voltage waveform, and later on, we will be using a more complex velocity profile. 
    In order to accomplish this task, we have searched the user forum, and found information suggesting to operate the servo motor in 'slave' mode under the 'gearing' option.  Therefore, we have set the Gear Master to 'ADC Channel-1', Mode set to 'absolute', Gear ratio 1:1, and provided the sinusoidal voltage (+/- 5V, 3 Hz) to the AIN1 connector on the MID-7654 controller.  When using the 1-D Interacitve 'single axis' control panel, the motor runs at constant speed in one direction only.  It does not react to the sinusoidal speed profile request as we expected. 
    How do we 'turn on' the 'slave' mode in MAX?  Please talk us through the necessary steps and settings?  Thanks.
    Staffan

    Staffan,
    you can configure and enablethe Gearing mode in MAX and it should be activated after saving the settings and initializing the board. In 1D-Interactive you can't use Gearing. For better flexibility I recommend not using MAX for configuring and enbling Gearing. You better should do this in your application.
    In fact there is a perfect LabVIEW-example that ships with the NI-Motion driver (Master Analog Input - Slave Axis Gearing.vi)
    I hope this helps,
    Jochen Klier
    National Instruments
    Message Edited by Jochen on 10-02-2007 08:37 AM
    Attachments:
    gearing.jpg ‏162 KB

  • How to making smooth the analog input.

    I am trying to get an analog input from a device (torque meter). sending trough compactRIO and using NI 9025 analog module.
    can get the signal, but too noisy. so how to make it smooth.
    any suggestion what to use and what to do. please

    actually I am trying to get analog input from a torque meter, the input is voltage,
    and I am used the NI 9073 compact RIO with the NI 9025 analog module.
    I am able to get the signal, but too much noise.
    so, how to reduce that noise, just get torque signal,
    what should I used,
    any filter such band pass filter or what,
    any suggestion.
    I am still new with the compact RIO and labview, so hope any one expert can help me
    thank you
    regard
    MSyafiq
    Attachments:
    measuring torque.pdf ‏165 KB

  • How can I reinstall the Chinese input method on Lion

    If I can not reinstall it, then how should I rest the input method, clear all learning phrases and all these stuff.
    Any ideas? I tried to rm all the files in ~/Library/Dictionaries/, but it did work for me, when I launch the input method, it still has the previous input phrases and frequency suggestiongs. I really want to get rid of that, I need a brand fresh unused input method.

    Hey Tom,
    I did what it is said in Yale website, but it does not work, I even removed all the dictionaries in ROOT directory=,=
    I will go to google groups for further info.
    Thanks anyway.
    But, I mean, these dictionaries or whatever it is which stores the user's previous inputs must be somewhere in the **** disk, I will find out.

  • How can I disable the memory input form for a specific site?

    I would like to set firefox to never save informations that I write on transaction web sites.
    I would like to set firefox to never save my credit card number.
    How can a do this?

    Firefox should recognize the credit card number automatically and not store is as part of saved form data.
    * Tools > Options > Privacy > History: "Remember search and form history"
    * https://support.mozilla.com/kb/Form+autocomplete
    * Autofill Forms: https://addons.mozilla.org/firefox/addon/autofill-forms/
    To remove saved form data:
    *Click the (empty) input field on the web page to open the drop down list
    *Highlight an entry in the drop down list
    *Press the Delete key (on Mac: Shift+Delete) to remove it.
    *http://kb.mozillazine.org/Deleting_autocomplete_entries

  • How can I have the user input two things to get result

    Hi
    I am trying to produce an interactive slide where the user will input two items and then receive the result.
    The easiest way to describe what I am hoping to do is..........
    Imagine the multipllication table and the user has to input what he wants to mulitiply ie 3 in the first text entry box and 5 in the next presses the button and the result is shown.
    Now imagine the table isn't a mathematical table but a series of words across the x and y axis. The user inputs Word A, Word B and presses submit and the answer (another word) depending on the two inputs appears. There would be 12 x12 table so 144 different combinations.
    Is this possible in Captivate 7?
    thanks
    Ruth

    HI
    There is little relationship between the two, this isn't actually the table but the same principle and shows what I am trying to acheive.
    cookies
    muffins
    cupcakes
    chicken roast
    crispies
    gas mark 1
    great idea
    gas mark 2
    great idea
    flapjacks
    gas mark 2
    gas mark 3
    350 C
    450F
    roast potatoes
    impossible
    great idea
    gas mark 3
    450F
    parsnips
    great idea
    350 C
    gas mark 3
    impossible
    thanks
    Ruth

  • How can I hide the Navigation Input (at least the URL) in Firefox 29.0?

    I need to hide it for demonstrations to prevent attendees from browsing to a site while I'm showing it. This new release is not as clean looking when all the toolbars are unchecked. A minimal mode with tabs only would be helpful...the previous release was very good for this.

    Note that in previous Firefox versions it was still possible to bring up a replacement toolbar via Ctrl+L, so this version is actually better in this respect.<br />
    This code has been removed in Firefox 29 because you can't hide the Navigation Toolbar.
    Note that using an extension or code in userChrome.css can be overridden by starting Firefox in Safe Mode by holding down the Shift key when starting or the item in the Help menu.
    You can look at the Classic Theme Restorer extension to restore some functionality that was lost with the arrival of the Australis style in Firefox 29.
    *Classic Theme Restorer: https://addons.mozilla.org/firefox/addon/classicthemerestorer/
    *Hide Navigation Bar: https://addons.mozilla.org/firefox/addon/hide-navigation-bar/

  • How can I display an analog input to PXI-5105 out on LabVIEW?

    Hi ALL,
    I am very very new to LabVIEW and I just started to fiddle around with it. I am running LabVIEW 2010 SP1 version on Windows 7 OS. I also have NI PXIe-1073 chassis with PXIe-6361 and PXI-5105 modules and the chassis is connected to my PC via PCI. I was getting myself acquainted with the devices and was trying to see some analog signals to one of the channels on the PXI-5105 module in a graph in LabVIEW.
    I would appreciate your helps. 
    Solved!
    Go to Solution.

    Hello Henokview!
    I would like you to read through these tutorials to understand the programming steps of NI-SCOPE and NI-DAQmx. After reading these links below you will be able to understand how to connect output from a readfunction to a graph or chart.
    DAQmx
    http://www.ni.com/white-paper/5434/en
    NI-SCOPE
    http://www.ni.com/white-paper/3382/en
    Best regards
    Jonas
    Best Regards
    Jonas Mäki
    Applications Engineering
    National Instruments

  • How can Analyse/ Process the Video inputs in Labview to identify the objects travel in the video

    Hi ,
    I have the recorded video. I need to Analyse the Video to know about the particles or objects crossed in that video. Is that possible in Labview to do the Video Analysis or i need to use any Specific Software Tool kits. If anybody worked in that or have idea on this means please give your suggestions.
    Thanks in Advance,
    Kalanga 

    KCav45
    I understand what you are referring to in the Premiere Elements 11 Welcome Screen. I see no opportunity to pause what you are seeing. I suspect that what you are seeing are merely "teasers" to encourage you to learn/buy more...Adobe TV and elsewhere. Right now there are 4 sections with buttons to navigate the 4. Each section has certain options, none of which is pause.
    a. Button one...display of Top Features and What's New.
    b. But I think that Button two is a major spot with its Getting Started, Community Help, Adobe TV, and Facebook links
    I would best describe all this as a Helpful Quick Links spot for the user rather than a place to stop or pause.
    ATR

Maybe you are looking for

  • Firefox won't open after restart

    After I updated Firefox, it will work until I restart my computer. Then it simply won't open at all and will eventually come up with a blank window that doesn't respond. I've had this issue for months and have simply switched to Google Chrome because

  • Interesting Characters in ePub Conversion

    So does anybody ever get the following style characters at seemingly random times:  â€�?  I am working in CS4 and will break the various chapters of books up, and to the best of my knowledge, have all the formatting correct prior to converting into e

  • How to stop the process chain showing status as yellow but no process step

    Dear Friends, How to stop the process chain showing status as yellow but no process step is running in that process chain. We have manually triggered the process chain for sales it finished successfully till load data but the next step is create inde

  • Even since I have been using mountain lion my Dreamweaver CS6 is not working.

    I have downloaded it again from Creative Cloud & also de-installed but it is just not booting at all from the icon in either the dock or applications. Please help?

  • Some questions on xml db content connector

    As we know, Oracle XML DB Content Connector implements JSR-170 in XML DB 11g. After reading the related document about XML DB Content Connector, I have some questions as follows. 1. Is XML DB Content Connector API available only for XML DB 11g? or ca