fieldrndservices / libssh2-labview

A LabVIEW library for SSH client support via libssh2
Apache License 2.0
22 stars 2 forks source link

Add data entry limits to the controls in various Read/Write VIs #20

Closed volks73 closed 4 years ago

volks73 commented 4 years ago

There is a libssh2 shared library defined maximum number of bytes per read or write of 30KB. Thus, there are "Read All" and "Write All" VIs that will read and write larger binary data in chunks, or blocks. The documentation of the VIs indicates these limits but this makes the data entry for the controls on the "Read" and "Write" VIs inconsistent. The limits should be added to avoid confusion.

volks73 commented 4 years ago

Data entry limits have been added to the Block Size controls of some examples to follow along with enhancement as of 29b6ce01ce71ace7358c26094f6d9b4735b1bae9.

volks73 commented 4 years ago

Added data entry limits for all Max Data Length and/or Per Read Size controls to all "Read" VIs, including STDERR-related VIs, in the Channel class as of 7b0d2474e39e81aefbfe3ce09f177b4df5d8939f.

The descriptions to the controls and the various VIs have also been expanded with additional explanations of the limits and how to work with the limits.