# How to create a new signal and bind it to a slot in slicer3d?

**URL:** <https://discourse.slicer.org/t/how-to-create-a-new-signal-and-bind-it-to-a-slot-in-slicer3d/14035>\
**Category:** Support\
**Created:** [October 14, 2020, 2:23pm UTC](https://discourse.slicer.org/t/how-to-create-a-new-signal-and-bind-it-to-a-slot-in-slicer3d/14035 "2020-10-14T14:23:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chintha\_Siva\_Prasad](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chintha_siva_prasad/32/7766_2.png) [@Chintha\_Siva\_Prasad](https://discourse.slicer.org/u/Chintha_Siva_Prasad)\
**Post date:** [October 14, 2020, 2:23pm UTC](https://discourse.slicer.org/t/how-to-create-a-new-signal-and-bind-it-to-a-slot-in-slicer3d/14035/1 "2020-10-14T14:23:37Z")

</div>

![Screenshot from 2020-10-13 19-57-03](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/e/a/ea5135400ea87fde32dacc513d5090c6ec905fdc.png)

When I am executing the above code slicer is exiting abnormally. How can I create a new signal in slicer that works fine?

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [October 15, 2020, 5:01am UTC](https://discourse.slicer.org/t/how-to-create-a-new-signal-and-bind-it-to-a-slot-in-slicer3d/14035/2 "2020-10-15T05:01:32Z")

</div>

2 posts were merged into an existing topic: [How to use signals and slots in Slicer 3d?](https://discourse.slicer.org/t/how-to-use-signals-and-slots-in-slicer-3d/14013)

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [October 15, 2020, 5:01am UTC](https://discourse.slicer.org/t/how-to-create-a-new-signal-and-bind-it-to-a-slot-in-slicer3d/14035/3 "2020-10-15T05:01:32Z")

</div>


