11-09-2012 08:00 AM
Here's where you can find the headers/libs for the clallserial interface:
http://sourceforge.net/projects/clallserial/
I was able to download the attached zip which has the source and headers, but I would actually recommend using a baud rate of 9600. This is what Basler cameras start at when powered on, and this is why we chose this value in the camera file. When you launch Pylon, it changes the baud rate to the higher value, so this is why the serial commands from MAX no longer work. You can change the baud rate in Pylon so it matches the camera file's 9600 value. Another option would be to unselect the "Enable Serial Commands" box in MAX under the Camera Atttributes tab when your camera is selected, but then you will have to use Pylon for all your edits and you will not be able to make changes programmatically (even using the low level serial write will still use the 9600 value from the camera file, so that's why I recommend you just stick with 9600 and if you need to launch Pylon, make sure to change the baud rate there to 9600).
Hope this helps,
Brad