background image

 

 

2D Scan Engine 

MDI-4x00 / N210 Image Capture

 

 
 
 

 

 

 

 

 

 

 

 

 

 

This document describes image capture procedures 
for the imager scan engines MDI-4x00 and N-210 

 

Image Capture Manual 

                 

 

   

  

 

 

  

 

 

 
 
 
 
 
 

MDI-4x00                     

 

       N-210

 

Summary of Contents for MDI-4 00/N210 Series

Page 1: ...2D Scan Engine MDI 4x00 N210ImageCapture This document describes image capture procedures for the imager scan engines MDI 4x00 and N 210 Image Capture Manual MDI 4x00 N 210 ...

Page 2: ...products that are defective in materials or workmanship with proper use during the warranty period Opticon is not liable for damages caused by modifications made by a customer In such cases standard repair charges will apply If a product is returned under warranty and no defect is found standard repair charges will apply Opticon assumes no liability for any direct indirect consequential or inciden...

Page 3: ...vision History Specification No TBD Product name MDI 4x00 N210 Edition Date Page Section Description of Changes 1st 2022 10 20 Initial release 2nd 2022 11 23 front Added MDI 4100 picture and corrected product name 12 Removed reference to non exiting SDK ...

Page 4: ...ormat 1 2 1 2 Command Usage Precautions 1 3 Image Capture Mode 2 3 1 Functional Overview 2 3 1 1 Show Image Processing Settings 2 3 1 2 Change Image Processing Settings 3 3 1 3 Capture Image DE8 6 3 2 Operation Flow 9 3 3 Output Protocol 10 3 3 1 Image Information Format 10 3 3 2 Calculation of the checksum 10 3 3 3 Output Image 12 3 4 Special Instruction 12 ...

Page 5: ...nator ETX 03H is also possible Input examples 1 digit command Esc CR 2 digit command Esc CR 3 digit command Esc CR 4 digit command Esc CR 2 and 3 digits command Esc CR 2 1 2 Command Usage Precautions When sending multiple commands in a sequence the subsequent command is not received while the previous command is still being executed Since the RTS output will be in busy state while a command is exe...

Page 6: ...mage processing settings in the following format Format 1 T r i m 2 3 4 5 S u b 6 7 B p 8 J q 9 F f 10 T r 11 rR e 1213 Field No Field Size byte Effective range Details 1 Start Character 1 0x3B 2 Trimming Left 4 0 639 The top left and bottom right coordinates of the image part that will be transmitted 3 Trimming Top 4 0 479 4 Trimming Right 4 0 639 5 Trimming Bottom 4 0 479 6 Sub Sampling Horizont...

Page 7: ... Q0 Q0 Q0 Qf Set vertical subsampling f 1 2 4 1 Q3 Q0 Q0 Q0 Q0 Qf Set bit depth bits per pixel f 0 8 bits 256 values f 1 4 bits 16 values f 2 1 bits 2 values f 3 10 bits 1024 values raw data 0 Q4 Q0 Q0 Qd Qe Qf Set JPEG quality 100d 10e f 5 100 75 Q5 Q0 Q0 Q0 Q0 Qf Output format f 1 JPEG f 3 BMP 3 Q6 Q0 Q0 Q0 Q0 Qf Transmission mode f 0 PART f 1 ALL 0 Q8 Q0 Q0 Q0 Q0 Qf Reverse black and white f 0 ...

Page 8: ...row and column directions to compress the data size In the setting of horizontal 2 the data is thinned out by removing one column from each two columns as shown in the figure below The amount of information per line in the horizontal direction will then be 1 2 In the setting of vertical 4 the data is thinned out by removing three rows from each four rows as shown in the figure below The amount of ...

Page 9: ...0 bit 8 bit Extract upper 8 bits from 16 bits 8 bits per pixel 1 byte per pixel 4bit Extract upper 4 bits 4 bits per pixel 1 byte per 2 pixels 1bit Extract upper 1 bit only 1 bit per pixel 1 byte per 8 pixels JPEG quality Quality of JPEG conversion is configured When lower quality is set the amount of information decreases but the image quality also decreases Output format Output format of JPEG or...

Page 10: ...t setting may not be required depending on the configured Capture mode Command Description Effective value DE8 Qa Qb Qc Qd Enter image capture mode m Select capture mode m a 0 1 2 3 n Set timeout seconds n 100b 10c d 0 999 Example of command transmission Commands in conjunction mode ESC DE8Q0 CR Example of command transmission Trigger Capture 2 timeout 15 seconds ESC DE8Q2Q0Q1Q5 CR m Select captur...

Page 11: ...gures are Active Low and Capture includes Output m 0 Commands in conjunction mode Image Capture Aiming Trigger Image Capture Mode m 1 Trigger Capture 1 Image Capture Aiming Trigger Image Capture Mode m 2 Trigger Capture 2 Image Capture Aiming Trigger Image Capture Mode m 3 Trigger Capture 3 Image Capture Aiming Trigger Image Capture Mode ...

Page 12: ...rigger input during timeout period t image capture mode is turned off after the t expires Normal decoding will then be performed by subsequent trigger inputs In Trigger Capture 2 mode the trigger needs to be released during the period of t to take a picture If it is not released the aiming stops after t expires and Image Capture mode is turned off If the trigger is released no operation is perform...

Page 13: ... capture mode Capture image Transmission Send ImageInformation Information PART Send ImageInformation Information Data ALL Receive response Resend NAK ACK Receive response Resend NAK Resend NAK ENQ Retry transmission Repeat till last line Send ImageInformation Data line by line Receive response ACK Transmission complete ETB Transmission complete CAN Stop transmission ETB Transmission complete CAN ...

Page 14: ...at are sent continuously this field is incremented sequentially Length 4 The size of A A Information Information of image Data Image itself PART transmission mode send line by line ALL transmission mode send an entire image Check Sum 2 Calculated according to the method described below End Character 1 CR 0x0D Refer to next page for each format 3 3 2 Calculation of the checksum Description The chec...

Page 15: ...1 3 File format 1 JPEG 3 BMP 15 Shot Left 2 0 751 Leftmost coordinate of raw image 16 Shot Top 2 0 479 Top edge coordinate of raw image 17 Shot Right 2 0 751 Rightmost coordinate of raw image 18 Shot Bottom 2 0 479 Bottom edge coordinate of raw image 19 Binning Horizontal HW 1 1 Subsampling value in horizontal direction for capture 20 Binning Vertical HW 1 1 Subsampling value in vertical direction...

Page 16: ... the image itself Data Packet 0 Start Char rec No 0 Length 256 Information Check Sum End Char Packet 1 Start Char rec No 1 Length Data Check Sum End Char Packet n Start Char rec No n Length Data Check Sum End Char 2 ALL transmission The image information information and the image itself Data are all send in the first packet Packet 0 Start Char rec No 0 Length Information Data Check Sum End Char 3 ...

Reviews: