Welcome Guest ( Login | Register )



All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Storing application data in the database
PostPosted: Thu Jan 12, 2012 9:06 pm 

Joined: Thu Jan 12, 2012 8:56 pm
Posts: 6

Offline
I have several settings and relational data that need to be retained between power cycles on the hmi. Is it possible to store these in a table in SQL CE that is installed on the terminal? If so, what is the connection string to connect to the database?


 Profile  
 
 Post subject: Re: Storing application data in the database
PostPosted: Fri Jan 13, 2012 8:33 am 
User avatar

Joined: Fri Jul 15, 2011 3:21 pm
Posts: 214

Offline
When you start iX Developer there is a Sample available called "Script_Database_Export". This sample uses the file "Database.sdf" which is used by different Functions in iX such as the DataLogger.

Although the example uses "Database.sdf", you can also create your own database as shown here:
http://stackoverflow.com/questions/1487 ... mmatically

I've attached another example that might be useful.


Attachments:
Script_Clear_DataLogger.zip [285.81 KiB]
Downloaded 262 times

_________________
Best Regards,

Beijer Electronics, Inc.
Ron Lloyd | Applications Engineer
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours [ DST ]


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: