Skip to main content
3-Newcomer
July 20, 2024
Solved

Kepware DataLogging issue with FloatArray Data type

  • July 20, 2024
  • 2 replies
  • 1551 views

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?

Best answer by VladimirN

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 

2 replies

VladimirN24-Ruby IIIAnswer
24-Ruby III
July 20, 2024

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 

3-Newcomer
July 22, 2024

I already had gone through same work around, but thanks for confirming with related article.

15-Moonstone
July 22, 2024

Do you have the column defined as Varchar(max)?

 

Best regards,

Andy Servetas
Principal Technical Support Engineer | Kepware Technologies