Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hello everyone,
I am trying to use Kepware Ex Datalogger with FloatArray type.
I have selected all items from the device into datalog configuration in Narrow Table Format.
When I trigger my DataLog, It only logs data for tags other than Array type tags and I get below error in Kepware.
"Error Data Logger Plug-in Unable to query recordset on Log Group 'DataLog_abc_Profile'. Reason: String data, right truncation"
I have not configured individual elements of Array type tags rather I have selected direct tags' name in datalog items.
Is my configuration OK or I will need to configure individual element for data logging?
Solved! Go to Solution.
Article - ""String data, right truncation" error when writing to MS SQL Server database using Datalogger plug-in in PTC Kepware products": https://www.ptc.com/en/support/article/CS395895
Article - ""String data, right truncation" error when writing to MS SQL Server database using Datalogger plug-in in PTC Kepware products": https://www.ptc.com/en/support/article/CS395895
I already had gone through same work around, but thanks for confirming with related article.
Do you have the column defined as Varchar(max)?
Best regards,
Andy Servetas
Principal Technical Support Engineer | Kepware Technologies