Questions tagged [script]

16 questions
3
votes
2 answers

Scripting to automate projects with microchip tools

IDE: MPLAB IDE 8.87 Compilers: C30/ASM30 Debugger/Programmer: MPLAB ICD 3 Windows 7 Question: I have utility projects such as clearing an EEPROM on custom hardware, retrieve data from an IC, and so on. I would like to be able to automate the…
VolT
  • 93
  • 7
2
votes
2 answers

Altium: Script to add all symbols to a schematic?

Does somebody knows a script which puts all the symbols in a library ([optional]: with every footprint added to it) to a schematic? Would be handy to look over libraries, but unfortunately Altium don't know Python (yet).
1
vote
1 answer

How can I change the project parameters in Altium Designer with a Delphi Script

How can I change the project parameters in Altium Designer with a Delphi Script. I already found a script on how to change the Sheet Parameter, but I really need to change the Project Parameters.
Alex
  • 11
  • 2
1
vote
2 answers

How to copy attributes between package variants in eagle library editor

I have entered a set of attributes into a eagle library. However I started to enter the data after having drawn all package variantes. The package variants are only different pad layouts I use for ease of layout. The outcome was, the attributes…
Ariser
  • 3,846
  • 3
  • 23
  • 43
1
vote
1 answer

What precisely does dlgStretch do in Eagle PCB?

The manual of ULP says that this command "Defines an empty stretchable space in a box layout context". It gives the below trivial example: dlgHBoxLayout { dlgStretch(1); dlgPushButton("+OK") { dlgAccept(); }; …
quantum231
  • 11,218
  • 24
  • 99
  • 192
0
votes
1 answer

Installing Microsemi/Actel Libero on Ubuntu

I am trying to install the latest version of the Libero SW tools set from Microsemi/Actel on my Ubuntu laptop. The web site of the company says that their SW only supports the RH linux and they don't mention Ubuntu anywhere on their site. But I only…
FarhadA
  • 1,379
  • 1
  • 10
  • 20
0
votes
1 answer

Solving for Normalised Frequency with LLC Gain Equation

I would like help solving the equation below for Fn within matlab or Octave (preferably). What I know is the following: MG = 1.3 QE = 0.52 LN = 3.5 Because I am following this reference(https://www.ti.com/seclit/ml/slup263/slup263.pdf) I know the…
RogerDodger
  • 118
  • 8
0
votes
2 answers

Segger Embedded Studio not expanding macros for post build script

I am trying to run a post-build script in Segger Embedded Studio (v6.20a). I want to have access to variables that are Macro-defined in SES. Example variable is NRFUTIL, which should expand to a filepath. Based on this forum post from Segger, Macros…
Chris Fernandez
  • 1,316
  • 14
  • 32
0
votes
1 answer

How to add and use "scripts" in Altium

Please go easy on me as I am new to Altium and not much of a software geek - actually have no idea what a script is. Anyway - question is - how do I add a script to Altium Designer, and how do I execute/run it? Is it as simple as downloading these…
jvnlendm
  • 387
  • 1
  • 9
0
votes
1 answer

Altium Designer & Dephi script - how to open HTML file created before

I'm writing some small Delphi script for Altium Designer that create an HTML report based on the PCB file. Which API command should I use to open the HTML file created before from that script? For now, I can only display the TEXT file by using:…
0
votes
0 answers

MATLAB - Docking figure

Can I see the editor and the plot in MatLab (docked view) in parallel? This function doesn't work any longer and it was partially what I needed. set(h, 'WindowStyle', 'Docked'); I don't want to arrange it manually all the time to get this.
electricalEN
  • 103
  • 1
  • 6
0
votes
1 answer

How to change Designator text size by script in Altium 17 or newer

For the assembly drawing I have to move all the designators to a prefefined layer, rotate them as needed and set the text size. I know this is possible via "find similar objects" but I would like to do it via a script. I found a Vb script which is…
schwdk
  • 547
  • 3
  • 13
0
votes
1 answer

How to associate RX/TX of the BLE RN487x with a LED?

I assembled the scheme suggested by Microchip for the Bluetooth Low Energy BLE model RN4871, pointed out in the schematic of FIGURE 5-4 of the Datasheet (page 26). I've connected a led to Pin 12 (P0_2) and set the BLE as UART transparent, according…
wBB
  • 121
  • 5
0
votes
1 answer

Any script for detecting PCB size or the trace width/spacing

everytime I place an order on PCB manufacturers (such as PCBWay), I need to fill out the related parameters of my boards - the width, the length, the trace , holes and etc. Has anyone tried to work out a script for detecting PCB size or the trace…
ROkeb
  • 1
0
votes
1 answer

Measure CMRR of amplifier in a single HSPICE simulation?

So far I measured CMRR by first obtaining the open loop gain and exporting the wave, and then doing the same with the AC source in common mode, but this adds the need for additional software, and make the process difficult automatize. I don't think…
Ironil
  • 73
  • 8
1
2