rsv32 set up ODBC

leo3886

Member
Join Date
Apr 2009
Location
Ha Noi
Posts
14
i set up ODBC and see the data log in ODBC ,anh project don't creat new file ODBC
i answer how to project creat new file .mdb every 1 hour?
 
I'm not sure about View32, but in FTView, when logging to ODBC databases, it writes to a single database. It will NOT create a new one based on time/date or anything.

The ODBC logging option can be configured to purge records past a certain age, if you desire, but I usually suggest against that, as multiple datasets written to the same database can cause problems with different purge times. Rather, use a database job, and stored procedures to purge records directly in the database.

From the .mdb extension, I assume you are using Access, which isn't all that capable of handling procedures and job scheduling, so you will probably have to resort to a VBA application; I don't even use Access for maintaining my DVD collection.

You will need to come up with some application to semi-automatically create new tables every hour, export the past hours info, then delete it from the logging table. Note that you will also have to frequently compact the logging table if you do this, and you WILL lose records at the transition times.

Use Local Logs if you want new files every hour.
 

Similar Topics

Omron AD081-V1 Analog Input Card Offset & Gain Adjustment Entering Adjustment Mode 1. Set the input card in adjustment mode (Turn ON Dip SW No-1)...
Replies
0
Views
51
I was loading a program onto an XE1e2 PLC and it got stuck on these two windows and won't progress. It won't let me connect from the PC to reload...
Replies
0
Views
62
Hi all, i have recieved some 4RF Aprisa SR+ ethernet radios from a customer to configure. Issue is that they are used and have non-default...
Replies
0
Views
65
I want to set user security level based on the value of a tag in my PLC called "ActiveUser". That tag will contain the A-P code which we use for...
Replies
6
Views
205
I've posted this on the ptc forum as well, but no luck with an answer (waiting for my service contract number) I keep getting the following error...
Replies
2
Views
106
Back
Top Bottom