AdvancedHMI Software

General Category => Open Discussion => Topic started by: andreaboschetti71 on November 18, 2013, 03:40:32 AM

Title: Reading array
Post by: andreaboschetti71 on November 18, 2013, 03:40:32 AM
In previous version there was a command for reading an array in one shot. How can I do this in last version? thank you
Title: Re: Reading array
Post by: Archie on November 18, 2013, 06:23:47 AM
This is how to read an array from a ControlLogix:

Dim MyArray() as string
MyArray=EthernetIPforCLXCom1.Read("MyTagArray",10)
Title: Re: Reading array
Post by: andreaboschetti71 on November 25, 2013, 07:24:16 AM
Also for DFComm driver?
Title: Re: Reading array
Post by: Archie on November 25, 2013, 05:08:36 PM
This is defined in the interface of the drivers, so all drivers use the same syntax for reading multiple consecutive elements.