Sk

Source and Destination for the Blue Multicore Cable

14 posts / 0 new
Last post
#1 Source and Destination for the Blue Multicore Cable

I've followed the post from here to add source, destination and respective location columns to my cable list.  When I use the oval cable indicator to define a cable, the new columns I added get populated in my cable list by SkyCAD just fine.  However, when I use the blue multicore cable to these new columns do not get populated.  

I am trying to represent pre-assembled cables which have molded connectors, thus I am not concerned about the internal wires.  I'd like the cable list to show where these cables connect to if possible.  For reference I make sure to update cabling, but that has not done the trick.

 

Please let us know if this helps

Thanks for posting on the forum.

I am trying to represent pre-assembled cables which have molded connectors, thus I am not concerned about the internal wires.
If the individual wires are not represented in the schematics, then indeed, the source/destination columns (as instructions in that forum post) in the cable list will not show any information, since those columns use the wire information.

However, if you use the following queries instead, it should work:

Source:
GetConnectedPorts(Item:0).Parent.DisplayedLabel

Destination:
GetConnectedPorts(Item:1).Parent.DisplayedLabel

Source Location:
GetConnectedPorts(Item:0).Parent.LocatedIn.DisplayedLabel

Destination Location:
GetConnectedPorts(Item:1).Parent.LocatedIn.DisplayedLabel

Please let us know if this helps.

Works for the blue cables but not other cables

This does work for the blue cables very well.  But, it doesn't work for cables drawn with the oval cable indicator (now that I think about it, it is obvious it wouldn't since you provided me queries for cables without their internal wires specified...which is what I asked for).

Is there any way to show the source/destinations for all the cables (whether blue with/without wires or made with the oval cable indicator)?  I envision some sort of query perhaps using a combination of the two methods desribed with a "if" command up front.  If that is the route, and nothing simpler, I can to live with what I have now as cables which have their internal wires specified at least show in the "wire list".  Ideally all the source/destinations would all be listed in one place, but as is I'd still have to deliver a wire list and cable list even if all the cable source/destinations were in the cable list.  That is, I have to deliver two spreadsheets regardless, but it looks a little odd to have some cables in the cable list filled out completely, and others not.

This should work better

Please let us know if these queries in your cable list work better for you:

Source:
If(Test:GetConnectedPorts(Item:0).Parent.DisplayedLabel="";
True:GetWires.GetSource.DisplayedLabel(EXTENDEDLABEL:True);
False:GetConnectedPorts(Item:0).Parent.DisplayedLabel)

Destination:
If(Test:GetConnectedPorts(Item:1).Parent.DisplayedLabel="";
True:GetWires.GetDestination.DisplayedLabel(EXTENDEDLABEL:True);
False:GetConnectedPorts(Item:1).Parent.DisplayedLabel)

Source Location:
If(Test:GetConnectedPorts(Item:0).Parent.LocatedIn.DisplayedLabel="";
True:GetWires.GetSource.LocatedIn.DisplayedLabel;
False:GetConnectedPorts(Item:0).Parent.LocatedIn.DisplayedLabel)

Destination Location:
If(Test:GetConnectedPorts(Item:1).Parent.LocatedIn.DisplayedLabel="";
True:GetWires.GetDestination.LocatedIn.DisplayedLabel;
False:GetConnectedPorts(Item:1).Parent.LocatedIn.DisplayedLabel)

That is very close

This is really close, for the oval cable indicator it works great.  For the blue cable it is nearly there, it shows the source and location, but (and I should have mentioned this earlier) it doesn't show which connector it is connected to.  For instance I use the blue cable to connect between blocks made with the block generator where I've used the communication port to indicate a terminal for the connector.

What you provided is very good, but it shows something like my cable connects between block 'A' and block 'B'.  But I might have many such cables.  Ideally the list would show the cable connects between block 'A' CN1 and block 'B' CN3 for example.

Any chance that can be done?

 

Indeed

We see what you mean. 

Please try this (it seems to work when we test it):

Source:
If(Test:GetConnectedPorts(Item:0).Parent.DisplayedLabel="";
True:GetWires.GetSource.DisplayedLabelV2;
False:GetConnectedPorts(Item:0).DisplayedLabelV2)

Destination:
If(Test:GetConnectedPorts(Item:1).Parent.DisplayedLabel="";
True:GetWires.GetDestination.DisplayedLabelV2;
False:GetConnectedPorts(Item:1).DisplayedLabelV2)

Works in 99% of the cases

Those queries work great for all my cables, except one.  That one cable has a splice.  I made a splice class and symbol, the symbol has three connection points.  Two of the connection points were grouped and set to "flow through".   I connect the cable to each of these grouped connection points and SkyCAD shows the cable has the same number on either side of the splice (so far so good).  But, when I view the cable list, it says the cable connects between block 'A' CN1, for example, and the splice when I wish it would have rather ignored the splice and shown the other cable end connected to block 'B' CN3.

Can the cable list source and destinations be made to ignore a symbol with feed through connections?  If not I can do a workaround, what you have already provided is very good.

Please upload a package of your project

Please upload a package of your project and we'll take a look. 
It will create a special project package file that you can upload to your next reply on this forum discussion.
Note: your project privacy is safe. Only SkyCAD staff can see the file you upload to the forum.

Uploaded

I've uploaded the project package.

Try the splice symbol from Harness

Thanks for that. We see what you mean.

If you use the splice symbol from the Harness library folder, the results are better.
Of course, you can edit the symbol as you wish.

Please try that and let us know.

No difference

There is indeed a splice symbol in the harness library as you said - it is one of the few symbols I can use without the pro license.  That said, it appears to only be a marker one would place on a harness to correlate to a splice in the schematic.  I don't see how that would aid with achieving the proper source and destinations of a cable in the cable list.  I tried it, it didn't do anything I could tell.

There is also a splice symbol in the connections library (the oval).  This symbol permits splicing the blue cable, but the cable list generated when it is used is no different than with my self-generated splice symbol.  Specifically, the cable list shows the blue cable terminates at the splice - though the schematic continues to show the cable going to its ultimate destination.  This behavior occurs with both my splice symbol and the one in the connections library.  

Perhaps my case is an odd one, and I may have been oversymplifying my description.  This latter spliced cable I am trying to model has molded connectors on each end.  Moreover there is a splice midway in the cable where 2 of the many wires are teed out (these two wires run the entire length of the cable just like all the other wires, however these two wires ALSO tee off in the middle of the cable).  The entire cable assembly (the cable itself, the connectors at each end, the splice and two-wire pigtail) has a single part number.  I'm not concerned with any of the individual wires.  I want only to indicate the source and destination of the cable and the fact that a component will attach to the splice.  

The splice symbols I've tried in SkyCAD cause the cable list to indicate the cable terminates at the splice (not helpful for an assembler).  My best workaround at this point is to draw the blue cable between the source and destination without a splice (the cable list is then accurate) and simply place a symbol on the cable indicating the component that couples at the splice.  In this way, that component is included in the BOM and the cable list is accurate. I was just hoping for a more tidy solution...I was thinking the "feed through" properties would have done the trick, but not quite.  

Any thoughts, or is my workaround the best I can expect?

Did you run Wire Renumbering/Processing?

I don't see how that would aid with achieving the proper source and destinations of a cable in the cable list.  I tried it, it didn't do anything I could tell.
After replacing the symbol, you need to run Wire Renumbering/Processing. Once we did that, we got the final result.

My best workaround at this point is to draw the blue cable between the source and destination without a splice (the cable list is then accurate) and simply place a symbol on the cable indicating the component that couples at the splice.  In this way, that component is included in the BOM and the cable list is accurate.
As a last resort, this may work, depending on how you define the component symbol. 

Excellent!

This is great, it all works well now.

 

Thank you!

You're welcome!

Thanks for letting us know that helped!