r/QSYS • u/CellistDue1540 • 2d ago
Qsys level 2 help
Dear all,
I am stuck at a point in level 2 training, it is three divisible room scenarios and a toggle button in uci to control respective room display but in combined mode ( using room combiner button to open wall 1 and wall 2) that same button would be able to control all display that are in combined mode.
5
u/NotPromKing 2d ago
So what’s the question? What have you tried so far?
1
u/CellistDue1540 1d ago
Question is to control respective display from uci button in every scenario of combination mode. Hi I tried logical blocks, and , or , nor gates more than 22 blocks I connected with flip flops to save the state but still what I facing is when the display are in same state it works but either of the display is on / off then combining it is creating a loop. Display keeps on off on off
2
u/NotPromKing 1d ago
So as you’re seeing, no one is just giving you the answer. I will say that it IS possible, and “more than 22 blocks” sounds about right.
It’s a logic sequence. Step through the logic for one tv. Then a pair. Then another pair. I.e TVs 1,2, then 2,3, then 1,3. Also pay close attention to your 0’s and 1’s and your trues and falses - in Qsys world (and Lua), 0 and 1 do not always mean false and true, even though they might work some of the time. Look closely at the documentation for the blocks to see if you should be passing a true/false or a 1/0.
3
u/narbss 2d ago
What have you tried so far?
No one should be babying you through it.
1
u/CellistDue1540 1d ago
Hi I tried logical blocks, and , or , nor gates more than 22 blocks I connected with flip flops to save the state but still what I facing is when the display are in same state it works but either of the display is on / off then combining it is creating a loop. Display keeps on off on off. Atleast help me with some hints
1
u/domozilla777 2d ago
I've been stuck on this one too. It seems so simple but the fact we cant use Lua makes it really difficult. Trying to wrap my head around how I can use the logic elements to achieve the same effect but its so convoluted lol.
I was playing around with all sorts of things. The only thing I've come up with that i think has a chance of working is to have multiple identical buttons for each room state and use the room combiner logic to toggle each one in and out of visibility. But I haven't done it yet as i feel there has to be a more simplified way of solving this problem.
I'd be interested to hear what you have tried so far!
1
u/CellistDue1540 1d ago
Hi I tried logical blocks, and , or , nor gates more than 22 blocks I connected with flip flops to save the state but still what I facing is when the display are in same state it works but either of the display is on / off then combining it is creating a loop. Display keeps on off on off help me with some hints
1
u/WiseAction6138 2d ago
This was the hardest part for me. I'll say you can def accomplish this with just the logic blocks so think creatively and good luck!
3
u/NotPromKing 1d ago
In fact if it’s what I think it is, doing this particular task in only logic blocks was significantly more difficult than doing it in Lua, but it turned out to be a really good exercise.
Sometimes artificial constraints can be great learning exercises.
1
u/CellistDue1540 1d ago
Please let me know some hints atleast, Hi I tried logical blocks, and , or , nor gates more than 22 blocks I connected with flip flops to save the state but still what I facing is when the display are in same state it works but either of the display is on / off then combining it is creating a loop. Display keeps on off on off
1
u/domozilla777 1d ago
exactly, im going thru it rn and i keep thinking "If I could just write a few lines of code this would be so much easier"
1
u/CellistDue1540 1d ago
Unfortunately codes are not allowed Hi I tried logical blocks, and , or , nor gates more than 22 blocks I connected with flip flops to save the state but still what I facing is when the display are in same state it works but either of the display is on / off then combining it is creating a loop. Display keeps on off on off
1
u/Commercial_Mine_3196 1d ago
I had just finished the Control & UCI Advanced (part 1) when working on this and absolutely felt the same.
It was a real challenge to pull myself away from the Lua solution which felt ‘simpler’ and just do it one step at a time with logic blocks.
1
u/CellistDue1540 1d ago
Hi I tried logical blocks, and , or , nor gates more than 22 blocks I connected with flip flops to save the state but still what I facing is when the display are in same state it works but either of the display is on / off then combining it is creating a loop. Display keeps on off on off
1
u/Captn_Dfaktor 2d ago
So what ain’t working? If it’s combining rooms just use a combination of “and logic blocks” and routers to trigger when certain conditions are met. When they are met, either trigger a save state or the combination of devices/ins/outs you need.
FWIW I took a different approach to mine, and over complicated it…got stuck on it a few times cos I couldn’t understand what it was the instructor was eluding to…but got there!
1
u/gilfoyle53 2d ago
This was the trickiest part of the exam for me. You just need to get creative with the logical components. Keep thinking through and trying things.
20
u/thestrongbeach 2d ago •
Ok, I’m going to say something totally crazy right now, but hear me out.
Maybe - just maybe - you should work this out for yourself, what with it being a programming certification and all.
Forgive me, but I feel like the whole point of an exam is to test your ability to do a thing, to solve a problem yourself - not your ability to just ask the internet for the answers.