We ran into some confusion when trying to get a simple okFilePipe working, and have some suggestions for the documentation page and maybe even the error messages.
Firstly, we copied the XML example for okFilePipe given on the webpage into our code, and were getting the error message “UnsupportedFeature”. It turns out that the example given has a length parameter of 5000, an invalid length for USB which needs particular powers of 2. A small header on the webpage stating what sizes are applicable would be nice, as well as changing the error message to something more informative.
It turns out other users have voiced this exact suggestion in a thread six years old.
Secondly, there’s no example for the filename field. It may seem obvious that one should write the full path name without single or double quotes, but it’s a text field and the syntax is not well defined on the page. Adding that in the XML example would be nice.