Home AMX Forum NetLinx Studio
Options

DEV Array Help!?!

I hope someone may be able to point towards the errors in my thinking...

I'm trying to change the assignment of 4 TP's assigned to 4 different DEV Arrays. I have verified that the change takes place correctly. i.e I can move TP1 from DEV1[1] to DEV2[1] and get the correct D:P:S returned. Each DEV only contains a single TP at any time.

However when I run a button event using the DEV Array it only works with the initially assigned value in the DEV. i.e. If TP1 is assigned to DEV1[1], then moved to DEV2[1], a button push on TP1 does not trigger the Event for DEV2[1].

I am trying to avoid using Combine_Devices and just operate by adding a single TP to a specific DEV array when needed.

I thought DEV arrays are dynamic and could be manipulated in realtime, but it appears to be set at compile time. The DEV is defined in the Define Variable Section, not Define Constant.

Comments

Sign In or Register to comment.