The question about the callbackdata parameter in the function PostDeferredCallToThread()

I find if using a local variable to pass to the PostDeferredCallToThread(), then in the callback function, it cannot be recevied correctly. But as NI document said, this variable is a user-defined, will avoid declaring the data object as a global variable. how to interpret the question?
David

If you provide a pointer to the function the variable pointed by the pointer must be still in memory if you want to access it from that thread function.
One way of keeping the variable "alive" when you leave the scope of a function is to define it as static.
Dynamically allocated memory (malloc/calloc) is also accessible if not freed.
Suggested reading:
http://gribblelab.org/CBootcamp/7_Memory_Stack_vs_Heap.html
S. Eren BALCI
www.aselsan.com.tr

Similar Messages

  • Hello , I want to ask some question about ipads \  How powerful is the iPad?  How useful is it for reading books, newspaper or magazines or for surfing the web? Can you identify any shortcomings of the device?   please help me :(

    Hello ,
    I want to ask some question about ipads \
    How powerful is the iPad? 
    How useful is it for reading books, newspaper or magazines or for surfing the web?
    Can you identify any shortcomings of the device?  
    please help me

    it's less powerful than your average computer. THink of it like a netbook but with a better processor.
    It'll do fine for surfing (although if you browse a lot of flash based sites you will need to get a third party browser since safari doesn't accommodate it)
    You may do OK on reading books, papers or magazines, especially if they have apps, but the ipad's screen is backlit, so it doesn't work well outdoors and you may need to fiddle with the brightness so that you don't get eye strain (it's just like doing too much reading from a computer screen)
    I would say the biggest short comings are data transfer. Apple's preferred work flow is that everything is done via iTunes or the internet....well people dont' always have 100% reliable always on internet access so you can find yourself in a situation where you can't get things on/off the iPad.
    By and large, it's a good device for day to day stuff, but is not a computer replacement.

  • I want to ask the question about phasor measurement.

    I want to ask the question about phasor measurement.the first one is that how can I accomplish the sychronized sampling with GPS?The other question is that how can I adjust the sampling rate for DAQ when the system frequency alter continuously.(if I used the DFT,due to the altering of frequency,I can't get the completed waveform)"

    Synchronising DAQ with GPS depends on the DAQ sampling rate. If the rate is higher than 2 Hz you can sample the 1PPS pulse of your GPS receiver together with your data.
    You change the sampling rate with the AI Clock Config.vi. You cannot do this on the fly so you must stop DAQ with AI Control.vi reconfigure the sampling rate and then start it again.
    Waldemar
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • It does not cover my question about in what order does the sync work?

    It does not cover my question about in what order does the sync work?
    Does the first signed on computer copy its information to the cloud?
    Does the second computer/pad/cell then download the information from the cloud overwriting the information on the second device even if some of the information is different?
    What happens to the information on the second device that is not in the cloud?
    If you delete a record (eg a bookmark) from the second device how does it then delete it on the first device?
    What are the keys to the different types of information?

    Hi I have answered you questions inline below:
    Does the first signed on computer copy its information to the cloud?
    Yes when you first set up the account or when you first add a device to the cloud, if it is not the first time, it will merge with the other data
    Does the second computer/pad/cell then download the information from the cloud overwriting the information on the second device even if some of the information is different?
    By default it merges. There is no option to change this.
    What happens to the information on the second device that is not in the cloud?
    It will sync at the next sync interval if that data is selected to sync.
    If you delete a record (eg a bookmark) from the second device how does it then delete it on the first device? What are the keys to the different types of information?
    It resolved the entry the next time the first and second device syncs. Can you elaborate on the second part of this question?

  • Got a new iPhone that I've been using for about a month now, so the question is how can I get the pictures from my old iPhone and keep the pictures I have on the new iPhone?

    Got a new iPhone that I've been using for about a month now, so the question is how can I get the pictures from my old iPhone and keep the pictures I have on the new iPhone?

    Connect old iPhone to computer and save the pictures on computer.
    Connect new iPhone and sync the pictures to your new iPhone.

  • Hi, I have answered no to the question about saving password for one spesific site. I have changed my mind and would like Firefox to save the password. How do I reactivate the password saver for one spesific site?

    Hi, I have answered no to the question about saving password for one spesific site. I have changed my mind and would like Firefox to save the password. How do I reactivate the password saver for one spesific site?

    Check exception list of your Firefox password Manager and check if your site is there or not?
    * http://kb.mozillazine.org/User_name_and_password_not_remembered#Password_Manager_settings

  • HT5312 In itune I need to fill up the questions about card but i dont have credit card,what can i do?

    In itunes i need to fill up the questions about card but i dont have a credit card, what can i do about that?

    Hi Huyen1110,
    You can use the steps in this article to create an iTunes Store account that does not use a credit or debit card for payment -
    Create an iTunes Store, App Store, or iBooks Store account without a credit card or other payment method - Apple Support
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • What is the values and meaning for parameter TCLAS in functions

    what is the values and meaning for parameter TCLAS in functions like
    HR_INFOTYPE_OPERATION
    regards
    jan

    Hi Jan,
    Good Morning,
    In TCLAS,
    A, B , T will be there.
    A- Master data and time data.
    B- Applicant data.
    T- Shift Schedule.
    So, here we can say the default value will be integrated according to the above ABT.
    Means in the feature ABKRS, if you give the default values for all the three, your payroll area will appear in Master Data and Time data. And in recruitment ( Appicant data ) and work schedules. Means you are getting ingrated to all the three.
    And you can observe the feature PINCH also.
    If you dont want to get integrate with Master data, then dont give the default value under the A- Master date and Time data. And if you want to get integrate with Recruitment , then give the default value under B.
    I think u got the clear idea about TCLAS.
    Dont forget to give the points
    Thanks in Advance
    Cheers
    Vijai

  • Security Questions (3) for AppStore iPhone - the program won't allow me to save the questions, keeps kicking me back to the beginning and erasing the ones I've entered.

    Security Questions (3) for AppStore iPhone - Every time I try to enter the 3 security questions, it keeps kicking me out of the program and won't allow me to save the questions, keeps kicking me back to the beginning and erasing the ones I've entered.  I can't get passed this point to download anymore apps from the app store.
    Help!!!

    You can try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync all music and resync
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                                
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.             

  • HT5699 I try to buy from your iTunes program and I can not buy me a message appears stating that I am the first time Buy and necessary to answer the questions, but I do not remember the answer please help

    I try to buy from my iTunes program and I can not buy me a message appears stating that I am the first time Buy and necessary to answer the questions, but I do not remember the answer please help

    You are not addressing Apple here we are just users like you.
    Security questions
    Read this note for information on how to reset the security questions http://support.apple.com/kb/HT5312
    This user tip may also help you Security Questions

  • The question is what that makes me the error when ...

    The question is what that makes me the error when downloading.

    The question is what that makes me the error when downloading.

  • The question about parameter in ECC 6.0 system.

    hi
    T-code RZ10 ,  I checked  the parameters about  DEFAULT.
    but  there are one error and three Warns.
    ---one error
         there is [E:j2ee/dbname changes not permitted]   below  the parameter of  j2ee/dbname.
         PS: the background is red.
    ---three warns
         j2ee/scs/host
         W: Unknown parameter j2ee/scs/host , a check cannot be performed
         j2ee/scs/system
         W: Unknown parameter j2ee/scs/system , a check cannot be performed      
         j2ee/ms/port
         W: Unknown parameter j2ee/ms/port , a check cannot be performed      
         PS: the three parameters  are not  in T-code  RZ11.
    could you help me solution these question.
    thanks and regards

    hi,MIchael
       ---one error
            there is E:j2ee/dbname changes not permitted below the parameter of j2ee/dbname.
            solution:
                      the value of j2ee/dbname  was BS2.   just now, i deleted  the value of j2ee/dbname.                 
                     the error message does not come out,now.
       ---three warns
           j2ee/scs/host
           j2ee/scs/system
          j2ee/ms/port
        solution:
                  there is not the scs in the system. but there is the ms in system.
                  why they are specified , i dont konw.
                  if  those parameter doesn't exist, would i  be going to delete those parameter.
        thanks and regards.
        chu

  • Question about using multiple iPods on the same PC

    I've read the FAQs on this subject but I still have a couple of questions about multiple users with separate iPods using the same PC.
    I want to use my family's desktop (A new Gateway with Vista, if it matters) for my new iPod Classic, but my father already has an iTunes account on there for his iPod. I know I can create a new user account on the PC and move iTunes to a shared folder so that we can share music, but will this second account be able to purchase music from the iTunes store or am I going to have to switch between Windows User accounts to make purchases and then move new songs into my separate iTunes account via the shared folder? Will it be its own separate iTunes account (separate user name, separate credit card used, etc.) or will it just be a second library that's dependant on the first?
    I want to be able to have my own iTunes account, make my own purchases in it, and maybe occasionally share tv shows or something with my father.
    If this can't be done, would I be better off just creating new playlists for our two iPods from the same library, or creating a second library on my Father's account?
    Also, if I want to access things I've purchased from iTunes on this desktop in iTunes on my notebook, will I be able to?
    I hope that made sense.
    Sorry if these seem like silly questions. This will be my first iPod as I'm really excited about the 160gig and want to know if these things are possible.
    Thanks in advance for any help

    Hi, Wes.
    Congratulations on your new iPod Classic and Welcome to the Apple Discussions.
    For no particular reason, let's answer your last question first ...
    ... if I want to access things I've purchased from iTunes on this desktop in iTunes on my notebook, will I be able to?
    The iTunes Store operates on a one download per purchase policy so you will have to copy the purchases from one computer to the other and make sure that you authorize the laptop to play the songs.
    As to your first question ...
    ... will this second account be able to purchase music from the iTunes store or am I going to have to switch between Windows User accounts to make purchases ...
    Whatever XP User Account you are logged in to doesn't really matter. What's important is which Apple Account you sign in to ... yours or your Dad's or - if you had my Apple ID and password - The Mimico Kid's for that matter. You can sign in to any Apple Account on any XP User Account. Or any computer for that matter.
    Where the XP User Account comes into play is that it will determine where on your computer the purchases are downloaded. Files will be sent to the iTunes Music folder as specified in the iTunes Edit menu > Preferences > Advanced tab > General sub-tab. Default settings will have a different location for each User Account - C:\Documents and Settings\ user name \My Documents\My Music\iTunes - but if you've read this article in the Apple Knowledge Base, you will know you can change the location of the iTunes Music folder in each XP Account to a common location such as C:\Documents and Settings\All Users\Documents\My Music\iTunes.
    Post back if all this hasn't been as clear as mud and you need anything clarified.

  • The Question about stock transfer between HU-Management and WM-Management

    Hi,
    There is a scenario about stock transfer between HU-Management and WM-Management storage location. I use transaction MB1B , movement type 313 , 315. After Good issue from WM-management storage location, outbound delivery will genarated, then Pack, Create/Confirm TO, at last post goods issue for the outboud delivery. But when i do movement type 315, there is a warning message "Data of preceding document was not transmitted", and from the F1 help i find this system reponse "You can maintain an indicator that makes information about preceding documents in this delivery available under delivery type in Customizing. For some characteristics of this indicator, the type of preceding document and the related document and item numbers must be transmitted to delivery creation. At least one of these parameters is missing.".
    So, My questions are:
    1. Generallily, Outbound delivery is created by SO, inbound delivery is created referenc PO, but how the stock transfer for 2 steps generate the outbould delivery and inbound delivery? Could you pls tell me the where i can config this in the IMG?
    2. What's "Data of preceding document was not transmitted" mean ? how to fix this issue ?
    Best Regards
    Boxer Du
    I am the SAP fans, focus on MM and WM. I am interesting TRM Yard Management and Cross Docking now.Very Gladly to talk you about these areas. I want to exchange the knowledge with you, and want to be a good friend of you. Pls contact me. You can find My MSN in the profile. Thanks.

    Hi,
    Sure, The inbound delivery type is set up in the IMG->Logistics General -> HU management -> Basics ->Delivery type -> Delivery type determination.
    For Inbound delivery type 'HID' is maintained in this view.
    Best Regards.
    Some One want to discuss the details , can contact me. Thanks.

  • The question about the HA installation on ECC6.0

    Hi Experts,
    We are about to implement a project with HA environment on the ECC6.0 in the near future, which is just about the ABAP stack. After reading the Installating Guide, I stil have several questions related to the procedures of HA installation.
    In the guide document, I got the following steps to process for realizing the HA of ECC6.0:
    1. Run SAPinst to install the central services instance (ASCS) using the virtual host name on the primary cluster node, host A.
    2. Prepare the standby node, host B, making sure that it meets the hardware and software requirements and it has all the necessary file systems, mount points, and (if required) Network File System (NFS), as described in Preparing for Switchover .
    3. Set up the user environment on the standby node, host B. For more information, see Creating Operating System Users and Groups Manually. Make sure thatyou use the same user and group IDs as on the primary node. Create the home directories of users and copy all files from the home directory of the primary node.
    4. Configure the switchover software and test that switchover functions correctly.
    5. Install the database instance on the primary node, host A.
    6. Install the central instance with SAPinst on the primary node, host A.
    7.If required, install additional dialog instances with SAPinst to replicate the SAP system services that are not a SPOF. These nodes do not need to be part of the cluster.
    My Question is that does standby node(host B in above context) need to install the ASCS, database instance and Central Instance?
    If host B does not need to install the database instance, how about the whole system would be when the primary cluster node (Host A in above context) totally crash, such as power failure.

    Hi Rong,
    I would try to explain it in simple words...
    My Question is that does standby node(host B in above context) need to install the ASCS,
    database instance and Central Instance?
    If host B does not need to install the database instance, how about the whole system would be when
    the primary cluster node (Host A in above context) totally crash, such as power failure.
    1. You don't need to install ASCS on Node B. You are installing it using a VIRTUAL HOSTNAME which represent cluster not individual node. VIRTUAL HOSTNAME is assigned to cluster package, so whichever Node is the owner of the package, will have the VIRTUAL HOSTNAME. (it will switch with cluster switchover)
    2. It is actually a cluster package configuration magic. When Node A is active, cluster package owner is Node A. So all mount points (which is on SAN disk) is mounted on Node A. When you switchover the cluster, those packages will be mounted on Node B.
    Some time single cluster package is used (which includes mount points for SAP instance + Database directories). You can also use 2 cluster package seperating SAP and Database directory structure.
    Only OS related directories should be on servers local disk. All other application related mount points should be on SAN disk which is configured in "Cluster Package". (For example /sapmnt, /usr/sap, /oracle etc.)
    You only need identical users and their enviornment settings on both Nodes.
    In simple words, When primary node fails or crashed only users and thier enviornment setting will be lost. On second node, because of identical users and their profiles, same settings will be available to bring up the SAP system. Your all SAP and Database data is intact as it is on SAN Disk.
    I hope, your confusion is cleared now...
    Regards.
    Rajesh Narkhede

Maybe you are looking for

  • Issue with access of app list

    Hi I would like to pull all iphone and android application details(Screen shots, thump nails, description etc) from selected websites to our database using public webservice or any other method. Is this is possible? Kindly let me know. Thanks in adva

  • Role Reaffirm in GRC10

    Hi all, did anyone use the Role Reaffirm functionality within GRC10? The functionality seems to be available, but we cannot get any roles listed to be reaffirmed. We have defined approvers for roles in GRC, have users assigned, ran the RR Reminder ba

  • Error in Integration Directory / Test Configuration

    Hi all, Please help me to solve this problem: http://img2.freeimagehosting.net/image.php?803d3b7522.png for more information: My scenario is idoc to idoc. Sender:  sap0796 - client910 Receiver:sap0796 - client 800 XI:          sap0810 - client810 Reg

  • When I put my earphone in the sound isn't clear

    When I put my earphones in the sound isn't clear. There's a new head jack in as well.

  • Bespoke Oracle Forms and Reports and Adobe LiveCycle

    I'm looking to produce dynamic questionnaire letters from Oracle Reports. Currently they're produced in PDF format. I now need to get them into a format where the recipient can enter their responses, save the doc and then email the doc back to the se