Skip to content

getDirectory returning fraction of all crosspoints #18

Description

@thorsby

I'm trying to subscribe to all crosspoints on a device with a matrix of 296 outputs.

Using the callback to getDirectory, I only receive crosspoints for the last 6 targets of the entire matrix. The subscription is working for these 6 crosspoints with updates on changes, but not initially or on changes I get the missing 290 crosspoints.

client.connect()
  .then(() => client.getElementByPath('1.11.2'))
  .then(node => {
    return client.getDirectory(node, update => {
      console.log(update.connections);
    });
  })
{
  '290': MatrixConnection { target: 290, _locked: false, sources: [ 2 ] },
  '291': MatrixConnection { target: 291, _locked: false, sources: [ 3 ] },
  '292': MatrixConnection { target: 292, _locked: false, sources: [ 4 ] },
  '293': MatrixConnection { target: 293, _locked: false, sources: [ 5 ] },
  '294': MatrixConnection { target: 294, _locked: false, sources: [ 6 ] },
  '295': MatrixConnection { target: 295, _locked: false, sources: [ 7 ] }
}

Am I missing something basic of Ember+?
On the same device is another much smaller matrix of 8x8, where same code yields all 8 crosspoints.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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