Skip to content

.set( ) not working #7

@isabdr

Description

@isabdr

@patrickfuller

I'm trying to control my MFC using a Raspberry Pi4. I'm able to establish a connection with the MFC, .get( ) function is working, and so is .set_gas( ). But when I try to change the actual flowrate with .set( ), .open( ), or .close( ), I'm getting errors.

When I try to use .set( ) on the command line I get: Could not connect to device
When I try to use it in a script I get:
RuntimeError: Event loop is closed
Unclosed client session
Unclosed connector

image

Am I missing some sort of previous configuration on the MFC? I'm pretty lost here, so any help is welcome!
Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions