Search Results

by Cuijw
Sun May 01, 2022 2:44 am
Forum: General
Topic: about getdeviceserialnumber
Replies: 6
Views: 12003

Re: about getdeviceserialnumber

the code "does not work" means I need it to get three device serial numbers , but it gives three same. when I use phidget22.networkconnection, I get an error "PhidgetError: authentication failed: server rejected proof" and I don't know how to authentication. I got phidget22.js ju...
by Cuijw
Fri Apr 29, 2022 8:03 am
Forum: General
Topic: about getdeviceserialnumber
Replies: 6
Views: 12003

Re: about getdeviceserialnumber

it is right following your advice, but when I use javascript, it does not work, my code is: const conn = new phidget22.USBConnection(); await conn.connect(); const ch0 = new phidget22.Accelerometer(); const ch1 = new phidget22.Accelerometer(); await ch0.open(5000); await ch1.open(5000); const device...
by Cuijw
Fri Apr 29, 2022 4:10 am
Forum: General
Topic: about getdeviceserialnumber
Replies: 6
Views: 12003

Re: about getdeviceserialnumber

yes, I can get three device numbers following your advice. But I find it is not right for javascript. my scripts like this: const ch0 = new phidget22.Accelerometer(); const ch1 = new phidget22.Accelerometer(); await ch0.open(5000); await ch1.open(5000); const deviceSerialNumber0 = ch0.deviceSerialNu...