In the specification of spectrometer, read instruction or control instruction should be written, and data format should be defined. These data formats are some kind of protocol. If it is a simple serial port, after the reading instruction is issued, the spectrometer will send data to the upper computer, and then the upper computer can read it with the serial port of LabVIEW.