The last bit actually should be reordered as follows Hint: Use menu "Empty->Empty Standby List" to clear the cache, , try your app, File->Refresh to refresh the display, then view what files are cached in the "File Summary" tab which can be ordered by path.
Hi Stefan, Forgot to say my tests did conclusively reveal that it is the combined size of the directory that determines the great majority of the response time rather than the number of files for your function. This makes sense when considering it takes time to copy all these files from disk to the cache. Also note I have confirmed that your function does cache the files whereas my faster one doesn't using RamMap from SysInternals. https://learn.microsoft.com/en-gb/sysinternals/downloads/rammap You...
Hi Stefan, The built in function (which uses QFile::size() ) is fast once the files are all added to the MS Windows file cache but that takes ages for large directories (50 seconds in my case) with it blocking in the meantime and actually slows the rest of operating system down overall who is also fighting for the disk cache. I've looked at the QT source code (see below) but got lost at the lower levels. QFileInfo.size() is probably much faster as it seems to use fstat (see below), primarily , which...
Hi Andy, I was not aware that the built in function is so slow. I think createProcessAsynchronous with du.exe is the way to go. Cheers Stefan
Note I nearly have finished a script to create a new timestamped log file each day and also limit the log directory size. However even though the functionality can be implemented in a script it's a rather slow and technical complex way (with a few headaches) for something I think would be worthwhile building in the the app. My intention is to share this script here because there are parts in it that many will find useful (directory size reading, daily log files, execution of external commands, and...
Hi Stefan, Thanks for your prompt reply. Did have some problems trying out your second suggestion as I was pressing "Enter" whilst the cursor was in the send box at the bottom of the page whereas I needed to put the cursor in the Utf8 box. In order to clarify this solution for anyone else reading this here is the full setup. In the Settings "console options" screen set the following : send on enter key: CR In the main screen: Check the "send input" checkbox (at bottom of screen). Click the "Utf8"...
Hi all, For log management purposes it would be useful to have an option create a new log each day and append a date suffix. I note that the current dating option only creates new dated logs on certain conditions and this isn't one of them . The above option would enable an external program to delete old logs after a certain time. Even better would be an internal option to delete old log files after X amount of days. Another good option would be a limit Z on the size of the log directory to prevent...
Hi all, For log management purposes it would be useful to have an option create a new log each day and append a date suffix. I note that the current dating option only creates new dated logs on certain conditions and this isn't one of them . The above option would enable an external program to delete old logs after a certain time. Even better would be an internal option to delete old log files after X amount of days or after Z amount of disk space is taken. Cheers Andy PS In regards to the above...
Hi all, For log management purposes it would be useful to have an option create a new log each day and append a date suffix. I note that the current dating option only creates new dated logs on certain conditions and this isn't one of them . The above option would enable an external program to delete old logs after a certain time. Even better would be an internal option to delete old log files after X amount of days or after Z amount of disk space is taken. Cheers Andy PS In regards to the above...
Hi all, For log management purposes it would be useful to have an option create a new log each day and append a date suffix. I note that the current dating option only creates new dated logs on certain conditions and this isn't one of them . The above option would enable an external program to delete old logs after a certain time. Even better would be an internal option to delete old log files after X amount of days or after Z amount of disk space is taken. Cheers Andy
Hi all It would be nice to incorporate a scheduler to run any script or single sequence at any date/time or period. This would include the cyclic sequence facility. Cheers Andy
Hi all, One option not provided for the Cyclic Sequence that would be very useful is repetitions forever. I do acknowledge this can be done with worker scripts but this is rather complex for something that seems simple and likely could be easily implemented in the cyclic sequence. The easiest way to implement this would be to change the "Repetitions" field (and maybe appropriately renamed) so "0"=continuous, "1"= run once" , "2"= run twice, and so on.. The other option mentioned in the subject is...
Hi Andy, you have two possibilities: 1. - Set the format of the send area to 'hex' - add 0d in the send area - Append: None - Press the enter button 2. - check the 'send input' check box (under the send area in the main window - set 'send on enter key' in the console options (Settings) to CR - click the UTF8 console and press enter
Hi Andy, you have to possibilities: 1. - Set the format of the send area to 'hex' - add 0d in the send area - Append: None - Press the enter button 2. - check the 'send input' check box (under the send area in the main window - set 'send on enter key' in the console options (Settings) to CR - click the UTF8 console and press enter
Hi, Don't really know which forum to put this in as they all seem apt. This question could be called a bug, feature request, user contribution or general discussion depending on context. Basically want to send just a carriage return and nothing else. In the Utf 8console screen set the following Append: None Send on: Enter In the Settings "console options" screen send on enter key: CR Now I would expend just pressing "Enter" when my cursor is in the send box would send my desired carriage return but...
Hi, Don't really know which forum to put this in as they all seem apt. This question could be called a bug, feature request, user contribution or general discussion depending on context. Basically want to send just a carriage return and nothing else. In the Utf 8console screen set the following Append: None Send on: Enter In the Settings "console options" screen send on enter key: CR Now I would expend just pressing "Enter" when my cursor is in the send box would send my desired carriage return but...
Hi, Don't really know which forum to put this in as they all seem apt. This question could be called a bug, feature request, user contribution or general discussion depending on context. Basically want to send just a carriage return and nothing else. In the Utf 8console screen set the following Append: None Send on: Enter In the Settings "console options" screen send on enter key: CR Now I would expend just pressing "Enter" when my cursor is in the send box would send my desired carriage return but...
Hello Stefan, It's now working. Thank you very much for the quick reply
Hi, I reuploaded ScriptCommunicator 06.10 for Linux. Here the names of libraries are correct. Thx for reporting this.
Hi, I reuploaded ScriptCommunicator 06.10 for Linux. Here the names of libraries are correct.
Sorry posted my query on wrong place... Hi Stefan I've tried latest ScriptCommunicator_06_10_linux_64_bit on openSuse Tumbleweed and Mint and still have following error when running the .sh script: ./ScriptCommunicator: error while loading shared libraries: libQt6Multimedia.so.6: cannot open shared object file: No such file or directory Not sure if I'm missing some detail... Thank you
Hi Stefan I've tried latest ScriptCommunicator_06_10_linux_64_bit on openSuse Tumbleweed and Mint and still have following error when running the .sh script: ./ScriptCommunicator: error while loading shared libraries: libQt6Multimedia.so.6: cannot open shared object file: No such file or directory Not sure if I'm missing some detail... Thank you
Hi, you can try this: Go to your documents folder, rename or delete the 'ScriptCommunicator' folder and then start ScriptCommunicator.
The ScriptCommunicator on my Win 10 laptop showed something strange recently. 1) it takes very long time to start the program, more than 20 minutes; 2) the first window "select ScriptCommunicator config file", in a crazily long window, and I could not make it shorter by resize it. What should I do to solve the troubles? Thanks for your help.
Thanks
Hi, you cannot download it directly. You have to install Qt on your PC and then copy the QtDesigner executable and the needed QT libraries.
**Hello, ** is it possible to get the full version of qtdesigner in an independant sofware and if yes where ?
What i did not get was, regardless how long i wait, that readAll() does not return anything. But if that was never planned to work, it's useless to think about and i'll do it with an asnyc function.
Hi, I never tried it without an async reader. But yes, it seems that is it not possible without an asymc reader.
Hi, i've tried to simply init a serial communication (Windows 10), send some text and expect and answer. But it always give me 0 bytes in return: var serialPort = scriptInf.createSerialPort(); serialPort.setPortName("COM10"); serialPort.setBaudRate(115200); serialPort.setDataBits(8); serialPort.setParity("None"); serialPort.setStopBits("1"); serialPort.setFlowControl("None"); serialPort.setDTR(true); serialPort.setRTS(true); serialPort.readAll(); // flush RX-Buffer serialPort.writeString("ATZ\r");...
Hi, I tested it with Pop_OS 22 and had the the same error. I uploaded a new version for Linux (6.6.1) which now starts on Pop_OS 22. Thx for reporting this.
Hi, on my Ubuntu 22 everthing works fine. If you want you can download Qt6.4.3 and look for the missing librariers there. I'm busy at the moment. But I will intall your OS in a virtual machine this weekeend and try it out for mysself.
If I start the program (either via the .sh script or the executable itself) it says: ./ScriptCommunicator: error while loading shared libraries: libQt6Qml.so.6: cannot open shared object file: No such file or directory And indeed the library is missing from the lib folder. I'm on Pop_OS 22.04 LTS and tried to install libqt6qml6 via apt but that only results in another error: ./ScriptCommunicator: symbol lookup error: /lib/x86_64-linux-gnu/libQt6Qml.so.6: undefined symbol: _ZN23QPropertyBindingPrivate17evaluateRecursiveEP14QBindingStatus,...
Which version of ScriptCommunictor do you use and on which which platform (Linux, Windows or MacOs) do you use it? I added foo() to a script and ScriptCommunictor showed an error and the script was stoped (that's how it should be).
Which version of ScriptCommunictor do you use and on which which platform (Linux, Windows or MacOs) do you use it? I added foo() to a script and ScriptCommunictor showed an error and the script was stoped (that's how it should be).
Which version of ScriptCommunictor do you use and on which which platform (Linux, Windos or MacOs) do you use it? I added foo() to a script and ScriptCommunictor showed an error and the script was stoped (that's how it should be).
Which version of ScriptCommunictor and on which which platform (Linux, Windos or MacOs) do you use it? I added foo() to a script and ScriptCommunictor showed an error and the script was stoped (that's how it should be).