07-21-2005 04:20 PM
07-21-2005 04:34 PM
07-21-2005 04:36 PM
Oops:
1. Get proper cable
2. Get command set for camera and proper port setting from it's manual or manufacter
3. Test 1 and 2 using HyterTerminal to seet if you have proper camera responses
4. Search LV help for serial examples, write your vi
07-26-2005 12:30 PM
(The camera protocol is attached.)
Here’s the sequence that I’ve used:
1) sent 05h (ENQ) to the camera
2) read 06h (ACK) from camera
3) sent 0220 0202 0100 0000 0000 0000 0000 0000 03EC 6E (set AGC to 12 db) to camera
4) read 15h (NAK) from camera
Have I calculated the CRC-16 correctly on 20 0202 0100 0000 0000 0000 0000 0000 03 0000 0000?
07-26-2005 12:52 PM
07-26-2005 01:01 PM
07-26-2005 01:27 PM
Funny, the manual doesn't specifically say what NAK is (I presume Not Acknowledged)
Another possible route- use LV Active X automation with JAI's free software at:
http://www.jai.com/camera/software_show.asp/id=83&produktid=222&sprog=uk
Hyperterminal is part of Windows under Accessories/Communications (at least in Win2K)
07-27-2005 02:32 PM
07-27-2005 06:27 PM
It worked with ActiveX via the JAI camera tool. I can set those darn camera parameters to my heart's content.
Thanks very much for your brilliant suggestion!