
Piranha ES-Sx User Manual
Teledyne DALSA
03-032-20162-00
39
3.5 Diagnostics
Generating a Test Pattern
Purpose:
Generates a test pattern to aid in system debugging. The test
patterns are useful for verifying proper timing and connections
between the camera and the frame grabber.
Syntax:
svm i
Syntax Elements:
i
0
Video.
1
DCi = Integer ((i – 1) / 400) * 8) + 8
Where i = 1 to 12000
2
HORi = Modulus (DCi + Modulus (Modulus ((i – 1), 1600),
256), 256)
Where i = 1 to 12000
3
VERi = Row – 1
Where i = 1 to 12000
4
DIAGi = Modulus ((HORi + VERi), 256)
Where i = 1 to 12000
Notes:
•
Example:
svm 2 horizontal ramp line profile
Figure 10: Test Pattern