X4M200 Runtime error when loading profile

Discussion in 'Respiration Sensor' started by Trey Jarnagin, Sep 4, 2019.

  1. Trey Jarnagin

    Trey Jarnagin New Member

    In x4m200.load_profile(0x064e57ad)
    /usr/local/lib/python2.7/dist-packages/pymoduleconnector-1.6.2-py2.7.egg/pymoduleconnector/moduleconnectorwrapper/return _moduleconnectorwrapper.PyX4M200_load_profile(self, profileid)
    throws RuntimeError: file is not open after open

    Any ideas here. I am connected via 16 pin header to Pi GPIO.

    Thanks!
     
  2. Charlie Shao

    Charlie Shao Moderator Staff Member

    Did you assign correct serial port?
    Can you try this latest example and show the printout info?
     
  3. Trey Jarnagin

    Trey Jarnagin New Member

    Found the fix. Using the 16 pin header you need to send a low followed by a pause then a high to reset pin to get it out of bootloader mode. It was an issue with a bad cable.