NED
U M-0099-03
RMSL6K17GE
63
4.4 Calculating the Maximum Value of Packet Delay
The maximum value for the packet delay setting can be calculated as below.
In order to achieve the desired frame rate without dropping frames, it is necessary to
set a value smaller than the maximum packet delay.
Payload Size = Width x Height x (No. of Bytes/pixel)
Mono8
:
1 Byte/pixel
Mono10
:
2 Bytes/pixel
Mono10Packed
:
1.5Bytes/pixel
No. of packets in 1 frame = Payload Size / (Packet Size-Data Header:36 Bytes)
Transfer time for 1 frame=(Payload Size+No. of packets/frame x Data Header)
/Gigabit Ethernet Transfer Rate (Max 125 Mbyte/s)
Notes:
The maximum Gigabit Ethernet transfer rate may vary depending on the
processing power of your PC and NIC. Allowing some margin, it is recommended
to calculate around 110~120 Mbytes/s.
1 Frame Scan Period = 1 Line Scan Period x Height
1 Frame Time Margin = 1 Frame Scan Period - 1 Frame Transfer Period
Packet Delay Time = 1 Frame Time Margin / No. of packets/frame
Max. Packet delay value = Packet Delay time [ns] x 60 / 1000
e.g. Minimum scan period at 4096 pixels (Width: 4096, Height: 2048, Mono8,
1 Line Scan Period: 37.3us. Packet Size: 4000, Transfer Rate: 120Mbyte/s
)
Payload Size
= 8388608 (Bytes/Pixel)
No. of packets/frame
= 2117
Transfer Period for 1 frame = 70540 [us]
1 Frame Scan Period
= 76390 [us]
1 Frame Time Margin
= 5850 [us]
Packet Delay Time
= 2391 [ns]
Packet Delay Setting Value =
143
(Framerate = 13fps)