How Can i retain the Shared Variable Values after PC rebooting

Hi all,
I am facing a paculiar problem with Shared Variables. I have an application in which shared variables are used for data communication.
One of the application requirement is to retain the variable values eventhough PC is rebooted or started after crashing. 
As per the my understanding, the variable values will retain eventhough the PC is rebooted. But here i can observe a paculiar problem like some library variables are retaing the values while some others not. I enabled logging for all the variables.
I tried many ways. like logging enabled, logging disabled, changing variable names, changing process names etc... But i am not getting a consistent behaviour.
I hope some you can help me in solving this issue.. "How Can i retain the Shared Variable Values after PC rebooting"
Thanks and Regards,
Mir

Hi Blackperl,
Thanks for the post and I hope your well. 
What do you mean by not getting consistent behaviour.. this will all depend on excatly when the crash happens i.e. before the write or after. 
Surely a better method would be to log the data to a file during the reboot...
I beleived the value read back
will be the default value for the shared variable's data type.
The LabVIEW DSC 8.0 module adds more functionality to the shared variable, including initial values and alarms.
If you enable an initial value on a shared variable, when the variable
engine comes back on-line it will default to this value. Setting a bad
status alarm for the shared variable is also a good way of handling
this type of event. Additionally, if you are using a LabVIEW Real-Time
target such as Compact RIO or Compact FieldPoint, it is appropriate to
consider hosting the shared variable engine on the real-time target.
These devices have watch-dog capabilities and are typically the
hardware controlling the critical pieces of an application. Most
Windows or PC-based targets do not have these fail-safes.
I guess, if you could explain to me again that would be great. From my point of view, if I have a cRIO and a Windows PC. If the windows PC crashes, the cRIO will still update its shared variables. Then once the PC has started up its own shared variable engine, and the bindings are loaded, it will once again continue to update its copies of the variables.
Please let me know what you think,
Kind Regards,
James.
Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help!

Similar Messages

  • How can i transfer the system variable value through DTW in SBO

    Hi,
    I want to transfer the system variable("Excisable" in the Item master data in the SBO 'India' database) value through the template by the DTW.
    But i don't have any template consisting of this system variable.
    So please suggest me that how can i transfer the value of this system variable(Excisable) and by which template.Please tell me any constraint if it is on the value of this variable.
    I will be very thankful to you.
    Thanks & Regard,
    Sandeep
    Message was edited by:
            Marc Riar

    Sandeep,
    This question has come up several times on this Forum.
    Please read this read.
    Importing excisable item
    Suda

  • How can I stop the shared mode service after install a single instance DB ?

    Hello
    I installed a single instance DB and don't use the dispatcher ,
    is there a way to stop the service as below?
    Oracle Version: 11g R2
    OS: Linux
    Service "o11g2XDB.oracle.com" has 1 instance(s).
    Instance "o11g2", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: CentOS53.test.smtp, pid: 3061>
    (ADDRESS=(PROTOCOL=tcp)(HOST=CentOS53.test.smtp)(PORT=40218))
    The command completed successfully

    And this is listener.ora
    # listener.ora Network Configuration File: /u01/oracle/app/product/11.2.0/dbhome_1/network
    /admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = CentOS53.test.smtp)(PORT = 1521))
    ADR_BASE_LISTENER = /u01/oracle/app
    I didn't configure it, so it should be a dynamic bind .

  • How can we pass the select-option value to modulepool program?

    hi,
      how can we pass the select-option value to modulepool program ?
      Because if i declared select-options in executable program and i used SSCRFIELDS to define push buttons in selection screen.
               My requirement if enter the values to select-options and press UPDATE pussbotton then i want call screen which contains tablecontrol.
               How i get select-option values to PAI of call screen for getting the data from database table to my internal table?

    Oh I thought that you have selection-screen and again you are working on dialog programming.
    if you want to use select-option directly in module pool then it is not possible.
    but you can do other way.
    create two varaiables
    data : v_kun_low like kna1-kunnr,
             v_kun_high like kna1-kunnr.
    use these two variables in layout ,let user knows that he can not give options like gt,lt,eq ,it will be always BT.
    and also when you see normal report program,you can use multiple values in either low or high,but here it is not possibel.
    use can enter only low value and high value.
    when you come to program point of view
    declare one range
    ranges r_kunnr for kna1-kunnr.
    do the coding like
    r_kunnr-low = v_kun_low.
    r_kunnr-high = v_kun_high.
    r_kunnr-options = 'BT'.
    r_kunnr-sign = 'I'.
    append r_kunnr.
    now you can use r_kunnr in select query ,it will work like select-option.
    other than this there is no option.
    Thanks
    Seshu

  • How can i retain the trailing zeroes after decimal

    how can i retain the trailling zeros after decimal?
    values are showing in table like( 4.50,5.00) but i am trying to do some processing with these values then ithe zeroes are truncated like (4.5,5),
    how can i get values with zeroes

    If the values in the table have trailing zeroes, it's a character type column.
    Once you perform operations on them, they're implicitely converted to the number type, hence "losing" trailing zeroes.
    To get the trailing zeroes back, you have to convert them back to character data:
    TO_CHAR(1.5*3, '90d99')Have fun,
    K.

  • How can I stop the sharing on the iPhones that are in the same account because its sharing every thing even text messages

    How can I stop the sharing on the iPhones that are on my account because its sharing everything even text messages and its driving everybody crazy

    An icloud account is designed to be used by one user to keep his/her devices in sync. 
    If you have muitiple family members or friends using the same account as yours, then have them get their own Apple IDs and icloud accounts.
    If you mean you want to stop the sharing between all your devices, then on any one device, go to Settings>icloud and turn off the services you don't want that device to share/sync.  Or turn off icloud altogether if that's what you want.

  • How can i restrict the Expenditure Type values at a specific OU ?

    Dear Guys,
    I would like to ask about the Expenditure Types,
    I have implemented two projects for different Operating Units ,
    when navigating to any Projects responsibilty,and navigating the Expenditure Type field
    the values exist are all the values implemented across the OU not the values entered at this OU
    How can i restrict the Expenditure Type values at a specific OU
    Regards
    Amr Hussien

    Hello
    When you set up a project there is an option called Transaction Control.
    This option allow you to list the allowed or restricted elements of costs for the project.
    You may enter the transaction control on a project template and that will be copied to any new project.
    The cost elements may be expenditure types, expenditures categories, suppliers, employees, etc.
    In your case, I suggest to set up specific project templates for each operating units. On each template enter the list of allowed expenditures types for that OU.
    Doing so, the system restricts users from entering any expenditure item, supplier invoice, purchase cost etc, against an expenditure type, which is not allowed.
    Dina

  • How can we read the screen field values from the report selection screen wi

    Hi expart,
    How can we read the screen field values from the report selection screen with out having an ENTER button pressed  .
    Regards
    Razz

    use this code...
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_posnr.
    **Read the Values of the SCREEN FIELDs
    CALL FUNCTION 'DYNP_VALUES_READ'

  • How can we pass the master report value in to detail  report

    Hi All,
    My question is how can I pass the master report value in to detail (Child) report filter?
    I mean I have one master report if I click on employee name then I have to pass the employee id in to details report filter. Then detail report will display data for that particular employee.
    How can I achieve this one in OBIEE?
    Please help me to resolve this issue. Thanks in advance for your time and support.

    In that case, you should look at using Go Url. In your column formula for the employee name, create a hyperlink to the detail report and pass the employee id.
    Take a look at this post: Re: Dyanmic display of the Image Link URL
    Thanks!

  • How can I retain the original quality of a photo when sending it by email.At the moment if I drag them in to the email from iphoto the image quality reduces.

    When I add photos to an email by dragging them in from iphoto the quality of the photos reduce.
    How can I retain the original quality.
    Philip

    When I add photos to an email by dragging them in from iphoto the quality of the photos reduce.
    Philip, dragging from iPhoto will export previews of the image, not the original high resolution image. To export higher quality versions from iPhoto don't drag, but use "File > Export"
    You can also mail your photo directly from within iPhoto using "Share > Email" and set the "Size" to "Actual Size (Full Quality)"
    Regards
    Léonie

  • How can we deinitialize the global variable........?

    how can we deinitialize the global variable........?

    It would possibly be more performant to...
    DBMS_SESSION.MODIFY_PACKAGE_STATE (DBMS_SESSION.REINITIALIZE);
    Bearing in mind that reinitialize is not exactly the same thing as deinitialize ;-)

  • How can you trim the contact field value without cloudconnector?

    How can you trim the contact field value without cloudconnector?

    You can add your contacts to segments, while right-clicking on the criteria you have added in segments, you will see the option for Merge, Intersect & Trim.
    See the attached URL, it might help you .
    Merge, Intersect, Trim

  • How can I make the ipod stop itself after playing one song?

    How can I make the ipod stop itself after playing one song?

    When playing a song, are the controls at the top of the screen there? (Genius, Shuffle, Loop?)
    If not, tap the center of the page once to expose them
    now keep tapping the circle on the left part of the exposed controls untill a one (1) appears...

  • How can I add the audio content cd after logic finished installing ?

    There was an eror installing the Audio Content CD 1 and I did not notice. Everything else installed properly, Audio Content CD 2, Jam Pack, but how can I add the Audio Content CD1 after Logic has finished installing?
    If you can help me please be very specific as to how to do it so that I can follow the directions properly.
    Please help me.
    Thanks

    Hi
    You could re-run the installer, or, once you have updated to Logic 9.1.8 you could use the "Download Additional Content" function in the Logic Pro menu. It will tell you what is installed and what is incomplete.
    CCT

  • How can I eliminate the space Pages inserts after an apostrophe?

    How can I eliminate the space Pages inserts after an apostrophe?

    egret wrote:
    Never mind.........I found out it was the font I was using (Song).
    Yes, best not to use Chinese fonts for other languages as sometimes the characters are especially wide or otherwise inappropriate.

Maybe you are looking for

  • Include a Glossary Page in a Webi report for report documentation

    Hi experts, My client would like to include a Glossary Page at the start/end of each Webi report. This page should include documentation/explanation of each dimension detail, measure, formula, etc shown on the report. I cannot find any designated loc

  • Webservice secuirty in SOAP receiver channel in PI 7.1

    One of my vendor published a web service which I imported in PI , but he expcets PI to send webservice secuirty with usertoken, so that they can authenticate & authorize. How can we implement webservice secuirty with usertoken & password in PI 7.1 on

  • How to include structure in Types Definition ???

    Hello All,       I want a declaration like this in BSP :- DATA : BEGIN OF imkop OCCURS 100.                INCLUDE STRUCTURE mkop. DATA :   waers LIKE mepro-waers.       DATA : END OF imkop. <b>In BSP: Type Definitions</b> I wrote like this :- Types

  • Please H

    A little bit ago I tried ripping some cd's using wmp0. I tried ripping them into mp3s but it said that I do not have an mp3 encoder installed on the computer. However I have creative mediasource installed which can rip cds to mp3 files (the converter

  • Symbolic account  linkage with G/L,,   when G/L are made departmentwise,

    In the present client G/L are made department wise i.e wages and salary permanufacturing, wages and salary per marketing, how to link them by symbolic account