When using an asynchrono​us timer need data protection​?

Global variable in asynchronous timer callback function need to protect data?
thank you !

Asyncronous timers are executed in a separate thread, so they are expected to be running while the user is operating on the user interface and possibly on data collected in timer callback. All this means that you need to protect your data from concurrent access from both the timer thread and the main thread (where the user interface is normally handled) to prevent unexpected  program behaviour.
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?

Similar Messages

  • How to sync/edit audio when using frame freeze or time remapping?

    how to sync/edit audio when using frame freeze or time remapping? in premiere pro cs6

    You need to give more information about what you want to happen to the audio when you freeze or time remap the associated video.
    Is it synch video?
    Is it music?
    Is it Voice?
    Generally .. you have to cut and design the audio around the video effect.

  • When using Safari I am sometimes needing to pull up links and when I click on it, it just pulls up a gray screen. Is there something I need to download to allow certain links/files?

    When using my Macbook Pro sometimes I am needing to click a link in Safari to pull up a file and all I get is a gray screen. Is there something I need to download to enable certain file types or links?

    Could you post a picture?
    A gray screen could be either a crash or a plugin missing

  • How To Use OnCommand Workflow Automation For Automated Data Protection During Failover

    Introduction:
    The NetApp OnCommand Workflow Automation (WFA) engineering team recently published a WFA pack that lets you recreate SnapMirror and SnapVault protection after MetroCluster switchover and switchback. A switchover/switchback occurs during a planned or unplanned failover. Introducing automation promotes best practices for continuous data protection during these types of occurrences. Watch this video to learn how to take the steps for implementing and executing this pack.
    Step 1:
    Recreate SnapMirror and SnapVault protection after MetroCluster switchover.
    Step 2:
    Retain SnapMirror and SnapVault data before MetroCluster switchback.
    Step 3:
    Recreate SnapMirror and SnapVault protection after MetroCluster switchback.
    Other Resources:
    This WFA pack is available for download on the Storage Automation Store.

    Hi Ian,The WFA engineering team is getting ready to publish a blog article to accompany this new WFA pack. I hope you will find it helpful (stay tuned).Kristina

  • MD04- show delivery date when using a GR processing time

    Hi all,
    If you have a planned delivery time as well as a GR processing time on the material master- is there a way of showing the actual delivery date (from the PO) and not the total lead time (planned delivery date + GR processing date)?
    Thanks in advance.
    J

    I think that there's a button on the bottom of MD04 labeled "GR" and switches to "AV", that you can use exactly for that, switching between the two types of lead time.
    Regards,
    Mario

  • Slow Performance when using USB HD with Time Capsule

    I have a 500 GB Time Capsule that I primarily use for network storage for 4 computers (3 Windows and a MacBook Pro). There is about 250 GB of data on the TC. After doing my research, I hooked up a 2 TB WD My Book to the TC USB port (after first reformatting the My Book using Mac OS Extended (Journaled). TC recognized the NAS HD just fine, but when I tried moving files from the TC to the My Book, it took FOREVER. 66 hrs to copy all 250 GB; 46 hours to move 60GB). I tried connecting the My Book directly to my MB Pro via USB and files moved quickly (15 minutes for 10GB). With the My Book connected to the MB Pro, I can access TC over Wifi and copy files directly onto the My Book in little time (again about 15 min for 10 GB). Any idea why the USB transfer rate between TC and the NAS is so slow? I have the most current TC firmware.

    Jmiko wrote:
    That thread is 5 years old
    ???? It's from three days ago. The electronic book it references was updated last year.
    Plus that was talking about a 2002 Airport Extreme base station, whereas I have a 2009 Time Capsule.
    As I mentioned above, the source I quoted is from last year. The thread I cited mentions nothing about
    a particular year of base station. Where do you see that stuff?
    As for my wifi connection, it seems very fast in all respects. As I mentioned, when I connect the external HD to my MacBook Pro and transfer files over my wifi from the Time Capsule, it boogies along. At any rate, I am not sure why the wifi would have an affect on the transfer rate of 2 disks connected by a USB cable.
    My point was that, if that data has to travel over your Wi-Fi connection, the quality of that connection could affect the transfer speed you see. To investigate that possibility, I'd connect your Mac to the AirPort base station via Ethernet, turn your Mac's AirPort circuitry off, and repeat your tests that way.

  • When using rogers.yahoo mail, I need to refresh my screen after every 2-3 actions.

    While using Rogers.yahoo mail in FireFox, the screen freezes after every 2-3 actions (read email, delete email, respond to email, move email to folder etc.). I have to refresh the screen and then it goes along for another 2-3 actions and I have to refresh again. Very frustrating. I opened the same email account in Google Chrome and IE and it works fine there. This started happening yesterday.
    In perhaps an unrelated thing, I get this error message every day, once, when I start up my PC for the past 2 months:
    Microsoft.NET Framework
    Unhanded exception has occurred in your application If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately. Unable to load DLL 'hppatusg01.dll': The specified module could not be found (Exception from HRESULT:0x8007007E)

    No problem.
    If the above does not fix the issue, '''try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings and disables most add-ons (extensions and themes).
    ''(If you're using an added theme, switch to the Default theme.)''
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu by clicking on the '''Restart with Add-ons Disabled...''' menu item:<br>
    [[Image:FirefoxSafeMode|width=520]]<br><br>
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.
    Thank you.

  • IPhoto 6.0.6 throws up Error Message when used for the first time

    After 7 months since having purchased my iMac I am using iPhoto for the first time. However, as soon as the iPhoto Library is created in the Pictures folder, about 30 seconds later, I get an Error Message stating "An error occurred while trying to save your photo library. Some recent changes may be lost. Make sure your hard disk has enough space and that iPhoto is able to access the iPhoto Library folder."
    I have over 165GB on my hard disk. I have tried re-installing iLife 06 from the system disks that came in the box with my iMac. I have tried re-building the library by holding down the Option and Command keys when launching iPhoto. Nothing has helped so far.
    I have tried calling the Apple support line, but after over an hour on the phone even he didnt know what the problem was.
    Someone please help!
    Gratefully yours,
    DMEN

    Dmen
    The plist files simply record your user preferences for an application - your choice of default font, say, or the colour of the background, that sort of stuff. If this files is damaged or corrupted it can affect the app in all sorts of ways. When you trash it the app will create a new one when you next start it, and that will be the "factory defaults", but at least it will work.
    To trash the fie:
    Go to HD / Users / Your Name / Library / Preferences and find the com.apple.iphoto.plist fie, and put it in the trash.
    Then start iPhoto.
    Regards
    TD

  • Photoshop CS6 gets AppHang when using Magnetic Lasso Several Times

    My operating system is a Dell Precision T3500 Windows 7 64-bit SP1 6GB RAM.
    I opened a 102MB tif file which had been created in Lightroom4 by telling LR to edit in Photoshop.  I already had a small .jpg open in one window -- I am using tabbed layouts. 
    I Used the magnetic lasso about four times to delete sections of the photo and replace them with a Pattern (grey backround).  Several of the mask selections were to the border of the photo and I moved the curor for the lasso beyond the border of the photo. Then I used the polygon lasso two or three times to replace additional sections which had been left behind.  I went back to the magnetic lasso.  When I went outside the boundaries of the photograph this time, CS6 hung.  I couldn't switch windows or do anything in Photoshop.  Dead.  The task manager said the program wasn't responding, and I used the task manager to kill it.

    You could simply reach the limit of allowed points in a path. You will have to use multiple passes/ segemnts. I don't see why this should be a problem. Selections are selections. The path is merely a temporary representation of the selection border, the actual selection is pixel based, no matter what. Maybe look up a tutorial on how to work with saved selections/ channels? Just saying... Seems to me like you're trying to outsmart the program and doing everything in one go, which arely ever works...
    Mylenium

  • When using Power Management i get 'no data'

    I'm using all sorts of reports in SCCM and all are working except the power management reports. I get the following message: 'no data'
    The following options are turned on:

    The CM client is installed on every workstation and the resource explorer is populated. Is it possible to force the report instead of waiting +/- 30 days?
    It is still unclear to me if you environment is healthy.
    You say the query above only shows you 1 computer but every computer has the client installed. How many computers do you see listed in “Count operating system versions”?
    For the computer show in the resource explorer screenshot, do you get any results for “Power Management - Computer activity by computer”
     Feb 7 2015?
    Until the data is collected from all of your computers and until you have several days’ worth of data, some reports will not full work. There is no way to hurry it up.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ
    1. Count Operating System Versions:
    Microsoft
    Windows 7 Enterprise
    932
    Microsoft
    Windows 8.1 Enterprise
    1
    Microsoft
    Windows Server 2008 R2 Enterprise
    1
    Microsoft
    Windows XP Professional
    13
    2. For the computer in the screenshot (and other workstations) i get "no Data". When i click onclick for detailed information i get some data like
    the Power Settings Plan.

  • Will signal strength or internet speed suffer when using a Generation 1 Time Capsule and wireless extending a network with a Generation 5 Airport Extreme

    I have a wireless network in my home and I have a Time Capsule 1st generation and a Airport Extreme 5th Generation, will this cause my internet to be slow or have glitches with signal strength?

    We've gone over this in the other thread.
    If the Time Capsule will be connecting using wireless only, everything depends on the quality of the connection between the AirPort Extreme and Time Capsule.
    The quality of the connection will be affected by the distance that the Time Capsule is located from the AirPort Extreme and any obstructions in the signal path.
    If you have a ceiling between the AirPort Extreme and Time Capsule, then you should expect the signal arriving at the Time Capsule to have lost 30-40% of its bandwidth (speed). So, the Time Capsule can only repeat the weaker signal that it receives.
    Other walls or other obstructions like heavy furniture, large mirrors, etc will also affect the wireless signal as well as cordless phones and other wireless networks around you.
    If you are lucky enough to have line-of-sight between the AirPort Extreme and Time Capsule, then the wireless connection between those devices can work quite well. Few of us have this luxury, and must settle for significant compromises in performance.
    If the wireless connection between the AirPort Extreme and Time Capsule does the job for you reliably, then you can leave things as is.  If you are not getting the reliable performance that you need, then you will need to establish a wired Ethernet connection between the AirPort Extreme and Time Capsule.
    As you might imagine, there is virtually no signal loss in a wire, even up to 300+ feet or 100 meters.

  • I reverted to saved when using an iMac programme and lost data. How can I go back say 24hrs to how the system and data was then?

    Lost a tune I was working on in garageband by reverting to saved.

    Welcome to Apple Support Communities
    Do you make backups of the data? If so, it is possible to recover the file you had 24 hours before, but if not, you cannot recover it.
    If you have Time Machine, the only thing you have to do is to go to the folder where you have the GarageBand library with the projects (usually, "Music"). Then, open the Time Machine app, navigate to a backup made before which contains the project you want to recovery, choose the file and select "Restore". See -> OS X Mavericks: Restore items backed up with Time Machine

  • The speed will reduce when using at the same time a lot of global variabl?

    It's seem like that when i use a lot of global variable. Is it correct?

    Take a look at these threads (tagged as Action Engine) to learn about alternatives to Globals.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Error when using SQL Developer to IMPORT Access data into Oracle

    Hello,
    I am using SQL Develoepr to export Access mdb file into Oracle. When I try to use Tools ---? Migration---> Microsssfot access exported -->
    I am getting an error message upon attaching the Access database file, the error states
    "Error#40179 - XMLExporter - Methiod'AddFromFile' of object'_References failed. Export did not complete successfully.
    What could be the reason for this error please advise.
    Thanks

    Hi,
    Try searching for:Re: 30EA2 - No Available Databases in Capture step with MS Access Migration
    Thread: 30EA2 - No Available Databases in Capture step with MS Access Migration
    Posted: Dec 20, 2010 11:04 AM
    Also note that copy to oracle - (for just table/column information) is available on right click.
    -Turloch
    SQLDeveloper team

  • Plug-ins in Color Efex do not work when used with Lightroom? really need help

    Dear all,
    I am suffering the problem with some plug-ins (some others still okey) of Color Efex when I use them with Lightroom. Specifically, the image I chose to edit in Color Efex turned black as I tried to apply a plug-in, ex Detail extractor. Pls see the pic below:
    Before
    ...and After
    I am using Win XP and wondering whether this is the root of this problem? Pls help me for a solution if you know it.
    Many thanks for reading and supporting!

    Dear all,
    I emailed Nik team and it is just exact as what you said, they are very helpful and supportive when provide me several of solutions. Thank god one amongst them solves my issue completely. I performed the following steps:
    If you are able to open Color Efex Pro 4and can see part of the interface, see if you can click on the"Settings" button in the lower left.
    In Settings locate the section "GPU" and expand it, in this section you will see a check box "Enable GPU Processing", uncheck this so the GPU will be disabled, then close the settings window.
    Close out of Color Efex Pro 4 (click Cancel), quit out of any and all host applications (Photoshop,Lightroom, Aperture), and then relaunch Color Efex Pro 4 to see if this corrects this issue.
    Thank to Nik team and you guys here. I'm now able to work with my new project better

Maybe you are looking for

  • Download link for blob field on page

    I have a form based on table with a blob column: TEMPLATE blob The 'Display as' on the item is set to 'File Browse...' The Source Type is set to 'Database Column' and Source value or Expression is set to 'TEMPLATE' I want the 'Download' link to appea

  • Multiple Outer join in ORACLE 8.1.6

    Hi , Can anybody suggest me how can i use multiple outer join on one table. I'm using ORACLE 8.1.6. I know this version of oracle doesnt support this. But is there anmy other wa\y I can achieve this. Thanks amd Regards Deependra

  • Replying to mail quotes incorrectly?

    When I reply to an email with some kind of file attachment like a vcard only the attachment is quoted. All other text is striped out from the email. If an email is text only it is quoted correctly. I'm not highlighting anything and the responding set

  • Gap between tracks

    Hi - I imported an album that has no gap between music tracks, but in iTunes there is now a ~1 sec gap between tracks which also copies across to my nano. Is there a way to edit/adjust these tracks so there is no gap without haing to re-rip the whole

  • Phones showing unknown status but check physically the phones are registered ok

    Hi, Would like to know the following, The publisher and subscriber both show the phones of one particular cluster showing all the phones in unknown status but if we checked them physically the phones are registered well and able to make calls and rec