Home AMX User Forum NetLinx Studio

define_combine

Should you be able to put this anywhere in the program above Define_event?? I inherited a program and was working on it yesterday, and the compiler didn't like it wherever I put it even though the virtual TP and the real TPs I was combining it with were all valid. I was going nuts.

In the end I had to use the older combine_devices.

Disclaimer: I'm doing less and less AMX now and more and more C***** so maybe I'm just forgetting stuff.

Thanks

OP

Comments

  • DHawthorneDHawthorne Posts: 4,584
    COMBINE_DEVICES isn't an older version of DEFINE_COMBINE, it's actually the newer one. They are entirely different functions. DEFINE_COMBINE is a permanent link of device(s) that has been around since Axcent, and COMBINE_DEVICES is NetLinx-only and can be used with UNCOMBINE_DEVICES to dynamically link and unllink them. You probably should be using COMBINE_DEVICES in any case; but the DEFINE_COMBINE statement should be just below the DEFINE_DEVICE section.
Sign In or Register to comment.