.:tutorialsM300SerialDataOut:home
Tutorial: Checking Serial Output from M300 Data Acquisition System
Often instruments require data from the M300 Data Acquisition System and the instrument will not work correctly without such information. The goal of this tutorial is to show how to check the output from the M300 to see if it is correct.
For this tutorial, we'll use data being sent from the M300 Data Acquisition System to an SFMR instrument via serial port /dev/ser21 using the port configuration of 9,600 bps, 8 data bits, No Parity, 1 stop bit, which is also know as 9600 8N1 configuration. This is the most standard configuration for instruments; however, there are many different configuration used with instruments connected to the M300. The data set out to the M300 is configured using the sfmr_aux.asc file.
To check the data being sent out from the M300, there are two option:
- Option 1 - Disconnect the serial data line from the SFMR and connect it laptop to see what, if any, data is coming out.
- Option 2 - Use the same configuration file and change the M300 to create a data file with this information in addition to sending the data to the serial port.