Author Topic: Short String  (Read 835 times)

Giarc

  • Newbie
  • *
  • Posts: 2
    • View Profile
Short String
« on: June 15, 2020, 12:13:06 PM »
Hello,I ran into an issue trying to write to Custom string types Contrologix processors... Will read with no problem but while trying to write I get an "unknown data type" error.

Changing the data type from the custom "ShortString" to the default "String" datatype. It it will still be able to read but now it will also write without issue..

Just using code. EX: EthCLX1.Write("TestShortStr","Abc")

Adv HMI V. 399

Pictures attached.

Thanks!
Giarc

Giarc

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Short String
« Reply #1 on: June 15, 2020, 01:11:38 PM »
Never mind, I figured it out. EthCLX1.WriteCustomString("TestShortStr","Abc",10)