What is READ the array returned by the DAQmx meter? How can I know the two functions DAQmx READ data stream in the same WHILE loop?

I have a question about the order of execution.  In the WHILE loop, I have two things to measure, period and tension using the DAQmx READ functions for voltage and the meter.  In the end, I want to collect these data as points almost simultaneously as possible, as a pair and then send them together to another piece of code (not shown here) which them will result in some sort of command for an engine.  It would be run, and then I want to perceive the tension and the period at a time later and do the same thing.

(1.) I'm a little confused on what the meter of the READ function is back because it's a table.  What is a picture of?  I thought that it was up to the value of the individual periods between rising edges.  The output of the counter 1 DBL d's a table. How many elements in this table, and what determines the size of this table?  Are the elements of the array the individual delays between the edges?  How many values are stored in the array by executing?   We take the AVERAGE of the last 15 items, but do not know if we are throwing some of the data or what.  How to understand the composition of this painting?  How can I change the composition of this painting?  Is it possible to measure only one period at a time, for example the time between TWO edges?

2.) Will this WHILE loop execute as it gathers tension and a "period table ' (remains to be understood by me) by TIME running in a loop?  In particular, we want that the value of the tension associated with the value of the AVERAGE of the period "array", so we can use two data items to create orders of next control every time that the two values are reported.  The structure for the delivery of vi will be attached data in pairs like this?  I understand that one of the READING functions run not before the other function of READING in the WHILE loop.  I want that the period "means" and "strain (Volt) collected at the same pace. This vi will he?

Thank you

Dave

Hi David,

I suggest including the DAQmx Start Task function. If it does not start before the loop, it starts the loop and work very well, but it is not as fast and efficient. In the model of task status, task wiill go to run the checked each iteration of the loop and then back the time checked running when it restarts.

The status of the task model: http://zone.ni.com/reference/en-XX/help/370466V-01/mxcncpts/taskstatemodel/

Kind regards

Jason D

Technical sales engineer

National Instruments

Tags: NI Hardware

Similar Questions

  • Should I delete the programs of 2004? How can you know what is safe to delete?

    Original title: remove programs

    I think I have a virus.  I see on my computer a few applications with and installed as of 2004.  The computer was purchased in 2007.  When I run it in safe mode, it works fine and all applications have a date of 2007 or newer.  Should I delete the programs of 2004? How can you know what is safe to delete?

    Hello

    This is not an indication of malware. Could be those are placed on the
    computer by the manufacturer of the system and that was the date that firstly, they prepared their
    for massive installation, or if they did not set a date and be used arbitrarily.

    =============================================================

    If you need search malware here's my recommendations - they will allow you to
    scrutiny and the withdrawal without ending up with a load of spyware programs running
    resident who can cause as many questions as the malware and may be more difficult to detect as the
    cause.

    No one program cannot be used to detect and remove any malware. Added that often easy
    to detect malicious software often comes with a much harder to detect and remove the payload. Then
    its best to be thorough than paying the high price later now too. Check with them to one
    extreme overkill point and then run the cleaning only when you are sure that the system is clean.

    It can be made repeatedly in Mode safe - F8 tap that you start, however, you must also run
    the regular windows when you can.

    TDSSKiller.exe. - Download the desktop - so go ahead and right-click on it - RUN AS ADMIN
    It will display all the infections in the report after you run - if it will not run changed the name of
    TDSSKiller.exe to tdsskiller.com. If she finds something or not does not mean that you should not
    check with the other methods below.
    http://support.Kaspersky.com/viruses/solutions?QID=208280684

    Download malwarebytes and scan with it, run MRT and add Prevx to be sure that he is gone.
    (If Rootkits run UnHackMe)

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN

    Malwarebytes - free
    http://www.Malwarebytes.org/

    Run the malware removal tool from Microsoft

    Start - type in the search box-> find MRT top - right on - click RUN AS ADMIN.

    You should get this tool and its updates via Windows updates - if necessary, you can
    Download it here.

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN
    (Then run MRT as shown above.)

    Microsoft Malicious - 32-bit removal tool
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=AD724AE0-E72D-4F54-9AB3-75B8EB148356&displaylang=en

    Microsoft Malicious removal tool - 64 bit
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=585D2BDE-367F-495e-94E7-6349F4EFFC74&displaylang=en

    also install Prevx to be sure that it is all gone.

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN

    Prevx - Home - free - small, fast, exceptional CLOUD protection, working with others
    security programs. It is a single scanner, VERY EFFICIENT, if it finds something to come back
    here or use Google to see how to remove.
    http://www.prevx.com/   <-->
    http://info.prevx.com/downloadcsi.asp  <-->

    Choice of PCmag editor - Prevx-
    http://www.PCMag.com/Article2/0, 2817,2346862,00.asp

    Try the demo version of Hitman Pro:

    Hitman Pro is a second scanner reviews, designed to save your computer from malicious software
    (viruses, Trojans, rootkits, etc.). who infected your computer despite safe
    what you have done (such as antivirus, firewall, etc.).
    http://www.SurfRight.nl/en/hitmanpro

    --------------------------------------------------------

    If necessary here are some free online scanners to help the

    http://www.eset.com/onlinescan/

    New Vista and Windows 7 version
    http://OneCare.live.com/site/en-us/Center/whatsnew.htm

    Original version
    http://OneCare.live.com/site/en-us/default.htm

    http://www.Kaspersky.com/virusscanner

    Other tests free online
    http://www.Google.com/search?hl=en&source=HP&q=antivirus+free+online+scan&AQ=f&OQ=&AQI=G1

    --------------------------------------------------------

    Also follow these steps for the General corruption of cleaning and repair/replace damaged/missing
    system files.

    Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup

    Start - type this into the search-> find COMMAND to top box and RIGHT CLICK-
    RUN AS ADMIN

    Enter this at the command prompt - sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker
    (SFC.exe) program generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Run checkdisk - schedule it to run at the next startup, then apply OK then restart your way.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    -----------------------------------------------------------------------

    If we find Rootkits use this thread and other suggestions. (Run UnHackMe)

    http://social.answers.Microsoft.com/forums/en-us/InternetExplorer/thread/a8f665f0-C793-441A-a5b9-54b7e1e7a5a4/

    I hope this helps.

  • How can I know because of what table in database, causing the chaining line

    Hello


    Please help me that how can I know because of what table in database, causing the chaining line?

    Hello

    hope that you have already created the table utlchain. Or otherwise create as below.

    SQL > @?/rdbms/admin/utlchain.sql

    And try to run the script again.

    I tried with the following example in the following link.

    http://psoug.org/reference/chained_rows.html

    His works very well and it will list the tables.

    Or try the row chaining and Migration of line [ID 122020.1]

    It has all the necessary steps to do so.

    Thank you
    Rognard

  • How can I know what power adapter is mine since we both have the same for macbook pro 2013?

    I mixed my adapter upward with my friend and we both have the same adapter for macbook pro and mine is almost more recent than its adapter. I need to know how can I know who is mine?

    I doubt that you can unless it adapt serial numbers or other identification on the cards.

  • HOW CAN I KNOW IF MY MAIL IS OPENED BY THE RECIPIENT?

    Ideas:

    • HOW CAN I KNOW IF MY EMAIL ADDRESS HAS BEEN OPENED OR READ BY THE RECIPIENT?
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Under Tools > Options > receipts > check the request a read receipt > Apply > etc.

    But that also depends on the recipient OKing the process for you to know.
    It is not mandatory for them to do.

    See you soon. Mick Murphy - Microsoft partner

  • In Task Manager, how can I know which processes are running in the background?

    In Task Manager, how can I know which processes are running in the background?

    Hello.

    What exactly is your problem?

    Details please! Thank you.

    • When you open the Task Manager, go to processes
    • under the seat of tab CPU reading 01, 02, or higher... that's how you know what programs are underway on the bottom.

    Helped?

  • How can I know if Migration Wizard works... I have the gray wheel on the new mac and it is after a msg error saying there was an error with iCloud (in red)

    How can I know if Migration Wizard works... I have the gray wheel on the new mac and it's after a msg error saying there was an error with iCloud (in red). What is happening with a MacBook Pro refurbished, I just got today. Thanks for any help.

    The guarantee gives the right to the free phone support for the first 90 days of ownership.

  • How can I work with two icloud ID on the same pc?

    How can I work with two icloud ID on the same pc?

    Define "work".

    What exactly do you want to accomplish?

    You can use the iCloud Panel to connect to iCloud account and use a browser to go to icloud.com and sign in with another account.

  • How can I know if a laptop screen touch/IPS using only the machine type model?

    The lenovo product search does not say if the laptop has a ips or tn, not tactile, or touch how can I know if the laptop has what screen using the model type of machine?

    Specify files x 240 / x 250 fru_bom type 04 X 0324 - no IPS Panel.

    AUO Panel type could be AHVA ("IPS as" patented technology), we need Panel p/n manufacturer. this Google is B125XTN01, panelook confirms: it's TN.

  • I bought a laptop with a windows xp pro, I have the serial number, but I don't have the installation disc. How can I know which version I need? SP3 has not worked... at the moment I am testing SP1

    I bought a laptop with a windows xp pro, I have the serial number, but I don't have the installation disc. How can I know which version I need? SP3 has not worked... at the moment I am testing SP1

    I bought a laptop with a windows xp pro, I have the serial number, but I don't have the installation disc. How can I know which version I need? SP3 has not worked... at the moment I am testing SP1

    The serial number of the computer has nothing to do with the product key for Windows.

    What happened when you tried to install Xp with sp3? If you do not have the original for the computer that you use to install Windows?

    You can try to contact the manufacturer of the computer who may be able to provide the recovery disc. The disks are usually under $ 20.

  • How can I know the exact date of the csrss.exe download?

    HelloW please someone tell me how can I know the exact date of the download or installation of csrss on my pc. in the properties of the box, I can only find an old date (date of creation 2009) but think I didn t have this pc so... Please help me

    Hello

    Thanks for posting your query in Microsoft Community.

    I understand that you have questions about the date of download csrss.exe.

    But I would like to know more information, to help you better.

    (1) get any error message related to this csrss.exe process?

    (2) what is the problem in the computer?

    In the meantime, please refer to the below suggestion.

    In fact, the csrss.exe is not a program that can be downloaded, it is rather a process in the Windows System. Thus, it would display the date of creation as the process is being created. Csrss.exe is a system process that is needed for your PC to function properly. It should not be deleted.

    The Microsoft Client Server Runtime Server subsystem uses the csrss.exe. This process of management of the majority of the graphical instruction sets under the Microsoft Windows operating system. As such Csrss.exe offers the important functions of the operating system, and the Blue Screen of Death displayed may lead to his termination.

    Csrss.exe threading and features of Win32 console window controls. Threading is where the application itself is divided into several simultaneous running tasks. Threads supported by csrss.exe are different
    process in this son are usually included in the process, with different threads, sharing of resources within the same process. The Win32 console is plain text window in the Windows API system (programs can use the console without the need for display of the image).

    Additional information:

    Csrss.exe

    http://answers.Microsoft.com/en-us/protect/Forum/MSE-protect_scanning/csrssexe/26bba20c-2691-4D42-bec4-637436c53c4f

    I hope this helps. Otherwise, feel free to write back and we woll will be happy to help.

    Thank you

  • How can I know the pop up notice update is legitimate and check the installation?

    How can I know the pop up notice update is legitimate and check the installation? I understand that you have to make sure that all previous updates have been removed before adding a new update.

    no adobe update must be removed or undone to install future updates.

    and what app triggers the popup?

  • How can I know all the history for any shape?

    How can I know all the background and updates on any form of user names and the time or what on the log files?

    Hello.

    On a form, the historical record is limited to the user who created the file, and when it was created, or updated.
    If you need more information, you will need to implement an audit trail.

    Octavio

  • Tecra A8 - How can I know the temperature of the processor?

    How can I know the temperature of the processor?
    It seems very high. And I'm worried about this.

    Hello

    I m using the Everest Home Edition
    This tool is free and it reports the temperature values NECK and HARD drive.
    In addition, you can find some information about the software installed and inserted material parts.

    See you soon

  • How can I know my server pop3 etc so I can complete the setting to the top of my windows messaging

    How can I know my server pop3 etc so I can complete the setting to the top of my windows messaging

    E-mail account:

     

    http://www.SimpleHelp.NET/2007/02/07/a-beginners-guide-to-setting-up-Windows-Mail/

    Link above has an easy to follow Guide to set up Windows Mail.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Contact your ISP (Internet Service Provider).

    They offer your broad band/Dial-up connection.

    Ask them to:

    username
    password for your service account to wide band/Dial-Up with them

    Server of incoming POP3 mail
    outgoing mail SMTP server

    The above information is required to set up Windows Mail.

    ISPS are usually happy to help you set up your email account.

    See you soon.

    Mick Murphy - Microsoft partner

Maybe you are looking for