polilies Posted September 3, 2010 Share Posted September 3, 2010 Hi! i'm using mysql database and logging 3 pieces of data. when look for the data which written. there are empty fields on every row. it looks like DF logged data one by one every each row. can you help me about it? thanks.. Here is my code which logs. Logging.sql.AddValue("tarih", var.strtarih[0]) //date-time Logging.sql.AddValue("sicaklik", Device1FWsicaklikR_In[0]) Logging.sql.AddValue("nem", Device1FWnemR_In[0]) Link to comment Share on other sites More sharing options...
AzeoTech Posted September 3, 2010 Share Posted September 3, 2010 It is probably because the timestamp on the three data points are different. Either increase the align threshold, or consider using an Export set instead of a logging set, especially if you are doing everything from script. Link to comment Share on other sites More sharing options...
polilies Posted September 14, 2010 Author Share Posted September 14, 2010 thank you so much. it was all about "align threshold", when i increased it 0 to 1.it solved suddenly. and second thanks for your "export" suggestion. it's pretty usefull for me. Link to comment Share on other sites More sharing options...
polilies Posted June 16, 2011 Author Share Posted June 16, 2011 Hi; i'm logging some data via DF's export function. But again there is some differances between variables time associations which i use to log. And i can't assume any "Align threshold" value about that differance. Because i append the data when the user push the exact button. So there is some empty rows in my CSV file. i'm adding it too. Can't i export the values with out time associations? i think not cause of that nature of export. Do u have anything about this? Thank you! ps: sorry i can't add the file. it worns me that i haven't got permision to add that kind of file. Link to comment Share on other sites More sharing options...
AzeoTech Posted June 16, 2011 Share Posted June 16, 2011 If you need more flexibility than what Export or Logging sets offer, you should switch and use File. functions and a little script to do your logging. That will give you total flexibility. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.