Class CSVEventStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable, Iterable<Event>, EventStream

    public class CSVEventStream
    extends Object
    implements EventStream
    An event stream backed by a CSV file. CSV file format is the one used by Bob Hall for export from ChannelArchiver - EPICS epochseconds, nanos, value, status, severity. Example: - 644223600,461147000,5.59054,0,0
    Author:
    mshankar
    • Constructor Detail

      • CSVEventStream

        public CSVEventStream​(String pvName,
                              String fileName,
                              ArchDBRTypes type)
        Create a CSVEventStream backed by a file. As we cannot tell the DBR type from the file alone, we need to specify the DBR type as part of the constructor.
        Parameters:
        pvName - The name of PV.
        fileName -  
        type - ArchDBRTypes