Array Editor Load from file
-
grego mondo
- Member
- Posts: 464
- Location: 22110 Rostrenen
- Contact:
Array Editor Load from file
Hello
I use an Array Editor to make a scheduler for an installation.
10 lines & 13 columns
Works fine
I save my Array Editor to a file
when I load a file I get an Error message :
PROC:Loadfromfile
ERROR:List index out of bound (13)
I use an Array Editor to make a scheduler for an installation.
10 lines & 13 columns
Works fine
I save my Array Editor to a file
when I load a file I get an Error message :
PROC:Loadfromfile
ERROR:List index out of bound (13)
En attendant cordialement l'apocalypse ... 100% Usine !!
https://lesformesdufond.kaz.bzh/grego-mondo/
PC i7 2.6Ghz - Win11 / RME Fireface UFX
Tubas / Serpent / Music Box
Interfaces Midi / OSC / DMX
https://lesformesdufond.kaz.bzh/grego-mondo/
PC i7 2.6Ghz - Win11 / RME Fireface UFX
Tubas / Serpent / Music Box
Interfaces Midi / OSC / DMX
Hi,
that is probably because you ask to scan the array before knowing its size.
but :
Another way to do what you want would be to use global array string.
on each of the 10 lines of the array you'll have the 13 values converted in strings like so : 10;26;54;12;80;0;56;29;13;22;35;44;29
makes for more robust way to save datas as it is easy then to edit the datas from an external text editor
that is probably because you ask to scan the array before knowing its size.
but :
Another way to do what you want would be to use global array string.
on each of the 10 lines of the array you'll have the 13 values converted in strings like so : 10;26;54;12;80;0;56;29;13;22;35;44;29
makes for more robust way to save datas as it is easy then to edit the datas from an external text editor
http://oli-lab.org
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
-
grego mondo
- Member
- Posts: 464
- Location: 22110 Rostrenen
- Contact:
Thanks Oli
I couldn't remember that global array string trick.
It look like a bug because I tried creating an Array Editor with prefered values : save ok, loading give the same error message.
I couldn't remember that global array string trick.
It look like a bug because I tried creating an Array Editor with prefered values : save ok, loading give the same error message.
En attendant cordialement l'apocalypse ... 100% Usine !!
https://lesformesdufond.kaz.bzh/grego-mondo/
PC i7 2.6Ghz - Win11 / RME Fireface UFX
Tubas / Serpent / Music Box
Interfaces Midi / OSC / DMX
https://lesformesdufond.kaz.bzh/grego-mondo/
PC i7 2.6Ghz - Win11 / RME Fireface UFX
Tubas / Serpent / Music Box
Interfaces Midi / OSC / DMX
Yeah you're right, there's something wrong. I have the same error and the only the 1st line loads.
it is working fine with HH7 although it is exactly the same module in both versions.
do you need any help with the global array trick ? there is 2 submodules in the various tools addons : array to string and string to array
it is working fine with HH7 although it is exactly the same module in both versions.
do you need any help with the global array trick ? there is 2 submodules in the various tools addons : array to string and string to array
http://oli-lab.org
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Hi,
I did this :
I did this :
http://oli-lab.org
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
-
grego mondo
- Member
- Posts: 464
- Location: 22110 Rostrenen
- Contact:
I did this
with a simple global array
with a simple global array
- Attachments
-
- Laps Scheduller 2.22.wkp
- (648.45 KiB) Downloaded 375 times
En attendant cordialement l'apocalypse ... 100% Usine !!
https://lesformesdufond.kaz.bzh/grego-mondo/
PC i7 2.6Ghz - Win11 / RME Fireface UFX
Tubas / Serpent / Music Box
Interfaces Midi / OSC / DMX
https://lesformesdufond.kaz.bzh/grego-mondo/
PC i7 2.6Ghz - Win11 / RME Fireface UFX
Tubas / Serpent / Music Box
Interfaces Midi / OSC / DMX
cool !
- my global string trick allows for readable file and better compatibility if you'll need to add columns later on.
- the pass module after the "global array get array" is not necessary as you can add paas if change inside that module.
- you could use panel text module for display or at least set the combobox to non-editable
- in french it is called "un programmateur horaire"
++
Olivar
- my global string trick allows for readable file and better compatibility if you'll need to add columns later on.
- the pass module after the "global array get array" is not necessary as you can add paas if change inside that module.
- you could use panel text module for display or at least set the combobox to non-editable
- in french it is called "un programmateur horaire"
++
Olivar
http://oli-lab.org
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
-
grego mondo
- Member
- Posts: 464
- Location: 22110 Rostrenen
- Contact:
cool !
- my global string trick allows for readable file and better compatibility if you'll need to add columns later on. +1 (that's a good point)
- the pass module after the "global array get array" is not necessary as you can add paas if change inside that module. the idea was to get global array just when I load it
- you could use panel text module for display or at least set the combobox to non-editable ?
- in french it is called "un programmateur horaire"
I agree but Groupe Laps what to call it Scheduleur ...
- my global string trick allows for readable file and better compatibility if you'll need to add columns later on. +1 (that's a good point)
- the pass module after the "global array get array" is not necessary as you can add paas if change inside that module. the idea was to get global array just when I load it
- you could use panel text module for display or at least set the combobox to non-editable ?
- in french it is called "un programmateur horaire"
En attendant cordialement l'apocalypse ... 100% Usine !!
https://lesformesdufond.kaz.bzh/grego-mondo/
PC i7 2.6Ghz - Win11 / RME Fireface UFX
Tubas / Serpent / Music Box
Interfaces Midi / OSC / DMX
https://lesformesdufond.kaz.bzh/grego-mondo/
PC i7 2.6Ghz - Win11 / RME Fireface UFX
Tubas / Serpent / Music Box
Interfaces Midi / OSC / DMX
- thanx,grego mondo wrote: ↑01 Dec 2025, 15:46cool !
- my global string trick allows for readable file and better compatibility if you'll need to add columns later on. +1 (that's a good point)
- the pass module after the "global array get array" is not necessary as you can add paas if change inside that module. the idea was to get global array just when I load it
- you could use panel text module for display or at least set the combobox to non-editable ?
- in french it is called "un programmateur horaire"I agree but Groupe Laps what to call it Scheduleur ...
- "the idea was to get global array just when I load it" : that is what will happen if you tick th "add pass only if change"
- You have combobox that you use for display only, you could have them set to "edit enable" = 0 OR combine different strings (day, date and month) into a single string then feed a panel text in overlay mode.
- frenglish !
++
Olivar
http://oli-lab.org
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
-
grego mondo
- Member
- Posts: 464
- Location: 22110 Rostrenen
- Contact:
- "the idea was to get global array just when I load it" : that is what will happen if you tick th "add pass only if change"
Am I right if I say that when I change value in my Editor > it change the global Array > so the value pass out of "get global array" ?
- You have combobox that you use for display only, you could have them set to "edit enable" = 0 OR combine different strings (day, date and month) into a single string then feed a panel text in overlay mode.
It took me time to find (Iwas looking in the first page of settings, not in the "view" one) good tips (I believed I knew it and forgot it ...)
Am I right if I say that when I change value in my Editor > it change the global Array > so the value pass out of "get global array" ?
- You have combobox that you use for display only, you could have them set to "edit enable" = 0 OR combine different strings (day, date and month) into a single string then feed a panel text in overlay mode.
It took me time to find (Iwas looking in the first page of settings, not in the "view" one) good tips (I believed I knew it and forgot it ...)
En attendant cordialement l'apocalypse ... 100% Usine !!
https://lesformesdufond.kaz.bzh/grego-mondo/
PC i7 2.6Ghz - Win11 / RME Fireface UFX
Tubas / Serpent / Music Box
Interfaces Midi / OSC / DMX
https://lesformesdufond.kaz.bzh/grego-mondo/
PC i7 2.6Ghz - Win11 / RME Fireface UFX
Tubas / Serpent / Music Box
Interfaces Midi / OSC / DMX
"Am I right if I say that when I change value in my Editor > it change the global Array > so the value pass out of "get global array" ?"
Guesso, but since it is the same values on each side, won't do any harm
++
Olivar
Guesso, but since it is the same values on each side, won't do any harm
++
Olivar
http://oli-lab.org
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Who is online
Users browsing this forum: No registered users and 25 guests
