Beijer Electronics (formerly QSI Corporation)

Manufacturer of Mobile Data and Human Machine Interface Terminals.
It is currently Sun Nov 19, 2017 5:35 am

All times are UTC - 7 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: non-volatile memory
PostPosted: Mon Mar 23, 2009 7:13 am 
Offline

Joined: Tue Apr 03, 2007 9:12 am
Posts: 2
Location: MSFC Hunstville, AL
i have Qterm-G75 terminal and i am using Qlarity 2.5, BFF version 1.023.
my terminal is controlling two Numatics' valve stacks each with Modbus TCP/IP communications modules. each valve stack controls a series of pneumatic clamps. my current app allows the operator to control the clamps individually. i have been directed to add a feature to my app to allow the operator to create "gangs" of clamp configurations and (here is the point of topic) save these configurations to memory. the new app should allow the operator to recall any saved "gang" config for implementation.
the problem i'm having is the file system. will read and write file funcitons work to save data to non-volatile memory or do i have to use the "ReadUserConfig" and "WriteUserConfig" functions. what if i want to create a directory? if i use "MakeDir" will it be saved or will it go away on the next power cycle?

_________________
Joseph F. Simpson


Top
 Profile  
 
 Post subject: Re: non-volatile memory
PostPosted: Mon Mar 23, 2009 7:22 am 
Offline
QSI Support
QSI Support
User avatar

Joined: Wed Mar 08, 2006 12:25 pm
Posts: 881
Location: Salt Lake City, Utah
All file system functions (including OpenFile, WriteFile, MakeDirectory and more) are persistent to the non-volatile memory and should do what you want.

Read/WriteUserConfig are a separate pair of functions used to persist a simple, small array of bytes.

_________________
Jeremy
http://www.beijerinc.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group