I have uploaded a new pre release (ScriptCommunicator_02_17_test_revision_718_windows.zip) which includes new functions for the custom console/log script:
///Returns the folder in which the script resides.
QString getScriptFolder(void)
///Loads/includes one script (QtScript has no built in include mechanism).
bool loadScript(QString scriptPath, bool isRelativePath=true)
I have added your logic analyzer under exampleScripts/CustomLogConsoleScripts/CustomConsole_LogicAnalyzer (I have adapt it to the new functions).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Stefan,
of course, you can use my contributions.
A minor note: I observed that, when I use the custom console, the other consoles (ASCII, HEXT, BINARY etc.) do not work well. They display the data in the same format. Can you check this please?
I'll restart to work on the new functionalities this afternoon.
Thank you also for the new test release.
Kindest Regards,
Pier Andrea.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Stefan,
I'm sorry, it is my misinterpretation of the addMessageToLogAndConsoles functionality. In fact ONLY received and sent data are converted to binary/hex/ascii etc. when the corresponding checkboxes are checked: is it correct? Data passed with addMessageToLogAndConsoles routine are written AS IS in all consoles (and/or LOG) at the same time.
Thank you for your patience.
Kindest Regards,
Pier Andrea.
p.s.the new function to read the folder of the custom console script is very useful.
Last edit: Anonymous 2015-06-18
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Stefan,
thank you for the last release: the folder structure appears much more ordered and the program ... simply powerful! Few errors in the manual but it is clear and quite complete.
In the forum you added the Bugs Report topic; I suggest you to add other two topics:
1) New Releases (you could communicate the improvements of your official versions and, optionally, test releases).
2) User contributions (WorkerScripts, SequenceSripts, CustomLogConsoleScripts) for increasing the partecipations to the discussion and the number of visits.
Reading the manual, the Workerscripts library of functions is quite complete for an advanced use. Just to try to find a lack, I think that a good string format function (sprintf?) could simplify a lot the everyday life. Unfortunatly, because Javascript is a loosely typed language and sprinf needs a variable number of arguments (...), its implementation could be difficult.
Thank you again.
Kindest Regards.
Pier Andrea.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Stefan,
I'm Italian and I can correct just few typing errors, I'll send you a short list asap.
What do you think to add at the start of the manual a schematic reppresentation of the general architecture (like an overview) of your application? This should help novice users to better understand the organization of this great piece of software.
Just an example in the attached picture.
Kindest Regards,
Pier Andrea.
you are right, this would be helpful. Your picture is almost correct (a worker script can create/use several own plot windows). I will make a schematic representation soon.
PS: I have created the forum 'Feature requests and improvements' for such request.
And again thx for your idea.
Best regards,
Stefan
Last edit: Stefan Zieker 2015-06-20
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
nice. Maybe you can upload this under the forum user contributions.
To atach files in a new topic do following:
1. post your message
2. click on Edit
3. click on Add attachments
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Pier,
I have uploaded a new pre release (ScriptCommunicator_02_17_test_revision_718_windows.zip) which includes new functions for the custom console/log script:
I have added your logic analyzer under exampleScripts/CustomLogConsoleScripts/CustomConsole_LogicAnalyzer (I have adapt it to the new functions).
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Hi Stefan,
of course, you can use my contributions.
A minor note: I observed that, when I use the custom console, the other consoles (ASCII, HEXT, BINARY etc.) do not work well. They display the data in the same format. Can you check this please?
I'll restart to work on the new functionalities this afternoon.
Thank you also for the new test release.
Kindest Regards,
Pier Andrea.
Hi Pier,
for me they are looking as intended. Can you please upload some screenshots to show me what you mean?
Best regards,
Stefan
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Hi Stefan,
I'm sorry, it is my misinterpretation of the addMessageToLogAndConsoles functionality. In fact ONLY received and sent data are converted to binary/hex/ascii etc. when the corresponding checkboxes are checked: is it correct? Data passed with addMessageToLogAndConsoles routine are written AS IS in all consoles (and/or LOG) at the same time.
Thank you for your patience.
Kindest Regards,
Pier Andrea.
p.s.the new function to read the folder of the custom console script is very useful.
Last edit: Anonymous 2015-06-18
Hi Pier,
this is correct.
PS: I have added a function to read a file (e.g. to read format options).
Best regards,
Stefan
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Hi Stefan,
another Custom Console/log Example with HTML Tables.
Kindest Regards,
Pier Andrea.
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Hi Pier,
nice. I will add this under exampleScripts/CustomLogConsoleScripts.
Best regards,
Stefan
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Hi Stefan,
thank you for the last release: the folder structure appears much more ordered and the program ... simply powerful! Few errors in the manual but it is clear and quite complete.
In the forum you added the Bugs Report topic; I suggest you to add other two topics:
1) New Releases (you could communicate the improvements of your official versions and, optionally, test releases).
2) User contributions (WorkerScripts, SequenceSripts, CustomLogConsoleScripts) for increasing the partecipations to the discussion and the number of visits.
Reading the manual, the Workerscripts library of functions is quite complete for an advanced use. Just to try to find a lack, I think that a good string format function (sprintf?) could simplify a lot the everyday life. Unfortunatly, because Javascript is a loosely typed language and sprinf needs a variable number of arguments (...), its implementation could be difficult.
Thank you again.
Kindest Regards.
Pier Andrea.
Hi Pier,
1/2) Good idea
It would be nice if you would post your findings in the manual (I'm not a native speaker therefore my englisch is not the best :-)).
And thx again for your good ideas:-).
Best regards,
Stefan
Last edit: Stefan Zieker 2015-06-20
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Hi Stefan,
I'm Italian and I can correct just few typing errors, I'll send you a short list asap.
What do you think to add at the start of the manual a schematic reppresentation of the general architecture (like an overview) of your application? This should help novice users to better understand the organization of this great piece of software.
Just an example in the attached picture.
Kindest Regards,
Pier Andrea.
Last edit: Anonymous 2015-06-20
Hier Pier,
you are right, this would be helpful. Your picture is almost correct (a worker script can create/use several own plot windows). I will make a schematic representation soon.
PS: I have created the forum 'Feature requests and improvements' for such request.
And again thx for your idea.
Best regards,
Stefan
Last edit: Stefan Zieker 2015-06-20
Hi Pier,
what do you think?
Best regards,
Stefan
Last edit: Stefan Zieker 2015-06-20
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Hi Stefan,
great schematic; useful for understanding the potential of ScriptCommunicator in a glance.
Thank you.
Kindest Regards,
Pier Andrea.
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Hi Stefan,
a simple proof of concept: a working QR Code made bit-by-bit in the custom console.
Kindest Regards,
Pier Andrea
ps I do not know how to attach files in new topics.
Hi Pier,
nice. Maybe you can upload this under the forum user contributions.
To atach files in a new topic do following:
1. post your message
2. click on Edit
3. click on Add attachments
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Done,
thank you Stefan.
PA.
Last edit: Anonymous 2015-06-22