Dear ZSTAR3 developer
Thank you very much in advance.
Cheng
Hi,
zstarlib developer.
First of all: get/set in bracket that you mentioned only tells you the style of the property in other words if its read only, write only or read write. Thats all
And for example DataRate { get; } property is only erad and there is stored current datarate of connected sensor. Thats all.
If you want change the datarate Then you have to use method DataRateSet(...) that "tries" to change datarate (Try - because there is a lot of thing that could failed)
The few reasons that could failed:
- ComPOrt is not opened
- The sensor with this ID is not connected right now
- The RF packet is lost in air :smileyhappy:
...
So for this reasonfor datarate (and similar) methods added into lib event on DataRateChanged and you can wait for the change with any timeout.
And regarding the avarage filter: The use of the filter is very simple :By the property AverageFilterSamples { get; set; } you will set the level of the filter (how much values will be use for computing the average values) and then you have to read the results not from normal results properties likes RealX but RealXFiltered.
Have a nice time with ZSTAR