Forgot to mention - Error loading Camera Profile

Anything that doesn't fit into any of the other forums
Post Reply
yomamma
Posts: 105
Joined: Wed Mar 01, 2023 4:58 pm

Forgot to mention - Error loading Camera Profile

#1

Post by yomamma »

This was the first scs file in which I used the statement "run the steps in this sequence".
I placed it at the bottom of my initial run to start the second imaging session.
The error occurred in this second scs file.
Is the second scs file a separate thread or just an extension of the current scs file?
What I did was include my entire run in the second scs, as if it were running solo with all of its declarations, which declare some of the same subroutines. Maybe this created a problem?
I have changed the second run and removed duplicate declarations and act as if I am just a continuation the previous scs.Will see what happens.
Will also update, I am the worst.
User avatar
admin
Site Admin
Posts: 17573
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Forgot to mention - Error loading Camera Profile

#2

Post by admin »

Hi,

if you use the 'run the steps in this sequence' block then it is pretty much equivalent to pasting the steps from that sequence into the top level sequence, it's not like running a separate sub-sequence.

In particular, subroutines are shared between the top level and sub sequence, and if the sub-sequence defines subroutines with names that overlap with the main sequence then you will get an error as the subroutine is already defines. On the other hand, the sub-sequence can use the subroutines defined by the main sequence.

One thing that is kept separate - if the sub-sequence defines a 'steps to run before exiting' block then that is run when the sub-sequence finishes and it *doesn't* overwrite any run before exiting defined by the main sequence.

cheers,

Robin
Post Reply