# trigger when midi port opens

**URL:** <https://forum.bome.com/t/trigger-when-midi-port-opens/1770>\
**Category:** Bome Products\
**Created:** [February 8, 2020, 2:00am UTC](https://forum.bome.com/t/trigger-when-midi-port-opens/1770 "2020-02-08T02:00:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pedro.estrela](https://forum.bome.com/letter_avatar_proxy/v4/letter/p/87869e/32.png) [@pedro.estrela](https://forum.bome.com/u/pedro.estrela)\
**Post date:** [February 8, 2020, 2:00am UTC](https://forum.bome.com/t/trigger-when-midi-port-opens/1770/1 "2020-02-08T02:00:32Z")

</div>

Hi  
Is there is way to trigger a rule when a port is pending and it opens for the first time? I only see project loaded and processing start.

`
1377391 - Opened MIDI OUTPUT 'Bome MIDI Translator 1 Virtual Out'
1377391 - Opened MIDI OUTPUT 'DDJ-1000'
1377392 - Opened MIDI INPUT 'Bome MIDI Translator 1 Virtual In'
1377395 - Opened MIDI INPUT 'DDJ-1000'`

Related, can messages sent to closed ports be counted somewhere and be later visible to the user?

suggestion: a new button "show stats" being next to "show vars"

`1374640 - OUT 4.10 Note On on ch. 1 with note:57 (0x39) and velocity:127 (0x7F) [port closed]`

&nbsp;

thanks

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [February 8, 2020, 2:12am UTC](https://forum.bome.com/t/trigger-when-midi-port-opens/1770/2 "2020-02-08T02:12:18Z")

</div>

For your first question about triggering with ports open (or close). That is not currently supported however I think it is an interesting request so will request that as an enhancement for future versions.&nbsp;

Queing output is also currently not supported yet it might be a bit dangerous to cue up too many messages as it could bog MT Pro buffers down.&nbsp; I'll also request as an enhancement, however.

I could envision seeing a translator like this:

Incoming trigger: port xxx opens

Outgoing action : (some SysEx initialization stream) to port xxx

For now, you would need to just periodically try and send data to a given port or, trigger the outgoing message by an incoming message from that port (once it opens).

&nbsp;

Steve Caldwell  
Bome Q and A Moderator and  
Independent Bome Consultant/Specialist  
bome@sniz.biz

&nbsp;

&nbsp;
