HoldenC
Member
Greetings,
I am trying shift data in an array (such as Array[0] is shifted into Array[1], Array[1] is shifted into Array[2]......all the way to Array[11].
I found a post by Ron Beaufort explaining how to accomplish this, but I cant seem to make it work. When i run the logic, all of the data turns to zero.
The tag "Press_Downtime" is an UDT, and has an array size of 11 (0-10).
The tag "Press_Downtime_Temp" is the same UDT with an array size of 11 (0-10).
The tag "Press_Downtime_Empty" is a single instance of the UDT that has all zeros in the data.
Would anyone be able to tell me where my mistake lies ?
Thanks.
I am trying shift data in an array (such as Array[0] is shifted into Array[1], Array[1] is shifted into Array[2]......all the way to Array[11].
I found a post by Ron Beaufort explaining how to accomplish this, but I cant seem to make it work. When i run the logic, all of the data turns to zero.
The tag "Press_Downtime" is an UDT, and has an array size of 11 (0-10).
The tag "Press_Downtime_Temp" is the same UDT with an array size of 11 (0-10).
The tag "Press_Downtime_Empty" is a single instance of the UDT that has all zeros in the data.
Would anyone be able to tell me where my mistake lies ?
Thanks.