10-07-2013 02:01 PM
Does FindRoute require routes to be pre-defined in the switch executive before it can find a route that can connect 2 channels? In other words, does FindRoute just search the list of pre-defined routes to find the best one that connects 2 channels?
Or does is it able to dynamically "create" a route at runtime (without pre-defined routes)?
10-07-2013 03:28 PM
I do not create routes in my Switch Executive setup. What I do is connect colum X to row Z and then connect colum Y to row Z. But I like to make sure I know which row is being used. You do not have to do that. You could just state connect colum X to colum Y and it will find a way.
10-07-2013 04:59 PM
Thanks for the reply.
Now I understand that FindRoute can dynamically find a path between two channels.
How do I restrict the use of a shared bus so that sharing a bus line is not allowed? For example, if I have several 16x8 matrix cards connected together, where all rows of 8 are shared as a bus, I want to make sure that when making connections between columns of different matrix cards, I do not use the same shared bus "row" (I am not referring to channel exclusion).
When I use "FindRoute" the path it always finds uses "r0". But if I want to make two different connections concurrenlty, both paths would use the same row!
10-07-2013 05:06 PM
amit1947 wrote:When I use "FindRoute" the path it always finds uses "r0". But if I want to make two different connections concurrenlty, both paths would use the same row!
Another reason I explicitly state which row to connect to. Whithout exclusions, Switch Executive will assume it can reuse rows.
10-07-2013 05:39 PM
Ok, I get it, you have to make the connections explicity to specify what "shared" rows to use.
I think this is an oversight on the part of NI. I would think that an executive would be able to optionally manage a shared bus so that paths are can not be shorted together.
10-08-2013 06:27 AM
amit1947 wrote:
I think this is an oversight on the part of NI. I would think that an executive would be able to optionally manage a shared bus so that paths are can not be shorted together.
It can. You just have to put in all of the exclusions in the executive. I find it easier to just state which rows to use.
10-08-2013 12:22 PM
I am only aware of channel exclusion rules. Are there rules that can protect shared rows?