Home
Help
Search
Login
Register
AdvancedHMI Software
»
General Category
»
Open Discussion
»
Reading array
« previous
next »
Print
Pages: [
1
]
Author
Topic: Reading array (Read 4894 times)
andreaboschetti71
Jr. Member
Posts: 61
Reading array
«
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
Logged
Archie
Administrator
Hero Member
Posts: 5322
Re: Reading array
«
Reply #1 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)
Logged
andreaboschetti71
Jr. Member
Posts: 61
Re: Reading array
«
Reply #2 on:
November 25, 2013, 07:24:16 AM »
Also for DFComm driver?
Logged
Archie
Administrator
Hero Member
Posts: 5322
Re: Reading array
«
Reply #3 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.
Logged
Print
Pages: [
1
]
« previous
next »
AdvancedHMI Software
»
General Category
»
Open Discussion
»
Reading array