Herunterladen Inhalt Inhalt Diese Seite drucken

ZES ZIMMER LMG600 Serie Benutzerhandbuch Seite 445

Präzisions-leistungsmessgeräte mit 1 bis 7 kanälen
Vorschau ausblenden Andere Handbücher für LMG600 Serie:
Inhaltsverzeichnis

Werbung

# set pretrigger to 0 s
device .write('TRCPTRT ␣0')
# make sure the CYCLMOD is not SCOPE
# use e.g. CYCLetime instead
device .write('CYCLMOD ␣ CYCLetime ')
# provide the transient with the sample memory
device .write('SAMPLESTORAGEMODE ␣ EVENt ')
# set the signal to be monitored
# doesn 't need to be recorded itself ,
# but will be recorded in this case on track 1 (see above)
# up to 3 signals and conditions can be set up ( TRSOURCE2 & TRSOURCE3 )
device .write('TRSOURCE1 ␣" u1111"')
# set limit A to 120
device .write('TRLIMITA1 ␣120 ')
# set up trigger condition to trigger if signal ( TRSOURCE1 ) is higher than TRLIMITA
device .write('TRCOND1 ␣GTA ')
# ensure that the trigger fires only if the condition changes from false to true
# thus , the trigger occurs always on the rising edge
device .write('TRTRIGMODE ␣Edge ')
# start the transient system
device .write('TRANSIENTRESTART ')
# wait until TRPSTAT is 2 ( searching ) - max. 5 seconds
timeout = 0
while timeout < 5:
device .write('INIM␣NOW ')
device .write('TRPSTAT ?')
stat = int( device .read ())
if stat == 2:
break
time.sleep (1)
timeout += 1
# start recording
device .write('TRANSIENTNOW ')
# wait until TRPSTAT is >= 5 ( finished ) - max. 5 seconds
timeout = 0
while timeout < 5:
device .write('INIM␣NOW ')
device .write('TRPSTAT ?')
stat = int( device .read ())
if stat >= 5:
break
time.sleep (1)
timeout += 1
# read from track 0, samples 0 to 49
device .write('TRPVAL ?␣0,␣ (0:49) ')
# read the samples and fill u
u = device .read ()
# read from track 1, samples 0 to 49
device .write('TRPVAL ?␣1,␣ (0:49) ')
# read the samples and fill i
i = device .read ()
Anstatt der 50 Werte pro Spur kann man natürlich bis zur maximalen Spurgröße
abfragen.
www.zes.com
Benutzerhandbuch Gerätefamilie LMG600
445/472

Werbung

Inhaltsverzeichnis
loading

Verwandte Produkte für ZES ZIMMER LMG600 Serie

Inhaltsverzeichnis