2 Replies Latest reply on May 19, 2012 12:58 PM by lary.e

    How to find global signals in Dx project?

    lary.e

      We want to find, by automation, which signals in a design are global.

      Which PIN symbols exist in the board that have the property 'Global Signal Name' and what is their value.

       

      thanks, Lary.

        • 1. Re: How to find global signals in Dx project?
          john_dube

          Hi Lary,

           

          You could open each sheet, call the ActiveView.Query method to find components, check the component's symbol type, and check for the Global Signal Name property.

           

          See How to visit each schematic sheet in DxDesigner 2007.x

           

          Or, you could use the Tools -> List Global Signals menu and parse the text in the Output window, like this:

           

          Set ot = Addins("Output").Control.AddTab("Output")

          ot.Clear

          ExecuteMenuCommand "ToolsListGlobalSignals"

          sSignals = ""

          Do While sSignals = ""

          sSignals = ot.Text

          Scripting.Sleep 100

          Loop

          MsgBox sSignals

           

          John

          • 2. Re: How to find global signals in Dx project?
            lary.e

            Hi John,

            Thank you for your help.

            I think that the documentation is incomplete and inaccurate.

             

            With your help I managed to do it using the second method.

             

            here are the Perl lines for it:

             

            $vdapp =Win32::OLE->GetActiveObject("ViewDraw.Application");

            $ot = $vdapp->addins("Output")->control->addtab("Output");

            $ot->clear;

            $vdapp->executemenucommand("ToolsListGlobalSignals");

            $sSignals = $ot->text;

             

            I did not find the way to do it with the first suggestion.

            I can find all the schematics, sheets and components but don't know how to find the 'Global Signal Name'.

             

            after wondering in the forum I assume that I have to

            Take a look at this discussion:

             

                 Attributes from the underlying symbol

             

             

            Best regards,

             

            Message was edited by: lary.e