How to find the device number for the line input for sound measurements

Hi,
       I would like to measure the input of sound wave given to a line input of a PC. Can anyone tell me how to write a DLL  Program to actualy get the device numbers. Appreciate your help.
Thank You,
Mudda.

Hello Mudda,
Are you connecting a microphone to the sound card of your PC?  I assume
that you want to use the built-in LabVIEW Sound VIs, and would like to write a
LabVIEW DLL which returns the device numbers of the sound devices.
If you are using a Windows system, you will have to use some Windows API
functions to get that information.
Microsoft (and their website) can help with the specific functions which
enumerate the sound devices (with documents like this:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_devices_and_data_types.asp). 
Your LabVIEW DLL will then be a wrapper for a Windows call.
I am happy to help out in any way I can.  Feel free to post again with a
little more information on what exactly you wish to do, or with any other
follow up questions.  Thanks for posting!
Regards,
Travis M
LabVIEW R&D
National Instruments

Similar Messages

  • Adaptor to connect balanced microphones in the line input of sound c

    )Many times we need the use of a professional microphone.But in which input of our sound card? Because the balanced signal produced, we need an adapter to connect it in the line input. In my site there is a proposed construction and complete instructions, plans and
    photos. Visit my site at URL http://www.eal.gr where you can find the whole article.
    2)Request
    If you visit my web page and if you have the kindness, leave a comment, be it small about her appearance, how many is easily read, if she is narrow that is to say at width,
    if the letters have small size, if the syntax and the spelling they have a lot of errors,
    and anything other you do not like, because i do not have experience in the web pages
    and my knowledge of English language is limited, thus my any comment is precious
    so that i now correct my errors that are the beginning. I am not you to bother with e ? mails because it should you leave your mail address.
    ?hanks for your attention
    Fotios Anagnostou
    Message Edited by fotios on -23-20060:6 PM
    Message Edited by fotios on -23-2006:03 PM
    Message Edited by fotios on -27-20060:05 PM
    Message Edited by fotios on -30-200608:42 AM

    Dear Jutapa.
    While i am occupied with electronics for more from thirty years, my experience in the web pages has age of fifteen days. Thus your comments about the appearance of my site are precious and be compelled to you. Thanks, but i do not understand what means ?IMO?. Also, what means that my site is very hard? Please inform me to correct it. Now the answers in your questions:
    ) Perhaps you decei'ved from the size of transformer because it is only 50VA (or 50W / 30V = ,66A) and his cost in Greece does not exceed the 8?. Keep in mind always that, the toroidal transformers cost at 70 percent least from the E-shaped transformers. But in any case the total cost of the unit does not exceed the 45?. Surely this cost approaches the cost of the available mini mixing desks in the market. But the sound quality of the unit is comparable only with the high quality professional mixing desks, because the structure of circuit is precisely same with a channel such desk, a thing that appears and only from the supply of +/-8Volts. The phantom power of 8Volts maximum is enough for all modern condenser microphones. There are in the market such type units from famous brands as dbx, bss, apex, rane, symetrix, dda etc. and their price exceeds the 300? as these units are addressed for use in studios.
    2) The oscilloscope graphs quoted in the article, believe me it is the better method of estimate the unit ? especially the square wave response ? because they express her transient character as this is most important for a designer of electronic circuits while the usual graphs of THD+Noise are offered more for consumers. If study my article, you see somewhere my explanation about this. Anyway, the T. I.M. factor of a closed loop circuit (Transient Intermodulation Distortion) expresses the possibility of it to manage the harder signals ? this is the response ?speed? to fast transients ? without oscillations. In the software of my oscilloscope included and a FFT analyzer to give the THD but i do not use it because by default today yet the chipper units in the market has very low THD due to the evolved modern electronic parts. The same is also in effect for the noise produced by the circuit himself. As it is known, the fundamental Johnson noise or thermal noise from metal film resistors is too little and the NE5532 ? NE5534 produce noise of certain nanovolts.
    3) About the EIN (Ein) - or the sensitivity of input so that us understand also the other ? reported in the schematic diagram in dBV. Why not in dBm? Because from habit i do not want to take into account the input impedance ? as get used almost all the designers of electronic circuits ? and in this way the logarithmic expression of the minimum gain of input it is given by the use of dBV (reference ratio to Vrms). Let to calculate the input sensitivity in dBm as you prefer: The input impedance of the balanced input is: Zin = R2+R3 = 20 K? approximately. The total gain of input presented at the output of the subtructer U2A and is: V = V3-V2. The minimum gain of the first stage composed by the two non inverting UA and UB with VR5 turned full CCW is: Av = +[2X(R4+R3)/VR5+R5] = +[2X000/47220] = +0,466 = ,466. In dBm the reference is 0,775Vrms thus Av = ,466X0,775 = ,36Vrms. And because the output of U2A is twice his inputs then: V = 2X,36 = 2,272 Vrms and the sensitivity in dBm is: Ein = 20 X log(2,272 / 0,775) = 9,34 dBm. And if we take the maximum gain of the first stage - by turning VR5 full CW - of 0 with the same equations in dBm, results: 46 dBm
    Best regards
    FotiosMessage Edited by fotios on -30-200608:43 AM

  • How to find the lines where messages are raised?

    Hi experts,
    I have a great difficult to find some points where a message is raised.
    In GUI interface, we can use the u201CUsed-Listu201D option and the system show us the lines where the message is raised.
    In web-client, some good SAP programmers wrote the code u201Cif 1=2 message u2026u201D after he/she input message in the message manager classes (cl_bsp_wd_message_service, cl_crm_genil_global_mess_cont, etc). So the u201CUsed-Listu201D resource manages to find those points.
    However, some bad programmers didnu2019t do that and it is almost impossible to know where the message is raised in certain situation, though I have its message class name and its number, for instance, COM_PARTNER u2013 559.
    Is there any tip about how to find a calling point?
    Regards,
    André

    This will tell you the directory that contains the running program:
    System.getProperty("user.dir")

  • How to find the line no.

    I am parsing an xml document and doing its custom validation (i.e putting in my own constraints).so can i notify on which line no. of the xml document is the error present?if yes how?

    Rather than worry about a Locator, if you know the row number and column number where the problem occurs, how about using the non-locator constructors, such as:
    public SAXParseException(String message,
    String publicId,
    String systemId,
    int lineNumber,
    int columnNumber)
    Create a new SAXParseException.
    This constructor is most useful for parser writers.
    If the system identifier is a URL, the parser must resolve it fully before creating the exception.
    Parameters:
    message - The error or warning message.
    publicId - The public identifer of the entity that generated the error or warning.
    systemId - The system identifer of the entity that generated the error or warning.
    lineNumber - The line number of the end of the text that caused the error or warning.
    columnNumber - The column number of the end of the text that cause the error or warning.
    Then you can do something like:
    String msg = "complaint about the problem";
    String fn = file.getPath(); /* or some string description of the file/stream you
    are processing */
    throw new SAXParseException( msg, fn, fn, row, col );Then, in your ErrorHandler implementation, you can use code like:
        /** Returns a string of the location. */
        private String getLocationString(SAXParseException ex) {
            StringBuffer str = new StringBuffer();
            String systemId = ex.getSystemId();
            if (systemId != null) {
                int index = systemId.lastIndexOf('/');
                if (index != -1)
                    systemId = systemId.substring(index + 1);
                str.append(systemId);
            str.append(':');
            str.append(ex.getLineNumber());
            str.append(':');
            str.append(ex.getColumnNumber());
            return str.toString();
        }Dave Patterson

  • How to find out IODs number for Cisco AP model 1602

     Hi All
             i have 5 cisco AP with model 1602, i need some help on how to find out the IODs from the device, the reason to do this is to add all the AP to our solarwinds server, hope you can help, Thanks !
    Keith

    we are using Stand Alone, as how to find out the IODs from the device, as i have already enable snmp on the AP, and has been added to the solarwinds server, and below is what solarwinds replied, how to obtain OID ?
    Yes, your AP device can now be monitored even the interfaces, availability, CPU, memory, etc., however you mentioned that you also want to monitor the clients of your AP, the client's ip address, the name of the clients and other resources. 
    In order to do this, we need to use the Universal Device Poller, we will manually configure NPM to poll the other resources of your AP, that's why we need the OID. 

  • In the read_text function module,  how to find the  lines

    The coding follows like this,
    call function 'READ_TEXT'
           exporting
                client                  = sy-mandt
                id                      = id
                language                = sy-langu
                name                    = name
                object                  = object
           importing
                header                  = header
           tables
                lines                   = tab
           exceptions
                id                      = 1
                language                = 2
                name                    = 3
                not_found               = 4
                object                  = 5
                reference_check         = 6
                wrong_access_to_archive = 7
                others                  = 8.
    can u provide me with the correct data form which i can read the lines.

    I think this code will help you to read the lines
    *--LOCAL VARIABLES
      DATA : LV_NAME TYPE THEAD-TDNAME,
             LV_TEMP(128) TYPE C      ,
    *--Structure to Hold the Header Data for Func Modules
    *--Read_text
             X_HEADER TYPE THEAD      .
      CLEAR  : LV_NAME     ,
               LV_TEMP     ,
               V_IND_FG    ,
               X_HEADER    ,
               IT_TLINES   ,
               IT_TLINES[] .
      LV_NAME  = P_DELV_NO .
      X_HEADER-TDOBJECT = 'VBBK'.
      X_HEADER-TDNAME   = LV_NAME .
      X_HEADER-TDID     = 'ZMAN'.
      X_HEADER-TDSPRAS  = 'E'.
      CALL FUNCTION 'READ_TEXT'
           EXPORTING
                CLIENT                  = SY-MANDT
                ID                      = X_HEADER-TDID
                LANGUAGE                = X_HEADER-TDSPRAS
                NAME                    = X_HEADER-TDNAME
                OBJECT                  = X_HEADER-TDOBJECT
           TABLES
                LINES                   = IT_TLINES
           EXCEPTIONS
                ID                      = 1
                LANGUAGE                = 2
                NAME                    = 3
                NOT_FOUND               = 4
                OBJECT                  = 5
                REFERENCE_CHECK         = 6
                WRONG_ACCESS_TO_ARCHIVE = 7
                OTHERS                  = 8.
      IF SY-SUBRC <> 0.
         ERROR.
        CLEAR :IT_TEXT,
               IT_TEXT[] .
        V_IND_FG = 'X' .
        EXIT .
      ENDIF.
      LOOP AT IT_TEXT .
        IT_TLINES-TDFORMAT = '*'.
        IT_TLINES-TDLINE = IT_TEXT-LINE.
        APPEND IT_TLINES.
        CLEAR  IT_TLINES.
      ENDLOOP.
    Thanks,
    Koshal

  • Editable ALV - FM REUSE_ALV_GRID_DISPLAY_LVC- how to find the lines edited?

    hi all,
    I am using the FM REUSE_ALV_GRID_DISPLAY_LVC to display ALV which has one column as edited.
    it allows users to mass update that particular field. for eg: there are 100 rows in which user changes 5 rows. at user command SAVE i could see the entries modified in final internal table. but how coould i find only those 5 entries which are changed so that i can process only those records.
    Any pointers reg this would be appreciated.
    Regards,
    Sreekanth.

    ...take a copy of your internal table before you display the ALV and compare like this:
      if table1[] NE table2[].
      endif.

  • How to find previous serial number for lightroom 5

    just got LR5 in the mail i had a free trail and its asking me for the previous serial number where can i find it ?

    If you purchased the upgrade to LR 5 you will also require an original license key for an earlier version of Lightroom 1,2,3 or 4. if you did not have an earlier version then you should have purchased the full version 5 for US$149.00. If you purchased the upgrade US$79 then you will have to contact Adobe support directly to try and obtain a refund for the upgrade and purchase the full version.

  • How to find the Minimum value of a Measure across a Custom Dimension

    I am having Trouble figuring the best approach for the given below scenario.
    I have a measure called Inventory which is basically by Product by Part by Geography across a Time period.
    Part dimension is 3 levels Deep.
    Part
    --Configuration_NAME
    - Part_ID
    the Requirement is to Pick the the Minimum Inventory Values of a product across the Configuration_Name and Store this information in another measure called Inventory_Min.
    here is how the data mock up looks like
    config1 - product1- Inventory - 100 (Period1)
    config2- product1-Inventory-200 (Period1)
    config3-Product1-inventory-400 (Period1)
    now the output expected is
    Config1-Product1-Inventory_MIN - 100(Period1) since for this product across 3 configs, 100 is the minimum inventory.
    I am trying to use @RANGE,@MINS but i am not sure how to tell essbase to go down the Part Dimensions, level 1 members and not across the Period.
    any help or points will be appreciated.
    Thanks,
    Sriram

    Hello,
    what about @MINSRANGE ?
    http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/minsrange.html
    Inventory_MIN = @MINSRANGE(SKIPBOTH, "Inventory" , @LIST("config1","config2","config3"))
    should give the result,
    if you FIX @RELATIVE("Part",-1) to grab level 1 members.
    and you can extend expression something like
    Inventory_MIN = @MINSRANGE(SKIPBOTH, Inventory , @CHILDREN(@CURRMBR("Part")))
    Hope it helps,
    Ahmet

  • How can i find my serial number for ipod

    how to find my serial number for ipod and can apple track my ipod its lost!!!!!!

    Like any manufacturer, Apple can do nothing at all.
    iPod: How to find the serial number

  • How to find the number of idocs generated for a customer on the basis of his purchase order in a day ?

    How to find the number of idocs generated for a customer on the basis of his purchase order in a day ?

    Dear Friends,
    I am absolutely agree with your answer .
    But my question is,
    Lets say.....
    One customer sending X number of purchase orders in a day , so how many IDocs generated on that specific day for that specific customer .
    So, Question is , How can we find the no of sales orders(IDocs) generated for the customers on the specific day ?
    Hope you all understood my requirement .
    Thanks & Regards,
    Aditya

  • How to find the number of references created for a given  object ??

    How to find the number of references created for a given object in a big application environment.
    That means, if i give any object name (of my application) as input, then how can i find the[b] number of references created for that particular object ??

    Please do not post the same question multiple times.
    As for your original question, there is no direct way to do it.
    Especially not the way you phrased it,
    since objects don't have "names".
    Applications also don't have "names".
    They have classes and instances.
    Also, there are 2 related issues, and I'm not sure which one is the one you asked.
    #1. Finding the number of references to the same object.
    Eg.
    Map<String,String> a = new HashMap<String,String>();
    Map<String,String> b = new HashMap<String,String>();
    Map<String,String> c = a;In this case, there are only 2 objects.
    The first object has (at least) 2 references pointing to it.
    The second object has (at least) 1 reference pointing to it.
    (There may be more, if the HashMap library keeps
    references to these things, or if the HashMap object has
    some internal cyclic references...)
    If you're asking this, then it can't be done.
    It's an active research topic in universities
    and software research labs, called "alias analysis".
    Type it in google, and you'll see people are working hard
    and having little success so far.
    #2. Finding the number of instances created from a class.
    In this case, what you have to do is to add a counter to
    the constructor of the class. Every time an object is constructed,
    you increment the counter. Like this:
       class MyClass
           public static int counter = 0;
           public MyClass( )  { counter++; }
        // Then later in your program, you can do this:
        MyClass a = new MyClass();
        MyClass b = new MyClass();
        System.out.println(MyClass.counter); // It should show 2Note: you won't be able to do this to every class in the system.
    For every class you care about, you have to modify its constructor.
    Also: when an object is deleted, you won't always know it
    (and thus you won't always be able to decrement the counter).
    Finalizers cannot always work (read Joshua Bloch's
    "Effective Java" book if you don't believe me), but basically
    (1) finalizers will not always be called, and
    (2) finalizers can sometimes cause objects to not be deleted,
    and thus the JVM will run out of memory and crash

  • How can I find my serial number for Adobe Acrobat 11. I got a new iMac and I don't want to use the new version at £18.00 per month. I don't need it. Thank you

    I used to use CS5 and I want to use the Acrobat version on my new iMac.
    How can I find my serial number for Adobe Acrobat 11.  I don't want to use the new version at £18.00 per month. I don't need it. Thank you

    Hi Anthony Aduhene
    Please refer : Find your serial number quickly

  • How to find the number of entries in a master data table

    Hi Experts,
    I am trying to find the entries in 0CUSTOMER master data.
    BW>LISTCUBE>Data target: 0CUSTOMER and selected the fields that I need.
    I would like to know how to find the "number of entrees". I tried to run the SUM for a count field, but it is taking forever as there are huge number of records .

    Hi Dev,
    Go to the change/display mode of the info object (0CUSTOMER) in your case. Go to the Master data/Text tab. Here you will find the master data tables according to your settings (P orQ or X or Y). Double click on the table name and it will take you to the SE11 display. From there, you can check the number of records as you do in any transparent table.
    Hope this helps.
    Thanks and Regards
    Subray Hegde

  • How to find the number of links in a website

    hi every body
    can any one clear my doubt
    my doubt is that
    in a website how to find the number of links the hole website contains
    is there any navigation tool to find that
    plz help me yar
    i am waiting for the reply

    If you're talking about commercial sites (sites you don't have the source code for) I'm not sure.
    If you want to count the links in site that you have the source code for, it should be relatively easy to write a Java application to do it. All you really need to do is have a list of the files you want to count links in, read each file line by line and check for the existance of the <a> tag in each line. Anywhere their is an <a> tag there is a link.
    Hope this helps.

  • How to find the number of times method being called.....

    hi,
    can any one pls tell me how to find the number of times the method being called......herez the example....
    Refrence ref = new Refrence();
    for(int i = 0;i < arr.length; i++){
    if(somecondition){
    ref.getMethod();
    here i want to know how many times the getMethod() is calling...Is there any method to do this.. i have seen StrackTraceElement class..but not sure about that....pls tell me the solution....

    can any one pls tell me how to find the number of times the method being called......
    herez the example.... http://www.catb.org/~esr/faqs/smart-questions.html#writewell
    How To Ask Questions The Smart Way
    Eric Steven Raymond
    Rick Moen
    Write in clear, grammatical, correctly-spelled language
    We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere.
    So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal ? in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention.
    Spell, punctuate, and capitalize correctly. Don't confuse "its" with "it's", "loose" with "lose", or "discrete" with "discreet". Don't TYPE IN ALL CAPS; this is read as shouting and considered rude. (All-smalls is only slightly less annoying, as it's difficult to read. Alan Cox can get away with it, but you can't.)
    More generally, if you write like a semi-literate b o o b you will very likely be ignored. So don't use instant-messaging shortcuts. Spelling "you" as "u" makes you look like a semi-literate b o o b to save two entire keystrokes.

Maybe you are looking for

  • HP LaserJet Pro 200 M276n

    I have the printer setup behind a Cisco RV180 VPN router and I have activited the Web Service for the printer. Problem: 1.  I got the setup page opened in my browser when I typed in the domain name without specifying any port numebr of my network?  I

  • Requesting Windows Experience Index scores from anyone running WIN 7 on either current-model 13" MBPs... Thanks!

    Requesting Windows Experience Index scores from anyone running WIN 7 on either current-model 13" MBPs... Thanks!

  • Safari keeps quitting on Yosemite

    Since upgrading Safari keeps quitting, usually about once a day, without giving me the unexpectedly quit message. Has anyone else had this problem?

  • Setting DBMS Application Information using OAF

    Hi, We are trying to set custom information for the client_info and module session parameter using JDeveloper? Has anyone done this before? This is what we used in our old PL\SQL Stored procedure DBMS_APPLICATION_INFO.set_module(<module>); DBMS_APPLI

  • Error/Issue

    Guys when i enter skype after the last update it sends me back to the homescreen.Im using smartphone android 4.4 lenovo a110 .it doesnt give eror or something like that it just cant be entered