How to find the frequency of a squarewave?

Hi!
I want to find the frequency of a squarewave applied to a analog channel on a DAQmx 6225 card. I have four squarewave  signals and two are connected to the two counter inputs available. the other two are my problem. Is there a simple way to extract the frequencies from these two signals? I have tried using the Pulse Measurements VI but it is working unsatisfactory. The frequncies I want to measure is from 20 to 2000 Hz.
Can anyone help me in this matter?
I use LV 7.1 and DAQmx 7.4

Hello!
Just like Dennis mentioned in his reply:
You have created several tasks for various analog input operations and these occur at the same time but since a task reserves the analog input circuitry on the board that means that another task cannot reserve it until the first task are done executing. That is what causes the errors you are experiencing.
Just combine the various analog input operations into one single task instead and you are pretty much set.  If you need different sampling rates on the analog input operations I refer to the following link:
http://digital.ni.com/public.nsf/allkb/96FD2F4685065C7686256F25006EE8DE
Regards,
Jimmie A.
Applications Engineer, National Instruments
Regards,
Jimmie Adolph
Systems Engineer Manager, National Instruments Northern Region
Bring Me The Horizon - Sempiternal

Similar Messages

  • How to find the frequency of execution of ZTransactions

    Dear Friends,
    Please suggest a way to find out that how many of my ZTransactions have been not at all executed / executed once or twice and so on..in the past six months or year.
    Regards,
    Alok.

    Hi,
    You can check the Transactions log history through SLG1 T.code.
    Also check t.code SUIM.
    Hope this helps.
    Regards
    Vinayak

  • How do I find the frequency of numbers in a group of data strings?

    I have a set of data strings and I want to find the frequency of each number occuring in a data string. How do I do this?
    Here are the strings.
    28-29-43-51-53 7
    02-08-30-36-48 31
    09-10-27-36-42 11
    20-24-31-33-36 44
    16-29-48-52-54 5
    06-15-29-39-51 36
    01-16-18-25-27 3
    09-30-39-42-47 37

    The first part is to "break out" the values from your strings.  Columns B thru G take care of this:
    I assumed allvalues as 2 digits...
    B2=VALUE(MID($A2, 3*(COLUMN()-2)+1, 2))
    select B2 and fill to the right until column G
    then select B2 thru G2 and fill down as needed.
    For compactness of THIS presentation I added two additional columns for getting the Frequency... columns I and J.
    Column I contains an counting value and J contains the frquency of the corresponding value in I (of the same row).
    put a "1" in I2, a "2" in I3, then select both I1and I2, then grab (click and hold the little circle at the bottom right of the selection), and drag down until the value is the max number you expect (I assumed it was 99).
    J2=COUNTIF(B:G, "="&I2)
    select J2 and fill down

  • How do I find the frequency of "hum" in a recording?

    Hello,
    I have some audio from a camcorder that is marred by a hum from the built-in microphone. It's not 60Hz since removing that made no difference. My question is - what tool would I use in Audition 3.01 to find the frequency (range) of a sound, a hum in this case, so that I can use say a notch filter to remove/minimize it? I tried using the spectral view but that didn't help. Maybe I'm missing the obvious, in which case please be kind to one less learned such as myself:) Any help would be greatly appreciated- thanks everyone!

    >Normally hum is caused by a poorly shielded (or unshielded) microphone cable running near a transformer (external brick power supply).
    a) There's no such thing as 'normal' where hum is concerned - I could easily give you many possibilities - the scenario you suggest isn't even particularly prevalent.
    b) This isn't hum we are talking about here, but harmonic hash, and on top of that, it's in a camcorder. The cause? Quite frankly, all bets are off. As for your explanation of clipping causing the harmonic series - well, I don't know what planet you are living on, but in my
    considerable experience of this phenomenon as an ex-mixer designer, I can tell you that this really has very little, if anything at all, to do with it.
    If you actually want to know, most hum harmonics generation has more to do with earthing mismatches allowing induced leakage current from power supplies into signal-carrying tracks. In the case of conventional camcorders, it's different though - here you have several sources of interference involved in generating the relatively high levels of signal at the field repetition rate adjacent to the relatively sensitive mic input stages, and with the best will in the world, any linear-based signal recording is going to have a poor S/N ratio, and the noise floor is likely to have a lot of harmonics of 60Hz - because that's pretty much what gets generated within the casing at the highest levels, and it's pervasive. Clipping doesn't even get a look-in in this situation.

  • How can I find the frequency of a signal from a turbine flowmeter?

    My turbine flow meters output a voltage signal frequency. Is there are way that I can find the frequency in LabVIEW? Right now I have the flow meters wired to my card as analog inputs. Maybe I need to wire them in differently.

    Dear moebeth,
    To address your question, can you include more information about the flow meters? As far as I know, turbine flow meters can have outputs of analog voltage, analog current, frequency/pulse, or switch.
    If the meters are outputting a voltage, then connect it as an analog voltage input and use the analog voltage virtual channel.
    If the meters are outputting a frequency or pulse, connect it as a counter input. With the counter input, you would need to program in LabVIEW without using a virtual channel. Instead, you would use the counter VIs. There are shipping examples included with LabVIEW. Measure Frequency (DAQ-STC).vi can be used just by pressing Run if you wire the signal into the source of whichever counter you want to use and th
    e ground into DGND.
    Let me know if you have any further questions or if this does not resolve your issue.
    Thanks again and have a great day!
    Chad AE
    Applications Engineer - National Instruments
    Attachments:
    Frequency.zip ‏45 KB

  • How to calculate the frequency of the search string in a row

    Hi,
    I would like to find the frequency of the number of the occurences of a search string in a row which is of type of xmltype content.
    For ex: I would like to find the frequency of the word "oracle" in a row which is of type xmltype content.
    Is there any fuction called frequency or freq...
    Thanks in advance....

    Oh!
    Then How to calculate the frequency of occurences in a row ?
    I hope the Score formula is S=3f(1+log(N/n))
    I want to calculate the f value alone, how is it possible.
    Thanks in advance.....

  • How to find the number of data items in a file written with ArryToFile function?

    I have written an array of number in 2 column groups to a file using the LabWindows/CVI function ArrayToFile...Now if I want to read the file with FileToArray Function then how do I know the number of items in the file. during the write time I know how many array items to write. but suppose I want the file to read at some later time then How to find the number of items in the file,So that I can read the exact number and present it. Thanks to all
    If you are young work to Learn, not to earn.
    Solved!
    Go to Solution.

    What about:
    OpenFile ( your file );
    cnt = 0;
    while ((br = ReadLine ( ... )) != -2) {
    if (br == -1) {
    // I/O error: handle it!
    break;
    cnt++;
    CloseFile ( ... );
    There are some ways to improve performance of this code, but if you are not reading thousands of lines it's quite fast.
    After this part you can dimension the array to pass to FileToArray... unless you want to read it yourself since you already have it open!
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • 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.

  • How to find the number of fetched lines from select statement

    Hi Experts,
    Can you tell me how to find the number of fetched lines from select statements..
    and one more thing is can you tell me how to check the written select statement or written statement is correct or not????
    Thanks in advance
    santosh

    Hi,
    Look for the system field SY_TABIX. That will contain the number of records which have been put into an internal table through a select statement.
    For ex:
    data: itab type mara occurs 0 with header line.
    Select * from mara into table itab.
    Write: Sy-tabix.
    This will give you the number of entries that has been selected.
    I am not sure what you mean by the second question. If you can let me know what you need then we might have a solution.
    Hope this helps,
    Sudhi
    Message was edited by:
            Sudhindra Chandrashekar

  • How to find the number of occurance of a string in text field of Infopath form?

    Hi All,
    In Infopath text field, How to find the number of occurrence of a particular string in that field?
    Thanks in advance!

    You can check to see if it contains a string once by using the contains function, but there isn't a very clean way to do what you want. If you wanted to guess at the maximum number of occurrences, then you could:
    Box A has your initial. Set Box B to do a concat of string-before and string-after of Box A where it copies Box A minus the string we're looking for. Then we have Box C that does the same thing to Box B. Repeat as many times as you see necessary.
    Example:
    String: "1"
    Box A - "123451234512345"
    Box B - "23451234512345"
    Box C - "2345234512345"
    Box D - "234523452345"
    etc.
    We then have a field that has nested ifs looking backwards from Z -> A looking for a non-blank. Based on that, we return the number of occurrences. Again, this isn't clean, but it will work if you think there's a predefinable maximum.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • How to find the number of users  connected to database from OS level(Linux)

    Hi All,
    Could anyone know , how to find the number of users connected to database without connecting with sql*plus
    is there any command to find it?
    example we have 10 databases in one server, how to find the number of users connected to particular database without connecting to database(v$session)?
    oracle version:- 10g,11g
    Operating System:- OEL4/OEL5/AIX/Solaris
    any help will be appreciated.
    Thanks in advance.
    Thank you.
    Regards,
    Rajesh.

    Excellent.
    Tested, works as long as you set the ORACLE_SID first ( to change databases )
    ps -ef | grep $ORACLE_SID | grep "LOCAL=NO" | awk '{print $2}' | wc -l
    Thanks!
    select OSUSER
        from V$SESSION
    where AUDSID = SYS_CONTEXT('userenv','sessionid')
        and rownum=1;Best Regards
    mseberg

  • How to find the number simultaneous call at a given moment on UCCX ?

    Hello,
    I would to know how to find the number simultaneous call at a given moment on UCCX ?
    it's on UCCX or UCCX RTMT, I don't know thanks a lot for your help.
    Aubert

    Hi Gergely,
    I should made a report on the number simultaneous call at a given moment on UCC on the server (all calls on the server)..

  • How to Find the number of Databases in a server.

    HI,
    Please tell me how to find the number of Databases are in a server . when the DB is not up.
    ps -ef | grep ora_
    This i know whether our DB is up or not. But i want to know how many databases are in a server .If the database is down .
    Cheers,
    Gobi.

    Hi,
    [oracle@oralinux admin]$ lsnrctl status
    LSNRCTL for Linux: Version 9.2.0.4.0 - Production on 01-DEC-2006 16:25:41
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
    TNS-01169: The listener has not recognized the password
    [oracle@oralinux admin]$
    Plz give me the solution.
    Cheers ,
    Gobi.

Maybe you are looking for

  • How to setup WRT54G as a wired bridge through another router

    I have a verizon provided wireless router now and wish to utilize my wrt54G as a wired bridge.  Basically, I want to use the WRT54G as a switch to connect 3 items that do not have wireless (a A/V receiver, XBOX 360, and some networked storage).  The

  • Mac Mail- Disable inline attachment

    I use my mac mail 6.2 for business and I cannot seem to figure out how to disable the inline attachments. My attachments such as pdf's show up in the email versus someone clicking and opening them up as an attachment like they would with outlook. It'

  • Safari won't display pdf in browser

    Posted before in wrong forum. I am really sorry if this has been posted before, but I have been searching the forums and can't find an answer to it. I was also looking for the FAQ article about this that Apple says is an answer, but can't find that e

  • Aperture 3.02 vs iPhoto 8.12 Speed Difference

    Running on a 1 week old 17" i5 MacBook Pro. Aperture is slower than a dog. iPhoto does the same things 4-5 times faster. Library has less then 5,000 photos in it. Am I doing something wrong?

  • Req Delivery Date

    Hello SAP Gurus, Well i am making the Sales order the system is not giving me the todays date i mean the system it giving one day further. means that today is 27 but in required delivery date is 28...so wht the reason for this? even though there is n