<div dir="ltr">Yes, that is true.  The channel number is scoped per port, and so each port will start with channel 0 and increment up from there.  <div><br></div><div>Matt</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Jul 31, 2014 at 7:09 PM, 陈军 <span dir="ltr"><<a href="mailto:jam.chenjun@gmail.com" target="_blank">jam.chenjun@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Since there‘s so many repeated values in the channel field, I guess channel is unique between ports, but not unique in the large?</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-07-31 23:07 GMT+08:00 Matt Jones <span dir="ltr"><<a href="mailto:jones@nceas.ucsb.edu" target="_blank">jones@nceas.ucsb.edu</a>></span>:<div>
<div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Channels are the connections between ports.  A multiport can have multiple channels attached, which are numbered starting at 0. So the database field holds those values.</p>


<p dir="ltr">Matt</p>
<div class="gmail_quote"><div><div>On Jul 31, 2014 8:01 AM, "陈军" <<a href="mailto:jam.chenjun@gmail.com" target="_blank">jam.chenjun@gmail.com</a>> wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div>
<div dir="ltr">hi,<div><br></div><div>"<a href="https://kepler-project.org/developers/interest-groups/provenance-interest-group/interfaces-to-provenance-for-reap/?searchterm=schema" target="_blank">https://kepler-project.org/developers/interest-groups/provenance-interest-group/interfaces-to-provenance-for-reap/?searchterm=schema</a>"</div>



<div>In this web page, there is the provenance database schema. In the <i>port_event</i> table, there is a field <i>channel</i>.</div><div><br></div><div>"<a href="https://code.kepler-project.org/code/kepler/trunk/modules/provenance/docs/provenance.pdf" target="_blank">https://code.kepler-project.org/code/kepler/trunk/modules/provenance/docs/provenance.pdf</a>"</div>



<div>In this document, there is an explanation. "A<span style="white-space:pre-wrap"> </span>port<span style="white-space:pre-wrap"> </span>event<span style="white-space:pre-wrap"> </span>occurred<span style="white-space:pre-wrap"> </span>at <i>time</i>,<span style="white-space:pre-wrap"> </span>on port<span style="white-space:pre-wrap"> </span><i>port_id</i>,<span style="white-space:pre-wrap"> </span>and<span style="white-space:pre-wrap"> </span>on<span style="white-space:pre-wrap"> </span><i>channel</i> from<span style="white-space:pre-wrap"> </span>actor<span style="white-space:pre-wrap"> </span>firing<span style="white-space:pre-wrap"> </span><i>fire_id</i>."</div>



<div><div><br></div><div>I thought channel means that data flow path between actors.</div><div>But after I execute several different workflows and record the provenance data and check the hsql provenance. I find that in the 48 lists of <i>port_event</i> row, 47 lists of the <i>channel</i> field is 0, and the rest list of the <i>channel</i> field is 1. Seems that my thought wrong.</div>



<div><br></div><div>So what's the channel in kepler provenance?</div><div>(Maybe channel is used by the underlying ptolemy sending tokens, but not utilized by the kepler provenance module?)</div><div><br></div>-- <br>



<div dir="ltr"><div>陈军</div><div>School of Computer Science , Fudan University</div></div>
</div></div>
<br></div></div>_______________________________________________<br>
Kepler-dev mailing list<br>
<a href="mailto:Kepler-dev@kepler-project.org" target="_blank">Kepler-dev@kepler-project.org</a><br>
<a href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev" target="_blank">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev</a><br>
<br></blockquote></div>
</blockquote></div></div></div><div><div class="h5"><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>陈军</div><div>School of Computer Science , Fudan University</div></div>
</div></div></div>
</blockquote></div><br></div>