Resizing window affects data aquisition

Hi Guys, got a really annoying problem that I've been trying to solve for about 2 weeks now, I'm hoping someone will be able to help me.
We communicate through a dll to our data aquisition box (custom). Our custom data aquisition box has an array which we read in a timed loop every 20ms (although the array is present for around 50ms), once read we send a command saying that we have read the data.
Once we've read the data we put it into a queue. The logger then reads from this queue, all works fine on a normal run. However if we resize any window (not just a labview one) this seems to knock out our Timed loop. i.e. we miss 1-2 arrays worth of data (50-100ms). This is strange as we have it in a Highest priority VI running in the "Data aquisition" thread. We also do lots of other things i.e. read from a TDMS file and read/write to global variables and display data on a graph, this doesn't seems to have much of an affect on the timed loops, its just when we resize a window. Obviously we do not want to risk losing critical data, so we need a way of stopping this from happening?
Its almost as though the VI is running in the User interface thread and is a lower priority than the resize window method.
Does anyone have any ideas on how we can solve this issue?
Thanks in advance
Joe
We are collecting data at 1Khz and our Dll is thread safe and is set to "run in any thread".
Using Labview 2009f3

Hi Guys,
Thanks for all your replies. Sorry for late reply, I was out the office yesterday.
Unfortunately i can not post my source code however i have made a small mock up of how the system generally works, to give you an idea.
josbone: Our dll is classed as thread safe and we have it running as such - i thought this could be the case to start with. I presume because it is classed as "any thread" it could still be running in the UI thread though?
Tinnitus: I have attached a mock up that shows the main points in the system. I think I got a little confused on my previous reply. The DAQ holds the data there for 50ms and that is our only chance to read the data(more data comes through and our buffer can only hold 50ms worth). Which if the Timed Loop executes at 20ms should be fine.
DFGray: I got really excited reading your reply - it sounded like it was a great fix, however, unfortunately it did not work
Hope the mock code helps
Regards,
Joe
Attachments:
Streaming example.zip ‏90 KB

Similar Messages

  • SAP Script  - resize window / paragraph

    Hello Gurus,
    I have two problems related to sap script. ( ver 4.6c)
    I have copied the original order confirmation form from 000 client in diff.languages like FR/DE/EN ( these forms are used by diff. offices in diff. location ) now we have to create a form for our china office location so I copied an existing form ( FR language) to language ZH.
    a. I cannot resize or move the window of the form ZH, to do this I have to convert the original laguage to ZH ( original language of the form is FR) , to change the original language I have to edit the FR language form and use the utilities->convert org.lang option , my question is if I do this process what will happen to our FR language settings users? or is there anyother way to do this ( move or resize window ) without disturbing other forms.
    b. I am using two paragraph settings for printing the item line in the order form, ex. ZZ and IS , if I use IS the item line appears but for ZZ there is no item lines printed on the form. ( blank ) What could be the problem for using ZZ Par.format.
    Any help is appreciated.
    Thanks and best regards,
    A drop in an Ocean

    Try to identify the original language of the SAPscript.
    EX: GOTO SE71, give your form name and language ZH. select radio button Header and click change.
    under adminstrative data, identify the original language. EX: if original language is DE
    GO back to SE71, now give your form name and key in language as DE. Modify all windows here.. i.e. re-size etc., it will automatically gets changed in your ZH language. Also you can create new paragraph formats or change existing paragraph formats here using original language. you can see all changes in form ZH.
    If you want to re-size in "ZH" itself .. try to change original language to ZH.
    I guess, this info will help you to close the thread.
    Regards,
    SaiRam

  • Possible e17 issue: resizing windows causes "white-out"

    not sure where this problem fits in the categories of the forum, so I figured I'd drop it here... I'm running e17 and recently I started experiencing a "white-out" problem whenever full-screening or resizing windows... so far, the only program that doesn't seem to suffer from this white-out is Opera... I'm not sure how to reproduce this error for anyone either... once the whiteout occurs, the window becomes generally inoperable (I think it's a screen draw issue, because if I know where things relatively are or should be, I can somewhat use the window... so the operations are all still there, I just can't properly see the window itself... closing and reopening fixes this, but nothing else works.  Running via console does nothing as well...
    oddly enough, when using gimp, resizing the image window doesn't affect the option windows that are also open... also, when opening xfe and resizing, the main window gets the whiteout effect, but when I close it, the dialog box that asks if I really want to close it looks completely normal...  Please ask whatever questions are necessary to fix this issue... I'm thinking it may be an e17-only issue, but not sure... plan to log into xfce as well to see if I still experience the same thing... 
    ANY feedback would be nice...

    I have the Early 2009 white Macbook and just began this same ordeal a few days ago. Nothing out of the ordinary to cause it, seemingly. I spoke with the authorized dealer here, and they told me it could be the display at $300 to repair, or anything else for less. Very frustrating.
    I can lower the brightness to 0 and then increment 1-2 notches before it goes black again.
    Lion 10.7.3
    2 GB Ram
    Core 2 Duo
    Any help?

  • How do i drag icons and how do i resize windows

    this is my first laptop having been used to emacs before. I can't figure out how to drag items or resize windows when not using a mouse and can't find such simple instructions in the manual.
    thanks.

    In addition to the method described by Jim, you can set options in the Keyboard & Mouse preference panel (in System Preferences) that allow you to get mouse clicks and click lock using the trackpad. Check out those options, many people find they make the trackpad a lot more useful.
    Randall Schulz
    iMac 20" Core Duo; MacBook Pro   Mac OS X (10.4.6)  

  • Is there a way to open an image in a floating, resizable window?

    In previous versions of PDE I could open an image (or for that matter, multiple images) as floating, resizable windows.  Now, images seem anchored.  How can I detact them from the big editing screen, such that I can move them around the computer screen as I could in the past?
    Thanks,
    Haly2k1

      Open Editor and click Edit à Preferences à General
    Then check the box “Allow Floating Documents in Full Edit Mode”
     

  • Resizing Windows Partition - No Longer Booting

    Whenever I attempt to setup a Windows/Linux Dual boot I get hit with this same dilemma. I start off with a NTFS format partition with Windows XP on it. As soon as I resize the partition, it no longer boots. Even before installing linux/grub. I defragmented before attempting this, and I took every precaution. In the end, I'm never able to boot my Windows OS. I can boot Linux from the Grub menu, and I can still access my Windows files.
    As of now I've reformatted back to Windows. I would just like to know what went wrong because I want to attempt another install later on.

    Ward,
    windows is weird in that it notes somewhere the block numbers where the system is installed, and when that moves
    it does not boot anymore.
    Now you are making life more complicated then necessary: if you still have windows resized and installed (and not booting),
    you can use the windows install cd and go into repair mode. It will fix the resized windows.
    If you are starting from scratch, before installing windows, start a Linux live CD, do not install it, start the program
    "gparted" and partition your disk as you want it. Then install windows in one of the partitions.
    Instead of the Linux live CD you can also use a Gparted  stand alone CD:
    http://gparted.sourceforge.net/livecd.php
    Hope it helps.
    Mektub

  • Creation of Daemon for the DTO  for the real time data aquisition

    Hi i need help how to create a daemon for the DTP in the real time data aquisition.i'm learning now Sap and practicing a lot to be professional but i need a bit of hel.Can you please give me some details how to create it?
    I have to access the RSRDA T-code and what i need to do after?

    Hi First of all you need to create a real time DTP once that is done go to RSRDA T-code and click on the Create Daemon
    and right click assign DTP , here you can assign the DTP once that is done save and execute . your Daemon will run
    Thanks
    Santosh

  • 3 partitions : MacOSX + Windows XP + Data

    My new MacBook Pro will be here in a week (15-inch, 2.5ghz, 2go SDRAM, 200go 7200rpm, etc.). I'm going to install Windows XP SP2 on it.
    I've been reading a lot of articles about installing Windows on a MacBook Pro and I guess I'm now familiar with most of the issues. I went through of course the Apple PDF on Bootcamp.
    But I couldn't find a clear procedure to have 3 partitions (Bootcamp doesn't like 3 partitions and I don't want a triple boot) :
    - 32 gb for MacOSX
    - 32 gb for Windows XP (NTFS)
    - 136 gb for Data (accessible by both OSs, in FAT32 i guess, or not?)
    I read this article about triple boot : http://wiki.onmac.net/index.php/TripleBoot_viaBootCamp
    But since I don't want to install Linux, I was wondering how the procedure needs to be different. Or maybe it is not, maybe I just need to ignore the Linux part and proceed?
    Anyway, if someone had a clear procedure to have 3 partitions on a MacBook Pro (as clear as the one Apple published for Bootcamp) MacOSX + Windows XP + Data, it would be more than welcome.

    32 gb for MacOSX
    32 gb for Windows XP (NTFS)
    136 gb for Data (accessible by both OSs, in FAT32 i guess, or not?)
    I wouldn't do that. FAT32 is not very efficient on disk space for drives that's much larger than 16GB. 100G is not recommended for FAT32.
    I finally decided with the following partitions:
    32GB - NTFS Boot Camp
    8GB - FAT32 Shared Data
    100+GB - OS X (My main storage partition)
    I also used the same guide to setup the three partitions without any problem. After installing Windoz, just igore the Linux part, and the Shared FAT32 partition become available for both OS's immediately.

  • Since yesterday, clicking to read my email gets a blank window, not the email. Same w/ windows where data should be entered (like with online banking). Help!

    Since yesterday, when I click to read my email I get a blank window instead of the usual window with the email itself. The same is happening with windows where data should be entered, like those virtual keyboards for online banking login, or windows where you can add records (like daily electricity and gas consumption). In all these situations, a window should pop-up and pop-up it does - but always blank.
    I already unistalled/reinstalled Firefox and reset it "to its default state".
    Thanks in advance for your help.
    Miguel Sendim

    Hello,
    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • Slow performance when resizing windows

    Hi I have a macbook pro 2.2ghz with 2gb ram. Certainly capable of resizing windows, however when I resize windows I get very poor performance. I always have to wait for the window to redraw on screen. This is unacceptable. This powerful of a machine can't resize windows in real time? I'm running Tiger 10.4.11. Is this normal behavior? Anyone else experience this? I appreciate any help. Thanks.

    That's not right. What happens when you run your visualizer in iTunes? You should be able to get 60 FPS. Try running your hardware tester once and see if you may have a graphics problem.
    -Bmer
    Mac Owners Support Group - Join us @ MacOSG.com
      Mac611 Mobile Mac Support - about.Mac611.com
       iTunes:MacOSG Podcast | YouTube.MacOSG.com
                       An Apple User Group 
    Have an iPhone or iPod touch? Enter Mac611.com in Safari on it for 'mobile Mac support.'

  • I would like to use your 6035E with Matlab, Data aquisition toolbox.

    What drivers do I have to have to use the 6035E AD card with Matlab, Data aquisition toolbox?
    thanks

    You will have to check with Mathworks and see if they have a driver for that board that works with their software.
    Otis
    Training and Certification
    Product Support Engineer
    National Instruments

  • Help resizing window using PS CS4 on PC

    I am trying to figure out a way to put 4 or 6 images on my screen and be able to move them around to compare them.
    Am using Photoshop CS4 on PC and XP Home. I open 4 or 6 files and float all in windows. I then zoom out and make 1 image smaller, so it is smaller than the window. Then match zoom and location to get the zoom ratios the same. Now I have 4 or 6 images that are in windows that are larger than the image.
    Is there any way I can make the windows smaller to be the same as the image other than do each one individually by dragging on the corner? Is there a shortcut to do this? Any way to adjust all the windows at once?
    I realize this is a bit confusing. Let me know if I can clarify the question better. Thanks.
    Matthew Kraus

    Go to Edit>Preferences>General and tick the Zoom Resizes Windows box.

  • Find Windows Install Date

    Hello,
    I'm trying to create an inventory report that lists the "Windows Install date" on all my PC's.
    Is ZEN capable of generating a report like this? I'm not seeing anything when trying to create a custom report??
    Thank you.

    jgaffney,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • Error when trying to install the iSCSI target - Cannot find the Windows PowerShell data file 'ImportExportIscsiTargetConfiguration.psd1'

    Hi,
    I'm just attempting to setup an iSCSI target on a freshly installed Windows 2012r2 box, but I get the following error when attempting to Create and iSCSI virtual disk via the wizard after a successful
    installation of the iSCSI target role.
    The full error is:
    Cannot find the Windows PowerShell data file 'ImportExportIscsiTargetConfiguration.psd1' in directory 'C:\Windows\System32\WindowsPowerShell\v1.0\Modules\IscsiTarget\en-GB\', or in any parent culture.
    I tried to uninstall, then reinstall the role but no go.
    The Server Locale and UI was all updated to en-GB but this folder does not appear to exist in this location. Rather, the folder I can see is:
    'C:\Windows\System32\WindowsPowerShell\v1.0\Modules\IscsiTarget\en-US\'
    I'm going to attempt to copy the 'en-US' folder to 'en-GB' to see what happens, but I would like to know why this has occurred in the first place? Other roles have installed (such as AD DS AD CS and
    IIS) on other machines with no issue.
    Many thanks
    Chris
    Chris

    Hi Chris,
    The error "Cannot find the Windows PowerShell data file 'ImportExportIscsiTargetConfiguration.psd1'" occured, because the file 'ImportExportIscsiTargetConfiguration.psd1' can't be loaded under the folder en-GB with current culture.
    I recommend you can copy this .psd1 file under  'C:\Windows\System32\WindowsPowerShell\v1.0\Modules\IscsiTarget'. Essentially if PowerShell can’t find the specified data file for the current culture it will “fallback” to the top-level data
    file in this case.
    For more detailed information, please refer to this article:
    Windows PowerShell 2.0 String Localization
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Can I download the instrument Control and Data Aquisition Device Driver CD for 7.1?

    Greetings,
    Can I download the instrument Control and Data Aquisition Device Driver CD for 7.1?
    I'm trying to find out if I can download
    the instrument Control and Data Aquisition Device Driver CD for 7.1. Instead of downloading all the upgrades?
    Is there a link to the image file for this CD?
    TIA

    Sam,
    Unfortunately, the Device Driver CD is not available for download. However, your Technical Sales Representative should be able to send it to you (Contact Information).
    Spencer S.

Maybe you are looking for

  • MacBook Pro flashes file folder with question mark and startup manager will not run

    My son's MacBook Pro won't boot (gets the flashing file folder with question mark).  When I try to open startup manager (holding "option" key during boot does not do it).  Other posts suggest inserting the install disk, but I am pretty sure that for

  • Having trouble sizing a photo for wallpaper in iOS 7

    When I try to move and scale a photo for my home screen wallpaper on my iPad3, using iOS 7, it immediately reverts to it's original size, which is larger than the screen. Is this a bug in iOS 7 or am I doing something wrong?

  • Why won't may computer recognize my IPad

    When I plug my IPad into my computer it doesn't pull up to sync no more? Why? I use to br able to do it. Please help.

  • Anonymous user on 7.0 EHP1 SP07

    Dear all, I've started the development of an anonymous accessible Portal using NW 7.0 EHP1 SP03, so the all configurations was been done and it was working well, after update for SP07, the anonymous user can't show the contents, the note 837898 was f

  • Image Splicing Effect Challenge (Part 1)

    I ran across a neat image effect on this image: Rock In Rio Thought it might be neat to see how different people in the forums would go about doing this... Anyhow. Looking forward to your ideas. Take care. UPDATE* This thread has been continued into