Dynomotion

Group: DynoMotion Message: 2680 From: bradodarb Date: 12/10/2011
Subject: persist.UserData
I was wondering what the best way to set/get/clear persist.UserData?

To reset, I mean set all indices to 0.

I only saw script command access to the members(SetPersistDec/GetPersistDec), and thought making 100 calls would be ill advised.


Any thoughts, or is that OK?

-Brad Murry
Group: DynoMotion Message: 2683 From: Tom Kerekes Date: 12/11/2011
Subject: Re: persist.UserData
Hi Brad,
 
Other than running a C program no other way exists.  It should be ok to do this occasionally when the User pushes the "Home All" button for example.  Just not continuously in a timer loop for example.  It will probably use about 50ms of USB bandwidth to set 100 variables one at a time.
 
The variables are guaranteed to be zero on power up.
 
Regards
TK