Persistence

Help creating logic scripts for Air Manager Instruments

Moderators: Ralph, russ

Post Reply
Message
Author
User avatar
Keith Baxter
Posts: 3767
Joined: Wed Dec 20, 2017 11:00 am
Location: Botswana

Persistence

#1 Post by Keith Baxter »

Hi,

@Corjan Just something that seems to muddle my instrument.

If I have a instrument, and place the common UUID in multiple locations in a panel. I want for each instance of this instruments to have a separate persistent files.
Does AM allow for that?

OK I know what you are going to say. ;) "Manage it in your code" . Yes I think I can do that. But, then how do i count the number of instances a instrument is within a panel?
Just that others might have instruments that use persistence and duplicate instances in a panel may clash.


Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board,  32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card 

User avatar
Corjan
Posts: 2638
Joined: Thu Nov 19, 2015 9:04 am

Re: Persistence

#2 Post by Corjan »

Hi,


Each instrument within a panel gets its own unique UUID. Also when you have multiple of the same instrument type.

It is a bit different when starting a panel in create/edit, since the plugin UUID is used instead of a unique generated UUID.


Corjan

User avatar
Keith Baxter
Posts: 3767
Joined: Wed Dec 20, 2017 11:00 am
Location: Botswana

Re: Persistence

#3 Post by Keith Baxter »

Corjan wrote: Thu Apr 28, 2022 4:44 pm Hi,


Each instrument within a panel gets its own unique UUID. Also when you have multiple of the same instrument type.

It is a bit different when starting a panel in create/edit, since the plugin UUID is used instead of a unique generated UUID.


Corjan
Hi,

Thank you Corjan. Understood.

Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board,  32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card 

User avatar
Sling
Posts: 4860
Joined: Mon Sep 11, 2017 2:37 pm
Contact:

Re: Persistence

#4 Post by Sling »

Keith,

They remain unique for that purpose. Interestingly if you are panel scripting then you can manipulate duplicates of the same UUID within that panel by using an index.

User avatar
Keith Baxter
Posts: 3767
Joined: Wed Dec 20, 2017 11:00 am
Location: Botswana

Re: Persistence

#5 Post by Keith Baxter »

Sling wrote: Fri Apr 29, 2022 12:18 am Keith,

They remain unique for that purpose. Interestingly if you are panel scripting then you can manipulate duplicates of the same UUID within that panel by using an index.
Hi

I understand. And i know you know where this is going. ;) and a whole bunch of "@Corjan I want this feature" requests are lined up. :lol:

Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board,  32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card 

User avatar
Sling
Posts: 4860
Joined: Mon Sep 11, 2017 2:37 pm
Contact:

Re: Persistence

#6 Post by Sling »

Keith Baxter wrote: Fri Apr 29, 2022 1:30 am I understand. And i know you know where this is going.
I’m not sure I do :-)

User avatar
Keith Baxter
Posts: 3767
Joined: Wed Dec 20, 2017 11:00 am
Location: Botswana

Re: Persistence

#7 Post by Keith Baxter »

Sling wrote: Fri Apr 29, 2022 2:49 am
Keith Baxter wrote: Fri Apr 29, 2022 1:30 am I understand. And i know you know where this is going.
I’m not sure I do :-)
Yes you do.... :lol: :lol: :lol:

Ok will DM you

Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board,  32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card 

Post Reply