УкраїнськаEnglishmRussian
Вход/Новый
В теме нет новых постов

Size limitation in database field for IO parameters in DAQ template


Автор Сообщение
Сообщение создано: 03. 07. 2017 [20:11]
cvillegas
Claudio Villegas
Создатель темы
Зарегистрирован(а) с: 26.10.2016
Сообщения: 14
Hi

I have noticed that the IO parameters for DAQ templates of logical parameters, when stored in the MySQL database, are limited to a 200 character string.
I have generated a logical parameter template that handles a list of parameters that are entered as text type IO. Everything works fine until the parameter is disabled and enabled again, since in the DB the list entered is truncated.
(Attached images for better explanation)

I tried to solve it by changing the length of the field in the database, however the list is truncated to 200 characters.

If the field is saved "manually" with the list string, before enabling the parameter, the list is fully recovered when the parameter is enabled.

I have not been able to come up with a way to solve this. Is it possible that any improvement can be considered?

I hope I have expressed myself clearly enough.
I really appreciate any comments.
Best regards.



[Сообщение редактировалось 1 раз(а), в последний раз 04.07.2017 в 00:44.]
Вложенный файл

Parameter Template IO.png (Тип файла: image/png, Размер: 31.23 килобайт) — 2272 загрузок
Parameter Template Configuration.png (Тип файла: image/png, Размер: 27.72 килобайт) — 2254 загрузок
Сообщение создано: 04. 07. 2017 [09:33]
roman
Roman Savochenko
Moderator
Contributor
Developer
Зарегистрирован(а) с: 12.12.2007
Сообщения: 3742
I have expanded size of the field from 200 to 1000000 for DAQ.LogicLev and DAQ.ModBus.

Learn, learn and learn better than work, work and work.
Сообщение создано: 04. 07. 2017 [16:26]
cvillegas
Claudio Villegas
Создатель темы
Зарегистрирован(а) с: 26.10.2016
Сообщения: 14
Thank you very much for your reply.
I'll wait for the commit.
Have a good day.
Сообщение создано: 04. 07. 2017 [19:14]
cvillegas
Claudio Villegas
Создатель темы
Зарегистрирован(а) с: 26.10.2016
Сообщения: 14
Sorry for my confusion, I am currently running version 0.9 + r2491.
This modification is in version 0.9 + r2500?

Thank you very much.
Сообщение создано: 05. 07. 2017 [07:47]
roman
Roman Savochenko
Moderator
Contributor
Developer
Зарегистрирован(а) с: 12.12.2007
Сообщения: 3742
"cvillegas" wrote:

Sorry for my confusion, I am currently running version 0.9 + r2491.
This modification is in version 0.9 + r2500?

No, wait for 0.9+r2504.

Learn, learn and learn better than work, work and work.



27059