Re: Problem with 'Port Number' for TCP/IP device



MarkfromSAGE wrote:I'm currently talking to a camera device using a serial connection from
LV7.1. (The device is used for reading 2D bar codes or datamatrices,
scribed into a glass plate with a laser).   This works well except
I suspect I am getting buffer overruns from the amount of data the
camera is sending back.  The manufacturer of the camera suggests I
use the ethernet connection as this should prevent this problem. 
I ran their software and the communication is fine - I can get all the
information I want via the network. 

However, when I try to put together a labview vi to establish a
connection to the networked device, I am forced to enter a remote port
number into the TCP open connection vi.  I don't know what this
should be.  Can anyone help me determine what it is?

Notes:  I successfully 'pinged' the device, so I know the IP
address.  The manufacturer's setup software makes no mention of
remote port number.  I am connected to the device via a hub, which
is also connected to my LAN. 
Altenbach had mostly said what is to
say about this. The port number of a device is a vital information that
belongs to the protocol specification of that device. Since you do not
have the port number it seems very likely that you do not have the
protocol specification yet. Finding out the port number is not
difficult but reverse engineering a binary protocol is almost like
trying to put together the original document after it went through the
shredder. Basically it is a no-go or there needs to be much economical
value behind it to justify the expense.

Your options are to get the protocol specification from the camera
manufacturer and if he is not cooperating (which is quite common as
most companies in image processing consider every piece of information
as highly important proprietary information) you should look for
possibilities to either embed their software (ActiveX for instance)
into your application or find such an interface from someone else who
might have gotten the specs after signing a deadly Non Disclosure
Agreement.
And of course remember this next time you need to buy image processing
hard- or software and take the availiiability of low level specs into
consideration. A cheap camera or software can get expensive if you
can't use the provided software for whatever reason and need to get (or
in worst case reverse engineer) a protocol or other solution to connect
the piece to your own prefered software environment.
Maybe in a long time from now even people in image processing will
understand that free flowing information is almost always better for
everyone involved.

Rolf Kalbermatter
.



Relevant Pages

  • Re: Failure To Recognize DV Camera
    ... If the camera, cable and host controller are all working, the only thing ... that I can think of is that you have a bad physical port on the computer. ... connection was made but if I released the connector the connection would be ... Under the heading IEEE 1394 Bus Host Controller ...
    (microsoft.public.windowsxp.moviemaker)
  • Re: nothing happens when trying to connect DV cam to computer
    ... the camera is using external power, not battery and this is the first time ... I don't use this connection for anything. ... trying to change that port so that it will recognize the camera? ... in a different spot the device manager says there is a network adapter ...
    (microsoft.public.windowsxp.video)
  • Re: My Computer wont recognize my device when I try to capture
    ... The USB port sometimes works sometimes doesn't but the DV port is the best ... The firewire connection through the DV port is faster and more reliable plus ... different than the USB port on the camera? ... It is probably either a problem with the firewire cable or card. ...
    (microsoft.public.windowsxp.moviemaker)
  • Re: usb wont read camera or mobile phone, but will read modem and
    ... the back USB slot, neither worked. ... My computer recognises the camera ... If I take my printer out of one of the ports and put it into another port ... On the Menu Bar click View> Devices by Connection. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Correction
    ... Normally to physically disconnect is just a matter of reaching for the ... >> I have an ADSL connection which polls my computer from time to time, ... > disallow each and every port with Windows Firewall? ...
    (microsoft.public.windowsxp.messenger)