Home AMX User Forum AMX General Discussion

some controllers of series NI.

Good afternoon! There is a system at which there are some controllers of series NI. The problem - whether probably to transfer values of a variable from one controller in another and how it can be made. Thanks for the answer.

Comments

  • DHawthorneDHawthorne Posts: 4,584
    This largely dpends on the type of variable. If it's an integer, for example, I would create a virtual device, declare it on both masters, and assign it to a level on the the virtual (I use that one all the time.integers being the most common form of data). If it's a simple boolean value, you can just use a channel for on/off. If it's more complex, you can use the VARIABLE_TO_STRING function and SEND_COMMANDs, but this is going to limit the size of your data because of the inherent string length limit. This all involves a virtual device defined on both masters. If it's big and complex, you are going to have to write it to a file and access it across the network.
Sign In or Register to comment.