Need help with grabbing data

Discussion to talk about software related topics only.
cpak
Posts: 12
Joined: Thu Aug 28, 2014 5:42 pm

Re: Need help with grabbing data

Post by cpak »

I suppose this would be something I do?

http://stackoverflow.com/questions/1938 ... onnections

OR

http://www.linklogger.com/portpeeker.htm (type of software)?
rnixon
Posts: 833
Joined: Thu Apr 24, 2008 3:59 pm

Re: Need help with grabbing data

Post by rnixon »

Yes. If you know C/C++ you can use the free microsoft visual studio express tools.

When you set the SBL2e to make outgoing connections when serial data is available, it will automatically make an outgoing tcp connection to your server when it needs to. You configure it on the web page. Look at the netburner product page for the SBL2e, then scroll down for the users manual.
User avatar
pbreed
Posts: 1088
Joined: Thu Apr 24, 2008 3:58 pm

Re: Need help with grabbing data

Post by pbreed »

I think you missed something conceptually...
Think of the SBL2E as an adapter cable... IE it adapts TCP over ethernet to RS-232 or 485 serial...

IE when everything is connected
When one char goes into the serial port one char comes out the tcp connection...
When one char goes into the tcp connection one char comes out the serial port...
There is no storage anywhere....
(Actually there is a tiny bit of storage, enough to buffer while connecting, its easier to conceptually just think no storage)

If there is no tcp (telnet) connection then any data going into the serial port is lost..
If there is nothing attached to the serial port then any data going into the tcp connection is lost....
cpak
Posts: 12
Joined: Thu Aug 28, 2014 5:42 pm

Re: Need help with grabbing data

Post by cpak »

Actually now that I have played with it more, I now understand what you are saying. I thought this whole time it was used more for a raspberry pi type solution, but all the net burner does is converts data from serial to TCP that broadcasts on connection.

Thanks everyone for the input! Saving grace.

By the way, any cool uses that anyone has let me know so I can try it out in my environment!
User avatar
pbreed
Posts: 1088
Joined: Thu Apr 24, 2008 3:58 pm

Re: Need help with grabbing data

Post by pbreed »

The netburner can be programmed like the RASPI, but the stock firmware that comes with the SBL2E is designed to do serial to TCP....

If you want to program it you need a dev kit....

I'd start with something other than an SBL2E however as that has very limited RAM memory and
unless you time is worth nothing or you are shipping more than 10K units, something like an
SB70LC where you have a more robust programming environment is going to be lower total cost...
Post Reply