Hi all,

I was a bit confused as I'm using PLC4Go in a project outside of PLC4Go itself 
and there it worked.
However I registered the transports and drivers differently. I just updated the 
examples. 
The helpers have allways been there, I just didn't use them in the Go examples.

Sorry for the confusion.


Chris



-----Ursprüngliche Nachricht-----
Von: Otto Fowler <[email protected]> 
Gesendet: Freitag, 19. Februar 2021 00:05
An: [email protected]
Betreff: Re: plc4Go Internal Packages

This is a bug I think.

The modbus package is internal, this cannot be used outside the package.
If you have to register it using a class from the module ( and not by name for 
example ) that will never work.

You should log a jira issue for this, maybe with an attached, simple project.


> On Feb 18, 2021, at 11:32, Wolfgang Huse <[email protected]> wrote:
> 
> Yes… theoretically i am able to run the Examples within your 
> Project-Structure… but as soon as I create my own Project this error occurs:
> hello_world_plc4go_read.go:23:2: use of internal package 
> github.com/apache/plc4x/plc4go/internal/plc4go/modbus not allowed
> 
> Regards,
> Wolfgang

Reply via email to