How to use ‘offset’ in instrument_get

Peer support for Air Manager desktop users

Moderators: russ, Ralph

Post Reply
Message
Author
Frank34
Posts: 3
Joined: Fri Feb 23, 2024 4:20 pm

How to use ‘offset’ in instrument_get

#1 Post by Frank34 »

Can someone please explain how to determine the values to use for the optional ‘offset’ argument of instrument_get(UUID,offset)?
I have a panel with multiple instruments of the same kind that I’m trying to make visible / invisible. My solution so far is to clone the instrument so each has a unique UUID. While that works, the offset, if I knew how to use it, might make cloning unnecessary. Thanks!

Frank34
Posts: 3
Joined: Fri Feb 23, 2024 4:20 pm

Re: How to use ‘offset’ in instrument_get

#2 Post by Frank34 »

It’s ok I figured it out! The indexes simply start at 0 and increment for each added instrument. I thought that’s how it worked but made a coding error the first time I tried it and the error message totally confused me.

Post Reply