Re: [Discuss-gnuradio] Dynamic number of "message" ports using nports
>So I think its sort of fundamental the the message ports cant be scaled >like that because they are named and not linearly indexed. You could >find a way do to it, but its a more invasive GRC change I guess. Perhaps >Martin's GSoC student might consider doing this for the GRC >improvements, if not already? > >-josh Thanks for confirming my suspicion. My ultimate goal was to bury the connections inside a hierarchical block anyway so I did that and just programmatically named and connected the ports which works fine. I just can't expose the constituent blocks in GRC. -- View this message in context: http://gnuradio.4.n7.nabble.com/Dynamic-number-of-message-ports-using-nports-tp42766p42969.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Dynamic number of "message" ports using nports
On 07/29/2013 08:37 AM, macbany wrote: > I'm using GnuRadio 3.6.5.1 and I wanted to create a block similar to > stream-to-streams for messages. In the XML I used a variable and nports so I > could specify the number of ports in the flowgraph. However, I've found that > this does not work. Whenever I change the variable value to something > greater than 1, the variable ID turns red and the number of ports displayed > does not change. Simply changing the port type to something other than > "message" works correctly. Does anyone have an idea how to fix this? > > So I think its sort of fundamental the the message ports cant be scaled like that because they are named and not linearly indexed. You could find a way do to it, but its a more invasive GRC change I guess. Perhaps Martin's GSoC student might consider doing this for the GRC improvements, if not already? -josh > > -- > View this message in context: > http://gnuradio.4.n7.nabble.com/Dynamic-number-of-message-ports-using-nports-tp42766.html > Sent from the GnuRadio mailing list archive at Nabble.com. > > ___ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Dynamic number of "message" ports using nports
I'm using GnuRadio 3.6.5.1 and I wanted to create a block similar to stream-to-streams for messages. In the XML I used a variable and nports so I could specify the number of ports in the flowgraph. However, I've found that this does not work. Whenever I change the variable value to something greater than 1, the variable ID turns red and the number of ports displayed does not change. Simply changing the port type to something other than "message" works correctly. Does anyone have an idea how to fix this? -- View this message in context: http://gnuradio.4.n7.nabble.com/Dynamic-number-of-message-ports-using-nports-tp42766.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio