Menu

Scripting possibilities

Anonymous
2016-10-24
2016-10-24
  • Anonymous

    Anonymous - 2016-10-24

    Beautiful software, congratulations.
    But I wanted to know if the scripting, allows me to be iterative automatically, that is, if I get the character "A" answer something, I get the character "B" respond with another or with a sequence, if I get the character "C "transmit and hang up.
    Or start a transmission with the character "A", with each ACK (06xh), read a line from the disc to a file and send it, until the end of the file?
    If things are possible, beginning now to study how to do .... maybe there is already some example.
    Excuse for my bad English, I hope I was clear!
    Marco!

     
  • Stefan Zieker

    Stefan Zieker - 2016-10-24

    Hi Marco,

    you can find an example in the attachent. Here you can see how to:
    - receive data with the main interface
    - send strings and arrays
    - read a text file

    You can find other examples under exampleScripts\WorkerScripts. For more details you can read the manual.

    PS: What did you mean with 'hang up'?

    Best regards,
    Stefan

     
  • Anonymous

    Anonymous - 2016-10-24

    Hello Stefan,
    thanks for the fast response, perfect, I imagined you could do.
    "Hang up" mean to say simply say end communication.
    My goal is to develop an ASTM Simulator (Low level protocol E 1381-95) reading of text files containing logs of ASTM protocol strings (High level protocol E 1394-97) to send to my communication drivers and send, always to my drivers, the simple characters ENQ, ACK, NAK, EOT when sending information.
    Marco.

     

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.