Auto-Export data from Vista to an external data collection system

Follow

 

(Using Essentials Revision 15)

(There is a printable .docx of the procedure attached at the end of this article)

 

Method #1 - For Direct Connection between Vista and Computer

1) Materials Needed

a) Vista Firmware needed: 01.0014 and above

b) Hardware needed: Ethernet cable, Crossover adapter, Ethernet to RS-232 Connector, RS-232 to USB (optional)

Figure 1- Ethernet Cable

 

 

Figure 2- Crossover Adapter

 

Figure 3- Ethernet to RS-232 converter for Connection via Serial port

 

Figure 4- RS-232 to USB converter for connection via USB port

 

2) Configure Ethernet to RS-232

  • Set up Ethernet to the RS-232 adaptor with static IP address and Port Number.
  • In this example, the adapter was configured with IP address of 192.168.0.100 and port 10001.

3) Connect Vista to Computer:

  • Plug Ethernet cable (Figure 1) into RJ-45 ethernet connection at rear of Vista. Plug other end of cable into Crossover Adapter (Figure 2).

EthernetPort.png

Figure 5. Rear View of Vista

 

  • Plug Crossover Adapter into ethernet port of Ethernet to RS-232 adaptor (Figure 3).
  • Plug Ethernet to RS-232 adaptor into serial port of computer (if D-9 serial port is present) or into RS-232 to USB converter for connection to USB port. Plug power into Ethernet to RS-232 adaptor.

CableConfig.png

Figure 6. Cable Configuration for Direct Computer Connection

 

 

4 ) Configure the Vista: (Requires Essentials Rev 14 or higher)

  • Configure the ethernet port of Vista. Select Jobs Menu> Preferences and Select ‘Configure Network Settings’.  Uncheck “Use DHCP for Ethernet Config” and enter a valid IP address for the Ethernet port. In this example, the following parameters are selected.

IP Address:  192.168.0.110

Subnet Mask:  255.255.255.0

Gateway:  192.168.0.1

Preferred DNS:  192.168.0.1

Alternate DNS:  192.168.0.1

Figure 7. Configuration Parameters for Ethernet

 

  • Press Apply on the Ethernet Configuration and then Apply on the Preferences Page to complete.
  • Go to Jobs Menu> Preferences, check “Automatic Network Data Export” and click to configure.

                

Figure 8. Preferances>Automatic Network Data Export

 

  • For a direct connection between Vista and data collection computer, set up the Vista as a Client.
  • Set the IP Address to match the settings of the Ethernet to RS-232 converter, in this case 192.168.0.100 and the Port as 10001. Press Apply and then press Apply on the Read Options screen to continue.

                                         

Figure 9. Read Options Export

 

 

  • Vista is now ready to send data.

 

5) Configure the Computer:

  • Connection configurations differ depending on data collection software. In this example, Hyperterminal is used to demonstrate connectivity. 
  • The data collection computer will be set up as a Server.
  • Connect as follows:
    1. Select the Com port that represents the USB or Serial port connection.
    2. Define the Connection:
    3. Bits per second: 9600
    4. Data Bits: 8
    5. Parity: None
    6. Stop Bits: 1
    7. Flow Control: None

 

6) Send Data from the Vista:

  • Configure the Color Data Table with the color scale and parameters to be transmitted.
    1. Standardize the Instrument
    2. Select Color Scales, Indices & Illuminant/Obs (Workspace>Color Scales)
    3. Hit Read Button, data will be transferred to the computer.

Figure 10. Data Output

 

The data string is shown as follows:

<STX><PACKET SIZE>$T<SCALE-LABEL>$T<ill/Obs>$T<LABEL NAME1><$T><VALUE1>$T<LABEL NAME2><$T><VALUE2><$T><LABEL NAME3>$T<VALUE3>$T ..... <LABEL NAME N><$T>

<VALUE N>$T<CHKSUM><ETX>

 

Where,

<STX> is the Start of Text (value =0x02)

<ETX> is the End of Text (value =0x03)

$T is the default delimiter.

<SCALE-LABEL> is the Scale Label (e.g. CIELAB)

<ill/Obs> is the ill/Obs name (e.g. D65/10)

<PACKET SIZE> is the Total size (HEX String) of the Packet excluding the <STX> and <ETX>

<LABEL NAME> is the label name (e.g. L*, a*, b*, dE* etc..)

<VALUE> is the value for the preceding Label Name

<CHKSUM> is the Checksum (HEX String) - the sum of all the ASCII values in the total packet play load starting from <PACKET-SIZE> and till <CHKSUM>

 

 

Method #2 – To export data through a network

1) Materials Needed

Vista Firmware needed: 1.01.0014 and above

Hardware needed: 

  • Ethernet cable plugged into the back of the Vista and the other end to a network hub. Note that the computer must be connected to the same network as the Vista.

 

Figure 11- Ethernet Cable

 

2) Configure the Vista:

  • Set up the Vista as the Server. Go to Preferences and select Automatic Network Data Export using a check and select Configure.  Choose Vista as Server and put Port number as 11111.

                    

Figure 12. Jobs>Preferances>Ethernet Configuration

 

 

  • To define the data export, go to Jobs> Preferences and Select ‘Configure Network Settings’. Uncheck “Use DHCP for Ethernet Config” and enter a valid IP address for the Ethernet port

IP Address:  the IP address of the Vista can be determined from the on-board Diagnostics program.

Subnet Mask:  255.255.255.0

Gateway:  192.168.0.1

Preferred DNS:  192.168.0.1

Alternate DNS:  192.168.0.1

  • Press Apply on the Ethernet Configuration and then Apply on the Preferences Page to complete.
  • The Vista is now ready to send data.

EtherConfig2.png

Figure 13. Jobs>Preferences>Ethernet Configuration

 

 

3) Configure the Computer Using HyperTerminal Software

  • Go to the computer and open HyperTerminal.
  • Make a new connection:
    1. Enter a name for the connection

 

 

Figure 14. Setup for Hyperterminal

 

Connect using TCP/IP(Winsock)

Enter the Vista IP address and Port Number

 

Figure 15. HyperTerminal Connection to Vista

 

 

Send Data from the Vista:

  • Configure the Color Data Table with the color scale and parameters to be transmitted.
    1. Select Color Scales, Indices & Illuminant/Obs (Workspace>Color Scales)
    2. Standardize the Instrument (Workplace Standardize)
    3. Read sample and the data on the computer.

Figure 16. Data from Vista through Ethernet Connection

 

The data string is shown as follows:

<STX><PACKET SIZE>$T<SCALE-LABEL>$T<ill/Obs>$T<LABEL NAME1><$T><VALUE1>$T<LABEL NAME2><$T><VALUE2><$T><LABEL NAME3>$T<VALUE3>$T ..... <LABEL NAME N><$T>

<VALUE N>$T<CHKSUM><ETX>

 

Where,

<STX> is the Start of Text (value =0x02)

<ETX> is the End of Text (value =0x03)

$T is the default delimiter.

<SCALE-LABEL> is the Scale Label (e.g. CIELAB)

<ill/Obs> is the ill/Obs name (e.g. D65/10)

<PACKET SIZE> is the Total size (HEX String) of the Packet excluding the <STX> and <ETX>

<LABEL NAME> is the label name (e.g. L*, a*, b*, dE* etc..)

<VALUE> is the value for the preceding Label Name

<CHKSUM> is the Checksum (HEX String) - the sum of all the ASCII values in the total packet play load starting from <PACKET-SIZE> and till <CHKSUM>

 

 

 

Was this article helpful?
0 out of 0 found this helpful

Comments

  • Avatar
    Norman Whetzel

    Updated March 14th, 2017

Powered by Zendesk