
文章插图
camera link线缆说明线缆、接插件的选用对于系统的最终性能测试非常关键 , 因此要求较高的系统必须选用可靠的线缆 , 推荐使用市场标准线缆 , 尽可能不要自定义线缆 。
接插件MDR26采用MDR26接插件 , 共26个pin脚 ,

文章插图

文章插图

文章插图
线缆及其测试

文章插图

文章插图

文章插图
关键术语参考Pixel Depth像素采样深度 , 一般有8 , 10 , 12 , 14 , 16几种选择 , 指代一个像素对应的bit位数;
Pixel Clockcameralink的时钟 , 时钟应当允许被disable , 时钟支持5-85MHz不同速率;
Taps/ Geometryhttps://www.baslerweb.com/fp-1510660945/media/downloads/documents/framegrabber_designers/AW00099004000_ace_beat_Camera_Link_Info_Frm_Grab_Designers.pdf
参考basler 的手册说明 , 我们的simulator计划支持下面2种格式 , 其它的格式在未来支持medium模式时再引入 。
1X2-1Y表示在X方向 , 一次发送2个像素 , 在Y方向 , 一次发送一行 , 按照逐行扫描的顺序向外发送 。
1X2-1Y Geometry – 8, 10, or 12 Bit Pixel DepthThe characteristics of the 1X2-1Y tap geometry are:
- On each cycle of the Camera Link pixel clock, the data for two pixels are transmitted via the Camera Link interface. This is commonly referred to as a "two tap" Camera Link configuration.
- The camera will begin transmitting data from sensor line one. It will transmit the data for the first two pixels in line one on the first Camera Link pixel clock cycle, the next two pixels in line one on the second pixel clock cycle, the next two pixels in line one on the third clock cycle, and so on until the line is complete.
- When line one is complete, transmission of line two will begin and will proceed in a similar fashion. Data transmission will continue line-by-line until all of the data for the image have been transmitted.

文章插图

文章插图
1X3-1Y Geometry – 8 Bit Pixel Depth

文章插图
Trigger触发有开始触发、帧触发 , 触发类型分为立即触发、软件触发、上升沿触发、下降沿触发、高电平触发、低电平触发 。
/// <summary>trigger类型</summary>
public enum CL_TRIGGER_TYPE
{
START_TRIGGER = 0,//START TRIGGER , 开始触发
FRAME_TRIGGER = 1,//Frame trigger , 每来1次 , 触发一次输出
};
/// <summary>camera link触发模式</summary>
public enum CL_TRIGGER_MODE
{
CL_SOFT_TRIGGER = (0x1 << 0),//software trigger
CL_RISING_EDGE_TRIGGER = (0x1 << 1),//rising edge trigger
CL_FALLING_EDGE_TRIGGER = (0x1 << 2),//falling edge trigger
CL_HIGH_LEVEL_TRIGGER = (0x1 << 3),//high level trigger
CL_LOW_LEVEL_TRIGGER = (0x1 << 4),//low level trigger
CL_IMMEDIATE_TRIGGER = (0x1 << 5)//immediate trigger
经验总结扩展阅读
- 九 前后端分离项目:实现"添加"功能(后端接口)
- .NET API 接口数据传输加密最佳实践
- node.js:《接口实现文件的上传和下载》
- OpenAPI 接口幂等实现
- Java函数式编程:一、函数式接口,lambda表达式和方法引用
- 二 网络工程知识VLAN的基础和配置:802.1q帧;Access、Trunk、Hybrid接口工作模式过程与配置;VLANIF的小实验
- Magnet: Push-based Shuffle Service for Large-scale Data Processing
- Linux 文件操作接口
- Dubbo 03: 直连式 + 接口工程
- Linux 下搭建 HBase 环境