02-27-2007 04:11 PM
02-28-2007 03:25 PM
Steve,
This seems like it could have several different causes: 1. Camera Commands – Take a look at the commands your camera accepts. Make sure that you are sending the appropriate commands and that everything is case correct. You might be able to find specific step by step instructions in the manufacturer’s manual for the camera. Make sure to follow these precisely. 2. Termination Characters – Find out if the camera requires any termination characters that you may not be sending. It may not respond until it receives on of the termination characters. 3. Delay – Try increasing the delay before reading in order to give the camera a chance to respond to the command you have sent. Please let us know how things go and if you have any further questions or concerns.Regards,
Luke H
02-28-2007 04:08 PM
03-01-2007
06:07 PM
- last edited on
04-04-2025
09:04 AM
by
Content Cleaner
Steve,
What kind of camera are you using and what camera attributes are you trying to set? The reason I ask is that serial communication with Camera Link cameras is normally taken care of in the camera file.
You are probably aware of this, but a camera file maps a standard set of IMAQ functions to any number of vendor-specific camera commands. In other words, the camera file tells NI-IMAQ how the camera organizes the pixels, what attributes the camera supports and how to change them. You can also download camera files from our web-site via ftp at the following address: https://download.ni.com/#support/imaq/camera_support/camera_files/.
In order to support as many cameras as possible, the IMAQ driver uses a specific camera file for each camera. NI is constantly working on creating new camera files, but it is impossible to include every camera-specific command in every camera file. If there is a special or undocumented serial command that you wish to use with your camera, you may consider updating the existing camera file with the new command using the NI Camera File Generator.
The other option that you may be able to use would be to use the NI-IMAQ driver imgSessionSerialWrite/Read functions. I’m not sure if any of this matters at all with the baud rate barrier you seem to be encountering, but hopefully it helps.
Regards,
Luke H
03-01-2007 06:40 PM