Skip to content

Home > resol-vbus-core-toolbox-scripts > recordingWriter > RecordingWriter

recordingWriter.RecordingWriter class

Writes VBus data into a file according to the VBus Recording File Format.

Signature:

typescript
export declare class RecordingWriter

Constructors

Constructor

Modifiers

Description

(constructor)(options)

Create a new RecordingWriter.

Properties

Property

Modifiers

Type

Description

filenamePattern

string

The pattern of the filename, optionally including placeholders for date components.

headerSet

HeaderSet<Packet>

The set of packets received.

interval

number

The interval in milliseconds.

isStarted

boolean

Indicates that the logging has started.

Methods

Method

Modifiers

Description

setInterval(interval)

Set the interval.