18.09.2013 Views

Caracterización de Arenas y Gravas con Ondas Elásticas

Caracterización de Arenas y Gravas con Ondas Elásticas

Caracterización de Arenas y Gravas con Ondas Elásticas

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Doctorado en Ingeniería – Facultad <strong>de</strong> Ingeniería – Universidad Nacional <strong>de</strong> Cuyo – Año 2007<br />

Lic. Armando Luis Imhof<br />

' Nota: el comando inferior se pue<strong>de</strong> reemplazar <strong>con</strong> HOR:DEL:POS (pg.2-94)<br />

' Pero no sirve cdo <strong>de</strong>seo cambiar el rec time <strong>de</strong>s<strong>de</strong> el programa.<br />

PRINT #1, "hor:mai:position " + STR$(origen)<br />

PRINT #1, "horizontal:view main"<br />

PRINT #1, "languaje spanish"<br />

' Display<br />

PRINT #1, "cursor:function off"<br />

PRINT #1, "display:<strong>con</strong>trast 45"<br />

PRINT #1, "display:format yt"<br />

PRINT #1, "display:persistence off"<br />

PRINT #1, "display:style vectors"<br />

' Config puerto <strong>de</strong> impresi¢n<br />

PRINT #1, "hardcopy:format <strong>de</strong>skjet"<br />

PRINT #1, "hardcopy:layout landscape"<br />

PRINT #1, "hardcopy:port centronics"<br />

' Config puerto RS232<br />

PRINT #1, "rs232:baud 9600"<br />

PRINT #1, "rs232:hardflagging on"<br />

PRINT #1, "rs232:parity none"<br />

PRINT #1, "rs232:transmit:terminator: CR"<br />

' Configuraci¢n <strong>de</strong> canales<br />

' display <strong>de</strong> se¤ales<br />

PRINT #1, "select:ch2 on;ch1 on;math off;refa off;refb off"<br />

PRINT #1, "ch1:coupling ac;bandwidth on;:ch2:coupling ac;bandwidth on"<br />

' posici¢n vertical<br />

PRINT #1, "ch1:position 2"<br />

PRINT #1, "ch2:position -2"<br />

' atenuaci¢n <strong>de</strong> las sondas<br />

PRINT #1, "ch1:probe 1"<br />

PRINT #1, "ch2:probe 1"<br />

' escalas <strong>de</strong> mV<br />

PRINT #1, "ch1:scale 5e-2"<br />

PRINT #1, "ch2:scale 5e-0"<br />

END SUB<br />

Programa Adq_DSO.BAS:<br />

DECLARE SUB ordrayo ()<br />

DECLARE SUB stacking ()<br />

DECLARE SUB adquisicion ()<br />

DECLARE SUB writesignal ()<br />

' programa Adq_DSO.BAS para adquirir y resguardar<br />

' señales <strong>de</strong>l TDS 210<br />

' Autor: Armando Luis IMHOF"<br />

' Las unida<strong>de</strong>s en escala vertical son voltios<br />

' en horizontal segundos<br />

' Las señales se graban en archivo ASCII <strong>con</strong> cq. extension<br />

' los registros almacenados en filas<br />

' para proceso final hay que transponerlos.<br />

' 18/05/06. Testeado. Ok.<br />

COMMON SHARED scope%, n, datafile$, nstack, nr, ns, cnr, cns<br />

'$DYNAMIC<br />

DIM SHARED signale1(2500), signale2(2500), ValorVolt1(2500), ValorVolt2(2500)<br />

DIM SHARED tiempos(2501), aux1(2500), aux2(2500)<br />

scope% = 1<br />

' n es un <strong>con</strong>tador <strong>de</strong> nro <strong>de</strong> senales<br />

n = 1<br />

CLS<br />

302

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!