Reading PSpice Data Files

B

Bob Penoyer

Guest
I'd like to isolate data from a PSpice data file. For example, I'd
like to isolate the gate-source voltage and drain current from a
MOSFET and fit a curve to the data so that I can do some analytical
manipulation on the result.

What is the best way to read the data? Is there a relatively simple
way to isolate pieces of the data as I've described?
 
On Thu, 06 May 2004 03:51:50 GMT, Bob Penoyer
<rpenoyer@NOSPAMieee.org> wrote:

I'd like to isolate data from a PSpice data file. For example, I'd
like to isolate the gate-source voltage and drain current from a
MOSFET and fit a curve to the data so that I can do some analytical
manipulation on the result.

What is the best way to read the data? Is there a relatively simple
way to isolate pieces of the data as I've described?
Plot the trace you want in probe. Click the trace name so it is
selected (red). The do copy. Paste into notepad and you will have a
list of X-Y values. Select more than one trace with shift-click and
then copy and paste and you will get X Y1 Y2...

I have used mathcad in the paste to read in the data saved in notepad
(save as file.prn). See Mathcad readprn function although on newer
mathcad there are other options.



--

Malcolm Reeves BSc CEng MIEE MIRSE, Full Circuit Ltd, Chippenham, UK
(mreeves@fullcircuit.com, mreeves@fullcircuit.co.uk or mreeves@iee.org).
Design Service for Analogue/Digital H/W & S/W Railway Signalling and Power
electronics. More details plus freeware, Win95/98 DUN and Pspice tips, see:

http://www.fullcircuit.com or http://www.fullcircuit.co.uk

NEW - Desktop ToDo/Reminder program (free)
 
On Thu, 06 May 2004 17:34:41 +0100, Malcolm Reeves
<mreeves@fullcircuit.com> wrote:

On Thu, 06 May 2004 03:51:50 GMT, Bob Penoyer
rpenoyer@NOSPAMieee.org> wrote:

I'd like to isolate data from a PSpice data file. For example, I'd
like to isolate the gate-source voltage and drain current from a
MOSFET and fit a curve to the data so that I can do some analytical
manipulation on the result.

What is the best way to read the data? Is there a relatively simple
way to isolate pieces of the data as I've described?

Plot the trace you want in probe. Click the trace name so it is
selected (red). The do copy. Paste into notepad and you will have a
list of X-Y values. Select more than one trace with shift-click and
then copy and paste and you will get X Y1 Y2...

I have used mathcad in the paste to read in the data saved in notepad
(save as file.prn). See Mathcad readprn function although on newer
mathcad there are other options.
You can also paste into Excel in the same way.

...Jim Thompson
--
| James E.Thompson, P.E. | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| Phoenix, Arizona Voice:(480)460-2350 | |
| E-mail Address at Website Fax:(480)460-2142 | Brass Rat |
| http://www.analog-innovations.com | 1962 |

I love to cook with wine. Sometimes I even put it in the food.
 
On Thu, 06 May 2004 18:32:59 -0700, Jim Thompson
<thegreatone@example.com> wrote:

On Thu, 06 May 2004 17:34:41 +0100, Malcolm Reeves
mreeves@fullcircuit.com> wrote:

On Thu, 06 May 2004 03:51:50 GMT, Bob Penoyer
rpenoyer@NOSPAMieee.org> wrote:

I'd like to isolate data from a PSpice data file. For example, I'd
like to isolate the gate-source voltage and drain current from a
MOSFET and fit a curve to the data so that I can do some analytical
manipulation on the result.

What is the best way to read the data? Is there a relatively simple
way to isolate pieces of the data as I've described?

Plot the trace you want in probe. Click the trace name so it is
selected (red). The do copy. Paste into notepad and you will have a
list of X-Y values. Select more than one trace with shift-click and
then copy and paste and you will get X Y1 Y2...

I have used mathcad in the paste to read in the data saved in notepad
(save as file.prn). See Mathcad readprn function although on newer
mathcad there are other options.

You can also paste into Excel in the same way.
Thanks to you both. The answer is deceptively/pleasantly simple.
 
On Sat, 08 May 2004 04:34:41 GMT, Bob Penoyer
<rpenoyer@NOSPAMieee.org> wrote:

On Thu, 06 May 2004 18:32:59 -0700, Jim Thompson
thegreatone@example.com> wrote:

On Thu, 06 May 2004 17:34:41 +0100, Malcolm Reeves
mreeves@fullcircuit.com> wrote:

[snip]

I have used mathcad in the paste to read in the data saved in notepad
(save as file.prn). See Mathcad readprn function although on newer
mathcad there are other options.

You can also paste into Excel in the same way.

Thanks to you both. The answer is deceptively/pleasantly simple.
Indeed. The first time I tried it I was astonished how easily it
worked.

...Jim Thompson
--
| James E.Thompson, P.E. | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| Phoenix, Arizona Voice:(480)460-2350 | |
| E-mail Address at Website Fax:(480)460-2142 | Brass Rat |
| http://www.analog-innovations.com | 1962 |

I love to cook with wine. Sometimes I even put it in the food.
 

Welcome to EDABoard.com

Sponsor

Back
Top