737SimGuy Posted December 11, 2003 Report Posted December 11, 2003 Hi Pete, Was wondering if you could recommend the maximum amount of data to attempt to Write and then Process, in one pass. IOW: FSUIPC_Write SomeData... FSUIPC_Write SomeMoreData... FSUIPC_Write SomeMoreData... FSUIPC_Write SomeMoreData... etc, and then FSUIPC_Process Trying to speed up Writing my analog values to FS. Right now I do a Process after each Write for each control value, but I am going to experiment with Writing all the control values first, then doing a Process. Thanks! James
Pete Dowson Posted December 11, 2003 Report Posted December 11, 2003 Was wondering if you could recommend the maximum amount of data to attempt to Write and then Process, in one pass. IOW: FSUIPC_Write SomeData... FSUIPC_Write SomeMoreData... FSUIPC_Write SomeMoreData... FSUIPC_Write SomeMoreData... etc, and then FSUIPC_Process The maximum allowed in total for reads and writes in one Process call is something near 31000 bytes I think (see the library code, I think it's defined in there someplace), but I wouldn't advise that much. thart includes all the red tape and stuff. If you are using WideFS at all you want to keep it smaller in any case. There should really never need to be any large numbers of writes to do in any case, surely? If you are only talking in a few hundreds of bytes, or even a few k, don't worry about it. Pete
737SimGuy Posted December 11, 2003 Author Report Posted December 11, 2003 Hi Pete, Exactly what I needed, thank you!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now