Page 1 of 1

Socket connection ..

Posted: 19 Jun 2015 11:18
by mactoolz
Hi,

it is possible to build a socket connection?

thx

Mactoolz

Re: Socket connection ..

Posted: 22 Jun 2015 19:53
by Martin
Hi,

This is currently not possible. You can use action HTTP Request and trigger HTTP Request to communicate between multiple devices running Automagic within the same network but I'm not sure if this helps.
What kind of data would you like to transfer with a socket connection? What's the app on the other side of the connection?

Regards,
MArtin

Re: Socket connection ..

Posted: 23 Jun 2015 11:29
by mactoolz
Hi,

i want connect to my PLC and read some data.
The PLC can a tcp server/client socket port open.

I want convert the data into a widgete in automagic !!!


MacToolz

Re: Socket connection ..

Posted: 05 Jul 2015 11:48
by mactoolz
Hi,

???

Thx

Mactoolz

Re: Socket connection ..

Posted: 05 Jul 2015 13:34
by Martin
Hi,

I'll add it to the list of features under consideration but I can not promise anything.

It might be possible to do it with this plugin (untested by me):
Send/Expect

Regards,
Martin

Re: Socket connection ..

Posted: 06 Jul 2015 13:41
by mactoolz
Hi,

great, that is ever a very good start. Can you tell me how I can put my since receiving data
and also can transmit the transmission data.

MacToolz

Re: Socket connection ..

Posted: 06 Jul 2015 19:01
by Martin
Sorry, I don't understand your question. Can you rephrase your question?
I've never used the Send/Expect plugin so I have no idea how it needs to be configured.

Re: Socket connection ..

Posted: 07 Jul 2015 06:36
by mactoolz
Hi,

the app works. I can send and receive data.
The received data I want to store in the automagic in a variable and then process them. The send / expect app log shows the data in bytes / hex.
This app acts like a socket connection. Now I just need to know how to process the return value from SockReceive.

I do not generally like me to deal with the plugins.
How and how do I know which methods or properties I can use or rather implemented.


Thx

MacToolz

Re: Socket connection ..

Posted: 08 Jul 2015 10:33
by mactoolz
push it on top :-)


MacToolz