Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Camera link serial connection vi - simple program not working

Solved!
Go to solution

I have a very simple program, attached here.

The command, 'gcp' which is sent via IMAW Serial Write should return a bunch of text detailing the settings of the camera. Whenever it runs, the Serial Read times out.

 

I've looked through several examples of how to use the IMAQ Serial Write and Serial Read functions, including several threads here, but I still haven't managed to find anything to indicate where I've gone wrong.

 

Please take a look and tell me what you think. Thanks in advance.

 

Setup:

Windows 7

LabVIEW 2011

NI PCIe-1427 frame grabber

Dalsa 1M30 camera, Camera Link

0 Kudos
Message 1 of 2
(2,932 Views)
Solution
Accepted by topic author James Fr

Hi,

Did you check the command syntax you must send to your camera?

Each camera vendor has its own syntax.

Sometimes, you just have to add a carriage return at the end of your string command.

serialwrite.jpg

 

Hope this helps

Kind regards

NTA_LabView_certified_Developper.jpg
Message 2 of 2
(2,928 Views)