• Announcements

    • UnderDawg

      A Few Simple Rules   05/22/2017

      Sailing Anarchy is a very lightly moderated site. This is by design, to afford a more free atmosphere for discussion. There are plenty of sailing forums you can go to where swearing isn't allowed, confrontation is squelched and, and you can have a moderator finger-wag at you for your attitude. SA tries to avoid that and allow for more adult behavior without moderators editing your posts and whacking knuckles with rulers. We don't have a long list of published "thou shalt nots" either, and this is by design. Too many absolute rules paints us into too many corners. So check the Terms of Service - there IS language there about certain types of behavior that is not permitted. We interpret that lightly and permit a lot of latitude, but we DO reserve the right to take action when something is too extreme to tolerate (too racist, graphic, violent, misogynistic, etc.). Yes, that is subjective, but it allows us discretion. Avoiding a laundry list of rules allows for freedom; don't abuse it. However there ARE a few basic rules that will earn you a suspension, and apparently a brief refresher is in order. 1) Allegations of pedophilia - there is no tolerance for this. So if you make allegations, jokes, innuendo or suggestions about child molestation, child pornography, abuse or inappropriate behavior with minors etc. about someone on this board you will get a time out. This is pretty much automatic; this behavior can have real world effect and is not acceptable. Obviously the subject is not banned when discussion of it is apropos, e.g. talking about an item in the news for instance. But allegations or references directed at or about another poster is verboten. 2) Outing people - providing real world identifiable information about users on the forums who prefer to remain anonymous. Yes, some of us post with our real names - not a problem to use them. However many do NOT, and if you find out someone's name keep it to yourself, first or last. This also goes for other identifying information too - employer information etc. You don't need too many pieces of data to figure out who someone really is these days. Depending on severity you might get anything from a scolding to a suspension - so don't do it. I know it can be confusing sometimes for newcomers, as SA has been around almost twenty years and there are some people that throw their real names around and their current Display Name may not match the name they have out in the public. But if in doubt, you don't want to accidentally out some one so use caution, even if it's a personal friend of yours in real life. 3) Posting While Suspended - If you've earned a timeout (these are fairly rare and hard to get), please observe the suspension. If you create a new account (a "Sock Puppet") and return to the forums to post with it before your suspension is up you WILL get more time added to your original suspension and lose your Socks. This behavior may result a permanent ban, since it shows you have zero respect for the few rules we have and the moderating team that is tasked with supporting them. Check the Terms of Service you agreed to; they apply to the individual agreeing, not the account you created, so don't try to Sea Lawyer us if you get caught. Just don't do it. Those are the three that will almost certainly get you into some trouble. IF YOU SEE SOMEONE DO ONE OF THESE THINGS, please do the following: Refrain from quoting the offending text, it makes the thread cleanup a pain in the rear Press the Report button; it is by far the best way to notify Admins as we will get e-mails. Calling out for Admins in the middle of threads, sending us PM's, etc. - there is no guarantee we will get those in a timely fashion. There are multiple Moderators in multiple time zones around the world, and anyone one of us can handle the Report and all of us will be notified about it. But if you PM one Mod directly and he's off line, the problem will get dealt with much more slowly. Other behaviors that you might want to think twice before doing include: Intentionally disrupting threads and discussions repeatedly. Off topic/content free trolling in threads to disrupt dialog Stalking users around the forums with the intent to disrupt content and discussion Repeated posting of overly graphic or scatological porn content. There are plenty web sites for you to get your freak on, don't do it here. And a brief note to Newbies... No, we will not ban people or censor them for dropping F-bombs on you, using foul language, etc. so please don't report it when one of our members gives you a greeting you may find shocking. We do our best not to censor content here and playing swearword police is not in our job descriptions. Sailing Anarchy is more like a bar than a classroom, so handle it like you would meeting someone a little coarse - don't look for the teacher. Thanks.

Archived

This topic is now archived and is closed to further replies.

Heriberto

USB over IP

36 posts in this topic

I have an application where I have lots of serial and USB data to input to a computer. Apparently there are devices that you plug in your USB and it adds it as an IP address. This might be really handy for a lot of applications. I'm looking at it because I get conflicts between devices on the USB bus, as well as running out of ports.

 

Has anyone used these on a boat?

Share this post


Link to post
Share on other sites

There are serial to USB converters that work well. I use this one on my boat. But I have the feeling I don't understand your question so maybe this is not what you are looking for.

 

Allen

L-36.com

Share this post


Link to post
Share on other sites
that you plug in your USB and it adds it as an IP address

 

I think that device is called a computer!

 

With this device you'd write a program that pulls all the data in and sends it out in a stream of IP packets that another computer on the network will understand.

 

You might also write a program that makes a stream of output data using your own nmea type strings which, again, gets read by another computer on the network. XML was also designed to perform this way although I'm not so sure it can work with data streams (rather than data files that have termination codes).

Share this post


Link to post
Share on other sites
that you plug in your USB and it adds it as an IP address

 

I think that device is called a computer!

 

With this device you'd write a program that pulls all the data in and sends it out in a stream of IP packets that another computer on the network will understand.

 

You might also write a program that makes a stream of output data using your own nmea type strings which, again, gets read by another computer on the network. XML was also designed to perform this way although I'm not so sure it can work with data streams (rather than data files that have termination codes).

 

No. AnywhereUSB is a brand of USB server that you can plug USB and RS232 appliances in and it gives them an IP address that you can supposedly use them remotely just like you would if they were plugged in your computer. So if you have a laptop that only has one USB port, and had lots of things to plug in (software dongle, gps, remote keyboard, remote mouse, remote touchscreen, DVD drive, data acquisition boxes, etc. individually or all at the same time), you could plug them into the USB server device and they would be recognized the same way, but without the conflicts on the USB bus.

 

If you have used one, could you give some feedback?

Share this post


Link to post
Share on other sites
that you plug in your USB and it adds it as an IP address

 

I think that device is called a computer!

 

With this device you'd write a program that pulls all the data in and sends it out in a stream of IP packets that another computer on the network will understand.

 

You might also write a program that makes a stream of output data using your own nmea type strings which, again, gets read by another computer on the network. XML was also designed to perform this way although I'm not so sure it can work with data streams (rather than data files that have termination codes).

 

 

that you plug in your USB and it adds it as an IP address

 

I think that device is called a computer!

 

With this device you'd write a program that pulls all the data in and sends it out in a stream of IP packets that another computer on the network will understand.

 

You might also write a program that makes a stream of output data using your own nmea type strings which, again, gets read by another computer on the network. XML was also designed to perform this way although I'm not so sure it can work with data streams (rather than data files that have termination codes).

 

No. AnywhereUSB is a brand of USB server that you can plug USB and RS232 appliances in and it gives them an IP address that you can supposedly use them remotely just like you would if they were plugged in your computer. So if you have a laptop that only has one USB port, and had lots of things to plug in (software dongle, gps, remote keyboard, remote mouse, remote touchscreen, DVD drive, data acquisition boxes, etc. individually or all at the same time), you could plug them into the USB server device and they would be recognized the same way, but without the conflicts on the USB bus.

 

If you have used one, could you give some feedback?

 

 

Just a simple computer (embedded systems)... I know those work alright for printers, I have no experience with them for other devices and certainly no experience with them on boats.

Good luck.

 

-J

 

 

EDIT>>> Also worth pointing out, If you are already having port mapping troubles, it probably wont make things any better to add more complications to fix it. It has serious potential to fail either quite often, or unexpectedly at the worst possible moment.

Share this post


Link to post
Share on other sites

I've had good luck using a USB hub and virtual COM ports . Try Franson Gate, I think that's the one Nobeltec packs with the VNS software. I also think you can get it for free, but couldn't find the free download from their site. If that doesn't work for you Google says there is a lot of free virtual COM port software out there.

 

I use it for sorting out incoming data from B&G, two GPS's, DSC from the VHF and an AIS receiver. I can then run Nobeltec VNS and Expedition at the same time from virtual ports and rarely experience conflicts or crashes.

 

Cheers,

Rob

 

Edit... Found the link to it on the EXP website: http://gpsgate.com/p.../gpsgate_client

Share this post


Link to post
Share on other sites
No. AnywhereUSB is a brand of USB server that you can plug USB and RS232 appliances in and it gives them an IP address that you can supposedly use them remotely just like you would if they were plugged in your computer. So if you have a laptop that only has one USB port, and had lots of things to plug in (software dongle, gps, remote keyboard, remote mouse, remote touchscreen, DVD drive, data acquisition boxes, etc. individually or all at the same time), you could plug them into the USB server device and they would be recognized the same way, but without the conflicts on the USB bus.<br style="color: rgb(28, 40, 55); font-family: verdana, arial, tahoma, sans-serif; font-size: 13px; line-height: 20px; background-color: rgb(250, 251, 252); "><br style="color: rgb(28, 40, 55); font-family: verdana, arial, tahoma, sans-serif; font-size: 13px; line-height: 20px; background-color: rgb(250, 251, 252); ">If you have used one, could you give some feedback?

 

I've used a number of the digi RS232 to IP (RJ45 Ethernet) products and assume the Anywhere USB would work the same way.

 

You need to connect the Anywhere device to the RJ45 Ethernet port of your PC.

 

It will then set up a series of "virtual" com /usb ports on the PC.

 

You then connect all your peripherals to the Anywhere device - and map them through to the respective "Virtual RS232 / USB port" shown on the PC.

 

The "virtual" ports are very usable ports - with flow control etc and are talking to your PC via IP through the RJ45 ethernet port of the PC.

 

Ie

It connects and mixes the data into an IP signal at the Anywhere device

 

And then fans it back out at your PC via the RJ45 Ethernet port - As bunch of "virtual ports" that you can monitor/control.

 

Trust that helps.

Share this post


Link to post
Share on other sites

I've had good luck using a USB hub and virtual COM ports . Try Franson Gate, I think that's the one Nobeltec packs with the VNS software. I also think you can get it for free, but couldn't find the free download from their site. If that doesn't work for you Google says there is a lot of free virtual COM port software out there.

 

I use it for sorting out incoming data from B&G, two GPS's, DSC from the VHF and an AIS receiver. I can then run Nobeltec VNS and Expedition at the same time from virtual ports and rarely experience conflicts or crashes.

 

Cheers,

Rob

 

Edit... Found the link to it on the EXP website: http://gpsgate.com/p.../gpsgate_client

+ 1 on that. I use GPS Gate too. Very easy. I take a feed from a mux into a USB 4 port hub, or a direct feed from a NMEA Talker into the hub, then create a number of virtual ports, some for importing the same NMEA data into multiple concurrent apps (e.g. Expedition, Ocens/GMN XGate (to add positions data to outgoing email via satphone), Ocens GRIB Explorer/MetMapper/WeatherNet, or alternate low overhead nav/charting package like Maptech's Offshore Navigator. I can then export data to the additional ports on the hub, in addition to the 3 USB ports in the PC. I have had a total of 10 ports up and running between the PC's and Hub's real ports and the GPS Gate Virtual Ports. I wasn't limited to 10, but had no need for more.

 

BTW, if you use the Ocens/GMN email and weather service, their XGate gateway can also create virtual ports, however Franson's GPS Gate is much better in that you don't need to be running the Email Gateway to have the virtual ports established.

Share this post


Link to post
Share on other sites

USB to IP and serial to IP gateways work well. It is a pretty standard IT thing these days - has been around for quite a while in the industrial IT world and now in general IT environments. Used for data acquisition and things like license dongles for virtual servers. There is even an RFC (an IT standard) covering the protocols and so on. Just find one designed for the marine world and you should be fine.

 

Someone mentioned the Fransom software - we use their client software to take one direct usb connection to the computer and split it to several nav programmes. Absolutely 100% reliable in 4 years of use - never failed once.

Share this post


Link to post
Share on other sites

Thanks all. It's actually going into this system first:

 

SNC00304.preview.jpg

 

We've tried USB hubs, but when you have several mission critical high data flow USB appliances they wind up with conflicts on the USB bus which just isn't as robust as Ethernet.

 

In this rig there is a Siemens PLC system controlling hydraulics/pneumatics, with an ethernet box that allows it to be controlled remotely, a XP "man-machine interface" industrial touch screen computer that has "virtual" buttons to control the hydraulics. This system is also networked to the data acquisition computer (also XP), which is hooked up to the various sensors. They all interact, so that things on the PLC affect the data acquisition, and things in the data acquisition affect the PLC operation (emergeny stops, alarms, etc.). So a pretty complicated setup.

 

Then sailing-wise, I'm looking into ways of dealing with B&G's connectivity limitations. Without breaking the bank at the B$G store....

Share this post


Link to post
Share on other sites

Well it looks like you are trying to do it properly!

 

I have worked with Digi products before in a non-sailing context - have been very happy. They have an Anywhere/USB product. 5 separate USB inputs, 2 RJ-45 Ethernet uplinks, dual power supplies. All the good stuff. http://www.digi.com/products/usb/anywhereusb#specs. Smaller models too.

 

There are a number of industrial systems that need USB or Serial to IP gateways - you should be able to find one that meets your requirements.

Share this post


Link to post
Share on other sites

Damn.

 

I literally had to drive 14 hours round-trip to fucking Omaha to replace a USB dongle in one of my rigs because the dongle and/or the port had a bad or worn connection. Then when I get there and go to replace them, more freaking USB port conflicts that have to be resolved and change all the damn com ports.

 

FUCK!

 

There has GOT TO BE A BETTER CONNECTOR! It almost makes me long for the DB9 days. At least those could get screwed in place. These USB connectors, one little bump and it breaks the connection and you are hosed.

Share this post


Link to post
Share on other sites
No. AnywhereUSB is a brand of USB server that you can plug USB and RS232 appliances in and it gives them an IP address that you can supposedly use them remotely just like you would if they were plugged in your computer. So if you have a laptop that only has one USB port, and had lots of things to plug in (software dongle, gps, remote keyboard, remote mouse, remote touchscreen, DVD drive, data acquisition boxes, etc. individually or all at the same time), you could plug them into the USB server device and they would be recognized the same way, but without the conflicts on the USB bus.<br style="color: rgb(28, 40, 55); font-family: verdana, arial, tahoma, sans-serif; font-size: 13px; line-height: 20px; background-color: rgb(250, 251, 252); "><br style="color: rgb(28, 40, 55); font-family: verdana, arial, tahoma, sans-serif; font-size: 13px; line-height: 20px; background-color: rgb(250, 251, 252); ">If you have used one, could you give some feedback?

 

I've used a number of the digi RS232 to IP (RJ45 Ethernet) products and assume the Anywhere USB would work the same way.

 

You need to connect the Anywhere device to the RJ45 Ethernet port of your PC.

 

It will then set up a series of "virtual" com /usb ports on the PC.

 

You then connect all your peripherals to the Anywhere device - and map them through to the respective "Virtual RS232 / USB port" shown on the PC.

 

The "virtual" ports are very usable ports - with flow control etc and are talking to your PC via IP through the RJ45 ethernet port of the PC.

 

Ie

It connects and mixes the data into an IP signal at the Anywhere device

 

And then fans it back out at your PC via the RJ45 Ethernet port - As bunch of "virtual ports" that you can monitor/control.

 

Trust that helps.

 

Thanks to you and Nixon, et. al. That does help.

 

The GPSGate and other software solutions are interesting and probably work well for other applications, but in this case I need a hardware fix.

Share this post


Link to post
Share on other sites

Damn.

 

I literally had to drive 14 hours round-trip to fucking Omaha to replace a USB dongle in one of my rigs because the dongle and/or the port had a bad or worn connection. Then when I get there and go to replace them, more freaking USB port conflicts that have to be resolved and change all the damn com ports.

 

FUCK!

 

There has GOT TO BE A BETTER CONNECTOR! It almost makes me long for the DB9 days. At least those could get screwed in place. These USB connectors, one little bump and it breaks the connection and you are hosed.

 

Sounds like you need some of these.

http://www.te.com/catalog/minf/en/779

 

industunivusbcableconnov.jpg

Share this post


Link to post
Share on other sites

I wish more equipment used that stuff. I do have one piece of equipment that uses the Bulgin version.

Share this post


Link to post
Share on other sites

any reason all your connectivity isnt serial?

Share this post


Link to post
Share on other sites

Windows (32/64bit) can have over 200 serial ports, if you run out thats a lot of IO?

Share this post


Link to post
Share on other sites

Windows (32/64bit) can have over 200 serial ports, if you run out thats a lot of IO?

 

I think I said it incorrectly and it is more a timing issue. I get "USB buffer overrun" errors and ours (and our vendor's) speculation is USB 2.0 speed is a requirement for some of my hardware. I don't know how it works exactly, if you have too many appliances on the USB bus does it slow the throughput of each appliance to USB 1.1 or slower? I know that if I plug them into USB 1.1 ports they don't work right. Unfortunately I just looked at the specs and the AnywhereUSB only supports USB 1.1 speed for USB 2.0 appliances.

 

The search continues.

 

The other issue I had was with a serial gps (the Garmin 17HVS or whatever they are calling it now). A lot of computers these days don't have a DB9 serial port, you can use serial to USB adapters and that is what we ended up doing, but before that we tried adding an internal serial card. Direct path to BSOD.

 

I am hearing Win7 is more stable for all of this than XP. True?

Share this post


Link to post
Share on other sites

There are tons of XP out there doing industrial process monitoring but all that I see use serial boards say like rocket port adapters and use rs485 for the speed so up to 10mb of data

On ships the IMO standard is nmea0183 so all rs485 as its very reliable

I would guess if you need more data speed you need to convert to ethernet.

A cruise ship would have something like 40,000 items monitored in their vessel management systems.

Share this post


Link to post
Share on other sites

Actually, the equipment I use is also used offshore. A. P. Van den Berg cone penetration testing equipment. Offshore it is used to test seabed sediments for platforms cables and dredging. I am often surprised by the lack of certain robustness in the onshore systems. I imagine there are tradeoffs....

Share this post


Link to post
Share on other sites

yes true as some are governed by IMO and class and lots are a free for all

I work in the DP side

Share this post


Link to post
Share on other sites

Actually, the equipment I use is also used offshore. A. P. Van den Berg cone penetration testing equipment. Offshore it is used to test seabed sediments for platforms cables and dredging. I am often surprised by the lack of certain robustness in the onshore systems. I imagine there are tradeoffs....

The biggest tradeoff is cost. Enough power to drive lots of devices? Means a more expensive power supply that is wasted if you only drive 4 devices

Harsh Conditions protected? that means different glues and solders in the circuit board which is... More expensive

Watertight connectors? More expensive

Corrosion resistant components? More expensive..

 

etc. etc.

 

Now as to the device you are looking at

 

If you look at the datasheet on the concentrator you were looking at - it does NOT assign an IP address per device, rather there is an IP address for ALL the devices and these devices are then accessed the way you would access any "served" device. So it isn't really "USB over IP". What it really is - is what someone earlier described as "A PC that you plug the devices into and which uses an OS to share the devices". Its just that it is a very low cost PC (rack slot) and the OS has been pared down to do just that one thing.

 

USB 1.1 vs. 2.0 issues - a lot of that has to do with how the 2.0 device implements its "down protocol" - and how robust the 1.1 receiver is to data overrun errors. Theoretically it all works. In practice USB is used in either a dedicated manner for mission critical devices, or else it is considered a "consumer device" and data loss is considered "acceptable".

 

Dunno what to tell you about what you are trying to do. Other than you might consider looking at various industrial PLCs. Which while more expensie ARE more robust (except when Stuxnet II goes "into the wild") http://ab.rockwellautomation.com/Programmable-Controllers/Micro-and-Nano

http://www.automation.siemens.com/mcms/programmable-logic-controller/en/simatic-s7-controller/Pages/Default.aspx

http://hpsweb.honeywell.com/Cultures/en-US/Products/Systems/ModularSystems/default.htm

Share this post


Link to post
Share on other sites

Actually, the equipment I use is also used offshore. A. P. Van den Berg cone penetration testing equipment. Offshore it is used to test seabed sediments for platforms cables and dredging. I am often surprised by the lack of certain robustness in the onshore systems. I imagine there are tradeoffs....

The biggest tradeoff is cost. Enough power to drive lots of devices? Means a more expensive power supply that is wasted if you only drive 4 devices

Harsh Conditions protected? that means different glues and solders in the circuit board which is... More expensive

Watertight connectors? More expensive

Corrosion resistant components? More expensive..

 

etc. etc.

 

Now as to the device you are looking at

 

If you look at the datasheet on the concentrator you were looking at - it does NOT assign an IP address per device, rather there is an IP address for ALL the devices and these devices are then accessed the way you would access any "served" device. So it isn't really "USB over IP". What it really is - is what someone earlier described as "A PC that you plug the devices into and which uses an OS to share the devices". Its just that it is a very low cost PC (rack slot) and the OS has been pared down to do just that one thing.

 

USB 1.1 vs. 2.0 issues - a lot of that has to do with how the 2.0 device implements its "down protocol" - and how robust the 1.1 receiver is to data overrun errors. Theoretically it all works. In practice USB is used in either a dedicated manner for mission critical devices, or else it is considered a "consumer device" and data loss is considered "acceptable".

 

Dunno what to tell you about what you are trying to do. Other than you might consider looking at various industrial PLCs. Which while more expensie ARE more robust (except when Stuxnet II goes "into the wild") http://ab.rockwellautomation.com/Programmable-Controllers/Micro-and-Nano

http://www.automation.siemens.com/mcms/programmable-logic-controller/en/simatic-s7-controller/Pages/Default.aspx

http://hpsweb.honeywell.com/Cultures/en-US/Products/Systems/ModularSystems/default.htm

 

Wow, ok, very informative.

 

Actually, I already have Simatic PLC controls in there that control the hydraulics and pneumatics. That is a separate system (by the same manufacturer, Dutch, so Siemens....), the data acquisition is separate (mostly). The box I'm going to try now is this one from Aaxeon.

 

ute-404k_1.jpg

 

At $170 it is very affordable too.

Share this post


Link to post
Share on other sites

I wonder if you could plug something like this directly into a wifi AP box to broadcast gps, B&G, and other data to multiple sources? Several cool things about it, including a 7-24V DC input....

Share this post


Link to post
Share on other sites
I wonder if you could plug something like this directly into a wifi AP box to broadcast gps, B&G, and other data to multiple sources? Several cool things about it, including a 7-24V DC input....

Suggest you download the manual first - it operates the same way as the digi product and uses a HUB Server APP to manage the USB devices attached to it.

We use these sort of products for industrial projects and as mentioned above - they tend to either fan out the ports via software on the PC - or are individual usb to ethernet adaptors that do the conversion on a one to one basis. ie USB device to IP address. Serial device to IP Address.

When using the hubs that require software - you can sometimes run into issues with an emulated port running on the same box not being recognised.

And if you looking for this in a mission critical monitoring environment - I'd suggest go for the higher end range of gear as noted above by "BalticBandit" to get some reliability into your solution.

The lower the price of the device

The more chance it has of not always doing the same thing - all the time

Which typically occurs just about the same time you really need it to work. cool.gif

Share this post


Link to post
Share on other sites
I wonder if you could plug something like this directly into a wifi AP box to broadcast gps, B&G, and other data to multiple sources? Several cool things about it, including a 7-24V DC input....

Suggest you download the manual first - it operates the same way as the digi product and uses a HUB Server APP to manage the USB devices attached to it.

We use these sort of products for industrial projects and as mentioned above - they tend to either fan out the ports via software on the PC - or are individual usb to ethernet adaptors that do the conversion on a one to one basis. ie USB device to IP address. Serial device to IP Address.

When using the hubs that require software - you can sometimes run into issues with an emulated port running on the same box not being recognised.

And if you looking for this in a mission critical monitoring environment - I'd suggest go for the higher end range of gear as noted above by "BalticBandit" to get some reliability into your solution.

The lower the price of the device

The more chance it has of not always doing the same thing - all the time

Which typically occurs just about the same time you really need it to work. cool.gif

 

I don't know if this is giving out trade secrets, but do you have examples of companies that make appliances that don't rely on software and do the conversion on a one-to-one basis? That do as you say, USB to IP address, serial to IP address?

 

Thanks!

Share this post


Link to post
Share on other sites

As he said wink.gif

 

Typically the digi range does what we need.

Share this post


Link to post
Share on other sites

Thanks all. It's actually going into this system first:

 

SNC00304.preview.jpg

 

We've tried USB hubs, but when you have several mission critical high data flow USB appliances they wind up with conflicts on the USB bus which just isn't as robust as Ethernet.

 

In this rig there is a Siemens PLC system controlling hydraulics/pneumatics, with an ethernet box that allows it to be controlled remotely, a XP "man-machine interface" industrial touch screen computer that has "virtual" buttons to control the hydraulics. This system is also networked to the data acquisition computer (also XP), which is hooked up to the various sensors. They all interact, so that things on the PLC affect the data acquisition, and things in the data acquisition affect the PLC operation (emergeny stops, alarms, etc.). So a pretty complicated setup.

 

Then sailing-wise, I'm looking into ways of dealing with B&G's connectivity limitations. Without breaking the bank at the B$G store....

Since you've already gone the PLC route, why run the data acquisition through a Windows machine? A few I/O's fed to the PLC would be more reliable. I HATE getting Microsoft involved as a middle man when it's not necessary. To be fair, not knowing the gear involved, im not sure if this is possible.

 

Edit: who created that system? The data flow issues you're having make me curious.

 

Edit again: the more I re-read your description of the system, the more it annoys me. Maybe I'm missing something, but I'd probably get fired if I dumped a set up like that on a production line at work.

Share this post


Link to post
Share on other sites

everythings running on windows ( usually XP) BUT they use very little windows functions to stay out of trouble

Share this post


Link to post
Share on other sites
I wonder if you could plug something like this directly into a wifi AP box to broadcast gps, B&G, and other data to multiple sources? Several cool things about it, including a 7-24V DC input....

Suggest you download the manual first - it operates the same way as the digi product and uses a HUB Server APP to manage the USB devices attached to it.

We use these sort of products for industrial projects and as mentioned above - they tend to either fan out the ports via software on the PC - or are individual usb to ethernet adaptors that do the conversion on a one to one basis. ie USB device to IP address. Serial device to IP Address.

When using the hubs that require software - you can sometimes run into issues with an emulated port running on the same box not being recognised.

And if you looking for this in a mission critical monitoring environment - I'd suggest go for the higher end range of gear as noted above by "BalticBandit" to get some reliability into your solution.

The lower the price of the device

The more chance it has of not always doing the same thing - all the time

Which typically occurs just about the same time you really need it to work. cool.gif

 

I don't know if this is giving out trade secrets, but do you have examples of companies that make appliances that don't rely on software and do the conversion on a one-to-one basis? That do as you say, USB to IP address, serial to IP address?

 

Thanks!

 

Not specifically your application, but given my experience you might want to take a look at the MOXA line. We use their devices on two serial systems (12K+ devices) where we have both RS-232 and RS-485/4W mixed. The MOXA device uses virtual COM ports via the USB port. Ran successfully on XPPro sp3. Now running on Win7x86. Far more robust than either digi or comtrol. We tested both and they failed, miserably.

 

If you PM me, I can suggest a vendor who has very good service and prices. And no, it ain't my brother-in-law.

Share this post


Link to post
Share on other sites

Thanks all. It's actually going into this system first:

 

SNC00304.preview.jpg

 

We've tried USB hubs, but when you have several mission critical high data flow USB appliances they wind up with conflicts on the USB bus which just isn't as robust as Ethernet.

 

In this rig there is a Siemens PLC system controlling hydraulics/pneumatics, with an ethernet box that allows it to be controlled remotely, a XP "man-machine interface" industrial touch screen computer that has "virtual" buttons to control the hydraulics. This system is also networked to the data acquisition computer (also XP), which is hooked up to the various sensors. They all interact, so that things on the PLC affect the data acquisition, and things in the data acquisition affect the PLC operation (emergeny stops, alarms, etc.). So a pretty complicated setup.

 

Then sailing-wise, I'm looking into ways of dealing with B&G's connectivity limitations. Without breaking the bank at the B$G store....

Since you've already gone the PLC route, why run the data acquisition through a Windows machine? A few I/O's fed to the PLC would be more reliable. I HATE getting Microsoft involved as a middle man when it's not necessary. To be fair, not knowing the gear involved, im not sure if this is possible.

 

Edit: who created that system? The data flow issues you're having make me curious.

 

Edit again: the more I re-read your description of the system, the more it annoys me. Maybe I'm missing something, but I'd probably get fired if I dumped a set up like that on a production line at work.

 

Yeah, don't get me wrong, basically, I agree with you, however it isn't my choice how they do this part of it, I'm just trying to make it more robust than it had been.

 

I'm starting to think the main problem is the @#$%^!! software protection dongle (CodeMeter specifically) that is causing the majority of problems. I hate those damn things, and since you need to buy tens of thousands of dollars of their shit to even need to run the software, what is the damn point? Maybe they are using another vendor's data acquisition drivers?

 

Don't get it.

 

Anyway, thanks all for the advice, Bob D, I'm going to look into that. We are also looking at doing some more interesting stuff to be hardware neutral (if not independent), like setting it to run on a VM, which would make backing up and crash retrieval easier. Unfortunately, when you are operating off 12 and/or 24VDC inverters, it's hard to get enough power. Or rather, you can never have enough power....

Share this post


Link to post
Share on other sites

to me its the USB part that is not robust, if you can do multiport serial to serial/pci card or ip it never goes wrong.

Only thing you need to be careful with is update rate via anybodies concentrator if timing is an issue with your kit?

Many of them will only run at the speed of the slowest feed

Share this post


Link to post
Share on other sites

I'm wondering about that too, whether it is the USB on your motherboard that may only support the throughput of the slowest device on that particular bus.

 

I just got this box and tested the current draw (for potential future boat use). Right now it is 0.008amp at 12 volt.... I need to plug in a few appliances and hook it into a wireless AP to see what it does in anger....

Share this post


Link to post
Share on other sites

no its the concentrator not the connection technology to your pc, some state it in their documentation

Share this post


Link to post
Share on other sites

Well, overall, I was very, very pleased with this unit from Aaxeon, but it didn't take me long to realize I was doin' it rong. I was able to get it to recognize any USB device as an IP address mapped to a com port, and it could properly read anything that was a USB device inputting data (like a data stick, camera, or gps), but it would lock up if I tried to use an control device (mouse or keyboard) over the IP connection to control the computer,

 

I don't know if this is a universal problem for USB over IP, or just the software of this unit, but my guess is the former.

Share this post


Link to post
Share on other sites