> On 17 May 2017, at 12:04, Klemen Zhivko <klemenzivko...@gmail.com> wrote:
> 
> According to my experience I think for connecting remote components both 
> components need to have same number (and same type) of pins.
> So if you adding pins in UI you should add them also in hal file.
> I am using hal file to create remote comp, but they can be also python 
> created and mk side.
> 
> I received similar errors when any of sides (client or server) had different 
> number of pins on component.

That's correct. But  I've only moved the pins to the tab so that hasn't 
changed. Also the tab is active, and while the UI starts, the buttons show the 
round circle in their upper right corner that they aren't 
connected/synchronized.

> 
> Dne četrtek, 11. maj 2017 16.24.18 UTC+2 je oseba Bas de Bruijn napisala:
>> 
>> 
>> 
>>> On Thursday, May 11, 2017 at 2:40:36 PM UTC+2, Alexander Rössler wrote:
>>> Make sure your Tab is active: true
>> 
>> I've added that, but it doesn't fix the problem.
>> referring to the thread Marius linked to, do I need to change the 
>> "servicewindow" (whatever that is)?
>> could you enlighten me a bit? Because I obviously have no clue about what's 
>> going on with QtQuick.
>> 
>> 
>>> 
>>> Bas de Bruijn writes: 
>>> 
>>> > Hi, 
>>> > 
>>> > I've been building single QtQuickVCP window UI's in the past, and today I 
>>> > try to build some tabs into my UI. 
>>> > I'd like to have a tab with buttons, and a tab with IO's for inspecting 
>>> > HAL 
>>> > pins. So for this I looked into Machineface and I moved my buttons and 
>>> > hal 
>>> > pins to a different file. 
>>> > Frankly I've mostly extended upon examples, and what happpened  was 
>>> > simple 
>>> > to follow but in Machineface I can't seem to find out what's happening 
>>> > when. 
>>> > 
>>> > I have come up with the following setup: 
>>> > 3 files: 
>>> > - UI.qml (this is the main app) 
>>> > - Buttons_tab.qml (now holding what was previously in UI) 
>>> > - Io_tab.qml 
>>> > 
>>> > in UI.qml I've added: 
>>> > ``` 
>>> >     TabView { 
>>> >         id: mainTab 
>>> >         frameVisible: false 
>>> >         anchors.left: toolBar.right 
>>> >         anchors.right: displayPanel.left 
>>> >         anchors.top: parent.top 
>>> >         anchors.bottom: parent.bottom 
>>> >         anchors.rightMargin: Screen.pixelDensity 
>>> >         anchors.leftMargin: Screen.pixelDensity 
>>> > 
>>> >         Buttons_tab { } 
>>> >         Io_tab { } 
>>> >     } 
>>> > ``` 
>>> > 
>>> > When running machinekit-client I get the message in the window after 
>>> > connecting: 
>>> > 
>>> > ``` 
>>> > No error 
>>> > pin count mismatch:pb comp=1 hal comp=24 
>>> > ``` 
>>> > 
>>> > I probably missed something trivial. 
>>> > Any thoughts or pointers to understanding what I do wrong? 
>>> > 
>>> > Cheers, 
>>> > Bas 
>>> 
>>> 
>>> -- 
>>> Alexander
> 
> -- 
> website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
> https://github.com/machinekit
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Machinekit" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to machinekit+unsubscr...@googlegroups.com.
> Visit this group at https://groups.google.com/group/machinekit.
> For more options, visit https://groups.google.com/d/optout.

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to