Set up connection VI start and stop without losing or deleting data

Hello

I currently use a PCI-6280 M-series and a card PCI-6601 of counter measurements on Labview 2010.

I have 3 tasks implemented, 2 tasks of linear encoder on the 6601 counter and 1 analog input task with 4 inputs x on my 6280.  All of these are timed with a counter on the 6601 through a RTSI line.

All of these tasks, I have a similar setup as the picture in http://zone.ni.com/devzone/cda/tut/p/id/9574 except that they are all set up as only "Log" and "create/replace" for the logging.vi configuration file.

Because I want to have the encoders permanently locate my position, I never "stop" the tasks of meter.  However, I need to use the data acquired after each trip along the way to get and process location and subsequent analogue input data points I have.  What I did, I would be 'stop.vi' my clock on the counter sample, and then open the PDM file, read the file PDM, get the table from there, close the PDM file, then "run.vi" the clock on the counter sample.  However, I found when I stop the sample clock, not ALL data points have been listened to in the file.

For example, say I move my cart to 100mm to the right during recording, then stop the sample clock, get the PDM file table, find the size of this table called 'X' for future use.  Then I get the ramasseherbe on the origin WITHOUT restarting the clock.  THEN I start the sample clock and move from 100mm to the left.  After that, I once again, stop the sample clock and get data from my file tdms starting at the offset of reading on "X + 1".  I EXPECT that this table SHOULD start at 0 then go to the 100 mm to the left.  However, what it does, is that I see the data begin at 100mm from the right for a few data points, then GOES to 0, then moves to the left as planned.

I propose this means that when I stop the sample clock, data from meters (stamp?) not all were listened to the tdms file yet, and when I start the clock, the rest becomes she dumped.  Here, I'm confused because I thought that 'configure logging.vi' stream directly in the file without a buffer.

I was wondering if I'm doing something wrong, wait bad things, and if there is a way to apply what I want.  As in, is there a way to dump data remaning in the "buffer" (I tried the tdms vi flower, but that didn't work and I didn't think it was relevant) after I stop the clock or something like that, or is my implementation to offshore competely.

Thanks for reading,

Lester

PS. have a way to read the most recent point counters would be great also.  However, whenever I put the offset or relative to the most recent, it is said that I can't do during indexing, even if I saw a community post saying that it works with analog inputs.  This is perhaps off topic, but yes, now I'm just trying to get the tables of PDM works, thank YOU!


Tags: NI Software

Similar Questions

  • Long start and stop times, offline files

    Systems Windows Vista, Windows 8 server, roaming profiles, Outlook using POP3 Microsoft DPM.  local copies of offline files are set to encrypt.

    Because of past problems with several revisions of files group policy is set to synchronize the start and stop.
    Users are complaining of delays and slow performance during periods of start-up and shutdown.  I suspect that this is because of the synchronization.
    What is available to speed up the synchronization process or to monitor the total size and the speed of the process?

    Server gurus hang out in Windows Server support forums, better to ask this kind of question it:

    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer

  • PowerCLI defining politics NTP to "Start and stop with the host" in ESXi 5

    Would appreciate any help in the definition of the strategy NTP on ESXi 5 hosts 'start and stop with the host. My script is currently using the following:

    Get-VMHost MyEsx | Get-VMHostService | where {$_.} Key - eq 'ntpd'} | Game-VMHostService-policy "automatic."

    This sets up the NTP service in "start automatically if all ports are open and stop when all ports are closed.

    "When I cange to 'MyEsx Get-VMHost | Get-VMHostService | where {$_.} Key - eq 'ntpd'} | Game-VMHostService-political ' market / stop with host"" the following is returned:

    «The possible enumeration values are "auto, On, Off«»»»

    Anyone know of a way (in PowerCLI) of the set up for the 'start and stop with host?

    OK, then you should choose politics "on".

    These are the policy values and what they match.

    Like this

    Get-VMHost MyEsx | Get-VMHostService | where {$_.Key -eq "ntpd"} | Set-VMHostService -Policy On
    
  • Is it possible to start and stop the servers without using nodemanager?

    Is it possible to start and stop the servers without using nodemanager? If so, how?

    Hello

    Please follow the link below, it will be useful

    http://docs.Oracle.com/CD/E1322201/wls/docs81/ConsoleHelp/startstop.html#1243161_

    Concerning
    Fabian

  • Start and stop too slow

    My computer starts and stops very very slow (more than 3 minutes)

    Hi AngelAcevedo,

    ·         Did you do changes on the computer before the show?

    ·         The startup problem occurs after the connection or if you are referring to restart is slow?

    Follow these methods.

    Method 1: Run the disk cleanup tool.

    Description of the tool in Windows XP disk cleanup

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

    Method 2: Perform a clean boot to see if there is a conflict of software like the clean boot helps eliminate software conflicts.

    How to configure Windows XP to start in a "clean boot" State

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

    Note: After completing the steps in the clean boot troubleshooting, follow the section How to configure Windows to use a Normal startup state of the link to return the computer to a Normal startupmode.

    After the clean boot used to resolve the problem, you can follow these steps to configure Windows XP to start normally.

    (a) click Start, run.

    (b) type msconfigand click OK.

    (c) the System Configuration Utility dialog box appears.

    (d) click the general tab, click Normal startup - load all services and device drivers and then click OK.

    (e) when you are prompted, click on restart to restart the computer.

    Method 3: Follow the steps in the article.

    How to set performance options in Windows XP

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

    For reference:

    How to make a computer faster: 6 ways to speed up your PC

    http://www.Microsoft.com/atwork/maintenance/speed.aspx

  • Start and stop WL Admin servers

    Hi, I can start and stop WL Admin Server without connecting to the server of WL?

    Hello

    You can go through the link below...

    http://ananthkannan.blogspot.in/2009/10/how-to-create-WebLogic-Server-as.html

    well explained, on starting Admin Server through windows services

    If you want a specific managed server should be started when the server restarts, you can go through the link below as well

    http://middlewaremagic.com/WebLogic/?p=680

    Concerning
    Fabian

  • Complete noob - would like to measure the voltage to manual start and stop

    Hello

    As the topic says I'm a complete noob when it comes to programming OR.

    I'm looking for someone to point me in the right direction

    Installation program:

    Windows8 office

    Visual Studio 2013

    NI 6255 PCI data acquisition card

    Block connection OR SCB-68

    What I want to do:

    I want to write a console application to measure the voltage on the signal ai16

    -I want to be able to start and stop the application manually

    -I want to be able to pressure measured in a CSV output.

    Where I am:

    I compiled and ran the example "NOR-DAQ\Examples\DAQmx ANSI C\Analog In\Measure voltage.

    It is said that I have "collected" samples but I don't know what that means, as I do not see an output file...

    What I don't understand:

    Samples - I do not understand cela or know even where to start

    How can output file - I get the file to save the collected data.

    Thanks in advance

    Chad

    Hi Arron

    Thanks for the link, unfortunately, it has not helped because the instructions were for Visual Basic and C++ not. It was my fault for not putting the language of prog that I need help in my original post.

    However, I started to find help on this link: http://www.ni.com/tutorial/5409/en/

    -With the help of NOR-DAQmx in text based programming environments

  • I want cRIO to start and stop the acquisition by push physical button on the cRIO, is this possible?

    When you use my cRIO 9024 on the ground, I prefer to be able to start and stop the acquisition with pressing a physical button on cRIO.

    I want to say I don't want it to be "as a start-up," I don't want cRIO to start the acquisition as soon as the power supply is ensured.

    Is this possible?

    Hi Cashany,

    you will surely find this switch status. But there are easier ways (but more expensive) for a button. Fiddling with a pen or a small screwdriver to switch USER1 is not what I call "user friendly"...

    -You have at least 2 voltage inputs on your module available. Use a switch voltage on the power inputs. Use a 'real' button!

    -You have an available serial port. You can set some pins on GND or voltage and check their status inside the cRIO/RT target...

  • Why my computer does not delay when I try to watch the video again? It's a constant start and stop and buffering?

    I get a lot of golf maaterials and lesson over the internet.  It became a real pain and a problem for me to keep up with instructions.  When I received instruction to internet and start to play the video it winds and winds and play them for a few seconds then start and stop throughout the presentation.  What can I do to fix this problem?

    If several computers are using the internet at the same time, it might slow down the video stream on a computer (laptop or desktop).

    Or your internet connection is simply not enough fast to stream the videos you want to watch. There are several different speeds for DSL, so the speed increase may help.

  • Digital start and stop trigger with restart HW

    Hello

    I am trying to write a program that reads continually samples based on the rise and fall of a digital triggering.  I want the measure to start on the front of the trigger and stop on the falling edge of the trigger.  I want the data that are read to be preserved and then added with the next set of data that the trigger rises again.  I have read the tutorial "Digital start and stop trigger" and can use the reference to stop the measurement process and I looked at the example "Acq & chart voltage - Int Clk - HW Trig restarts ' that comes with LabVIEW and I can get the two of them working separately with my request.  I'm quite confused however try to put the two together (see attachment).

    If I put a "Start.vi" icon inside the while loop then I get an error "you can do this while the measure is still ongoing".  If I put it out of the loop and then the process only runs once.  I tried to put a loop structure case for restart only if necessary, but this has produced another error which the source escapes me.  Is there a standard way to do this and if so someone can point me in the direction of an example?

    See you soon,.

    Glen

    I think that in this situation, it would be preferable to use a Pause trigger.  You can use the break to stop the acquisition when the trigger was low and start when the trigger is high.  In this way, served only for the duration of your trigger pulse.  I've attached a screenshot of a VI that illustrates this principle in action.

  • I installed G10-ebook but when open it and write down the username and password it starts and stops immediately and closes what should I do?

    I installed G10-ebook but when open it and write down the username and password it starts and stops immediately and closes what should I do?

    Hello

    Step 1: Check if the problem persists in the clean boot state.

    From your computer by using a minimal set of drivers and startup programs so that you can determine if a background program is interfering with your game or program. This type of boot is known as a "clean boot".

    Reference:
    How to configure Windows XP to start in a "clean boot" State
    http://support.Microsoft.com/kb/310353

    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:
    1. click on start and then click Run.
    2. type msconfig and click OK.
    The System Configuration Utility dialog box appears.
    3. click on the tab general, click Normal Startup - load all services and device drivers and then click OK.
    4. When prompted, click on restart to restart the computer.

    Step 2: Also, look for error messages in the event viewer. If you find error messages after return the exact error message so that we can help you better.

    Reference:
    Using the event viewer
    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/snap_event_viewer.mspx?mfr=true

    Understanding of event viewer
    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/event_overview_01.mspx?mfr=true

    Procedure to view and manage event logs in Event Viewer in Windows XP
    http://support.Microsoft.com/kb/308427

  • Records of Vista Media Center starts and stops at the wrong time

    I use Windows Vista Home Premium, SP1 and that you may have noticed that when I schedule recordings for some a particular channel, Media Center starts 2 minutes beforehand and ends 2 minutes in advance.  This affects only shows record from my local affiliate Fox - all other shows for other strings start and stop at the appropriate time.

    I checked the system clock with the start times of the shows and both are correct.  In fact, I saw one day Media Center started to record for a show that did not begin until 08:00 at 19:58 (according to the system time).  I had my TV on at the same time and was able to verify that the program in question had not yet begun, so the flow of the internet was sychned with the dissemination of local transmission.

    It's very frustrating because I miss the end of some shows and cannot always extend registration ends because I'm ordering another channel, the next hour.

    I have the same problem with the FOX network...

    -1 make sure your clock automaticly sets in the internet and update once by pressing the link (which makes that he can see the time server)...

    There are two ways you can go with this:

    -If your departure time is correct, then just go to the Planner and choose the program (or series) you are trying to install, select the recording settings (or adjustment of series) or advanced setting... There is an option to "stop recording" 1 min, 2 min, 3 min, 5 min, until 2 hours after the recording is finished... I have mine set to 5 minutes after, and she fixed it...

    -If the starting time is disabled (as mine is), to enter ERM and manuver to tasks > settings > TV > recorder > recorder defaults

    This is where you define all the flaws of the recorder, find "Start when possible" and "Stop when possible", 4 min value (max allows MCE)... Save and exit, restart the machine too...

    You should be good to go...

    PS, I just read the last sentence in your post, you must only have a tv tuner card in your machine (I have two, and that's the reason why I bought two), so you can always have a problem when recording two different channels (back to back on the same channel should work okay).

  • When you watch videos it will start and stop.

    When you watch videos it will start and stop. What are the causes it to do this? I was wondering.

    sdh1975 wrote:

    When you watch videos it will start and stop. What are the causes it to do this? I was wondering.

    Hello

    Are you you talk online or offline? If online, the connection speed can be not fast enough.

    Kind regards.

  • Why continue those class Scheduler start and stop every half hour approximately

    Why continue those class Scheduler start and stop every half hour approximately. I am fortunate to have a sound event for the event program open and this event is triggered by Multimedia Class Scheduler, it seems, every half hour.
    Is this normal?
    Can I disable it?

    James

    Hello

    Service Multimedia Class Scheduler (MMCSS) allows multimedia applications to ensure that time-sensitive processing receives priority access to the CPU resources. This service allows multimedia applications to use CPU as possible without denying CPU for low-priority applications as well.

    This service is required only for the fact that the Windows Audio service lists this as a dependency. Without the Windows Audio service, no audio signal will play on the system. This service is started when the system starts, but shortly after (~ 8 minutes), it stops.

    This is a Notification which will start with all programs that use Windows Audio. For an example if you open Windows Media Player, then multimedia class scheduler also starts because it uses the windows audio.

  • Start and stop is slow in Windows 7

    Original title: I desperately need some help here.

    I have a Toshiba LT, running the Windows 7 operating system. Start and stop is slow, so I downloaded

    MicrosoftFixit to analyze and fix my computer. It is scanned and was told that more than one anti-virus program is running, I'm only using Microsoft

    Security Essentials, also more than one user is logged on when I'm the only person using this computer!

    Several programs are currently running in the background at the start and during the shut down, but I can safely remove. Help, please!

    Hello

    Have you made changes on the computer before this problem?

    Method 1: Resolution of Performance problems.

     

    Optimize Windows 7 for better performance

    http://Windows.Microsoft.com/en-us/Windows7/optimize-Windows-7-for-better-performance

     

    Method 2:

     

    Step 1: Check in safe mode.

     

     

    You can also check if the problem persists in safe mode.

    Reference:

    http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-in-safe-mode

    http://Windows.Microsoft.com/en-us/Windows7/advanced-startup-options-including-safe-mode

     

    Step 2: Perform a clean boot and check.

     

    To help resolve the error message, you can start Windows Vista or Windows 7 by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

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


    Please note:  After troubleshooting, be sure to start your computer in normal mode by following step 7.

    Hope the above information is helpful.

Maybe you are looking for

  • Address bar, bar tabs and bookmarks toolbar disappear right out of full screen on any video fix, all known to HTML5?

    They are there for a millisecond after I exit full screen, then they disappear. Suggestions of the awesome bar always fall to the bottom of the title bar, but there is no way to get the rear bars without having to restart firefox.

  • iPhone 5 reminders does not.

    I'm going in and click on the + button and create a new reminder. Nothing appears after the selection is made, and the recall never comes. Everything worked well until 2 days ago. The only thing I did recently was to remove and reinstall an e-mail ac

  • system hangs

    Since the upgrade to the Version of El Capitan 10.11.4 (15E65) my iMac crashes and restarts several times a day. The screen freezes, I can't move the cursor, and then it restarts. It doesn't seem to matter if I worked for a certain time or simply sta

  • Impossible to download the BIOS for Portege Z930 - 404 error

    Hello My tool tempro says that there is a new BIOS for my Portege Z930.But the link does nothing. If anyone can solve this? Or have the correct link Thank youMarkus

  • Menu of time performing - table close round

    Hi all I have a small question on the menus of the run-time behavior: I have a configuration of structure of event to detect the Panel close? event to handle some stop code before my application closes. I wonder who the selections of run menu trigger