Scilab Function
Last update : 23/12/2007

uW_MES_read - read IV measurement file (*.mes) from XLIM measurements

Calling Sequence

dataset = uW_MES_read(filename)

Parameters

Description

This function read a MES file in order to manage informations within it with Scilab. You can acces to some data as follow :

dataset.network(number of network).curve(number of curve).plot(number of plot).field

field can be :

- v1 : input voltage

- v2 : output voltage

- i1 : input current

- i2 : output current

- S2P : index of the S2P file index

- di1dv1 : Derivate value if available into the file

- di1dv2

- di2dv1

- di2dv2

- Cgs : intrinsic value from linear modeling

- Cgd

- Gm

- Gd

- Cds

- Ri

- Tau

- Rgd

Examples

   filename=tk_getfile("*.mes");
   MES=uW_MES_read(filename);
   
   // Get the number of network
   size(MES.network)
   
   // Get the number of curves in the first network
   size(MES.network(1).curve)
   
   // Get the number of point in the first network and the first curve
   size(MES.network(1).curve(1).plot)
	
   // Plot the network by yourself : Id=f(Vds)
   for c=1:size(MES.network(1).curve),
      X=[];
	  Y=[];
      for p=1:size(MES.network(1).curve(c).plot),
	      X=[X;MES.network(1).curve(c).plot(p).v2];
		  Y=[Y;MES.network(1).curve(c).plot(p).i2];
      end;
	  plot2d(X,Y);
   end;

   // Plot the network with the buid-in function
   uW_MES_display(MES);
  

See Also

uW_MES_plot ,  

Authors

Tibault Reveyrand www.reveyrand.fr