# \#create

**URL:** https://forum.plexim.com/tag/create/119.md

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

---

## [Create an arbitrary delay time using C-script](https://forum.plexim.com/t/create-an-arbitrary-delay-time-using-c-script/909)

<div class="topic-metadata">

**Author:** [@Alex\_Ng](https://forum.plexim.com/u/Alex_Ng)\
**Replies:** 3\
**Last updated:** [January 5, 2021, 11:39am UTC](https://forum.plexim.com/t/create-an-arbitrary-delay-time-using-c-script/909 "2021-01-05T11:39:40Z")

</div>

Hi everyone, I have several questions: (1) Here is a code to create a delay with one sampling period from the PLECS manual: Output function code: OutputSignal(0, 0) = DiscState(0); Update function co…
