Manuals >Reference >ICCAP_FUNC Statement Print version of this Book (PDF file) |
![]() ![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ActionsActions can be used to automate many IC-CAP dialog buttons and menu picks. The following tables cross-reference GUI buttons or menu picks to their corresponding actions.
Add Active InstrAutomates the functionality of the "Add to List" button in the Hardware Setup window's Instrument Library field. Valid Objectsmenu_func style command: "Add Active Instr" Adds the instrument selected in the Instrument Library to the Instrument List. To execute this function manually, the user selects an instrument from the Instrument Library, then presses the "Add to List" button. This functionality is emulated in PEL by appending the instrument to be added in the format: followed by "ok" to the end of the command string.
Exampleiccap_func("Hardware","Add Active Instr","HP8510.7.16","ok") Add Global RegionAutomates the Optimizer > Global Region > Add menu pick in a plot window. Valid ObjectsAdds a global trace region without deleting existing global trace regions. Exampleiccap_func("./dc/fgummel/ibicvsve", "AddGlobalRegion", "0.6", "0.8", "-8", "-3") ! Specify plot number for Multiplot iccap_func("./dc/fgummel/my_multiplot", "AddGlobalRegion", "0.6", "0.8", "-8", "-3", "1") See AlsoAdd GUIAutomates the functionality of the "Add" and "Add Child" buttons in the System GUI Items window. Valid ObjectsAdds Items to a GUI Items page or another GUI Item. You must specify the Item's name and type code. To see the codes for all Item types, select the Show Codes button on the Properties dialog of a GUI Item. Exampleiccap_func("./GUIItems","Add GUI","ANewTable","TL") iccap_func("./ANewTable","Add GUI","Button","PB") See AlsoClose GUI, Close Single GUI, Destroy GUI, Destroy Single GUI, Display Modal GUI, Display Modeless GUI, Display Single Modal GUI, Display Single Modeless GUI, Set GUI Callbacks, Set GUI Options Add Interface FileAutomates the functionality of the "Add Interface" button in the Hardware Setup window's GPIB Interface field. Valid Objectsmenu_func style command: "Add Active Interface" Adds a GPIB Interface to the system. If this function were executed manually, a dialog box would appear asking the user for the name of the interface to be added. This functionality is emulated in PEL by appending the interface to be added followed by "ok" to the end of the command string. Exampleiccap_func("Hardware","Add Interface File","hpib","ok") Add Trace RegionAutomates the Optimizer > trace > Trace Optimizer Region > Add menu pick in a plot window. Valid ObjectsAdds a trace optimizer region for the specified trace without deleting existing trace optimizer regions. Exampleiccap_func("./dc/fgummel/ibicvsve", "AddTraceRegion", "Y Data 0", "0.6", "0.8", "-8", "-3") iccap_func("./dc/fgummel/bvsic", "AddTraceRegion", "Y Data 0", "1e-8", "1e-4", "20", "60") ! Specify plot number for Multiplot iccap_func("./dc/fgummel/my_multiplot", "AddTraceRegion", "Y Data 0", "1e-8", "1e-4", "20", "60", "1") See AlsoArea ToolsAutomates the Options > Session Settings > Area Tools menu pick in a plot window. Valid ObjectsToggles the Area Tools on and off for the specified plot window. Exampleiccap_func("./dc/fgummel/bvsic", "AreaTools") ! Specify plot number for Multiplot iccap_func("./dc/fgummel/my_multiplot", "AreaTools", "1") ! Apply to all plots in a Multiplot iccap_func("./dc/fgummel/my_multiplot", "AreaTools") See AlsoArea Tools OffHides the Area Tools for the specified plot window. Valid ObjectsExampleiccap_func("./dc/fgummel/bvsic", "AreaToolsOff") ! Specify plot number for Multiplot iccap_func("./dc/fgummel/my_multiplot", "AreaToolsOff", "1") ! Apply to all plots in a Multiplot iccap_func("./dc/fgummel/my_multiplot", "AreaToolsOff") See AlsoArea Tools OnDisplays the Area Tools for the specified plot window. Valid ObjectsExampleiccap_func("./dc/fgummel/bvsic", "AreaToolsOn") ! Specify plot number for Multiplot iccap_func("./dc/fgummel/my_multiplot", "AreaToolsOn", "1") ! Apply to all plots in a Multiplot iccap_func("./dc/fgummel/my_multiplot", "AreaToolsOn") See AlsoAutoconfigure or Autoconfigure And EnableAutomates the Optimizer > Autoconfigure and Enable menu pick in a plot window Valid ObjectsAutomatically enables and configures the inputs in a Plot window. Exampleiccap_func("dc/fgummel/icibvsve", "Autoconfigure") iccap_func("dc/fgummel/icibvsve", "AutoconfigureAndEnable") ! Specify plot number for Multiplot iccap_func("dc/fgummel/my_multiplot", "Autoconfigure", "1") ! Apply to all plots in a Multiplot iccap_func("dc/fgummel/my_multiplot", "Autoconfigure") AutoscaleAutomates the Options > Autoscale menu pick in a plot window Valid Objectsmenu_func style command: "Replot Data" Toggles whether the plot automatically rescales when the data changes. Exampleiccap_func("/CGaas1/dc/igvg_0vs/vs/ig_vs_vg", "Autoscale") ! Specify plot number for Multiplot iccap_func("/CGaas1/dc/igvg/my_multiplot", "Autoscale", "1") ! Apply to all plots in a Multiplot iccap_func("/CGaas1/dc/igvg/my_multiplot", "Autoscale") Auto Set Min MaxAutomates the Tools > AutoSet Min Max menu pick in the Plot Optimizer window and the Auto Set button in the Extract/Optimize folder. Valid ObjectsSets minimum and maximum optimizer parameter values based on the value of the coefficient defined with the AUTOSET_COEFF variable. The default coefficient value is 5. Exampleiccap_func("./CGaas1/dc/igvg_0vs","Auto Set Min Max") iccap_func("./PlotOptimizer","Auto Set Min Max") Auto Set Optimize or Auto Set And OptimizeAutomates the Optimizer > Autoset Min/Max and Optimize menu pick in the Plot Optimizer window. Valid ObjectsSets minimum and maximum optimizer parameter values based on the value of the coefficient defined with the AUTOSET_COEFF variable then runs an optimization. The default coefficient value is 5. Exampleiccap_func("./PlotOptimizer","AutoSetAndOptimize") Bus statusAutomates the functionality of the "Tools/Interface/Status" menu pick in the Hardware Setup window. Valid Objectsmenu_func style command: "Bus status" Provides information on the status of the current interface including:
This information is displayed in the IC-CAP/Status window and, if visible, the Hardware Setup window. Exampleiccap_func("Hardware/HPIBAnalyzer","Bus status") CalibrateAutomates the Measure/Simulate folder's Calibrate button. Valid Objectsmenu_func style command: "Calibrate" Performs calibration on the specified setup Exampleiccap_func("CGaas1/dc/igvg_0vs","Calibrate") Change AddressAutomates the functionality of the Instrument Address spin box in the dialog box displayed by the Configure button in the Instrument List in the Hardware Setup window. Valid Objectsmenu_func style command: "Change Address" Sets the address of the specified instrument. If this function were executed manually, the desired new address would be read from the spin box in the Configuration Dialog Box when the OK button was pushed. This functionality is emulated in PEL by appending the old GPIB name string in the format: "library name.select code.address" followed by "ok" and the new desired address followed by "ok" to the end of the command string. Exampleiccap_func("Hardware","Change Address", "HP3577.7.18","ok","19","ok") Change DirectoryAutomates IC-CAP/Main File > Change Directory Valid Objectsmenu_func style command: "Utilities/Change Directory" Prompts for the name of a new directory to use as the current working directory. The directory prompt can be anticipated by the third argument. Exampleiccap_func("ic-cap","Change Directory", "/users/me/my_other_work_dir") Change Interface FileAutomates the functionality of the Tools > Interface > Change menu pick in the Hardware Setup window. Valid Objectsmenu_func style command: "Change Interface File" Changes the currently active GPIB interface. All further commands of the GPIB Analyzer will be directed to this new interface. If this function were executed manually, a dialog box would appear asking the user for the name of the new interface. This functionality is emulated in PEL by appending the name of the new interface followed by "ok" to the end of the command string. Exampleiccap_func("Hardware/HPIBAnalyzer","Change Interface File", "new_name","ok") Check Active AddressAutomates the functionality of the Tools > Address > Check menu pick in the Hardware Setup window. Valid Objectsmenu_func style command: "Check Active Address" This function sends a serial poll to the device at the currently active address as previously set by a call to "Set Active Address." The result is displayed in the IC-CAP/Status window and, if visible, the Hardware Setup window. Exampleiccap_func("Hardware/HPIBAnalyzer","Set Active Address", "8","ok") iccap_func("Hardware/HPIBAnalyzer","Check Active Address") Clear Active ListAutomates the functionality of the DeleteAll button in the Hardware Setup window's Instrument List field. Valid Objectsmenu_func style command: "Clear Active List" Removes all instruments in all setups from the Active Instrument List. Exampleiccap_func("Hardware","Clear Active List") Clear Data/Simulated/Measured/Both
Automates the Model Window's Data > Clear Active Setup Data functionality or the Clear button in the Measure/Simulate folder. Valid Objectsmenu_func style commands were the same. Clears the specified type of data from the outputs and transforms of the named Model, named DUT, or named setup. Examplesiccap_func("/CGaas1/dc/igvg_0vs","Clear Data/Simulated") iccap_func("/CGaas1/dc","Clear Data/Measured") iccap_func("/CGaas1","Clear Data/Both") Clear Plot OptimizerAutomates the File > Clear Plot Optimizer menu pick in the Plot Optimizer window. Valid ObjectsDisables all traces and regions in the plots, disables all open plots, and clears the Parameters table. Exampleiccap_func("./PlotOptimizer","Clear Plot Optimizer") See AlsoClear Table or Clear Parameter Table Clear Status ErrorsClears Status window's Warnings/Errors. Valid ObjectsExampleiccap_func("/","Clear Status Errors") Clear Status OutputClears Status window's IC-CAP Output. Valid ObjectsExampleiccap_func("/","Clear Status Output") Clear Table or Clear Parameter TableAutomates the Clear Table button on the Parameter folder in the Plot Optimizer window and in the Extract/Optimize folder. Valid ObjectsDeletes all parameters and variables in the optimizer's parameter folder. Exampleiccap_func("./CGaas1/dc/igvg_0vs","Clear Table") iccap_func("./PlotOptimizer","Clear Table") See AlsoCloseAutomates the IC-CAP/Simulation Debugger or Plot window's File > Close functionality. Valid Objectsmenu_func style command: "Close" Closes the Simulation Debugger or Plot window if open. Exampleiccap_func("Simulation Debugger","Close") ! closed Simulation Debugger iccap_func("/npn/dc/fgummel/ibicvsve","Close") !closes plot Close AllAutomates the Model window's File > Close functionality. Valid Objectsmenu_func style command: "Close All" Closes the model window and all associated windows, or all plot windows within a named DUT or setup. Exampleiccap_func("/CGaas1","Close All") ! closes model and all children iccap_func("/CGaas1/dc","Close All") ! closes all plots within DUT Close BranchAutomates the action of closing a DUT on the DUTs/Setups tree. Valid ObjectsCloses a DUT on the DUTs/Setups tree. By default, if you fabricate new DUTs with iccap_func Add DUT, the branch will be in the open state. Use this iccap_func to close it. Exampleiccap_func("/mymodel/mydut","Close Branch") See AlsoClose Error LogAutomates the IC-CAP/Status window's Close Error Log functionality. Valid ObjectsExampleiccap_func("ic-cap","Close Error Log") Close GUIAutomates closing an instance of a GUI item. Valid ObjectsCloses the named instance of a GUI item. Although no longer displayed, the GUI item still reacts to modifications to the variables page, etc. Exampleiccap_func("/mdl/dut/orSet/GUIName","Close GUI", "InstanceName") See AlsoAdd GUI, Close Single GUI, Destroy GUI, Destroy Single GUI, Display Modal GUI, Display Modeless GUI, Display Single Modal GUI, Display Single Modeless GUI, Set GUI Callbacks, Set GUI Options Close HardwareAutomates the functionality of the File > Close Window menu pick in the Hardware Setup window. Valid ObjectsThis function closes the Hardware Setup window. Exampleiccap_func("Hardware","Close Hardware") Close License WindowAutomates the functionality of the OK button in the License Status window. The window must be currently displayed (either by a License Status call or by choosing Tools > License Status in the Main window). Valid ObjectsThis function closes the License Status window. Exampleiccap_func("IC-CAP","Close License Window") Close Output LogAutomates the IC-CAP/Status window's Close Output Log functionality. Valid ObjectsExampleiccap_func("ic-cap","Close Output Log") Close Single GUIAutomates closing a single displayed GUI item. Valid ObjectsCloses the displayed GUI item. Although no longer displayed, the GUI item still reacts to modifications to the variables page, etc. Exampleiccap_func("/mdl/dut/orSet/GUIName","Close Single GUI") See AlsoAdd GUI, Close GUI, Destroy GUI, Destroy Single GUI, Display Modal GUI, Display Modeless GUI, Display Single Modal GUI, Display Single Modeless GUI, Set GUI Callbacks, Set GUI Options ColorAutomates the Options > Session Settings > Color menu pick in a plot window. Valid ObjectsToggles between color and black and white. Each time you c all you either go to color or to black and white. Exampleiccap_func("/CGaas1/dc/igvg_0vs/vs/ig_vs_vg","Color") CopyAutomates copying an item to a new name, but does not permit undo or paste after completion. Valid ObjectsModel, Macro, DUT, Setup, Input, Output, Transform, Plot, Circuit, Test Circuit, Parameter Set, Device Parameter Set, GUI Item. menu_func style command: "Copy" Prompts for the name of the copied item, or uses the optional third argument if provided. The name of the copied item is determined relative to the item being copied, not relative to the transform/macro being run. Whether prompted or supplying the optional third argument, the name of the copied item must name the item. Thus to copy item item to container container, you must specify the copied name as container/item, not simply container. Exampleiccap_func("/CGaas1","Copy","myCGaas1") iccap_func("/CGaas1/extract","Copy","myCGaas1/extract2") iccap_func("/mymodel/myGUI.subgui","Copy","newgui") ! creates /mymodel/myGUI.newgui iccap_func("/mymodel/myGUI.subgui","Copy","./newGUI") ! creates /mymodel/newGUI (name relative to copied item) Copy to ClipboardAutomates the Options > Copy to Clipboard menu pick in a plot window. This feature is only available for the PC version of IC-CAP. Valid ObjectsExampleiccap_func("/CGaas1/dc/igvg_0vs/vs/ig_vs_vg","Copy to Clipboard") Copy to VariablesAutomates the Options > Copy to Variables menu pick in a plot window. Valid Objectsmenu_func style command: "Set Variables" Sets X_HIGH, X_LOW, Y_HIGH, and Y_LOW if those variables exist somewhere that the plot can see them and if a box has been selected on the graph. This function is not available for the Multiplot window. Exampleiccap_func("/CGaas1/dc/igvg_0vs/vs/ig_vs_vg","Copy to Variables") Create Variable Table VariableAutomates adding a new variable to a Variable table. Valid ObjectsUses one anticipated argument to name the variable to add to the Variable table on the noted object. Note, if this variable already exists, no action is taken.
Examplesiccap_func("/npn","CreateVariableTableVariable", "newVariable") See AlsoSet Table Field Value, Set Variable Table Value Data MarkersAutomates the Options > Data Markers menu pick in a plot window Valid Objectsmenu_func style command: "Line Number On Off" Toggles whether Data Markers are displayed on the plot. Exampleiccap_func("/CGaas1/dc/igvg_0vs/vs/ig_vs_vg","Data Markers") DeleteAutomates Edit > Delete (no Undo) menu selection Valid ObjectsModel, Macro, DUT, Setup, Input, Output, Transform, Plot menu_func style command: "Delete" Deletes the named object from the system. No Undo Exampleiccap_func("/CGaas1","Delete") Delete Active InstrAutomates the functionality of the Delete button in the Hardware Setup window's Instrument List field. Valid Objectsmenu_func style command: "Delete Active Instr" Deletes the instrument selected in the Instrument List from the Active Instrument List. If this function were executed manually, the user would select the instrument in the Instrument List field and press the "Delete" button. This functionality is emulated in PEL by appending the instrument to be deleted in the format: followed by "ok" to the end of the command string.
Exampleiccap_func("Hardware","Delete Active Instr", "HP8510.7.16","ok") Delete Interface FileAutomates the functionality of the "Delete Interface" button in the Hardware Setup window's GPIB Interface field. Valid Objectsmenu_func style command: "Delete Active Interface" Deletes a GPIB Interface from the system. If this function were executed manually, the user would select the interface to be delete from the GPIB Interface list and press the "Delete Interface" button. This functionality is emulated in PEL by appending the interface name to be deleted followed by "ok" to the end of the command string. Exampleiccap_func("Hardware","Delete Interface File","hpib","ok") Delete Global RegionsAutomates the Optimizer > Global Region > Delete All menu pick in a plot window. Valid ObjectsDeletes all global trace regions. Exampleiccap_func("./dc/fgummel/ibicvsve", "DeleteGlobalRegions") ! Specify plot number for Multiplot iccap_func("./dc/fgummel/my_multiplot", "DeleteGlobalRegions", "1") See AlsoDelete Trace RegionsAutomates the Optimizer > trace > Trace Optimizer Region > DeleteAll menu pick in a plot window Valid ObjectsDeletes all existing trace optimizer regions for the selected trace. Exampleiccap_func("./dc/fgummel/ibicvsve", "DeleteTraceRegions", "Y Data 0") ! Specify plot number for Multiplot iccap_func("./dc/fgummel/my_multiplot", "DeleteTraceRegions", "Y Data 0", "1") See AlsoDelete All User RegionsDeletes all user defined regions. Valid ObjectsExampleiccap_func("dc/fgummel/icibvsve", "DeleteAllUserRegions") See AlsoDelete User Region, Set User Region Delete User RegionDeletes specified user defined region. Valid ObjectsExampleiccap_func("dc/fgummel/icibvsve", "DeleteUserRegion", "my_region_name") See AlsoDelete All User Regions, Set User Region Destroy GUIAutomates closing an instance of a GUI item and frees the associated memory. Valid ObjectsCloses the named instance of a GUI item and frees the associated memory. The next Display needs to build the entire item again. Exampleiccap_func("/mdl/dut/orSet/GUIName","Destroy GUI", "InstanceName") See AlsoAdd GUI, Close GUI, Close Single GUI, Destroy Single GUI, Display Modal GUI, Display Modeless GUI, Display Single Modal GUI, Display Single Modeless GUI, Set GUI Callbacks, Set GUI Options Destroy Single GUIAutomates closing a single displayed GUI item and frees the associated memory. Valid ObjectsCloses the displayed GUI item and frees the associated memory. The next Display needs to build the entire item again. Exampleiccap_func("/mdl/dut/orSet/GUIName","Destroy Single GUI") See AlsoAdd GUI, Close GUI, Close Single GUI, Destroy GUI, Display Modal GUI, Display Modeless GUI, Display Single Modal GUI, Display Single Modeless GUI, Set GUI Callbacks, Set GUI Options DiagnosticsAutomates functionality of IC-CAP/Main Tools > Options > Diagnostics. Valid Objectsmenu_func style command: "Utilities/Diagnostics" Does a diagnostic check on most objects in the system. Reports on data structure integrity. Output is of the format:
If no errors are reported, IC-CAP is functioning normally. Exampleiccap_func("ic-cap","Diagnostics") DiagnosticsAutomates the functionality of the Instruments > Usage menu pick in the Hardware Setup window. Valid Objectsmenu_func style command: "Diagnostics" This command displays the usages of the instruments specified in the model file. Exampleiccap_func("Hardware","Diagnostics") Disable AllAutomates the Plots > Disable All menu pick in the Plot Optimizer window. Valid ObjectsDisables all open Plot windows in a model file. Exampleiccap_func("./PlotOptimizer","DisableAll") Disable All TracesAutomates the Optimizer > Disable All Traces menu pick in a plot window. Valid ObjectsExampleiccap_func("dc/fgummel/icibvsve", "DisableAllTraces") ! Specify plot number for Multiplot iccap_func("dc/fgummel/my_multiplot", "DisableAllTraces", "1") Disable PlotAutomates the Optimizer > Enable/Disable Plot menu pick in a plot window. Valid ObjectsExampleiccap_func("dc/fgummel/icibvsve", "DisablePlot") ! Specify plot number for Multiplot iccap_func("dc/fgummel/my_multiplot", "DisablePlot", "1") Disable SuppliesAutomates the functionality of the Instruments > Zero Sources menu pick in the Hardware Setup window. Valid Objectsmenu_func style command: "Disable Supplies" This command sets the outputs of all signal sources found either by the "Rebuild Active List" function or as the result of a measurement. Exampleiccap_func("Hardware","Disable Supplies") Disable TraceAutomates the Optimizer > trace > Disable menu pick in a plot window Valid ObjectsExampleiccap_func("dc/fgummel/icibvsve", "DisableTrace", "Y Data 1") ! Specify plot number for Multiplot iccap_func("dc/fgummel/my_multiplot", "DisableTrace", "Y Data 1", "1") Display Found InstrsAutomates the functionality of the Instruments > Display menu pick in the Hardware Setup window. Valid Objectsmenu_func style command: "Display Found Instrs" This command displays all the devices found on the bus either during the execution of the "Rebuild Active List" command or as the result of a measurement. Exampleiccap_func("Hardware","Display Found Instrs") Display Modal GUIAutomates displaying a named instance of a modal GUI. Valid ObjectsSince the third argument is a unique name for that instance of the dialog, you can raise three identical dialogs if it makes sense to do so. Exampleiccap_func("/mdl/dut/orSet/GuiName","Display Modal GUI", "InstanceName") See AlsoAdd GUI, Close GUI, Close Single GUI, Destroy GUI, Destroy Single GUI, Display Modeless GUI, Display Single Modal GUI, Display Single Modeless GUI, Set GUI Callbacks, Set GUI Options Display Modeless GUIAutomates displaying a named instance of a modeless GUI. Valid ObjectsSince the third argument is a unique name for that instance of the dialog, you can raise three identical dialogs if it makes sense to do so. Exampleiccap_func("/mdl/dut/orSet/GuiName","Display Modeless GUI", "InstanceName") See AlsoAdd GUI, Close GUI, Close Single GUI, Destroy GUI, Destroy Single GUI, Display Modal GUI, Display Single Modal GUI, Display Single Modeless GUI, Set GUI Callbacks, Set GUI Options Display PlotAutomates the Display Plot functionality. Valid Objectsmenu_func style command: "Display Plot" Examples:iccap_func("DC/forward/log_ia_va","Display Plot") iccap_func("MultiPlot/wafermap_sim/WaferMap","Display Plot") Display PlotsAutomates the Data > Plots > Display All functionality. Valid Objectsmenu_func style command: "Display Plots" Displays all plots available in the named Model, named DUT, or named setup. Examples:iccap_func("/CGaas1/dc","Display Plots") iccap_func("/CGaas1/dc/igvg_0vs","Display Plots") iccap_func("/CGaas1","Display Plots") Display Single Modal GUIAutomates displaying a single modal GUI item. Valid ObjectsSince a name is not required, you can only show the dialog once using this command. This is useful for callbacks—see the properties for the Wizard GUI Item's Cancel button in the gui_tutorial.mdl. Exampleiccap_func("/mdl/dut/orSet/GuiName","Display Single Modal GUI") See AlsoAdd GUI, Close GUI, Close Single GUI, Destroy GUI, Destroy Single GUI, Display Modal GUI, Display Modeless GUI, Display Single Modeless GUI, Set GUI Callbacks, Set GUI Options Display Single Modeless GUIAutomates displaying a single modeless GUI item. Valid ObjectsSince a name is not required, you can only show the dialog once using this command. This is useful for callbacks—see the properties for the Wizard GUI Item's Cancel button in the gui_tutorial.mdl. Exampleiccap_func("/mdl/dut/orSet/GuiName","Display Single Modeless GUI") See AlsoAdd GUI, Close GUI, Close Single GUI, Destroy GUI, Destroy Single GUI, Display Modal GUI, Display Modeless GUI, Display Single Modal GUI, Set GUI Callbacks, Set GUI Options Draw Diag LineAutomates the Options > Draw Diag Line menu pick in a plot window Valid Objectsmenu_func style command: "Draw Diag Line" Draws a solid line along the diagonal. Acts as a toggle, each time you call you either draw it or take it down. Exampleiccap_func("/CGaas1/dc/igvg_0vs/vs/ig_vs_vg","DrawDiagLine") ! Specify plot number for Multiplot iccap_func("/CGaas1/dc/igvg/my_multiplot","DrawDiagLine", "1") Dump To PlotterProvided to be compatible with Version 4.5 style of printing Valid Objectsmenu_func style command: "Dump To Printer" Prompts for the name of the command through which to pipe the HPGL file. May be anticipated by a third argument. Prints the graphical plot. Exampleiccap_func("/CGaas1/dc/igvg_0vs/vs/ig_vs_vg","Dump To Plotter","lp -dmyprinter") See AlsoPrint Via Server, Dump To Printer, Dump Via Server Dump To PrinterProvided to be compatible with 4.5 style of printing. Valid Objectsmenu_func style command: "Dump To Printer" Prompts for the name of the command through which to pipe the required file. May be anticipated by a third argument. Prints the graphical plot.
The format of the file passed to the command will be PostScript. This is different from the 4.5 release. (Dump Via Server is recommended.)
If existing PEL code passes a command as an additional parameter, it must be modified to expect PostScript instead of the 4.5 formats.
Exampleiccap_func("/CGaas1/dc/igvg_0vs/vs/ig_vs_vg","Dump To Printer","lp -dmyprinter") See AlsoPrint Via Server, Dump To Plotter, Dump Via Server Dump To StdoutAutomates the "Dump To Stdout" button on the 'View Data' window. Valid Objectsmenu_func style command: "Dump To Stdout" Writes the text that would go in the 'View Data' block out to the output window of the Status window. Useful if running a logfile of the output window and you want to monitor your automation. Exampleiccap_func("CGaas1/dc/igvg_0vs/vs","Dump To Stdout") Dump Via ServerAutomates printing to supported file types. Valid Objectsmenu_func style command: none (see "Send to Printer") Provides functionality for the HPGL2 printing capability available in the File > Print dialog box. For the PC, this also provides functionality for the .emf file output accessed in the File > Print dialog box. Finally, it provides the capability to create a black and white postscript file. Note, this is for backward compatibility only and this black and white postscript file can only be printed via this command—there is no user interface access to generating such a postscript file. This iccap_func() prompts with questions for additional arguments. Initially you are prompted "Print to a File?"
Examples:! following line creates an HPGL2 file iccap_func("myPlot","Dump Via Server","Y","hpglfile.hgl", "HPGL2") ! following line creates a black & white postscript file iccap_func("myPlot","Dump Via Server","Y","psfile.ps","PS") ! following line will create a .emf file on PC only iccap_func("myPlot","Dump Via Server","Y","emffile.emf", "EMF") See AlsoSend To Printer, Dump To Printer, Dump To Plotter, and Variables PAPER and PLOT_SCALE_FACTOR Dump Via Server UIAutomates a Plot window's File > Print functionality. Valid ObjectDisplays the Print dialog box for printing a graphical plot. Exampleiccap_func("myPlot","Dump Via Server UI") See AlsoEditAutomates the IC-CAP/Main window's File > Restore functionality or an Input, Output, or Plot's Edit… functionality. Valid Objectsmenu_func style command: "Edit" Opens the Model window for the specified model. For Inputs, Outputs, or Plots, opens the dialog box for editing the definition of that Input, Output, or Plot. You cannot use extra arguments to fill in the dialog box. For that functionality, use "Set Table Field Value" instead.
The dialog box for editing the definition of an Input, Output, or Plot actually edits a temporary Input, Output, or Plot that is thrown away if the user clicks Cancel. If the user clicks OK, then the temporary Input, Output, or Plot is copied over the original Input, Output, or Plot. This changes the order of the plots and also closes any open plots. The user will have to reopen the plots or refresh a Multiplot.
You can use iccap_find_children to inspect the setup after a call to Edit to determine if the user changed the name of the edited setup. If the old name is no longer in the setup, then the new name will be the last item in the list. If the user clicked Cancel, the order will be unchanged.
Exampleiccap_func("/CGaas1","Edit") iccap_func("/npn/dc/fgummel/bvsic","Edit") iccap_func("/npn/dc/fgummel/ic","Edit") iccap_func("/npn/dc/fgummel/vc","Edit") Enable AllAutomates the Plots > Enable All menu pick in the Plot Optimizer window. Valid ObjectsEnables all open Plot windows in a model file. Exampleiccap_func("./PlotOptimizer","Enable All") Enable PlotAutomates the Optimizer > Enable/Disable Plot menu pick in a plot window Valid ObjectsEnables the plot window. Enabling the plot window synchronizes it with the Plot Optimizer window. Exampleiccap_func("dc/fgummel/icibvsve", "EnablePlot") ! Specify plot number for Multiplot iccap_func("dc/fgummel/my_multiplot", "EnablePlot", "1") ! Apply to all plots in a Multiplot iccap_func("dc/fgummel/my_multiplot", "EnablePlot") Exchange Black-WhiteAutomates the Options > Session Settings > Exchange Black-White menu pick in a plot window. Valid Objectsmenu_func style command: "Exchange Blk Wht" Toggles the background color of the plot from black to white. Exampleiccap_func("/CGaas1/dc/igvg_0vs/vs/ig_vs_vg","Exchange Black-White") ExecuteAutomates the Execute button on the Macro or Extract/Optimize Page. Valid Objectsmenu_func style command: "Execute" for macros and "Perform Transform" for transforms Executes the named macro or transform. Exampleiccap_func("/CGaas1/extract","Execute") iccap_func("/CGaas1/dc/igvg_0vs/rf_off","Execute")
If the macro contains a LINPUT statement, which prompts for user input, you can include the desired responses as additional arguments in the iccap_func statement.
Exit/Exit!
Automates the IC-CAP/Main window's File > Exit functionality. Valid Objectsmenu_func style command: "Exit/Exit IC-CAP" which maps to the new "Exit" form Shuts down the current IC-CAP session.
Exampleiccap_func("ic-cap","Exit") iccap_func("ic-cap","Exit!") Export Data MeasuredAutomates the Export Data button in the Measure/Simulate folder. Valid ObjectsPrompts for the name of the file to export the measured data to, or uses the optional third argument if provided. (No provision is made for exporting transforms with this iccap_func statement.) Exampleiccap_func("/spar_vs_temp/ac/spar_vs_temp","Export Data Measured","my_file.mdm") Export DatasetAutomates the Model window's File > Export Data menu pick functionality. Valid ObjectsExports the data to a dataset file (*.ds) in the specified path. If the optional third argument is not specified, prompts for the full path and file name. Exampleiccap_func("/CGaas1","Export Dataset", "/tmp/data/my_dataset.ds") iccap_func("/CGaas1/dc","Export Dataset", "/tmp/data/my_dataset.ds") iccap_func("/CGaas1/dc/igvg_0vs","Export Dataset", "/tmp/data/my_dataset.ds") See AlsoExport Data SimulatedAutomates the Export Data button in the Measure/Simulate folder. Valid ObjectsPrompts for the name of the file to export the simulated data to, or uses the optional third argument if provided. (No provision is made for exporting transforms with this iccap_func statement.) Exampleiccap_func("/spar_vs_temp/ac/spar_vs_temp","Export Data Simulated","my_file.mdm") ExtractAutomates the Extract menu picks. Valid Objectsmenu_func style command: "Extract" Performs Extraction Transforms on all setups within named DUT or within named setup. Exampleiccap_func("/CGaas1/dc","Extract") iccap_func("/CGaas1/dc/igvg_0vs","Extract") File Debug OnAutomates functionality of IC-CAP/Main Tools > Options > File Debug. Valid Objectsmenu_func style command: "Utilities/File Debug On" Logs most debug information to $HOME/.icdebug. Also prints certain information only to the Status window. Exampleiccap_func("ic-cap","File Debug On") See AlsoFile/Screen Debug Off
Automates functionality of IC-CAP/Main Tools > Options > File Debug and IC-CAP/Main Tools > Options > Screen Debug by effectively turning the toggles off. Valid Objectsmenu_func style command: "Utilities/Debug Off" "File Debug Off", "Screen Debug Off", and "Debug Off" All have the same effect. They halt logging of data either to the screen or file. Exampleiccap_func("ic-cap","Debug Off") See AlsoFile Debug On, Screen Debug On FooterAutomates the Options > Session Settings > Footer menu pick in a plot window Valid ObjectsToggles the footer text on and off for the specified plot. If Show Absolute Error or Show Relative Error is turned on, the error is displayed in the footer area and the footer text is turned off. Exampleiccap_func("./dc/fgummel/bvsic", "Footer") ! Specify plot number for Multiplot iccap_func("./dc/fgummel/my_multiplot", "Footer", "1") ! Apply to all plots in a Multiplot iccap_func("./dc/fgummel/my_multiplot", "Footer") See AlsoFooter Off, Footer On, Show Absolute Error, Show Relative Error Footer OffTurns off the footer text for the specified plot. Valid ObjectsExampleiccap_func("./dc/fgummel/bvsic", "FooterOff") ! Specify plot number for Multiplot iccap_func("./dc/fgummel/my_multiplot", "FooterOff", "1") ! Apply to all plots in a Multiplot iccap_func("./dc/fgummel/my_multiplot", "FooterOff") See AlsoFooter OnTurns on the footer text for the specified plot Valid ObjectsExampleiccap_func("./dc/fgummel/bvsic", "FooterOn") ! Specify plot number for Multiplot iccap_func("./dc/fgummel/my_multiplot", "FooterOn", "1") ! Apply to all plots in a Multiplot iccap_func("./dc/fgummel/my_multiplot", "FooterOn") See AlsoFull Page PlotAutomates the Plots > Full Page Plot menu pick in a Multiplot window Valid ObjectsIn the Multiplot window, displays only the specified plot and hides all other plots. Use Undo Zoom to display all plots. Exampleiccap_func("./dc/fgummel/my_multiplot", "FullPagePlot", "1") See AlsoToggle Zoom, Zoom Plot, Undo Zoom HeaderAutomates the Options > Session Settings > Header menu pick in a plot window Valid ObjectsToggles the header text on and off for the specified plot. Exampleiccap_func("./dc/fgummel/bvsic", "Header") ! Specify plot number for Multiplot iccap_func("./dc/fgummel/my_multiplot", "Header", "1") ! Apply to all plots in a Multiplot iccap_func("./dc/fgummel/my_multiplot", "Header") See AlsoHeader OffTurns on the header text for the specified plot Valid ObjectsExampleiccap_func("./dc/fgummel/bvsic", "HeaderOff") ! Specify plot number for Multiplot iccap_func("./dc/fgummel/my_multiplot", "HeaderOff", "1") ! Apply to all plots in a Multiplot iccap_func("./dc/fgummel/my_multiplot", "HeaderOff") See AlsoHeader OnTurns on the header text for the specified plot Valid ObjectsExampleiccap_func("./dc/fgummel/bvsic", "HeaderOn") ! Specify plot number for Multiplot iccap_func("./dc/fgummel/my_multiplot", "HeaderOn", "1") ! Apply to all plots in a Multiplot iccap_func("./dc/fgummel/my_multiplot", "HeaderOn") See AlsoHide Highlighted CurvesDoes not highlight the curves that were marked highlighted. Valid ObjectsThis command allows you to retain the set of highlighted curves, but not display them highlighted. Note the highlight set of curves will always highlight during an optimization. You can use this command to turn off the highlight after an optimization completes. Exampleiccap_func("dc/fgummel/icibvsve", "Hide Highlighted Curves") ! Do not show the curves highlighted, which have been marked ! highlighted in the 2nd subplot of my_muliplot. ! Specify the subplot number as "1" iccap_func("dc/fgummel/my_multiplot", "Hide Highlighted Curves", "1") ! Do not show the curves highlighted, which have been marked ! highlighted in all the subplots of my_muliplot. iccap_func("dc/fgummel/my_multiplot","Hide Highlighted Curves") See AlsoMark Curve Highlighted, Unmark Highlighted Curve, Unmark All Highlighted Curves, Show Highlighted Curves I-O_LockAutomates the functionality of the Tools > Interface > Lock menu pick in the Hardware Setup window. Valid Objectsmenu_func style command: "I-O_Lock" Because the GPIB allows multiple sessions on the same device or interface, the action of opening does not mean the user has exclusive use. In some cases, the user might not want others to have access to the devices on the bus or interface while he is using it. In such cases, the interface should be locked, which restricts other device and interface sessions from accessing it. This function sends a lock command to the currently active interface. Exampleiccap_func("Hardware/HPIBAnalyzer","I-O_Lock") I-O_ResetAutomates the functionality of the Tools > Interface > Reset menu pick in the Hardware Setup window. Valid Objectsmenu_func type command: "I-O_Reset" This function sends a reset command to the currently active interface. Exampleiccap_func("Hardware/HPIBAnalyzer","I-O_Reset") I-O_Screen Debug OFFAutomates the functionality of the View > Screen Debug menu pick in the Hardware Setup window. Valid Objectsmenu_func style command: "I-O_Screen Debug OFF" This command turns off the IC-CAP GPIB debugger and removes the check mark from the menu item. Exampleiccap_func("Hardware/HPIBAnalyzer","I-O_Screen Debugger OFF") I-O_Screen Debug ONAutomates the functionality of the View > Screen Debug menu pick in the Hardware Setup window. This menu item is a toggle. If a checkmark appears next to the it, the debugger is ON; otherwise, it is OFF. Valid Objectsmenu_func style command: "I-O_Screen Debug ON" This command turns on the IC-CAP GPIB debugger which produces detailed status messages as the various operations are executed. This information is displayed in the IC-CAP/Status window and, if visible, the Hardware Setup window. Exampleiccap_func("Hardware/HPIBAnalyzer","I-O_Screen Debug ON") I-O_UnlockAutomates the functionality of the Tools > Interface > Unlock menu pick in the Hardware Setup window. Valid Objectsmenu_func style command: "I-O_Unlock" This function sends a unlock command to the currently active interface. Exampleiccap_func("Hardware/HPIBAnalyzer","I-O_Unlock") Import CreateReads named MDM file, removes existing information from setup, then imports all header information and data from the file to the setup object. If third argument is omitted, you will be prompted for a filename. Valid ObjectsData is read into the measured array for outputs of type M or B and into the simulated array for outputs of type S. This is identical to Import Create Measured or Simulated. Exampleiccap_func("/myModel/myDut/mySetup","Import Create", "/tmp/tmpfile.mdm") iccap_func("/myModel/myDut/mySetup","Import Create") ! prompt user See AlsoImport Create Header Only, Import Create Measured, Import Create Simulated, Import Create Simulated or Measured Import Create Header OnlyReads the header of the MDM file and creates or modifies the named setup to exactly match the shape of the data contained in the MDM file. No data is imported. If third argument is omitted, you will be prompted for a filename. Valid ObjectsExampleiccap_func("/myModel/myDut/mySetup","Import Create Header Only","/tmp/tmpfile.mdm") iccap_func("/myModel/myDut/mySetup","Import Create Header Only") ! prompt user See AlsoImport Create, Import Create Measured, Import Create Simulated, Import Create Measured or Simulated, Import Create Simulated or Measured Import Create MeasuredReads named MDM file, removes existing information from setup, then imports all header information and data from the file to the setup object. If third argument is omitted, you will be prompted for a filename. Valid ObjectsData is read into the measured array for outputs of type M or B and no data is read into the simulated array for outputs of type S. Exampleiccap_func("/myModel/myDut/mySetup","Import Create Measured","/tmp/tmpfile.mdm") iccap_func("/myModel/myDut/mySetup","Import Create Measured")! prompt user See AlsoImport Create, Import Create Header Only, Import Create Simulated, Import Create Measured or Simulated, Import Create Simulated or Measured Import Create Measured or SimulatedReads named MDM file, removes existing information from setup, then imports all header information and data from the file to the setup object. If third argument is omitted, you will be prompted for a filename. Valid ObjectsData is read into the measured array for outputs type M or B and into the simulated array for outputs type S. This is identical to Import Create. Exampleiccap_func("/myModel/myDut/mySetup","Import Create Measured or Simulated","/tmp/tmpfile.mdm") iccap_func("/myModel/myDut/mySetup","Import Create Measured or Simulated") ! prompt user See AlsoImport Create Header Only, Import Create Measured, Import Create Simulated, Import Create Simulated or Measured Import Create SimulatedReads named MDM file, removes existing information from setup, then imports all header information and data from the file to the setup object. If third argument is omitted, you will be prompted for a filename. Valid ObjectsData is read into the simulated array for outputs type S or B and no data is read into the measured array for outputs of type M. Exampleiccap_func("/myModel/myDut/mySetup","Import Create Simulated","/tmp/tmpfile.mdm") iccap_func("/myModel/myDut/mySetup","Import Create Simulated") ! prompt user See AlsoImport Create, Import Create Header Only, Import Create Measured, Import Create Measured or Simulated, Import Create Simulated or Measured Import Create Simulated or MeasuredReads named MDM file, removes existing information from setup, then imports all header information and data from the file to the setup object. If third argument is omitted, you will be prompted for a filename. Valid ObjectsData is read into the simulated array for outputs of type S or B and into the measured array for outputs of type M. Exampleiccap_func("/myModel/myDut/mySetup","Import Create Simulated or Measured","/tmp/tmpfile.mdm") iccap_func("/myModel/myDut/mySetup","Import Create Simulated or Measured") ! prompt user See AlsoImport Create, Import Create Header Only, Import Create Measured, Import Create Simulated, Import Create Measured or Simulated Import DataAutomates the Model window's File > Import Data > Active Setup, All Setups in Active DUT, or All DUTs in a Model menu pick. Valid ObjectsFor Model and DUT, MDM filenames are specified in MDM_FILE_PATH and MDM_FILE_NAME in the setups contained by the DUT or Model. For calls to Setup objects, either specify the name in the 3rd argument or you will be prompted for a filename. Data is read into the measured array for outputs type M or B and into the simulated array for outputs type S. This is identical to Import Measured or Simulated Data. Exampleiccap_func("/CGaas1","Import Data") ! Imports data to all DUTs in a model iccap_func("/CGaas1/dc","Import Data") ! Imports data to all Setups in a DUT iccap_func("/CGaas1/dc/igvg_0vs","Import Data") ! Imports data to a single setup, prompts user iccap_func("/CGaas1/dc/igvg_0vs","Import Data","tmp.mdm") ! Imports data to a single setup See AlsoImport Measured Data, Import Measured or Simulated Data, Import Simulated Data, Import Simulated or Measured Data Import DeleteDeletes inputs and outputs from the named setup. Valid ObjectsExampleiccap_func("/CGaas1/dc/igvg_0vs","Import Delete") Import Measured DataAutomates the Model window's File > Import Data > Active Setup, All Setups in Active DUT, or All DUTs in a Model menu pick and selects Measured only. Valid ObjectsFor Model and DUT, MDM filenames are specified in MDM_FILE_PATH and MDM_FILE_NAME in the setups contained by the DUT or Model. For calls to Setup objects, either specify the name in the 3rd argument or you will be prompted for a filename. Data is read into the measured array for outputs of type M or B and no data is read into the simulated array for outputs of type S. Exampleiccap_func("/CGaas1","Import Measured Data") ! Imports measured data to all DUTs in a model iccap_func("/CGaas1/dc","Import Measured Data") ! Imports measured data to all Setups in a DUT iccap_func("/CGaas1/dc/igvg_0vs","Import Measured Data") ! Imports measured data to a single setup and prompts user iccap_func("/CGaas1/dc/igvg_0vs","Import Measured Data","tmp.mdm") ! Imports measured data to a single setup See AlsoImport Data, Import Measured or Simulated Data, Import Simulated Data, Import Simulated or Measured Data Import Measured or Simulated DataAutomates the Model window's File > Import Data > Active Setup, All Setups in Active DUT, or All DUTs in a Model menu pick and selects Measured if available, otherwise Simulated. Valid ObjectsFor Model and DUT, MDM filenames are specified in MDM_FILE_PATH and MDM_FILE_NAME in the setups contained by the DUT or Model. For calls to Setup objects, either specify the name in the 3rd argument or you will be prompted for a filename. Data is read into the measured array for outputs type M or B and into the simulated array for outputs type S. This is identical to Import Data. Exampleiccap_func("/CGaas1","Import Measured or Simulated Data") ! Imports measured data if available, otherwise simulated ! data to all DUTs in a model iccap_func("/CGaas1/dc","Import Measured or Simulated Data") ! Imports measured data if available, otherwise simulated ! data to all Setups in a DUT iccap_func("/CGaas1/dc/igvg_0vs","Import Measured or Simulated Data") ! Imports measured data if available, otherwise simulated ! data to a single setup and prompts user iccap_func("/CGaas1/dc/igvg_0vs","Import Measured or Simulated Data","tmp.mdm") ! Imports measured data if available, otherwise simulated ! data to a single setup See AlsoImport Data, Import Measured Data, Import Simulated Data, Import Simulated or Measured Data Import Simulated DataAutomates the Model window's File > Import Data > Active Setup, All Setups in Active DUT, or All DUTs in a Model menu pick and selects Simulated only. Valid ObjectsFor Model and DUT, MDM filenames are specified in MDM_FILE_PATH and MDM_FILE_NAME in the setups contained by the DUT or Model. For calls to Setup objects, either specify the name in the 3rd argument or you will be prompted for a filename. Data is read into the simulated array for outputs type S or B and no data is read into the measured array for outputs of type M. Exampleiccap_func("/CGaas1","Import Simulated Data") ! Imports simulated data to all DUTs in a model iccap_func("/CGaas1/dc","Import Simulated Data") ! Imports simulated data to all Setups in a DUT iccap_func("/CGaas1/dc/igvg_0vs","Import Simulated Data") ! Imports simulated data to a single setup and prompts user iccap_func("/CGaas1/dc/igvg_0vs","Import Simulated Data","tmp.mdm") ! Imports simulated data to a single setup See AlsoImport Data, Import Measured Data, Import Measured or Simulated Data, Import Simulated or Measured Data Import Simulated or Measured DataAutomates the Model window's File > Import Data > Active Setup, All Setups in Active DUT, or All DUTs in a Model menu pick and selects Simulated if available, otherwise Measured. Valid ObjectsFor Model and DUT, MDM filenames are specified in MDM_FILE_PATH and MDM_FILE_NAME in the setups contained by the DUT or Model. For calls to Setup objects, either specify the name in the 3rd argument or you will be prompted for a filename. Data is read into the simulated array for outputs of type S or B and into the measured array for outputs of type M. Exampleiccap_func("/CGaas1","Import Simulated or Measured Data") ! Imports simulated data if available, otherwise measured ! data to all DUTs in a model iccap_func("/CGaas1/dc","Import Simulated or Measured Data") ! Imports simulated data if available, otherwise measured ! data to all Setups in a DUT iccap_func("/CGaas1/dc/igvg_0vs","Import Simulated or Measured Data") ! Imports simulated data if available, otherwise measured ! data to a single setup and prompts user iccap_func("/CGaas1/dc/igvg_0vs","Import Simulated or Measured Data","tmp.mdm") ! Imports simulated data if available, otherwise measured ! data to a single setup See AlsoImport Data, Import Measured Data, Import Measured or Simulated Data, Import Simulated Data Import TextAutomates the "Import Text..." button in the Circuit folder. Valid Objectsmenu_func style command: "Read Netlist" Prompts for the name of a file from which to read text. Places all text in the Circuit folder. Automatically performs Parse. An optional third argument may be specified to name the file. Exampleiccap_func("/CGaas1/Circuit","Import Text","mycirc.deck") iccap_func("/CGaas1/dc/TestCircuit","Import Text", "mycirc.deck") LegendAutomates the Options > Session Settings > Legend menu pick in a plot window Valid ObjectsToggles the legend on and off for the specified plot. Exampleiccap_func("./dc/fgummel/bvsic", "Legend") ! Specify plot number for Multiplot iccap_func("./dc/fgummel/my_multiplot", "Legend", "1") ! Apply to all plots in a Multiplot iccap_func("./dc/fgummel/my_multiplot", "Legend") See AlsoLegend OffTurns off the legend for the specified plot Valid ObjectsExampleiccap_func("./dc/fgummel/bvsic", "LegendOff") ! Specify plot number for Multiplot iccap_func("./dc/fgummel/my_multiplot", "LegendOff", "1") ! Apply to all plots in a Multiplot iccap_func("./dc/fgummel/my_multiplot", "LegendOff") See AlsoLegend OnTurns on the legend for the specified plot Valid ObjectsExampleiccap_func("./dc/fgummel/bvsic", "LegendOn") ! Specify plot number for Multiplot iccap_func("./dc/fgummel/my_multiplot", "LegendOn", "1") ! Apply to all plots in a Multiplot iccap_func("./dc/fgummel/my_multiplot", "LegendOn") See AlsoLicense StatusBrings up the same dialog that IC-CAP/Main Tools > License Status does. Valid Objectsmenu_func style command: "Utilities/Available Codewords" Launches the 'License Status' dialog. However, this cannot be modified while PEL is still running. This iccap_func is useful only for informational purposes while the macro is running. Exampleiccap_func("ic-cap","License Status") Listen Active AddressAutomates the functionality of the Tools > Address > Listen menu pick in the Hardware Setup window. Valid Objectsmenu_func style command: "Listen Active Address" This function sends a LISTEN command to the device at the currently active address. The result is displayed in the IC-CAP/Status window and, if visible, the Hardware Setup window. Exampleiccap_func("Hardware/HPIBAnalyzer","Listen Active Address") Macro File ExecuteAutomates the functionality of the Tools > Macros > Execute menu pick in the Hardware Setup window. Valid Objectsmenu_func style command: "Macro File Execute" This command executes the IC-CAP GPIB macro file name saved by the "Macro File Specify" command. Exampleiccap_func("Hardware/HPIBAnalyzer","Marco File Execute") //========================================================== // // IC-CAP GPIB Analyzer macro command file description: // //==========================================================
wait for 3 seconds; if argument absent, default of ~2 chosen
message panel—user can indicate stop or continue; system will append the words "; want to continue?" to the characters that follow $m on the command line.
print something to the Output panel IC-CAP/Status window and in the Hardware Setup window Status panel, if visible.
serial poll of the device at the active address. If an integer parameter is present, then it is a serial poll mask, and the program will loop until <poll result> AND <integer mask> is non-zero, i.e., a desired 'bit' is set; if mask is negative, it loops until a mask-specified bit is clear.
'call' another file and execute the macros in it. It should take the form: An example of a legal macro file: Macro File SpecifyAutomates the functionality of the Tools > Macros > Specify menu pick in the Hardware Setup window. Valid Objectsmenu_func style command: "Macro File Specify" This function saves the name of an IC-CAP GPIB Macro file to be executed later. If this menu pick were done manually, a dialog box would pop up requesting the name of the macro file. This functionality is emulated in PEL by appending the name of the file desired and "ok" to the command string. Exampleiccap_func("Hardware/HPIBAnalyzer","Marco File Specify"," ../mdl/bus_analyzer_macro.mac","OK") Manual RescaleAutomates the Options > Manual rescale menu pick of a plot window.
This function is included for backward compatibility only. We recommend that you use Plot Scale. See Scale Plot/Scale Plot Preview.
Valid Objects
Adjusts the axes' scales to values entered in statement. Scale values are entered in the order Exampleiccap_func("/CGaas1/dc/igvg_0vs/ig_vs_vg","ManualRescale" ,"-2,0,0.1,0.01") Manual SimulationAutomates the IC-CAP/Simulation Debugger File > Manual Simulation functionality. Valid Objectsmenu_func style command: "Manual Simulate" Performs a manual simulation on the last simulation run. Simulation Debugger window must be open. Must have an Input file from a previous simulation in the simulation debugger input window. Exampleiccap_func("SimulationDebugger","Manual Simulation") Mark Curve HighlightedMarks a specific curve as a highlighted curve. Valid ObjectsExample! Mark the 1st curve of the 2nd trace as highlighted cure. ! Specify the trace number as "1", specify the curve number ! as "0" iccap_func("dc/fgummel/icibvsve", "Mark Curve Highlighted", "1", "0") ! Mark the 1st curve of the 1st trace of the 2nd subplot as ! highlighted cure. ! Specify the trace number as "0", specify the curve number ! as "0", ! Specify the subplot number as "1" iccap_func("dc/fgummel/my_multiplot", "Mark Curve Highlighted", "0", "0","1") See alsoUnmark Highlighted Curve, Unmark All Highlighted Curves, Hide Highlighted Curves, Show Highlighted Curves MeasureAutomates the Measure menu picks. Valid Objectsmenu_func style command: "Measure" Performs a measurement on all setups within named DUT or within named setup. Exampleiccap_func("/CGaas1/dc","Measure") iccap_func("/CGaas1/dc/igvg_0vs","Measure") Memory RecallAutomates the "Memory Recall" button on a Model Parameters page. Valid ObjectsParameter Set, Device Parameter Set menu_func style command: "Recall Stored Values" Restores the parameter values previously stored via Memory Store. Exampleiccap_func("/CGaas1/ParameterSet","Memory Recall") iccap_func("/CGaas1/dc/DeviceParameterSet","Memory Recall") See AlsoMemory StoreAutomates the "Memory Store" button on a Model Parameters page. Valid ObjectsParameter Set, Device Parameter Set menu_func style command: "Store Current Values" Makes a temporary, internal, hidden copy of the current state of the parameter page. Exampleiccap_func("/CGaas1/ParameterSet","Memory Store") iccap_func("/CGaas1/dc/DeviceParameterSet","Memory Store") See AlsoNew DUTAutomates the Model window's Add... Button functionality. Valid ObjectsAdds a new DUT to the named model. Prompts for the name unless one is provided as the optional third argument. Exampleiccap_func("/CGaas1","New DUT","Dut1") New Input/Output/Transform/Plot
Automates the "New..." Buttons under the various setup pages. Valid ObjectsAdds a new Setup child the named Setup. Will prompt for the name unless one is provided as the optional third argument. Exampleiccap_func("/CGaas1/ac/s_at_f","New Input","input1") iccap_func("/CGaas1/ac/s_at_f","New Output","output1") iccap_func("/CGaas1/ac/s_at_f","New Transform","transform1") iccap_func("/CGaas1/ac/s_at_f","New Plot","plot1") New MacroAutomates the Macros Page New... Button functionality. Valid ObjectsAdds a new macro to the named model. Prompts for the name unless one is provided as the optional third argument. Exampleiccap_func("/CGaas1","New Macro","Dut1") New ModelAutomates the IC-CAP/Main window's File > New functionality. Valid ObjectsAdds a new model to the system. An optional third parameter will be the name for the model, otherwise a prompt will appear for the name of the new model. Exampleiccap_func("/","New Model") iccap_func("/","New Model","MyModel") New SetupAutomates the "Add..." Button under the DUTs/Setups tree. Valid ObjectsAdds a new Setup the named DUT. Will prompt for the name unless one is provided as the optional third argument. Exampleiccap_func("/CGaas1/dc","New Setup","Setup1") OpenAutomates the File > Open menu pick in the model window when replace is selected or when File > Open is chosen in the system variables window. Valid ObjectsGUI Items, Model, Variables, Circuit, Parameter Set, Macro, DUT, Test Circuit, Device Parameter Set, Setup, Instrument Options, Input, Output, Transform, Plot menu_func style command: "Read From File" Prompts for the new name of the file to read, or uses the optional third argument if provided. This will read the file over the top of the specified object leaving the name unchanged. Destroys all previous contents of the named object. Exampleiccap_func("/CGaas1","Open","tmpSave.mdl") iccap_func("/CGaas1/Variables","Open","myvars.vat") See AlsoOpen Model, Open DUT, Open Macro, Open Setup, Open Input, Open Output, Open Transform, Open Plot, ReadOnlyValues Open BranchAutomates the action of opening a DUT on the DUTs/Setups tree. Valid ObjectsOpens a DUT on the DUTs/Setups tree. Exampleiccap_func("/mymodel/mydut","Open Branch") See AlsoOpen DUTAutomates the Model window's File > Open functionality for the DUT level selection. Valid ObjectsPrompts for a name of a .dut file to be read into the current model unless the optional third argument is specified as the name. Exampleiccap_func("/CGaas1","Open DUT","mydutfile.dut") Open Error LogAutomates the IC-CAP/Status window's File > Open Error Log functionality. Valid ObjectsOpens the error log file using the file name if provided. Exampleiccap_func("ic-cap","Open Error Log", <optional file name>) Open HardwareAutomates the IC-CAP/Main window's Tools > Hardware Setup functionality. Valid Objectsmenu_func style command: "Hardware/Edit" Opens the Hardware Setup window. Exampleiccap_func("ic-cap","Open Hardware") Open Input/Output/Transform/Plot
Automates the Model window's File > Open functionality for the Input, Output, Transform, or Plot level selection. Valid ObjectsPrompts for a name of a .inp, .out, .xfm, or .plt file to be read into the current setup unless the optional third argument is specified as the name. Exampleiccap_func("/CGaas1/ac/s_at_f","Open Input","myInput.inp") iccap_func("/CGaas1/ac/s_at_f","Open Output","myOutput.out") iccap_func("/CGaas1/ac/s_at_f","Open Transform", "myTransform.xfm") iccap_func("/CGaas1/ac/s_at_f","Open Plot","myPlot.plt") Open MacroAutomates the Model window's File > Open functionality for the Macro level selection. Valid ObjectsPrompts for a name of a .mac file to be read into the current model unless the optional third argument is specified as the name. Exampleiccap_func("/CGaas1","Open Macro","mydutfile.mac") Open ModelAutomates the IC-CAP/Main window's File > Open functionality. Valid ObjectsPrompts for a name of a file from which to read models. Name of file can be specified as a third argument. Exampleiccap_func("/","Read Model") iccap_func("/","Read Model","MyModel.mdl") Open Output LogAutomates the IC-CAP/Status window's File > Open Output Log functionality. Valid ObjectsOpens the output log file using file name if provided. Exampleiccap_func("ic-cap","Open Output Log", <optional file name>) Open Plot OptimizerAutomates the Tools > Plot Optimizer menu pick of a model window and the Optimizer > Open Optimizer menu pick in a plot window. Valid ObjectsOpens the Plot Optimizer window. Exampleiccap_func("dc/fgummel/icibvsve", "OpenPlotOptimizer") ! Specify plot number for Multiplot iccap_func("dc/fgummel/my_multiplot", "OpenPlotOptimizer", "1") Open SetupAutomates the Model window's File > Open functionality for the Setup level selection. Valid ObjectsPrompts for a name of a .set file to be read into the current model unless the optional third argument is specified as the name. Exampleiccap_func("/CGaas1/dc","Open Setup","mysetfile.set") OptimizeAutomates the Optimize menu picks in the Extract/Optimize folder and the Optimize > Run Optimization menu pick in the Plot Optimizer window. Valid Objectsmenu_func style command: "Extract" Performs Transforms that are optimizers on all setups within named DUT/setup or in the Plot Optimizer window. Exampleiccap_func("./CGaas1/dc","Optimize") iccap_func("./CGaas1/dc/igvg_0vs","Optimize") iccap_func("./PlotOptimizer","Optimize") ParseAutomates the "Parse..." button in the Circuit folder Valid Objectsmenu_func style command: "Parse" Checks the syntax of the Circuit in reference to the specified simulator and updates the list of parameters if they have changed names. NOTE: Parse does not assign the Parameters table values to those in the Circuit, unless they have been newly added. Exampleiccap_func("/CGaas1/Circuit","Parse") iccap_func("/CGaas1/dc/TestCircuit","Parse") See AlsoPrint Read BufferAutomates the functionality of the Tools > Send Receive > Display String menu pick in the Hardware Setup window. Valid Objectsmenu_func style command: "Print Read String" This function prints the ASCII string stored in the read buffer that had been read back by a call to "Read String". The string is displayed in the IC-CAP/Status window and if visible, the Hardware Setup window. Exampleiccap_func("Hareware","HPIB Analyzer","Print Read Buffer") Print Via ServerAutomates the functionality of File > Print in the Model windows and the "Print" button on various dialogs. Valid ObjectsVariables, Input, Output, Transform, Plot menu_func style command: none (see "Send to Printer") Displays the Print dialog box for printing the item. Starting with IC-CAP 2004, the Print dialog box is always displayed when printing. In previous releases, File > Print did not display a dialog box except when asking for a file name if printing to a file. For plots, Print Via Server prints a tabular listing of the data. To print the graphical plot, use Dump Via Server UI. Exampleiccap_func("/CGaas1/Variables","Print Via Server") See AlsoSend To Printer, Dump To Printer, Dump To Plotter, Dump Via Server, Dump Via Server UI Read from FileAutomates the functionality of the File > Open menu pick in the Hardware Setup window. Valid Objectsmenu_func style command: "Read from File" Reads in a previously saved hardware configuration file. If this function were executed manually, a dialog box would appear asking the user for the name of the configuration file to read. This functionality is emulated in PEL by appending the desired file name followed by "ok" to the end of the command string. Exampleiccap_func("Hardware","Read from File"," ../mdl/hwm_pel_test.hdw","ok") ReadOnlyValuesAutomates the File > Open menu pick when Read Values Only is selected in the Model Parameters folder or the DUT Parameters folder. Valid ObjectsParameter Set, Device Parameter Set Prompts for the new name of the file to read, or uses the optional third argument if provided. This replaces parameter Values while maintaining existing Min and Max ranges if possible. If the new value is outside the existing range, Min or Max is extended to include the new Value and a warning is displayed in the Status window. Exampleiccap_func("./ParameterSet","ReadOnlyValues","myparms.mps") iccap_func("/CGaas1/dc/DeviceParameterSet","ReadOnlyValues", "myparms.dps") See AlsoRead StringAutomates the functionality of the Tools > Send Receive > Receive String menu pick in the Hardware Setup window. Valid Objectsmenu_func style command: "Read String" This function reads back an ASCII string from the device at the currently active address as previously set by a call to "Set Active Address". The device should have been previously prepared to talk by sending it a string that generated something for it to say. The received string itself is not displayed; rather the number of characters read is displayed in the IC-CAP/Status window and, if visible, the Hardware Setup window. The string itself is stored in a read_buffer where a call to "Print Read Buffer" can display it later. Exampleiccap_func("Hardware/HPIBAnalyzer","Read String") Read String for ExpertsAutomates the functionality of the Tools > Send Receive > Read String for Experts menu pick in the Hardware Setup window. Valid Objectsmenu_func style command: "Read String for Experts" This function is similar to the "Read String" command except it skips the talk/listen setup of the device which should be done using the "Send Command Byte" command. The result is placed in the HPIB_READ_STRING system variable, if it has been defined. Exampleiccap_func("Hardware/HPIBAnalyzer","Read String for Experts") Rebuild Active ListAutomates the functionality of the "Rebuild" button in the Hardware Setup window's Instrument List field. Valid Objectsmenu_func style command: "Rebuild Active List" Scans the bus and rebuilds the active instrument list for all DUTs and setups based on the instruments it finds there. Exampleiccap_func("Hardware","Rebuild Active List") Recall ParametersAutomates the Tools > Recall Parameters menu pick in the Plot Optimizer window and the Recall Par button in the Extract/Optimize folder. Valid ObjectsResets the optimizer Parameters table values to the locally stored values. Exampleiccap_func("./CGaas1/dc/igvg_0vs","Recall Parameters") iccap_func("./PlotOptimizer","Recall Parameters") See AlsoRedisplayValid ObjectsInput, Output, Transform, Plot menu_func style command: "Redisplay" Refreshes the screen of the 'View Data' of the associated object. Exampleiccap_func("CGaas1/dc/igvg_0vs/vs","Redisplay") Refresh DatasetAutomates the Model window's Tools > Refresh Last Dataset menu pick functionality. Valid ObjectsExports new data to the last exported dataset file (*.ds). If no dataset file had been successful exported, this function will have no effect. Exampleiccap_func("/","Refresh Dataset") See AlsoRelease LicenseAutomates the functionality of the Release button in the License Status window's In Use field. Valid ObjectsThis function releases a license for a specified licensed feature and returns it to the license pool. Specify the desired license name, followed by ok. Exampleiccap_func("IC-CAP","Release License","DC Measurements", "ok") RenameAutomates changing the text under the Model icon. Valid ObjectsModel, Macro, DUT, Setup, Input, Output, Transform, Plot menu_func style command: "Rename" Prompts for the new name of the model, or uses the optional third argument if provided. Exampleiccap_func("/CGaas1","Rename","my_CGaas1") Replace Interface FileThis function is not implemented. ReplotAutomates the Options > Replot menu pick of a plot window. Valid Objectsmenu_func style command: "Replot Data" Refreshes the plot-- plot window must be open. Exampleiccap_func("/CGaas1/dc/igvg_0vs/vs/ig_vs_vg","Replot") RescaleAutomates the Options > Rescale menu pick in a plot window. Valid Objectsmenu_func style command: "Rescale Graph" Adjusts the axes to fit the data. Exampleiccap_func("/CGaas1/dc/igvg_0vs/vs/ig_vs_vg","Rescale") ! Specify plot number for Multiplot iccap_func("/CGaas1/dc/igvg/my_multiplot","Rescale","1") ResetAutomates the "Reset" button on a Model Parameters page. Valid Objectsmenu_func style command: "Reset to Defaults" Resets the parameter values to the values in the Circuit folder. Exampleiccap_func("/CGaas1/ParameterSet","Reset") iccap_func("/CGaas1/dc/DeviceParameterSet","Reset") Reset Global RegionAutomates the Optimizer > Global Region > Reset menu pick in a plot window. Valid ObjectsDeletes all existing global trace regions on the plot and defines a new global trace region. Exampleiccap_func("./dc/fgummel/ibicvsve", "ResetGlobalRegion", "0.6", "0.8", "-8", "-3") iccap_func("./dc/fgummel/bvsic", "ResetGlobalRegion", "1e-8", "1e-4", "20", "60") ! Specify plot number for Multiplot iccap_func("./dc/fgummel/my_multiplot", "ResetGlobalRegion", "0.6", "0.8", "-8", "-3", "1") Reset Min MaxAutomates the Tools > Reset Min Max menu pick in the Plot Optimizer window and the Reset Min Max button in the Extract/Optimize folder. Valid ObjectsSets minimum and maximum optimizer parameter values based on the value of the coefficient defined with the AUTOSET_COEFF variable on the System Variables page. The default coefficient value is 5. Exampleiccap_func("./CGaas1/dc/igvg_0vs","ResetMinMax") iccap_func("./PlotOptimizer","ResetMinMax") Reset Option TableAutomates the File > Reset Option Table menu pick in the Plot Optimizer window. Valid ObjectsResets all options in the Options table to the default values. Exampleiccap_func("./CGaas1/dc/igvg_0vs","ResetOptionsTable") iccap_func("./PlotOptimizer","ResetOptionsTable") Reset to Saved OptionsAutomates the Options > Session Settings > Reset to Saved Options menu pick in a plot window. Valid ObjectsRestores the Plot Options to their saved state. For Multiplot, specify a plot number to reset the Plot Options for a specific plot. To reset the Plot Options for a Multiplot, do not specify a plot number. Exampleiccap_func("./dc/fgummel/bvsic", "ResettoSavedOptions") iccap_func("./dc/fgummel/my_multiplot", "ResettoSavedOptions") ! Specify plot number in Multiplot to reset specific plot iccap_func("./dc/fgummel/my_multiplot", "ResettoSavedOptions", "1") Reset Trace RegionAutomates the Optimizer > trace > Trace Optimizer Region > Reset menu pick in a plot window Valid ObjectsDeletes all existing trace optimizer regions for the specified trace and defines a new trace optimizer region. Exampleiccap_func("./dc/fgummel/ibicvsve", "ResetTraceRegion", "Y Data 0", "0.6", "0.8", "-8", "-3") iccap_func("./dc/fgummel/bvsic", "ResetTraceRegion", "Y Data 0", "1e-8", "1e-4", "20", "60") ! Specify plot number for Multiplot iccap_func("./dc/fgummel/my_multiplot", "ResetTraceRegion", "Y Data 0", "0.6", "0.8", "-8", "-3", "1") Run Self-TestsAutomates the functionality of the Hardware Setup > Instruments > Self Test menu pick in the Hardware Setup window. Valid Objectsmenu_func style command: "Run Self-Tests" Runs self tests on all instruments found on the bus during a rebuild of the active list or a measure. Note that to successfully perform the "Run Self-Tests" function either the "Rebuild Active List" or the "Measure" function must have been performed first. Exampleiccap_func("Hardware","Run Self-Tests"); Save AllAutomates IC-CAP/Main File > Save As, but does not permit selective grouping of models into a .mdl file Valid Objectsmenu_func style command: "Write All Models To File" Prompts for the name of a file and saves all loaded models to that file. Name of the file can be anticipated by the third argument. Exampleiccap_func("/","Save All","myfile.mdl") See AlsoSave All No Data, Save As, Save As No Data Save All No DataAutomates IC-CAP/Main File > Save As with the "Save without measured/simulated data" option, but does not permit selective grouping of models into a .mdl file Valid ObjectsPrompts for the name of a file and saves all loaded models to that file without any measured or simulated data. Name of the file can be anticipated by the third argument. Exampleiccap_func("/","Save All No Data") See AlsoSave AsAutomates the Model window's File > Save As functionality for the Model level selection. Valid ObjectsGUI Items, Model, Variables, Circuit, ParameterSet, Macro, DUT, TestCircuit, DeviceParameterSet, Setup, InstrumentOptions, Input, Output, Transform, Plot menu_func style command: "Write To File" Prompts for a name of a .mdl file to be written unless the optional third argument is specified as the file name. If the third parameter is "", then the function will write the file out to the default name. The default name is the name of the file that it was read in from, or the name of the last file to which it was written. Exampleiccap_func("/CGaas1","Save As","tmpFile.mdl") See AlsoSave All, Save All No Data, Save As No Data Save As No DataAutomates the Model window's File > Save As functionality for the Model level selection choosing the "Save Without Measured/Simulated Data" option. Valid ObjectsModel, Variables, Circuit, Parameter Set, Macro, DUT Test Circuit, Device Parameter Set, Setup, Instrument Options, Input, Output, Transform, Plot Prompts for a name of a .mdl file to be written unless the optional third argument is specified as the file name. If the third parameter is "", then the function will write the file out to the default name. The default name is the name of the file that it was read in from, or the name of the last file to which it was written. Exampleiccap_func("/CGaas1","Save As No Data","smallFile.mdl") See AlsoSave All, Save All No Data, Save As Save Extracted DeckAutomates the Model window's File > Export Data > Extracted Deck functionality. Valid Objectsmenu_func style command: "Save Extracted Deck" Merges the current Parameters table into the current circuit and writes the results to a file. An optional third argument can specify the name of the file or the iccap_func will prompt for a name. Exampleiccap_func("/CGaas1","Save Extracted Deck","my_deck") Save ImageAutomates the File > Save Image menu pick in a plot window Valid ObjectsSaves an image of the named plot in .xwd format using the specified file name. Exampleiccap_func("/CGaas1/dc/igvg_0vs/vs/ig_vs_vg","Save Image", "nmos2_idvsvg.xwd") Save Input/Command/Output File
Automates the IC-CAP/Simulation Debugger File > Save Input File, File > Save Output File, or File > Save Command File functionality. Valid Objectsmenu_func style commands were the same Saves a copy of the last input, output or command file sent to the simulator with the Simulation Debugger open. A simulation must have previously been run with the Simulation Debugger open. An optional third command can be specified to name the file. Exampleiccap_func("Simulation Debugger","Save Input File") iccap_func("Simulation Debugger","Save Command File") iccap_func("Simulation Debugger","Save Output File", "myOutFile) Scale Plot/Scale Plot Preview
Automates the Options > Manual rescale... menu pick in a plot window (except for Polar Graph and Smith Chart—see Scale RI Plot/Scale RI Plot Preview). Valid ObjectsPrompts appear for you to enter required values for the parameters that describe the plot's scaling values. The prompts appear in the following order for the X axis first, then the Y axis, and finally the Y2 axis:
Entering AUTOMATIC for an axis' minimum value (the first prompt), sets that axis to autoscaled and no further prompts will appear for that axis. Scale Plot Preview functions the same way as Scale Plot, but the scaling will be lost on the next Replot command. You can anticipate the prompts and include the scale values for the parameters in the required order. The following example sets the plot's scale to the values listed in the table: Exampleiccap_func("Plot","Scale Plot","0","100","10","5", "-10","10","5","1","AUTOMATIC") ! Specify plot number for Multiplot iccap_func("Multiplot","Scale Plot","0","100","10","5", "-10","10","5","1","AUTOMATIC","1")
See AlsoScale RI Plot/Scale RI Plot Preview Scale RI Plot/Scale RI Plot Preview
Automates the Options > Manual rescale... menu pick in a real-imaginary plot window (RI Graph, Polar Graph, and Smith Chart).
You can scale RI Graph plots using either Scale Plot or Scale RI Plot. All other plot types can only be scaled using one scale type—not both. For Polar Graph and Smith Chart plot types, you can only use Scale RI Plot. For all other plot types, you can only use Scale Plot.
Valid ObjectsPrompts appear for you to enter required values for the parameters that describe the plot's scaling values. The prompts appear in the following order:
Scale RI Plot Preview functions the same way as Scale RI Plot, but the scaling will be lost on the next Replot command. You can anticipate the prompts and include the scale values for the parameters in the required order. Exampleiccap_func("polar_plot","Scale RI Plot","MP","1","3.14","1", "5","4","5","4") ! Specify plot number for Multiplot iccap_func("polar_plot","Scale RI Plot","MP","1","3.14","1", "5","4","5","4","1") See AlsoScreen Debug OnAutomates functionality of IC-CAP/Main Tools > Options > Screen Debug. Valid Objectsmenu_func style command: "Utilities/Screen Debug On" Logs all debug information to the IC-CAP/Status window. Exampleiccap_func("ic-cap","Screen Debug On") See AlsoSearch for InstrumentsAutomates the functionality of the Instruments > Find menu pick in the Hardware Setup window. Valid Objectsmenu_func style command: "Search for Instruments" Using the currently active interface, this function sends a serial poll to all possible addresses other then that of the interface card itself. The results are displayed in the IC-CAP/Status window and if visible, the Hardware Setup window. Exampleiccap_func("Hardware/HPIBAnalyzer","Search for Instruments") Select Error RegionAutomates the Options > Error > Select Error Region menu pick in a plot window Valid ObjectsExampleiccap_func("./dc/fgummel/bvsic", "SelectErrorRegion") iccap_func("./dc/fgummel/bvsic", "SelectErrorRegion", "x1", "x2", "y1", "y2") ! Specify plot number for Multiplot iccap_func("./dc/fgummel/my_multiplot", "SelectErrorRegion", "1") iccap_func("./dc/fgummel/my_multiplot", "SelectErrorRegion", "x1", "x2", "y1", "y2", "1") See AlsoSelect Whole Plot, Show Absolute Error, Show Relative Error Select PlotAutomates the Plots > Select Plot menu item in a Multiplot window Valid ObjectsExampleiccap_func("./dc/fgummel/bvsic", "SelectPlot") ! Specify plot number for Multiplot iccap_func("./dc/fgummel/my_multiplot", "SelectPlot", "1") See AlsoSelect Whole PlotAutomates the Options > Error > Select Whole Plot menu item in a plot window Valid ObjectsExampleiccap_func("./dc/fgummel/bvsic", "SelectWholePlot") ! Specify plot number for Multiplot iccap_func("./dc/fgummel/my_multiplot", "SelectWholePlot", "1") See AlsoSelect Error Region, Show Absolute Error, Show Relative Error Send Command ByteAutomates the functionality of the Tools > Send Receive > Send Byte menu pick in the Hardware Setup window. Valid Objectsmenu_func style command: "Send Command byte" This command sends one low_level command byte, specified as a decimal integer, to the currently active address. The following list summarizes the GPIB low_level byte commands in common use.
Exampleiccap_func("Hardware/HPIBAnalyzer","Send Command Byte","63", "ok") Send, Receive, and PrintAutomates the functionality of the Tools > Send Receive > Send Receive Display menu pick in the Hardware Setup window. Valid Objectsmenu_func style command: "Send, Receive, and Print" This command sends a string the currently active address, reads back and displays the response. If this function were executed manually, a dialog box would appear asking for the string to be sent. This functionality is emulated in PEL by appending the desired string followed by "ok" to the command line string. Exampleiccap_func("Hardware/HPIBAnalyzer","Send, Receive, and Print","*IDN?\n","ok") Send StringAutomates the functionality of the Tools > Send Receive > Send String menu pick in the Hardware Setup window. Valid Objectsmenu_func style command: "Send String" This function sends an ASCII to the device at the currently active address. If this function were executed manually, a dialog box would appear asking for the string to be sent. This functionality is emulated in PEL by appending the desired string followed by "ok" to the command line string. The result is displayed in the IC-CAP/Status window and, if visible, the Hardware Setup window. Exampleiccap_func("Hardware/HPIBAnalyzer","Send String","*IDN?\n") Send To PrinterProvided to be compatible with Version 4.5 style of printing Valid ObjectsVariables, Input, Output, Transform, Plot menu_func style command: "Send To Printer" Prompts for the name of the command through which to pipe the required file. May be anticipated by a third argument. Exampleiccap_func("/CGaas1/Variables","Send To Printer", "lp -dmyprinter") iccap_func("/CGaas1/Variables","Send To Printer","cat") See AlsoPrint Via Server,Dump To Printer, Dump To Plotter, Dump Via Server Serial PollAutomates the functionality of the Tools > Serial Poll menu pick in the Hardware Setup window. Valid Objectsmenu_func style command: "Serial Poll" This function sends a serial poll command to the device at the currently active address. The result is displayed in the IC-CAP/Status window and if visible, the Hardware Setup window. Exampleiccap_func("Hardware/HPIBAnalyzer","Serial Poll") Set Active AddressAutomates the functionality of the Tools > Address > Set menu pick in the Hardware Setup window. Valid Objectsmenu_func style command: "Set Active Address" Sets the address to which the GPIB Analyzer commands will be sent. If this menu pick were done manually, a dialog box would appear asking for the desired address. This functionality is emulated in PEL by appending the desired address followed by "ok" to the end of the command string. Exampleiccap_func("Hardware/HPIBAnalyzer","Set Active Address", "8","ok") Set AlgorithmAutomates the Algorithm drop down menu pick in an Extract/Optimize folder or in a Plot Optimizer window. Valid ObjectsSets the optimization algorithm to one of the following choices:
Exampleiccap_func("./PlotOptimizer", "SetAlgorithm", "Minimax") iccap_func("dc/fgummel/optim1", "SetAlgorithm", "B") Set ErrorAutomates the Error drop down menu pick in an Extract/Optimize folder or in a Plot Optimizer window. Valid ObjectsSets the optimization error to either Relative or Absolute. Exampleiccap_func("./PlotOptimizer", "SetError", "Relative") iccap_func("dc/fgummel/optim1", "SetError", "Absolute") Set GUI CallbacksAllows setting a callback on a GUI item. Valid ObjectsThis action requires three other arguments. The first is the code for the callback. The second and third extra argument are the two parameters to the callbacks associated iccap_func(). Exampleiccap_func("./someItem","Set GUI Callback", "AC", "aMacro", "Execute) See AlsoAdd GUI, Close GUI, Close Single GUI, Destroy GUI, Destroy Single GUI, Display Modal GUI, Display Modeless GUI, Display Single Modal GUI, Display Single Modeless GUI, Set GUI Options Set GUI OptionsAutomates changing options for any Item on a GUI Page. Valid ObjectsYou can enter as many additional arguments as desired. The last argument must be "" (a null string) to signify completion. Each argument is of the form <code>=<val>. Code is the associated code for the option as found by choosing Show Codes on the properties dialog. The <val> can be one of four forms:
Exampleiccap_func("./someItem","Set GUI Options", "OR=HO", "CA="title","") iccap_func("./some.other.item","Set GUI Options", "TO=FW|FH","") See AlsoAdd GUI, Close GUI, Close Single GUI, Destroy GUI, Destroy Single GUI, Display Modal GUI, Display Modeless GUI, Display Single Modal GUI, Display Single Modeless GUI, Set GUI Callbacks Set Instrument Option ValueValid ObjectsAllows setting the option fields in an instrument option table. Exampleiccap_func("c/c/x","SetInstrumentOptionValue","Delay Time", "foo") Set SpeedThis function is not implemented in IC-CAP Version 5.0 Set Table Field ValueAutomates deleting variables and setting Input, Output, Plot, and all Transform fields. Valid ObjectsInput, Output, Plot, Transform, PlotOptimizer, PlotOptions, Variables To set a Transform function, use the field name "Function". To set the text for the body of a PEL program, use the field name "Program". To set fields in two dimensional tables, such as the optimizer's input and parameter tables, use [] to indicate which row you want to set. Identify the row using either the row's index number or the name in the first field of the row. For example:
If you set the start, stop, or number of points for an input, follow with a "Redisplay" statement to recalculate its size. Only a single "Redisplay" statement is needed after setting multiple input fields. Action name may be shortened to "STFV" for brevity. Exampleiccap_func("dc/fgummel/ic","SetTableFieldValue","Mode","V") iccap_func("myplot","SetTableFieldValue","Header","This is the header") iccap_func("dc/fgummel/myxform","SetTableFieldValue", "Function","Program") iccap_func("dc/fgummel/myxform","SetTableFieldValue", "Program","!autogenerated print 'This is an autogenerated PEL'") iccap_func("dc/fgummel/optim1","SetTableFieldValue", "Target[1]","ib.m") iccap_func("dc/fgummel/optim1","SetTableFieldValue", "Simulated[1]","ib.s") iccap_func("dc/fgummel/optim1","STFV","Name[2]","BF") iccap_func("vd","SetTableFieldValue","# of Points","100") iccap_func("vd","Redisplay") iccap_func("./PlotOptimizer", "STFV", "Print Parameters", "N") iccap_func("./PlotOptimizer", "STFV", "Name[0]", "BF") iccap_func("./ParameterSet", "STFV", "Min[BF]", "100a") iccap_func("./ParameterSet", "STFV", "Max[BF]", "150") iccap_func("./ParameterSet", "STFV", "Param Value[BF]", "100") ! Deleting varibles: First argument can be Model, DUT, ! Setup, or the slash (/) to specify top-level IC-CAP object. iccap_func(".","STFV","Name[aaa]","") ! Changes the value ! of the Name cell corresponding with "aaa" to "". See AlsoSet Target Vs SimulatedAutomates the Optimizer > trace > Set as Target vs. menu pick in a plot window Valid ObjectsConfigures the specified trace as Target versus a specified Simulated trace. Exampleiccap_func("./dc/rgummel/ibievsvc", "SetTargetVsSimulated", "Y Data 0", "Y Data 1") ! Specify plot number for Multiplot iccap_func("./dc/rgummel/my_multiplot", "SetTargetVsSimulated", "Y Data 0", "Y Data 1", "1") See AlsoSet TimeoutAutomates the functionality of the Tools > Settings > Timeout menu pick in the Hardware Setup window. Valid Objectsmenu_func style command: "Set Timeout" Sets the timeout of the device at the currently active address as previously set by a call to "Set Active Address". If this function were executed manually, a dialog box would appear asking for the desired timeout, in seconds. This functionality is emulated in PEL by appending the desired timeout followed by "ok" to the end of the command string. Exampleiccap_func("Hardware/HPIBAnalyzer","Set Timeout","10","ok") Set Trace As BothAutomates the Optimizer > trace > Set as Both Target and Simulated menu pick in a plot window Valid ObjectsConfigures the selected trace with its measured data set as Target and its simulated data set as Simulated. Exampleiccap_func("dc/fgummel/icibvsve", "SetTraceAsBoth", "Y Data 1") ! Specify plot number for Multiplot iccap_func("dc/fgummel/my_multiplot", "SetTraceAsBoth", "Y Data 1", "1") See AlsoSet User RegionValid ObjectsUser boxes are colored squares that you can define using the following syntax: iccap_func("<plotName>", "SetUserRegion", "<RegionName>", "x1" ,"x2", "y1", "y2", "<color>", "<ReferenceAxis>")
Examplex=lookup_obj_attribute("ibicvsve","UserSelectedRegion") iccap_func("ibicvsve","SetUserRegion","LeftRegion",x[0],x[1], x[2],x[3],5,"Y2") See AlsoDelete All User Regions, Delete User Region Set Variable Table ValueAutomates adding a new variable to a Variable table. Valid ObjectsUses two anticipated arguments to name the variable and value to be set. If the named variable does not exist on the object named, the system searches upwards through the hierarchy to find it. Examplesiccap_func("/npn","SetVariableTableValue","SIMULATOR", "spice3") See AlsoSet Table Field Value, Create Variable Table Variable Show Absolute ErrorAutomates the Options > Error > Show Absolute Error menu item in a plot window Valid ObjectsDisplays the MAX and RMS absolute errors in the footer area and turns off relative error or footer text if displayed. Exampleiccap_func("./dc/fgummel/bvsic", "ShowAbsoluteError") ! Specify plot number for Multiplot iccap_func("./dc/fgummel/my_multiplot", "ShowAbsoluteError", "1") See AlsoShow Relative Error, Select Whole Plot, Select Error Region Show Highlighted CurvesHighlights all curves marked in the highlight set for a given trace. Simply marking a curve highlighted does not turn on the actual highlighting. Valid ObjectsExampleiccap_func("dc/fgummel/icibvsve", "Show Highlighted Curves") ! Show the curves highlighted, which have been marked ! highlighted in the 2nd subplot of my_muliplot. ! Specify the subplot number as "1" iccap_func("dc/fgummel/my_multiplot", "Show Highlighted Curves", "1") ! Show the curves highlighted, which have been marked ! highlighted in all the subplots of my_muliplot. iccap_func("dc/fgummel/my_multiplot", "Show Highlighted Curves") See alsoMark Curve Highlighted, Unmark Highlighted Curve, Unmark All Highlighted Curves, Hide Highlighted Curves Show Relative ErrorAutomates the Options > Error > Show Relative Error menu item in a plot window Valid ObjectsDisplays the MAX and RMS relative errors in the footer area and turns off absolute error or footer text if displayed. Exampleiccap_func("./dc/fgummel/bvsic", "ShowRelativeError") ! Specify plot number for Multiplot iccap_func("./dc/fgummel/my_multiplot", "ShowRelativeError", "1") See AlsoShow Absolute Error, Select Whole Plot, Select Error Region SimulateAutomates the Simulate menu picks. Valid Objectsmenu_func style command: "Extract" Performs Simulation on all setups within named DUT or within named setup. Exampleiccap_func("/CGaas1/dc","Simulate") iccap_func("/CGaas1/dc/igvg_0vs","Simulate") Simulate AllAutomates the Simulate > Simulate All menu pick in the Plot Optimizer window. Valid ObjectsExampleiccap_func("./PlotOptimizer","SimulateAll") Simulate Plot InputsAutomates the Simulate > plot name menu pick in the Plot Optimizer window. Valid ObjectsSimulates all enabled traces in the specified plot. Exampleiccap_func("./PlotOptimizer/optim1","SimulatePlotInputs") Simulation DebuggerAutomates the IC-CAP/Main window's Tools > Simulation Debugger functionality. Valid Objectsmenu_func style command was "Utilities/Open Simulation Debugger" Exampleiccap_func("ic-cap","Simulation Debugger") Status WindowAutomates the IC-CAP/Main window's Windows > Status Window functionality. Valid ObjectsRaises the Status window to the top of the screen Exampleiccap_func("ic-cap","Status Window") Stop SimulatorAutomates the IC-CAP/Main and Model window's Tools > Stop Simulator functionality. Valid ObjectsIf a simulator is configured for CAN_PIPE mode, this action will stop any currently running simulator. If the current simulator is not CAN_PIPE, or if no simulator is currently running, this action will do nothing. Exampleiccap_func("/","Stop Simulator") Store ParametersAutomates the Tools > Store Parameters menu pick in the Plot Optimizer window and the Store Par button in the Extract/Optimize folder. Valid ObjectsLocally stores the current parameter values to the Stored column on the optimizer Parameters table. When the file is saved, these values are stored as part of the optimizer settings. Exampleiccap_func("./CGaas1/dc/igvg_0vs","Store Parameters") iccap_func("./PlotOptimizer","Store Parameters") See AlsoTalk Active AddressAutomates the functionality of the Tools > Address > Talk menu pick in the Hardware Setup window. Valid Objectsmenu_func style command: "Talk Active Address" This function sends a TALK command to the device at the currently active address. The result is displayed in the IC-CAP/Status window and if visible, the Hardware Setup window. ExampleText AnnotationAutomates the Options > Session Settings > Text Annotation menu pick in a plot window. Valid ObjectsToggles Text Annotation on and off for the specified plot. Exampleiccap_func("./dc/fgummel/bvsic", "TextAnnotation") ! Specify plot number for Multiplot iccap_func("./dc/fgummel/my_multiplot","TextAnnotation","1") See AlsoText Annotation Off, Text Annotation On Text Annotation OffTurns off text annotation for the specified plot. Valid ObjectsExampleiccap_func("./dc/fgummel/bvsic", "TextAnnotationOff") ! Specify plot number for Multiplot iccap_func("./dc/fgummel/my_multiplot", "TextAnnotationOff", "1") See AlsoText Annotation, Text Annotation On Text Annotation OnTurns on text annotation for the specified plot. Valid ObjectsExampleiccap_func("./dc/fgummel/bvsic", "TextAnnotationOn") ! Specify plot number for Multiplot iccap_func("./dc/fgummel/my_multiplot", "TextAnnotationOn", "1") See AlsoText Annotation, Text Annotation Off Toggle ZoomAutomates the Plots > Zoom Plot menu pick in a Multiplot window. Valid ObjectsIn the Multiplot window, displays the selected plot in zoom format. Exampleiccap_func("./dc/fgummel/my_multiplot","ToggleZoom","1") See AlsoZoom Plot, Undo Zoom, Full Page Plot Tune FastAutomates the Tune Fast button in the Extract/Optimize folder and in the Plot Optimizer window. Valid ObjectsSetup, Transform, Plot Optimizer Displays set of sliders enabling you to constantly tune set of optimization parameters during an optimization. The object name must include the optimization transform name. Exampleiccap_func("./CGaas1/dc/igvg_0vs/optim1","Tune Fast") iccap_func("./PlotOptimizer/optim1","Tune Fast") Tune SlowAutomates the Tune Slow button in the Extract/Optimize folder and in the Plot Optimizer window. Valid ObjectsSetup, Transform, Plot Optimizer Displays set of sliders enabling you to tune set of optimization parameters during an optimization. The object name must include the optimization transform name. Exampleiccap_func("/CGaas1/dc/igvg_0vs/optim1","Tune Slow") iccap_func("./PlotOptimizer/optim1","Tune Slow") Turn Off MarkerAutomates the action of clicking outside the grid boundary on a plot, which has the same effect as deselecting any selected points. Valid ObjectsIf a point is selected and the marker information is displayed under the title, this call will deselect the selected point and turn off the marker information. It will have no effect if no points were selected. Exampleiccap_func("dc/fgummel/icibvsve", "Turn Off Marker") ! turn off the point selected on the 2nd subplot of ! my_muliplot. ! Specify the subplot number as "1" iccap_func("dc/fgummel/my_multiplot", "Turn Off Marker","1") ! Turn off the selected points on all plots of a multiplot iccap_func("dc/fgummel/my_multiplot", "Turn Off Marker") Undo OptimAutomates the Undo Optim button in the Extract/Optimize folder and in the Plot Optimizer window. Valid ObjectsResets the parameter values in the optimizer Parameters table to values prior to the optimizations and runs a simulation. Exampleiccap_func("./CGaas1/dc/igvg_0vs","Undo Optim") iccap_func("./PlotOptimizer","Undo Optim") Undo ZoomAutomates the Plots > Undo Zoom menu pick in a Multiplot window. Valid ObjectsResets the Multiplot window to its default format. Exampleiccap_func("./dc/fgummel/my_multiplot","UndoZoom","1") See AlsoFull Page Plot, Toggle Zoom, Zoom Plot Unmark All Highlighted CurvesUnmarks all highlighted curves. Valid ObjectsExample! Unmark all the highlighted curves. iccap_func("dc/fgummel/icibvsve", "Unmark All Highlighted Curves") ! Specify the subplot number as "1" ! Unmark all the highlighted curves in the 2nd subplot of ! my_multiplot. iccap_func("dc/fgummel/my_multiplot", "Unmark All Highlighted Curves", "1") ! Unmark all the highlighted curves in all the subplots of ! my_multiplot. iccap_func("dc/fgummel/my_multiplot", "Unmark All Highlighted Curves") See alsoMark Curve Highlighted, Unmark Highlighted Curve, Hide Highlighted Curves, Show Highlighted Curves Unmark Highlighted CurveUnmark the specific highlighted curve. Valid ObjectsExample! Unmark the highlighted cure which is the 1st curve of the ! 2nd trace. ! Specify the trace number as "1", specify the curve number ! as "0" iccap_func("dc/fgummel/icibvsve", "Unmark Curve Highlighted", "1", "0") ! Unmark the highlighted curve which is the 1st curve of the ! 1st trace of the 2nd subplot ! Specify the trace number as "0", specify the curve number ! as "0", ! Specify the subplot number as "1" iccap_func("dc/fgummel/my_multiplot", "Unmark Curve Highlighted", "0", "0","1") See alsoMark Curve Highlighted, Unmark All Highlighted Curves, Hide Highlighted Curves, Show Highlighted Curves Unselect AllAutomates the Plots > Unselect All menu pick in a Multiplot window Valid ObjectsIn the Multiplot window, unselects the currently selected plot. Exampleiccap_func("./dc/fgummel/my_multiplot","UnselectAll") See AlsoUpdate AnnotationAutomates the Options > Update Annotation menu pick in a plot window. Valid Objectsmenu_func style command: "Replot Data" If an annotation file exists for the plot, this will update the display to make it current with the contents of the annotation. Exampleiccap_func("/CGaas1/dc/igvg_0vs/vs/ig_vs_vg","Update Annotation") ViewAutomates the View button on the Setup Pages. Valid ObjectsInput, Output, Transform, Plot menu_func style command: "Display Data" Opens a window containing the data contained in the named item. Exampleiccap_func("CGaas1/dc/igvg_0vs/vs","View") Who Are YouAutomates the functionality of the Tools > Address > Who Are You? menu pick in the Hardware Setup window. Valid ObjectsThis function tries to determine the identity of the device at the currently active address as previously set by a call to "Set Active Address". The result is displayed in the IC-CAP/Status window and if visible, the Hardware Setup window. Exampleiccap_func("Hardware/HPIBAnalyzer","Who Are You") Write to FileAutomates the functionality of the File > Save menu pick in the Hardware Setup window. Valid Objectsmenu_func style command: "Save to File" Saves the current hardware configuration to a file. If this function were executed manually, a dialog box would appear asking the user for the name of the file to which the current configuration was to be saved. This functionality is emulated in PEL by appending the desired file name followed by "ok" to the end of the command string. Exampleiccap_func("Hardware","Save to File"," ../mdl/hwm_pel_test.hdw","ok") Zoom PlotAutomates the Plots > Zoom Plot menu pick in a Multiplot window. Valid ObjectsIn the Multiplot window, displays the selected plot in zoom format. Exampleiccap_func("./dc/fgummel/my_multiplot","ZoomPlot","1") See Also |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() ![]() |