# Setting the Triggersource Node with CVBpy

**URL:** <https://forum.commonvisionblox.com/t/setting-the-triggersource-node-with-cvbpy/597>\
**Category:** Programming Questions\
**Created:** [November 28, 2018, 10:23am UTC](https://forum.commonvisionblox.com/t/setting-the-triggersource-node-with-cvbpy/597 "2018-11-28T10:23:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mucki](https://avatars.discourse-cdn.com/v4/letter/m/e47c2d/32.png) [@Mucki](https://forum.commonvisionblox.com/u/Mucki)\
**Post date:** [November 28, 2018, 10:23am UTC](https://forum.commonvisionblox.com/t/setting-the-triggersource-node-with-cvbpy/597/1 "2018-11-28T10:23:38Z")

</div>

Hi, im trying to set the vlaue of the nodemap in python. It does work for node like AquisitionMode.TriggerSelector or AquisitionFramecount for Example:

aqui\_node.value = ‘Continuous’  
triggerselector\_node = ‘FrameStart’  
quiframecount\_node.value = 20

But if i want to sent the Triggersource to Software it gets me an error, that the Value is invalid

triggersource\_node.value = ‘TrigggerSoftware’ (with space or without doesnt makes a difference) ‘Line1’ does work. How can i solve this problem?

Greetings Mucki

---

<div class="post-metadata">

**Author:** ![Andreas](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/andreas/32/75_2.png) [@Andreas](https://forum.commonvisionblox.com/u/Andreas)\
**Post date:** [November 30, 2018, 8:01am UTC](https://forum.commonvisionblox.com/t/setting-the-triggersource-node-with-cvbpy/597/2 "2018-11-30T08:01:11Z")

</div>

Hi @Mucki

please be aware that the trigger source node is an enumeration node. This means it only takes a certain set of predefined values (enum entries) as values. You can get a list of all possible values via `EnumerationNode.entries`. This property will return a list `EnumEntryNodes` each with a diffrent numeric and symbolic value. The symbolic value can be used to set the enum.

You may have a look at the node via the GneiCam bowser. Please note that the display name may not be the same as the symbolic value.

![image](https://canada1.discourse-cdn.com/flex027/uploads/commonvisionblox/original/1X/a6c9c3961162bfb12fd5b18257e6cd1ba59395ff.png)
