12-14-2012 09:07 AM
Hi
I have 2 matrix boards which I wish to connect all the rows up on the external connector.
I am using Test Stand to create a test sequence and want to programmatically route an instrument pin to a DUT pin based on the names of the pins.
I have set up switch executive with the names on the matrix.
Do I need to use the routing groups? or can I just have a function in test stand which says something along the lines of "connect PSU+v to DUTVdd"?
I don't really want to hardcode the routing groups, even if they are editable within switch executive.
Solved! Go to Solution.
12-14-2012 09:36 AM
In Switch Executive you can setup hardwires. Just make a hardwire to connect all of the Row 0s together, another for the Row 1s, etc. SE will handle the rest.
12-14-2012 09:48 AM
Jacob,
The default "Switching" property of a TestStand step works by connecting pre-configured routes and routegroups. What you can do to get over this limitation is the following:
In MAX:
In TestStand:
This should do what you wanted to do all in TestStand!
Best of Luck!
12-14-2012 10:22 AM
Thanks looks like that worked.
I don't suppose there is a single step solution to this? I would have to implement 3 steps for this which is not too much difficulty, so my next question is....
I know that the most flexible method of using a matrix is to have instruments and DUTs on the columns, but I have instruments connected to the rows. This has been done for various reasons.
Having defined the hardwires connecting all the rows of one matrix to the other, can I refer to a hardwire name instead of the channel name?
12-14-2012 10:57 AM
Jacob,
In short, you cannot connect directly to a hardwire.
If the instrument is on the row, you should not use "Reserved For Routing". This is because endpoint connections are not allowed on reserved rows. [Reserved for routing will prevent you from finding the route between Dev2/c0 and Dev1/r0, but allows you to use r0 to connect two columns on either Dev1 or Dev2 or between devices].
Connecting a column and a row WITHOUT Reserved for Routing:
If you want dev2/c0 to connect to an instrument on dev1/r0 then you would need to remove "Reserved for Routing" on that row and use the same method above to find a route between dev2/c0 and dev1/r0.
Connecting two columns WITHOUT Reserved for Routing:
If you want dev2/c0 to connect to dev1/c0 through the instrument on dev1/r0 [example might be a power supply on r0 connecting to two columns]. You will need to remove "Reserved for Routing" on that row and connect dev1/r0 to dev1/c0 and dev2/c0 to dev1/r0.
My recommendation would be to use Reserved for Routing and place the instruments on columns (to make things easier), but sometimes this may not be possible.
Hope this helps!