Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Parsing of CSV files

    Scheduled Pinned Locked Moved
    Firmware wishlist
    1
    1
    92
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • OwenDundefined
      OwenD
      last edited by

      It would be handy if we could parse a CSV file for values in a similar way that the filaments.csv file is used.

      One usage case that springs to mind would be a centralized location for active & standby temps for different filaments
      eg

      ;filament temp table
      Filament,active,standby
      ABS,250,90
      PLA,175,60
      NYLON,260,150
      

      This would likely require a new M code which could be passed the target value and column to return.
      e.g.

      M9** S"0:/temps/filement_temps.csv"  T"ABS" P2 <- return column 2
      or 
      M9**  S"0:/temps/filement_temps.csv" T"PLA" P"standby" 
      
      1 Reply Last reply Reply Quote 1
      • First post
        Last post
      Unless otherwise noted, all forum content is licensed under CC-BY-SA