FINALE icon indicating copy to clipboard operation
FINALE copied to clipboard

Show progress bar for the GToJSONConverter

Open pratheekshasn opened this issue 5 years ago • 4 comments

The converter looks quite unresponsive, especially while converting large projects. Adding a progress bar to fix this issue.

image

Implementation

Changes are made in GenerateHTML.vi to show the progress bar and the path of the file being converted. The front panel has been resized to show these, and is opened up as a dialog window when the converter is run. image

pratheekshasn avatar Jun 14 '20 07:06 pratheekshasn

How does one cancel the conversion? Previously, I believe they could hit the 'Abort Run' button.

rajneesh avatar Jul 16 '20 15:07 rajneesh

How does one cancel the conversion? Previously, I believe they could hit the 'Abort Run' button.

That hadn't occurred to me. Would it be all right if I changed the subVI to be abortable like so? image But this would also mean the front panel of that subVI doesn't close after I abort it... maybe I should look for a different way to do this.

pratheekshasn avatar Jul 16 '20 16:07 pratheekshasn

The title bar is distracting. You could probably make it like a one button dialog which aborts the vi when the button is clicked. You'll have to don your UX hat and figure out the workflows one could go through.

rajneesh avatar Jul 16 '20 17:07 rajneesh

ProgressBar.vi image

InitProgresssBar.vi image

UpdateProgressBar.vi image

CloseProgressBar.vi image

GetAbort.vi image

pratheekshasn avatar Sep 22 '20 18:09 pratheekshasn