# \#sample-time

**URL:** https://forum.plexim.com/tag/sample-time/440.md

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

---

## [Adjusting Sampling Time](https://forum.plexim.com/t/adjusting-sampling-time/2862)

<div class="topic-metadata">

**Author:** [@hector](https://forum.plexim.com/u/hector)\
**Replies:** 4\
**Last updated:** [February 20, 2026, 9:54pm UTC](https://forum.plexim.com/t/adjusting-sampling-time/2862 "2026-02-20T21:54:27Z")

</div>

Is it possible to adjust the sampling time to 1usec, especially when using C2000 HIL simulation demos? If possible, how is this done? I have seen 50usec sampling time and wondering if I can achieve 1usec sampling time. T…

---

## [Sample time in C-script?](https://forum.plexim.com/t/sample-time-in-c-script/845)

<div class="topic-metadata">

**Author:** [@MichaelBR](https://forum.plexim.com/u/MichaelBR)\
**Replies:** 5\
**Last updated:** [August 31, 2020, 3:01pm UTC](https://forum.plexim.com/t/sample-time-in-c-script/845 "2020-08-31T15:01:25Z")

</div>

Hi everybody, I’m working on the MPPT control through c-script for a DC-DC converter (PLECS Standalone). The code is implemented but I don’t understand when i choose a sample time of 1/(switch frequency) (setup of the c…

---

## [Change Sample Time during simulation in PLECS Blockset](https://forum.plexim.com/t/change-sample-time-during-simulation-in-plecs-blockset/732)

<div class="topic-metadata">

**Author:** [@sgra](https://forum.plexim.com/u/sgra)\
**Replies:** 2\
**Last updated:** [January 16, 2020, 4:36am UTC](https://forum.plexim.com/t/change-sample-time-during-simulation-in-plecs-blockset/732 "2020-01-16T04:36:13Z")

</div>

Hello all, I’m using PLECS Blockset. Is there any possibilty to change the ‘Sample time’ in the ‘Discrete state-space options’ during simluation? For my usecase it would be sufficient to have something like a step depe…
