IPCI logo
Internet-based Performance Centred Instruction
CAD methods for generation of electronic schematics (diagrams) tutorial

Modules

1. Fundamental concepts
2. Design aspects of a low complexity electronic schematic

pages: previous | 1 2 3 4 5 6 [7]

Macrocommands in ORCAD

In order to ease some repetitive cammands of editing Capture program allows recording of a command sequence named macrocommand or macro. Macrocommands from Orcad are relative to the the last action and not to the coordinate point where they were registered. Their execution resumes to the current editing window and the commands leading to other windows.,for example hierarchical shifting or symbol editing ,are not possible.

 

The undo command may not be active after executing a macro. We must be careful when recording a macro in order to not transform using of them in something hard to implement

 

Macrocommands are saved on disk by the form of some ASCII files with the same syntax from Visual Basic,so being possible the editing with a text editor.

 

To record a macro:

1.      One clicks the work area to specify the coordinates where the recording will begin.

  1. From the Macro menu wee choose Record. On screen appears the 3 buttons pallete.

3.      We edit and record the editing operations needed.We canuse the  Pause button to temporarily stop the recording, revival of the recording being possible only by presing the Pause button.The right button from the palette allows recording of a command in dialogue mode , tha inserted values in fields are not saved once with the macro , but when executing the macro.Exiting this recording mode is done by pressing again that button.

  1. One stops the recording with the Stop Recording button.

If the macro is not configured ,is considered temporarily and is not saved on disk.One cand use only the most recent recorded by PLAY command from Macro menu.

  

Example:

1. From Macro menu  one chooses Configure. One selects the recorded macro. Usually the last recorede macro has the name TmpMacro. One presses Save. The dialog Macro Name is displayed on screen. In the  Macro Name box we insert the name we want to  allot the macro. One must no tuse reserved names of the program (hence Help). To assign  some command keys one presses that keys after clicking the Keyboard Assignement box.If one wishes assigning a command  to  CTRL 2  the C, T, R, L letters will be pressed ,then + and finally 2. Similarly we act i fone wishes to use ALT or SHIFT or combinations of them.

 

I one wishes  the macro to be presented in the Macro menu of the  program one introduces the respective text in the Menu Assignment box. To easily recognize the macro i tis recommended  the insertion of an informative text in Description box. One presses OK. The Save As window shows up . One chooses the .BAS extension file and the path and then Save. Exiting the Configure Macro Close.

1. Fundamental concepts
2. Design aspects of a low complexity electronic schematic

pages: previous | 1 2 3 4 5 6 [7]

go to top