Skip to content

Need to clear old data from usb / serial #10

@uod-jhardy

Description

@uod-jhardy

Hi,
I am using the dmm to read data on a "once per cycle" basis in a python loop. I can see the multimeter screen has changed significantly but the data read from the usb is hardly changed. I realise that there is a pipeline of data being read and I am only seeing the next entry in the list ( around 0.5 s after the initial reading) when it should be a reading from ~10s later. I can clear the list by using dmm(connect=None) followed by dmm(connect=/usb0, model...) but this stops program execution and does not always reconnect. Is there a simple way to make only one reading and then clear the rest of the entries?

BTW I am using a BTMETER BT-90EPC which works fine when model UniTrend_UT60E is used

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions