Skip to Main Content
Centro de soporte de Cognex
LogoLogo

How Can Data Be Written into a Text File from a DataMan Reader?

How can data be written into a text file from a DataMan reader?

31/10/2025

Question

How Can Data Be Written Into a Text File from a DataMan Reader?

Answer

  • Open the “DataMan Setup Tool” software : https://support.cognex.com/en/downloads/dataman/software-firmware
  • Navigate to the “Home” tab, then click on “Options”
  • In the “Data Logging” tab, specify a file path for “Result Code”: 

    How Can Data Be Written Into a Text File from a DataMan Reader_Image-1

  • Connect to the reader
  • In the “Result History” section, go to “Logging”, and select “Log all result codes to file system”:

    How Can Data Be Written Into a Text File from a DataMan Reader_Image-2

  • Present a readable code to the reader, and send a trigger :

    How Can Data Be Written Into a Text File from a DataMan Reader_Image-3

  • A new folder will automatically be created, using the name of the reader (e.g., “DM374-G”), containing a text file with the logged result codes:

    How Can Data Be Written Into a Text File from a DataMan Reader_Image-4