PDA

View Full Version : Device Type


WilliamM
08-11-2008, 03:25 PM
How does the device type field (NV param 10) work? I remember when I was using the old Portal and firmware, "Bridge" and "Buzzer" would appear in this field seemingly automatically. Or was it just done manually before I got the nodes?

But with the Portal beta (2.1.8), I have tried changing the bridge node and this field is not automatically updated. The new bridge's device type is "None" and the node that used to be bridge still says "Bridge" even though it isn't. Even after deleting them from the configuration and finding them again.

mgenti
08-11-2008, 05:16 PM
The device type NV param is only changed when a script writes to that NV parameter. Some of the SNAPpy scripts included with Portal will try to determine which type of evaluation board you are using and then set the device type accordingly.

kbanks
08-12-2008, 09:22 AM
Specifically, it was the McastCounter.py script that was auto-magically filling in the device type fields.

It did this by calling some optional functions in evalBase.py