Measure continuously and logging LV2014

Hello

I consider the LMC model located in LabView 2014. He's very nice, I'm learning a lot while playing with this model. However, because of the very minimal documentation (virtually zero), some things are unclear why he implemented?

1, in the UI Message Loop, the business structure has a case of 'leave to confirm. In my view, this case can never get triggered because the stop button is disabled during data acquisition, why is that? I guess to give an example, if someone wants to activate the option to close the application during data acquisition without stopping the acquisition of data?

2, because it is not explained in the documentation, could someone explain the behavior of the enum type def in the loop of user interface messages? I think that understand that, before stopping the acquisition of data, we are certainly on the first data acquisition is stopped. Second, all the data is stored, so the loop of logging can also be stopped and finally we can go to the idle state, and the "status update" message can be broadcast. Am I wrong? Somehow, it's still a little "fuzzy" for me...

Thanks for the help!

Kind regards

1. confirm that Quit is activated if you click on the Red 'X' to close the main window VI during an acquisition.

2. Yes, we must ensure that the acquisition and logging loops are in an idle state before you can close the application. It is the purpose of the enum status user interface.

Our documentation team has already a task update documentation to discuss these issues (it is followed in CAR 397078).

Tags: NI Software

Similar Questions

  • continuous measurement and logging, LV2014

    In LabView 2012, I examined how project templates QueuedMessageHandler and the measure continuously and logging (CML). In addition, there are all of a lengthy and detailed documentation for the QMS. There is a much shorter documentation for CML, but readers of mention the QMS, given CML is based on this project template of course.

    I just got LV2014, and I began to consider the continuous measurement and model of forestry (DAQmx) inside LabView 2014 project. There is here a change which is not documented: a state machine additional typedef enum in the loop of paremeter. But there is no change in the QMS 2014 version, while this change is not explained in detail.

    You can direct me to some docs or podcasts more explaining the feature of the new version of CML?

    Also, when I try to run the continuous measurement and model of forestry project (DAQmx), just to see how it works, I see strange behavior: even though I always select "connect" in the trigger section, force the trigger button starts to blink, and two messages begin to iterate through the channel indicator : logging and waiting for release. But I always chose "log" is this a bug?

    I was reading an "interesting debate" since the year last too:

    http://forums.NI.com/T5/LabVIEW/buggy-LabVIEW-templates-amp-courses/TD-p/2298766/highlight/true/page...

    I understand that these models are only starting points, but I'd be very happy for some documentation to understand how to properly use these models (I was quite OK with the original models, but the new ones obtained more complex due to the state machine).

    Thanks for the tips!

    Hello

    The additional Typedef is necessary to ensure that only data acquisition-task is started.
    This is because the mechanical action is defined as "lock when released. For example, when you press on the
    Start button, then release, the changes of signal from false to true, and then it goes from true to false.
    It would be two events. During the first event, a new Message is created. Now, when you take a look at the "Message loop will vary."
    you will also see an additional type of def. In this VI data acquisition task is created and started. The problem now is the second event.
    Now another Message is created to start an acquisition process. And if another task-acquisition of data is started, you would get a problem with LabVIEW and DAQ hardware.
    But due to the fact that in the loop of the Acquisition, the State has the value of Acquisition with the first Message, the second Message does not start another DAQ-task.

    In the QMH there no need of this, because you don't start a data acquisition task.

    Two indicators during indexing, strength of trigger is set to false. If the program connects
    and force trigger is disabled. After the registration process, the flag is bit set to Wait on trigger
    because, as already stated, it is disabled. Now Force trigger is true once again, and it connects again. This process
    is repeated and the indicator is switching between these two States.
    When you open the VI "Loop of Message Logging", you will see that the trigger for the Force is set to false.

    Kind regards

    Whirlpool

  • Continuous measurement and logging model - Hang-Up of may because of the lost output

    The model of continuous measurement and logging in LabVIEW 2012SP1 has a flaw in the Acquisition and recording loop.

    Stop messages manager ignores all messages in the queue of messages. The note says:
    "Stop - empty the queue of all pending messages 'Connect'. Close the reference of TDMS files. "See the picture below.

    This concept breaks if the output message is issued while the Stop message is being processed. The time gap critical to do this is small, because the issue is posted on the front of the queue. But it depends on the treatment in the case of the Manager to stop. Large or small - it can happen.

    The symptom is the application block in an infinite waiting on the queue of message - all commands have no effect, as the rest of the loops are completed. Break terminates the application. Pause button doesn't work anymore. (see this entry forum)
    This problem may appear only after enforcement has become more complex and the schedule has changed - the fresco made model works and does not reveal the question.

    The cure: first of all I thought to preview the elements of the queue before they are scrapped selectively, one by one in the loop to stop, but that usually is not working either, because the output can happen precicely in the laps of time between overview and dequeue - don't forget no outputs are displayed on the front of the queue.

    I think the best option is to replace the flush of the queue in the Stop messages with a selective messages waiting managers one by one and check if the output is - if so, reseat it in the front of the queue. All other messages are discared. That look like this, have seen interesting parts...

    Here is the message loop to stop with the problem highlighted.

    As I'm not mistaken, I think it's better that NEITHER updates the model to avoid this problem.

    Here is the case of the resting State in the case of stop message:

    Us do not hang the CPU run a constant stream of messages ineffective because we only "Log" enqueue messages when we are in the valid state logging (a State of rest here is again a passthrough).

    The worst case, it's that there are number of register requests already in the queue when the system shuts down. After receiving the stop idling message, state transitions and other Log messages become non - ops due to the State.

    I consider the opportunity to post a few screws update

    ~ Simon

  • Using the DAQ Assistant. can I create a VI that measures continuously during a fixed time?

    I use LabView to an NI USB-6009 enclosure, with two accelerometers like my analog input. When you use DAQ Assistant to build my VI I have not seen an option to measure continuously for a set amount of time. I need the test to run for two seconds and then stop.

    Is there anyway to specify the exact duration of each test?

    It's about as simple as you can get. Set the number of samples to be twice the sampling frequency (or whatever the multiplier that you want). That's it - a simple DAQ Assistant and nothing else on the block diagram. If you need it to be variable, just wire a control of the number of input samples.

  • I reinstalled Windows XP & he said that if I continue, I'm not able to connect to Windows. I hit continue, and now I can not connect.

    I reinstall windows xp & he said that if I continue, I'm not able to connect to windows. I accidentally hit continue and now I can't log on. Help, please. What should I do now? Lynn B.

    original title: Reinstalling windows xp

    Hi Lynn B,.

    ·         What is the exact error message?

    ·         What type of installation you perform? Is this an upgrade or fresh on-site installation?

    ·         What service pack is installed on your computer?

    ·         You have the Windows installation disc?

    You can consult the following Microsoft articles:

    Install, reinstall, or uninstall Windows

    http://Windows.Microsoft.com/en-us/Windows/help/install-reinstall-uninstall

     

    How to perform an upgrade on the spot (reinstallation) of Windows XP

    http://support.Microsoft.com/kb/978788

    Hope this information helps.

  • Error MESSAGE: "Setup HAS the PRIVILEGES SUFFICIENT TO ACCESS this DIRECTORY: C\PROGRAM FILES (x 86) \QUICKTIME\QT SYSTEM." THE INSTALLATION CANNOT CONTINUE. LOG ON AS AN ADMINISTRATOR OR CONTACT YOUR SYSADMIN "_".

    ERROR MESSAGE:

    "THE installation program HAS the PRIVILEGES SUFFICIENT TO ACCESS this DIRECTORY: C\PROGRAM FILES (x 86) \QUICKTIME\QT SYSTEM." THE INSTALLATION CANNOT CONTINUE. "LOG ON AS AN ADMINISTRATOR OR CONTACT YOUR SYSTEM ADMINISTRATOR.

    TRY SEVERAL DIFFERENT PROGRAMS TO INSTALL/DOWNLOAD AND KEEP THIS SIMILAR ERROR MESSAGE ABOVE!

    WHEN, IN FACT, I AM THE ADMINISTRATOR ON MY COMPUTER! HE DIDN'T THERE WAS NO OTHER USERS ON MY COMPUTER. WHY IS THAT IT IS SAYING THIS? VERY FRUSTRATING! THANKS FOR YOUR HELP IN ADVANCE!

    1. Open the prompt with administrator privileges by opening the Start Menu, type cmd in the search box, pressCtrl + Shift + Enter or click Start orb, all programs, Accessories, right-click on command prompt and selectrun as administrator.
    2. Type the following at the command prompt, and then press enter after:

      NET user administrator / Active: Yes

    3. Restart your computer and logon as an administrator.
  • My iPhone 6 s + has been stolen. I got the code to access and iCloud, and I putted in find my iPhone. Here illegally, could unlock iPhone and log in icloud.

    My iPhone 6 s + has been stolen. I got the code to access and iCloud, and I putted in find my iPhone. Here illegally, could unlock iPhone and log in icloud. I only had reference no.. MKV82LL/A, Series n F2 * RWV on the packaging. I wonder how do I get it back?

    < personal information under the direction of the host >

    Hello Miss116,

    I am so sorry your iPhone was stolen, it's a terrible feeling, and I'm here to help you with everything I can.

    1. go to a computer and go to iCloud.com and sign in with your Apple ID and password.

    2. go find iPhone and all devices at the top, click on your iPhone.

    3. click on lost Mode and put in a phone number where you can be reached.

    4. click Next, then enter a message that says something along the lines, "Please find my iPhone, please call this number to return."

    5. click on done

    Best wishes to get your iPhone back safely.

  • Just create a boot SSD drive. You want to minumize what Mozilla wrote in the SSD. You want to change Max and log locations not SSD drive. Anyone know how?

    Just create a boot SSD drive. You want to minumize what Mozilla wrote in the SSD. You want to change Max and log locations not SSD drive. Someone knows how, I could not find where it change?

    See http://kb.mozillazine.org/browser.cache.disk.parent_directory

    You can also install portable Firefox version, if you want to run Firefox on a disc of SS.

  • Should I purchase Measurement Studio and NI-IMAQ separately or NOR-Imaq included in measurement studio?


    Hi Vjuno,

    Thank you for your interest in Measurement Studio and NOR-IMAQ. Measurement Studio and NOR-Vision are separate software packages. If you are considering comes to acquire, save and display images from a camera IEEE our NI Vision Acquisition software located on our website (http://sine.ni.com/nips/cds/view/p/lang/en/nid/12892). If you want to set up a system of image analysis then you can buy the Module OR Vision Development, this includes NI Vision Acquisition (http://sine.ni.com/nips/cds/view/p/lang/en/nid/2881).

    Thank you for your interest in our products!

    Eric Reid

  • The difference between Measurement Studio and NiDAQmx?

    What is the main difference in Measurement Studio and NIDAQmx. I have a DAQ software, which was originally developed in Visual C++ 2003 M, who initially used Measurement Studio. Now, I want to replace involved studio by NIDAQmx latest version. It is Possible to do?

    Hello

    Measurement Studio is an extension for Visal Studio, which contains a variety of libraries for measurement applications as well as user interface such as graphics.

    DAQmx is the setting for hardware drivers for Multifunction DAQ devices of NOR. If you are using a DAQ card, you need this driver to access with any environment programming (LabVIEW, CVI, C, C++, .NET).

    This means that you can access the material, also with Visual Studio, which has no Measurement Studio installed. Although Measurement Studio is analyze and present the data acquired much easier.

    Kind regards

    Robert H

    OR Germany

  • acquire, analyze, and log data using the technique of the statemachine

    I'm technical state machine learning to develop code to acquisitoin of data and logging. I think I wrote the correct code for this purpose, but I couldn't have done the following:

    All the values(>0) of warning should appear on table 1 d on the façade. The code is written only the first value.

    All values must be recorded using to write to the palette of the spreadsheet and written on the excel sheet. Code is only writing first value.

    I wonder what is the error. The code I created is attached, I would be grateful if someone fix the code and post in response.

    Thank you in advance for help

    See you soon

    Hi kwaris,

    "What is the error": well, you use a lot of unnecessary conversions. Really a lot of...

    Why do you convert a dynamic scalar value, then convert to table, then index an element of the array? Why convert to dynamic when everything you needis a simple "build table" node?

    OK, I've included a shift register where you will store your table. It of just a simple 'how to', but not the best solution for all cases. But it should give you a clue...

  • When I turn on my PC and before opening of session (before entering password and log in) internet connection exists?

    When I turn on my PC and before opening of session (before entering password and log in) internet connection exists?

    Yes.  The network stack is active as soon as Windows is running.  You can prove this by yourself, if you wish, if you can review your summary router network.  It should show the PC in question as being active.

  • Folder my documents opens at startup and log on

    Folder my documents is opens at startup and log on how to stop why it behaves?

    See if it works (I'm not your configuration): Command Options Panel\Folder.
    Select the VIEW tab, uncheck the RESTORE PREVIOUS FOLDER WINDOWS at the CONNECTION.

    Here's another option to remove this problem: http://www.technize.com/my-documents-folder-opens-at-windows-startup/.  Make sure that you are in the registry and I would only delete the Documents folder reference rather than all - but it is up to you.  I would like to make a registry backup system and the restore point before starting this procedure to be on the safe side.

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

    Here is another similar option worth a try, if others do not work (same for system restore point and registry backup):

    Click Start > run Regedit > move > HKEY_LOCAL_MACHINE\ logiciels\ Microsoft\ Windows NT\ CurrentVersion\ Winlogon

    In RHS Panel, change the value of "Userinit" to: C:\WINDOWS\system32\userinit.exe

     

    Now, go to:

    HKEY_CURRENT_USER\ logiciels\ Microsoft\ Windows\ CurrentVersion\ advanced Explorer\

    In RHS Panel, change the value of "PersistBrowsers" to 0

     
    Reset.

    Click Start > run Regedit > move > HKEY_LOCAL_MACHINE\ logiciels\ Microsoft\ Windows NT\ CurrentVersion\ Winlogon

    In RHS Panel, change the value of "Userinit" to: C:\WINDOWS\system32\userinit.exe

     

    Now, go to:

    HKEY_CURRENT_USER\ logiciels\ Microsoft\ Windows\ CurrentVersion\ advanced Explorer\

    In RHS Panel, change the value of "PersistBrowsers" to 0

     
    Reset.

    Click Start > run Regedit > move > HKEY_LOCAL_MACHINE\ logiciels\ Microsoft\ Windows NT\ CurrentVersion\ Winlogon

    In RHS Panel, change the value of "Userinit" to: C:\WINDOWS\system32\userinit.exe

     

    Now, go to:

    HKEY_CURRENT_USER\ logiciels\ Microsoft\ Windows\ CurrentVersion\ advanced Explorer\

    In RHS Panel, change the value of "PersistBrowsers" to 0

     
    Reset.

    Click Start > run Regedit > move > HKEY_LOCAL_MACHINE\ logiciels\ Microsoft\ Windows NT\ CurrentVersion\ Winlogon

    If this does not work, go tohttp://technet.microsoft.com/en-us/sysinternals/bb963902.aspx and run Autoruns and click all.  You are looking for something, with the documents folder, and when you find it, uncheck the box to prevent it from starting at startup (it probably isn't there because it uses a different process to open it, but it's worth a try since different processes was the one before this one and if you are here it means that you did not).  Check the entire list as there may be several entries.  When you're done, click OK and restart.  The file should no longer start.  If by chance you find explorer.exe listed there, then try disabling that and see what happens.  This can cause a lot of problems, so be ready to CTRL-ALT-DEL and file run Explorer.exe to restart the program and then go back and check the box - it sure is not the solution.

    If this does not work, try a boot minimum http://support.microsoft.com/kb/929135.  If the problem goes away then it's just a matter of tracking down the culprit at the origin of the problem.   Follow the procedures described in the article.  Once found, remove, delete, disable or uninstall.  Once remember to put Vista in normal status, as described in the procedures. If the problem occurs in clean mode then just restore the system to normal and reboot - this solution will not work.

    I hope this helps.

    Good luck!

    In RHS Panel, change the value of "Userinit" to: C:\WINDOWS\system32\userinit.exe

    Now, go to:

    HKEY_CURRENT_USER\ logiciels\ Microsoft\ Windows\ CurrentVersion\ advanced Explorer\

    In RHS Panel, change the value of "PersistBrowsers" to 0

    Reset

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

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • What is continuous and Dangling channel mode in VPN mode?

    What is continuous and Dangling channel mode in VPN mode? With Differece?

    Please help me understand this concept...

    Can you please tell me from the issue? In general, it is very in depth knowledge IKE not very useful for all those outside developers and support for the seller.

    Simplified way.

    Continuous channel - we will keep IKE SA as long as there is an IPsec security association to the top.

    Dangling mode - we leave associations security IPsec "swing" without the support of his IKE.

    Marcin

  • PC won't start-preparation of auto repair. After, there is a message: 'automatic repair is unable to repair your PC' and ' Log: C:\windows\System32\Srt\SrtTrail.

    Original title: help! My PC won't start!

    Hi, my computer Windows 8 really does start. On the screen, I see just the windows logo with "prepare auto repair. After, there is a message: 'automatic repair is unable to repair your PC' and ' Log: C:\windows\System32\Srt\SrtTrail.

    I try with everything I can, recovery CD and USB, refresh, auto repair, I can't back up my files because I have not found any extern with 208 GB storage... So I can't really reset my PC without losing my files.

    What can I do to start my PC, without losing my files.

    PLEASE, I BEG YOU! Help me!!! PLEASE, I BEG YOU!

    Hello

    Thanks for posting your query on the Microsoft Community.

    According to the description, I understand that you are unable to start your computer.

    This could occur due to system conflicts.

    Try the steps.

    If the auto repair is unable to repair your PC, select "Advanced options" and then "Troubleshooting."

    1. Select 'Advanced options', then 'command prompt'.
    2. If you are prompted, enter the password for the user name.
    3. At the command prompt, type the following commands, and press ENTER.

    Bootrec /fixMBR
    Bootrec /Fixboot
    Bootrec /rebuildBCD

    Restart the computer and check the issue.

    Hope this information helps. Please let us know if you need any other help with Windows in the future. We will be happy to help you.

Maybe you are looking for