# \#xml-rpc

**URL:** https://forum.plexim.com/tag/xml-rpc/373.md

[Latest](https://forum.plexim.com/latest.md) · [Categories](https://forum.plexim.com/categories.md) · [Tags](https://forum.plexim.com/tags.md)

---

## [Exporting Scope Data as .CSV using XML-RPC](https://forum.plexim.com/t/exporting-scope-data-as-csv-using-xml-rpc/613)

<div class="topic-metadata">

**Author:** [@groberts](https://forum.plexim.com/u/groberts)\
**Replies:** 3\
**Last updated:** [March 2, 2026, 9:18am UTC](https://forum.plexim.com/t/exporting-scope-data-as-csv-using-xml-rpc/613 "2026-03-02T09:18:25Z")

</div>

I am using Python 3.6.7 XML-RPC library to interface with PLECS 4.2.5 standalone. I am looping through multiple “steady-state analysis” simulations which will show only one (though configurable) period at the end of the …

---

## [Connecting electrical ports via Python / RPC](https://forum.plexim.com/t/connecting-electrical-ports-via-python-rpc/2879)

<div class="topic-metadata">

**Author:** [@leonNi](https://forum.plexim.com/u/leonNi)\
**Replies:** 1\
**Last updated:** [February 24, 2026, 9:07pm UTC](https://forum.plexim.com/t/connecting-electrical-ports-via-python-rpc/2879 "2026-02-24T21:07:58Z")

</div>

Hey, I would like to reconfigure my electrical system from Python, i.e. connect the components in different ways programmatically. Ideally, I would create a subsystem for each part of the circuit and then connect these …

---

## [Is there a way to pause a simulatio during simulation run after a given elapsed time via Python simulation scripts?](https://forum.plexim.com/t/is-there-a-way-to-pause-a-simulatio-during-simulation-run-after-a-given-elapsed-time-via-python-simulation-scripts/2677)

<div class="topic-metadata">

**Author:** [@navidnoroozi](https://forum.plexim.com/u/navidnoroozi)\
**Replies:** 1\
**Last updated:** [November 5, 2025, 4:29pm UTC](https://forum.plexim.com/t/is-there-a-way-to-pause-a-simulatio-during-simulation-run-after-a-given-elapsed-time-via-python-simulation-scripts/2677 "2025-11-05T16:29:57Z")

</div>

Hi, I am wondering if as XML-RPC client there is meanwhile a solution to pause a simulation run after a pre-defined amount of elapsed time. I do see the method pause under an object of xmlrpc class, i.e. plecs = xmlrpc.…

---

## [Run multiple simulations in parallel using XML-RPC](https://forum.plexim.com/t/run-multiple-simulations-in-parallel-using-xml-rpc/651)

<div class="topic-metadata">

**Author:** [@msta](https://forum.plexim.com/u/msta)\
**Replies:** 10\
**Last updated:** [March 18, 2025, 9:55am UTC](https://forum.plexim.com/t/run-multiple-simulations-in-parallel-using-xml-rpc/651 "2025-03-18T09:55:35Z")

</div>

Hello, after some trouble, I can now use the XML-RPC interface to open and run PLECS-simulations from an external tool. But it seems, I can only run one simulation at once: set one parameter, run, wait for the result, m…

---

## [Is there a remotely way to stop a Plecs simulation? Is there a way to extract Outport data during simulation?](https://forum.plexim.com/t/is-there-a-remotely-way-to-stop-a-plecs-simulation-is-there-a-way-to-extract-outport-data-during-simulation/1360)

<div class="topic-metadata">

**Author:** [@Darius](https://forum.plexim.com/u/Darius)\
**Replies:** 1\
**Last updated:** [May 15, 2024, 5:59pm UTC](https://forum.plexim.com/t/is-there-a-remotely-way-to-stop-a-plecs-simulation-is-there-a-way-to-extract-outport-data-during-simulation/1360 "2024-05-15T17:59:38Z")

</div>

Greetings, wrote a script to control soome simulation form Python and this is the code to start the simulation: data = server.plecs.simulate(modelName, opts) How does the API works? Does it get data at every Plecs ste…

---

## [Python XML-RPC model components](https://forum.plexim.com/t/python-xml-rpc-model-components/1213)

<div class="topic-metadata">

**Author:** [@Ugaitz](https://forum.plexim.com/u/Ugaitz)\
**Replies:** 1\
**Last updated:** [March 14, 2023, 1:00pm UTC](https://forum.plexim.com/t/python-xml-rpc-model-components/1213 "2023-03-14T13:00:58Z")

</div>

I want to make a Python script to run some PLECS standalone simulation over the XML-RPC. Is there a way to get all the component names with their paths?

---

## [How to specify the Base name parameter for Codegen?](https://forum.plexim.com/t/how-to-specify-the-base-name-parameter-for-codegen/1058)

<div class="topic-metadata">

**Author:** [@abugabma](https://forum.plexim.com/u/abugabma)\
**Replies:** 6\
**Last updated:** [September 26, 2021, 9:19am UTC](https://forum.plexim.com/t/how-to-specify-the-base-name-parameter-for-codegen/1058 "2021-09-26T09:19:16Z")

</div>

Is it possible to set the Base name property with xmlrpc connection from python script?

---

## [Build plecs file in python](https://forum.plexim.com/t/build-plecs-file-in-python/965)

<div class="topic-metadata">

**Author:** [@k123123](https://forum.plexim.com/u/k123123)\
**Replies:** 1\
**Last updated:** [February 19, 2021, 3:18pm UTC](https://forum.plexim.com/t/build-plecs-file-in-python/965 "2021-02-19T15:18:10Z")

</div>

Hi, Is it possible to create .elf file for a plecs model using python, instead of opening the model in plecs and using coder options?

---

## [How to establish Xml-rpc interface to plecs from Octave instead of python?](https://forum.plexim.com/t/how-to-establish-xml-rpc-interface-to-plecs-from-octave-instead-of-python/870)

<div class="topic-metadata">

**Author:** [@ramapriya.an](https://forum.plexim.com/u/ramapriya.an)\
**Replies:** 1\
**Last updated:** [September 30, 2020, 12:57pm UTC](https://forum.plexim.com/t/how-to-establish-xml-rpc-interface-to-plecs-from-octave-instead-of-python/870 "2020-09-30T12:57:34Z")

</div>

User manual describes the steps for python as scripting language. When using python, I am unable to use matrix values for initialization using optStruct. This is because of python datatype conversion. Rather than using …

---

## [Xml-rpc initialization with Stored system state](https://forum.plexim.com/t/xml-rpc-initialization-with-stored-system-state/818)

<div class="topic-metadata">

**Author:** [@Rino](https://forum.plexim.com/u/Rino)\
**Replies:** 1\
**Last updated:** [August 10, 2020, 5:18pm UTC](https://forum.plexim.com/t/xml-rpc-initialization-with-stored-system-state/818 "2020-08-10T17:18:15Z")

</div>

hello, I’m using xml-rpc interface in plecs standalone. In user manual, plecs.simulate() command has options like ‘SolverOpts’. I want to simulate my circuit via xml-rpc with initialization from stored system state. …

---

## [Is it possible for me to get more documentation or help on XMLRPC in LabVIEW](https://forum.plexim.com/t/is-it-possible-for-me-to-get-more-documentation-or-help-on-xmlrpc-in-labview/761)

<div class="topic-metadata">

**Author:** [@Hridhya](https://forum.plexim.com/u/Hridhya)\
**Replies:** 1\
**Last updated:** [April 23, 2020, 3:19pm UTC](https://forum.plexim.com/t/is-it-possible-for-me-to-get-more-documentation-or-help-on-xmlrpc-in-labview/761 "2020-04-23T15:19:57Z")

</div>

I am working on RT Box 1 to simulate the models whereas I prefer to communicate from my host computer from LabVIEW using XML RPC but I am unable to find any documents or help on this. Please share the details on this.

---

## [Example of config solver parameters PLECS XML-RPC with python](https://forum.plexim.com/t/example-of-config-solver-parameters-plecs-xml-rpc-with-python/684)

<div class="topic-metadata">

**Author:** [@trieuto](https://forum.plexim.com/u/trieuto)\
**Replies:** 1\
**Last updated:** [August 19, 2019, 4:05am UTC](https://forum.plexim.com/t/example-of-config-solver-parameters-plecs-xml-rpc-with-python/684 "2019-08-19T04:05:36Z")

</div>

hallo, I have seen the manual file. but there is not clear how you set the solver parameters using opts = {‘ModelVars’ : { ‘varL’ : 50e-6 } } would you please make another opts for changing solver to discrete with st…

---

## [Scope GetCursorData through XMLRPC](https://forum.plexim.com/t/scope-getcursordata-through-xmlrpc/669)

<div class="topic-metadata">

**Author:** [@nhawes](https://forum.plexim.com/u/nhawes)\
**Replies:** 0\
**Last updated:** [June 19, 2019, 2:49pm UTC](https://forum.plexim.com/t/scope-getcursordata-through-xmlrpc/669 "2019-06-19T14:49:33Z")

</div>

My question is similar in spirit to: https://forum.plexim.com/673/exporting-scope-data-as-csv-using-xml-rpc?show=673#q673 where the user wanted to use the plecs(‘scope’, ‘scopepath’, ‘ExportCSV’, ‘filename’) plecs to e…

---

## [How to export just the last waveform periods by scripting?](https://forum.plexim.com/t/how-to-export-just-the-last-waveform-periods-by-scripting/630)

<div class="topic-metadata">

**Author:** [@tinivella](https://forum.plexim.com/u/tinivella)\
**Replies:** 1\
**Last updated:** [March 11, 2019, 6:02pm UTC](https://forum.plexim.com/t/how-to-export-just-the-last-waveform-periods-by-scripting/630 "2019-03-11T18:02:13Z")

</div>

Hi I’m referring Buck Converter with Parameter Sweep example I would like to export only the last periods of waveforms, to do that I generate a signal trig and enable a datacapture block. However it export all the sign…
