02-11-2022 12:57 PM
ok, from the first smaller screenshot that might be confusing, so here the explanation:
part one are the outputs, (valve settings, etc):
(for better handling i keep an Boolean array with the status of each Output)
part two are the "non critical" input signals:
part three are the critical Inputs,
so i store them in the Cluster:
main reason is the security handling:
additional to the three Loops of the QMH I created a fourth on, which only handles security issues (like open housing, emergeny button,..)="Task Sec"
for handling those Inputs in another loop I had to create this in another "section" as accessing from two loops in the same task array does not work.
02-11-2022 01:07 PM - edited 02-11-2022 01:09 PM
Him GerdW
thanks for the input, I hope I could clarify the first points of your reply,
the other ones:
02-11-2022 01:20 PM - edited 02-11-2022 01:20 PM
Hi Wolf,
@WWolf78 wrote:
Using local variables when the terminal is unused is considered "bad style"
where do I do this??
Using locals when a shift register should be used is considered "bad style".
where??
Look out for "Enum message out". Both times…
02-14-2022 01:09 AM
ah, I'm using this only for debugging. thereby at debugging I can see which case was used, so this is nothing for the GUI or the user
back to the main question:
why does this not work?
I think I can exclude the file path.
I take a look at the folders and the Program does create the Logfile and it has content, so this works
so it remains:
VISA Configuration
and initialization of the I/O's
any suggestions what the error could be?
02-14-2022 01:37 AM
Hi Wolf,
@WWolf78 wrote:
so it remains:
VISA Configuration
and initialization of the I/O's
any suggestions what the error could be?
Which errors do you get for both items?
02-14-2022 02:11 AM - edited 02-14-2022 02:14 AM
the I/O's does work, as after initialization I check some of those and thereby I get no Error, so this works
when I try using the Serial communication I get this one:
02-14-2022 02:53 AM
ok, got the source for this one:
it was the invoke note at the beginning from the VI.
after deleting I don't get the error any more
and very curious:
now the VI and the serial communication works
now I'm confused
ok, additional I've disabled the checkbox here:
could have been this the reason?!?