Menu

Is it possible to trigger the timestamp by addMessageToLogAndConsoles(QString text) ?

Anonymous
2015-06-14
2015-06-22
<< < 1 2 (Page 2 of 2)
  • Stefan Zieker

    Stefan Zieker - 2015-06-18

    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:

    ///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).

     
  • Anonymous

    Anonymous - 2015-06-18

    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.

     
  • Stefan Zieker

    Stefan Zieker - 2015-06-18

    Hi Pier,

    for me they are looking as intended. Can you please upload some screenshots to show me what you mean?

    Best regards,
    Stefan

     
  • Anonymous

    Anonymous - 2015-06-18

    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
  • Stefan Zieker

    Stefan Zieker - 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

     
  • Anonymous

    Anonymous - 2015-06-19

    Hi Pier,

    nice. I will add this under exampleScripts/CustomLogConsoleScripts.

    Best regards,
    Stefan

     
  • Anonymous

    Anonymous - 2015-06-20

    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.

     
  • Stefan Zieker

    Stefan Zieker - 2015-06-20

    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
  • Anonymous

    Anonymous - 2015-06-20

    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
  • Stefan Zieker

    Stefan Zieker - 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
  • Stefan Zieker

    Stefan Zieker - 2015-06-20

    Hi Pier,

    what do you think?

    Best regards,
    Stefan

     

    Last edit: Stefan Zieker 2015-06-20
  • Anonymous

    Anonymous - 2015-06-21

    Hi Stefan,
    great schematic; useful for understanding the potential of ScriptCommunicator in a glance.
    Thank you.
    Kindest Regards,
    Pier Andrea.

     
  • Anonymous

    Anonymous - 2015-06-22

    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.

     
  • Stefan Zieker

    Stefan Zieker - 2015-06-22

    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

     
  • Anonymous

    Anonymous - 2015-06-22

    Done,
    thank you Stefan.
    PA.

     

    Last edit: Anonymous 2015-06-22
<< < 1 2 (Page 2 of 2)

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.