Hi Mr Samek! I love your video course and book, and have enjoyed learning so much!! About OFF closing the door in my fix, I did notice that was a problem. Using your suggestion of OFF just being an internal transition, in it I thought of explicitly changing me->hist_doorClosed = &ToastOven_off so it will stay off after closing the door. I did what you suggested to experiment but used a washing machine which is similar, and ran into the same thing: In lidOpen:CANCEL, I change hist_lidClosed = &Washer_ready....
Hi Mr Samek! I love your video course and book, and have enjoyed learning so much!! About OFF closing the door in my fix, I did notice that was a problem. Using your suggestion of OFF just being an internal transition, in it I thought of explicitly changing me->hist_doorClosed = &ToastOven_off so it will stay off after closing the door. I did what you suggested to experiment but used a washing machine which is similar, and ran into the same thing: In lidOpen:CANCEL, I change hist_lidClosed = &Washer_ready....
Hi Mr Samek! I love your video course and book, and have enjoyed learning so much!! About OFF closing the door in my fix, I did notice that was a problem. Using your suggestion of OFF just being an internal transition, in it I thought of explicitly changing me->hist_doorClosed = &ToastOven_off so it will stay off after closing the door. I did what you suggested to experiment but used a washing machine which is similar, and ran into the same thing: In lidOpen:CANCEL, I change hist_lidClosed = &Washer_ready....
I know this is almost 3 years old but I saw the same problem. It didn't make any sense that if the toaster if off that it should be turned on simply by opening and closing the door. It should stay off. My fix: Signal OFF from the doorOpen state should just transition directly to the off state in doorClosed (not using history). Signal CLOSE in doorOpen transitions to history (placed on doorClosed not heating, and is not shallow).
I'm using the qp-windows_7.3.4.exe package, QSpy 7.4.0 and QView 7.4.1
Hi Dr Samek! Thank you for your help!! In the lesson-46 project I'm now able to send 'info query' and reset using both QSpy and QView. Tick[0] worked as well. But the QView 'Events' menu is still greyed out as well as Peek and Poke. Also if I select Current-Obj->Query Content and select any of the items, I get "Trg-ERR QS_RX_QUERY_CURR" in QSpy. The dpp qspy build did the same. I looked in the documentation and didn't see anything else I need to set up but maybe I missed something?
Also tried dpp example in qpc. When I went to Current-Obj->AO_OBJ and entered Philo_inst1 it crashes, which was the same with the lesson 46 when I entered AO_TimeBomb. Also Commands->Reset Target did nothing, but the program keeps running with this one instead of needing to be reset. Events menu items are still all greyed out.
Also tried dpp example in qpc. When I went to Current-Obj->AO_OBJ and entered Philo_inst1 it crashes, which was the same with the lesson 46 when I entered AO_TimeBomb. Also Commands->Reset Target did nothing, but the program keeps running with this one instead of needing to be reset.