Write and read in permanent memory


ethushara
 Share

Recommended Posts

Hi,

In sometimes my Daqfactory program is suddenly stopping (attached a print screen copy) and again i cannot run the same copy. So i have to run an other copy of same program soon. in this case the values attached to some virtual channels are changed and this is a big issue for me.  So can we have any possibility to write those necessary channel values in permanent memory (not in the program file - even in a file in Daqfactory directory) in the PC frequently using and script and get them read when initiating the program?  this will solve this problem. 

In fact i need this very urgently as i'm going to log some sequential data and if any file corruption occurs when logging, it will jam my entire system when it will be continued with another copy of the program.  

so your support on this is highly appreciated. 

Best regards,

Thushara.

Link to comment
Share on other sites

hi,

1. Mostly i need to save the Virtual channel values to be read by the next copy of same .ctl file. In channel persistence i found only the way to persist the channels in the channel table. So please let me know can i do the same for the virtual channels as well.

2. No. Im not doing auto persist or system.saveDocument() anywhere. 

Best regards,

thushara

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share