Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

how to set up Serial Communication

Hi,

 

I just acquired a new camera but the camera manufacturer does not provide me with camera control utility.

So, I downloaded Putty to establish serial communications with the camera through the frame grabber, and I am not sure what to put in as my Serial Line.

When I first open Putty, my default serial line in COM1 BUT I don;t think it's correct.

 

Could someone please help me what should I do to establish serial communications with the camera?

 

Thank you 

0 Kudos
Message 1 of 7
(4,724 Views)
Can you get the camera to grab in max? What is the interface name mentioned in max?
0 Kudos
Message 2 of 7
(4,711 Views)

Yes I can get the camera to grab in max. Also the interface name img0

 

Pat

0 Kudos
Message 3 of 7
(4,701 Views)

Hello,

 

Exactly what hardware are you using and how do you have everything connected? What do you want to be able to do via the serial communication?

 

-Zach

0 Kudos
Message 4 of 7
(4,674 Views)

Hi Zach,

 

The camera is connected to the frame grabber via Camera Link Cable (Base configuration). The camera manufacturer does not provide me with camera control utility and they recommend me to use any Terminal Program (e.g. HyperTerminal).  I decided to use Putty to send serial commends to the camera to configure. When I first open Putty, my default serial line is set to COM1 BUT I don't think it's correct.

 

I don't know if Putty is the right choice for this and I am not sure what I should enter instead of COM1 to send the commends.

 

Thank you 

0 Kudos
Message 5 of 7
(4,665 Views)

Hello,

 

I cannot give recommendations on how to use other programs to communicate with the camera. LabVIEW has the ability to send serial commands, but if you want to use something like Putty, you would need to consult their documentation. A quick Google search yielded the following references:

http://the.earth.li/~sgtatham/putty/0.60/htmldoc/Chapter3.html

http://www.vaisala.com/files/Using%20PuTTY%20terminal%20application%20with%20Vaisala%20instruments.p...

 

-Zach

0 Kudos
Message 6 of 7
(4,641 Views)

Pat,

 

The IMAQ boards do not emulate a virtual serial port (e.g. COM1). They are accessible via the IMAQ API, serial commands embedded in IMAQ camera files, and also the standardized "clallserial" API that most framegrabbers support. Typically the camera vendor provides some configuration utility that accesses the camera via the clallserial interface.

 

In this case, you would probably want have your application send serial commands you need.

 

Eric 

0 Kudos
Message 7 of 7
(4,634 Views)