Home AMX User Forum NetLinx Studio
Options

SEND_STRING to a DEV

Is something like this possible..?

SEND_STRING [dDEV_DEVICE,integer variable],"'blahblah'"

I'm trying to variablize which device in the DEV array I send the string to. It would be useful for me in a case where the devices are not on consecutive device or port numbers.

Thanks!

Comments

  • Options
    If I understand you correct, dDEV_DEVICE is an Device-Array?
    Then it will work like the following

    SEND_STRING dDEV_DEVICE,"'Hello World',13,10" // to all Devices in Array

    SEND_STRING dDEV_DEVICE[3],"'Hello World',13,10" // to 3rd device of Array

    SEND_STRING dDEV_DEVICE[pointer],"'Hello World',13,10" // to device [pointer] of Array
Sign In or Register to comment.