                 console.log('Cable type (typ):', cable.typ, typeof cable.typ);
                    console.log('Cable connector1:', cable.connector1, typeof cable.connector1);
                    console.log('Cable connector2:', cable.connector2, typeof cable.connector2);
                    console.log('========================');
                    
                    document.getElementById('editCableId').value = cable.cableID;
                    document.getElementById('editCableLength').value = cab