Home
Help
Search
Login
Register
AdvancedHMI Software
»
General Category
»
Support Questions
»
DataSubscriber2 Number of Elements
« previous
next »
Print
Pages: [
1
]
Author
Topic: DataSubscriber2 Number of Elements (Read 1772 times)
timryder
Jr. Member
Posts: 84
Still trying to figure it out
DataSubscriber2 Number of Elements
«
on:
November 02, 2017, 02:55:15 PM »
So I have a machine which is across the country and I'm trying to do some upgrades to the HMI code so I don't have the machine to test it live and I want to get as much done as I can before going there.
That being said... it's a Micro850 PLC from AB and I have a DataSubscriber2 component and I'd like to return a REAL array of 32 items.
So I add the Tag to the Members and then under the "Number of Elements" I say 32.
When this returns... how do I parse them individually? Could you offer me some sample logic to parse a 32 element array vb.net?
Logged
Still just trying to figure out this thing called Life.
Phrog30
Guest
Re: DataSubscriber2 Number of Elements
«
Reply #1 on:
November 02, 2017, 03:40:47 PM »
Instead of e.values(0), it would be (1), (2), etc. or you could loop through with "i" to the length of the datasubscriber.
Logged
Print
Pages: [
1
]
« previous
next »
AdvancedHMI Software
»
General Category
»
Support Questions
»
DataSubscriber2 Number of Elements