Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ Error - Serial Port Error on Camera Serial Command

I am trying to use camera serial commands that embedded in icd file. I got the following error:

 

Error0xBFF6003B

 

Serial Port Error.

 

Command Sent: !=3\r

Expected Response: G=3\rA=52437056\rB=52169323\rH=52169323\r\S=-1\r.....\xce\xe8\...x01\r>Ok\r

Actual Responose:  G=100\rA=0\rB=0\rH=3\rS=0\rT=0\rI=105\rM=1\rO=0\rP=0\rQ=0\rR=0\rPLICamera CCD\r>Ok\r

 

 

Below is from my .icd file thatcause the trouble:

 

    Attribute (Camera Config) {
      Value (Integer) {
         Min (0)
         Max (8)
         Increment (1)
         Display {
            Offset (0.000000)
            Multiplier (1.000000)
            Precision (0)
            Units ([0;8])
         }
         Default (3)
         Current (3)
         Action (Serial) {
            Command (!=%d\r)
            Response (G=%d\rA=%d\rB=%d\rH=%d\rS=%d\rT=%d\rI=%d\rM=%d\rO=%d\rP=%d\rQ=%d\rR=%d\r%s\r>Ok\r) 
         }
      }
   }

 

 Do you have any idea why I getting the garbage in Expected Response line?

 

Thanks,

Polarfox

 

 

0 Kudos
Message 1 of 4
(3,876 Views)

Hi polarfox,

 

What camera and framegrabber are you using?

 

Jeff | LabVIEW Software Engineer
0 Kudos
Message 2 of 4
(3,856 Views)
I use Aviiva SM2 CL linescan camera.
0 Kudos
Message 3 of 4
(3,821 Views)
Which cameralink board are you using? And which specific model of that camera are you using? I don't see one without a number in the SM2 CL line here.
Jeff | LabVIEW Software Engineer
0 Kudos
Message 4 of 4
(3,800 Views)