background image

 

 

3  Communications protocol 

3.1  USB 

The MSE colorimeter can be connected to any USB host. The colorimeter 
is a USBTMC compliant device which is a standard USB class device and 
device  drivers  for  this  class  are  available  for  most  popular  operating 
systems  (also  embedded).  This  makes  the  MSE  colorimeter  directly 
usable  in  popular  programming  languages  like  NI's  Labview  and 
Labwindows but als C++, Visual basic, C#, Java etc. The MSE colorimeter 
has  two  interfaces  build  in,  which  require  a  different  device  driver  to  be 
used.  

 

Admesy bootloader  

(USB RAW device driver Vendor ID : 0x23CF, Product ID 0x0E92)  

 

MSE colorimeter  
(USBTMC device driver Vendor ID : 0x23CF, Product ID 0x0EA0)  

 
When  the  MSE  colorimeter  is  connected  to  the  host,  it  will  start  the  MSE 
colorimeter  firmware.  As  soon  as  the  firmware  is  idle  to  receive 
commands, the Power LED goes to the on state. The Admesy bootloader 
is a RAW USB device and in order to use this device in Windows, a driver 
must be installed which is supplied by Admesy. Besides upgrading to new 
firmware, it is also allowed to downgrade firmware in case this is required. 
Note  that  older  firmware  also  may  require  the  use  of  older  software 
libraries  and/or  executable  versions  of  software.  The  MSE  colorimeter  is 
USBTMC compliant and can be used with libraries that contain a USBTMC 
compliant  driver  like  NI-VISA.  The  MSE  colorimeter  is  a  USB  2.0  Full 
speed device. In case a USB host is detected, it is assumed that the MSE 
colorimeter operates only via USB.  

 

 

 

3.2  RS232 

MSE  commands  are  equal  for  all  interfaces.  Note  that  for  high  speed 
transfers it is best to use USB. When RS232 will be used, the device mode 
should be set to RS232. This is done via software and stored in the device 
EEPROM memory.

 

 

 

Содержание MSE Series

Страница 1: ...MSE colorimeter operating manual...

Страница 2: ...commands 10 5 5 White point references 12 5 6 Measurement commands 13 5 7 User EEPROM commands 14 5 8 Returned results 15 6 Measurement example 16 7 Auto ranging 17 7 1 Introduction 17 7 2 How auto r...

Страница 3: ...isplay production facilities or the adjacent R D departments to handle white point adjustment uniformity flicker reaction time and general colour quality control 1 2 MSE highlights Absolute colour mea...

Страница 4: ...external provided USBTMC compliant drivers Currently it has been tested on Windows Linux and Apple OSX using NI VISA www ni com visa and using the open source drivers on Linux i686 x86_64 and ARM Refe...

Страница 5: ...ded to connect the MSE colorimeter to any host that doesn t provide USB or for which no USBTMC drivers exist Using RS232 the high speed options of the colorimeter are still available only transfer of...

Страница 6: ...Trigger in timing Trigger pulses arriving faster than the MSE can measure will be ignored but it may slowdown overall performance Trigger pulses should not arrive faster than the measurement takes to...

Страница 7: ...are As soon as the firmware is idle to receive commands the Power LED goes to the on state The Admesy bootloader is a RAW USB device and in order to use this device in Windows a driver must be install...

Страница 8: ...64bit Linux ARM Not available Linux other Not available Table 3 Supported operating systems 1 Not tested Available but not tested by Admesy 2 Native Kernel Driver included with OS 2 Windows XP SP3 is...

Страница 9: ...e command tables show commands in long and short format The short format is specified by upper case characters It is allowed to use long and short format or a mixed format Optional keywords are shown...

Страница 10: ...tus and error commands should not be used in standard programs They are not necessary when programming has been done correctly They are available in case a problem occurs during development The RST co...

Страница 11: ...0 open 1 close SENSe SHUTTER None Returns shutter state SENSe REALINT None Returns the real integration time used in auto ranging mode Command syntax Parameters Range Purpose SENSe MAXINT 1000 5000000...

Страница 12: ...0000 60 9432 D42 98 7058 100 0000 65 4253 D50 96 42 100 0000 82 51 D55 95 68 100 0000 92 14 D65 95 04 100 0000 108 88 D75 94 97 100 0000 122 61 D90 95 2270 100 0000 138 5514 D95 95 3315 100 0000 142 9...

Страница 13: ...imes meaning a delay of one will skip one sample Note When using high sample amount or long integration times make sure timeout values in the application software are set accordingly Note The SAMPLE f...

Страница 14: ...000000 Copies internal variables to EEPROM and sets mode and amp factor EEPROM SBW READ User matrix Index 1 Index 2 0 29 0 2 0 2 Read user calibration matrix EEPROM SBW WRITE User matrix Index 1 Index...

Страница 15: ...lues MEAS command dt f n Clip f n Noise f n Value1 f n Value2 f n Value3 f n Table 11 Return result MEAS command Exceptions to the above are the MEASure TEMPerature MEAS Y and SAMPle Y commands MEASur...

Страница 16: ...initialization routine of the host software A typical measurement example of XYZ would include the following commands as shown on the right Fig 4 Measurement example Action may be performed in a loop...

Страница 17: ...vel may be lowered a little the value of adjmin can be decreased When the MSE measures in auto range mode it can happen that the found integration time is very low For example when measuring white it...

Страница 18: ...e used to allow only a maximum measurement time Of course this affects stability longer measurement is always more stable but again this is a trade off for production environments to save on test time...

Страница 19: ...e shows the timing results of measuring all 24 colours so the total time for 24 patterns is shown This time does not include the waiting time 200ms for the pictures to become stable so this is purely...

Страница 20: ...er settings can be saved as preset and are loaded when the instrument is started However it requires the right settings to be set in advance This can be done though the Admesy Iliad application and se...

Страница 21: ...the gamma measurement is developed speeds up the measurement significantly when using auto ranging in combination with the feedback function There are a lot of ways to fine tune the MSE for each appli...

Страница 22: ...E colorimeter to perform conversion from XYZ to other colour spaces Since the MSE internal processor is usually slower than the host system it is recommended to do colour space conversion on the host...

Страница 23: ...y colorimeter application The MSE has two commands available for flicker measurement each with different calculation method MEASure FLICker This method is based on the RMS of the AC component 1 2 1 0...

Страница 24: ...mode is still active Therefore it is recommended to set it to USB mode so that the MSE responds in the fastest possible way to commands The operating mode must be selected via the Admesy Iliad applica...

Страница 25: ...ubject to change No rights can be derived from the content of this document All rights reserved No part of this document may be reproduced stored in a database or retrieval system or published in any...

Отзывы: