Skip to content

Get Chip List ​

Get list of USB control chips currently connected to the computer.

Interface Description ​

Interface Type ​

getChipboards

Parameters ​

No parameters required.

Return Value ​

Returns array of chip serial numbers:

javascript
[
    "Serial Number",
    "Serial Number",
    "Serial Number"
]

Basic Usage ​

javascript
// Get list of connected chips
const chipboards = await apiInvoke('getChipboards');

console.log(`${chipboards.length} chips connected:`);
chipboards.forEach((serialId, index) => {
    console.log(`${index + 1}. ${serialId}`);
});

Cooperation: try.catch@foxmail.com