Read / Write serial data with SerialCom Plugin 2.3.1 using Sequencer
Is it possible to read / write serial data with SerialCom Plugin 2.3.1 using the Sequencer?
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?
I would like to read / write serial data using this plugin controlled via the sequencer.
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.
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
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?
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.