Read / Write serial data with SerialCom Plugin 2.3.1 using Sequencer

  • Software
  • Read / Write serial data with SerialCom Plugin 2.3.1 using Sequencer
Dino Morio

Posted on 14.01.2020 17:46

Hi


Is it possible to read / write serial data with SerialCom Plugin 2.3.1 using the Sequencer?

DEWESoft Support
Technical support
Posted on 15.01.2020 10:07

Dear Dino,


we would need some additional information about your application.


The sequencer can load a setup file with the Serial Com plugin, where the request/responses are set properly. Or do you want to adjust the Serial Com plugin within the sequencer?


Regards,

Eva Kalšek

Dino Morio

Posted on 16.01.2020 21:18

I would like to read / write serial data using this plugin controlled via the sequencer.

DEWESoft Support
Technical support
Posted on 23.01.2020 13:48

Dear Dino,


for example if you set that the requests is sent "On Control Channel", you can access and control the value of this channel with the Calculation block in the sequencer.



But we would need more information about what exactly do you want to control with the sequencer so we can support you further.


Regards

Dino Morio

Posted on 23.01.2020 14:39

Hi,


I would like to send SCPI commands for controlling programmable instruments. For e.g. I would want to set voltage / current and read the same on a programmable power supply that support SCPI commands


See link for SCPI

https://en.wikipedia.org/wiki/Standard_Commands_for_Programmable_Instruments


I was hoping to set the ASCII string in a Global Variable of type "Text" and write and read serial data using this plugin and store the result in another Global variable (or other control channel). Is this possible?


DEWESoft Support
Technical support
Posted on 29.01.2020 15:16

Dear Dino,


so we performed some test.


In serial COM you can send where we send the "text" channel as request, which you can insert via Sequencer with Form block. You can then save the response in another Global variable. But global variables are single value channels and not asynchronous channels, so you always have the last value presented and in the end data file only the last value is stored.


Attached is the sequence and the setup file. With this configuration you will need additional program which would virtually connect two COM ports.


Regards

Login to reply to this topic. If you don't have account yet, you can signup for free account .