August 26, 200223 yr Hi All,I'm using FSUIPC to write to the offsets for the Project Magenat FCU (specifically to update the altitude setting via offset 5418, bits 6 and 7) and I have a question.I have a rotary enc connected via the serial port. I monitor the port, and for each "click" I set the values via the offsets. But it seems very slow. I know from profiling the code that the delay is not in reading the serial data, not in writing to the FSUIPC. It seems that the delay is basically the latency between writing to the offset, and the FCU reading this and doing its updates.Does anyone know how fast I can do these updates (rate per second etc), or/and what rate the FCU reads from these offsets? Is there a faster way to do this. I dont particularly want to have to read the offset for the current alt value, then count clicks of the encoder, and then write the updated value back because this wont show the values in the FCU changing (and I would like this to happenbecause it looks more realistic)Any comments/suggestions welcomed. For the record, the code is in VB.Regards and thanksDave T
August 28, 200223 yr Rotary encoder sends so many data response in 'microsecond' pluse which is much quicker for computer to read. In better explaination: If you have it hooked up directly to computer, (via monitor port) It will not recieve so much data pluse. So what you need is create your own rotary encoder circuit along with IC flip flops, timming, and etc.
Create an account or sign in to comment