Can I control two plants simultaneously from one QUARC model running on my Host PC? Plant 1 which is connected to Target PC #1 and Plant 2 is connected to Target PC #2.

Last Updated:

Yes, this is possible:

  • Type qc_show_demos in the Matlab command window to get access to all QUARC demonstration models.
  • Scroll down and look for the “Communications” group.
  • Run the “QUARC Basic Communications Demo” to learn how “Stream Server” and “Stream Client ” blocks work.
  • The Host machine could have two Stream Server blocks. Each of these Server blocks would communicate with Target 1 and 2. Each Target PC would have a Stream Client block that would accept data from the Host. You could try, for instance, sending a square wave to Target 1 and a sine wave to Target 2 from the Host machine, then modify it to control the plants connected the Target PC.

Can't find what you're looking for?