Skip to content

sust-cs-uob/tek_power

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tektronix PA1000 and Rhode & Schwartz 8515 Power Measurements over Ethernet

Manual See p. 54 for commands

Example commands

clear selection

:SEL:CLR

select measurements

:SEL:VLT :SEL:AMP :SEL:FRQ :SEL:WAT :SEL:VAS :SEL:VAR :SEL:PWF :SEL:VPK+ :SEL:APK+

read data

:FRD? :FRF?

set 'data available flag'

:DSE 2

is data available?

:DSR?

Then read

:FRD?

Set static IP on RPi

  • edit
interface eth0
static ip_address=192.168.0.10/24

Run

TIMESTAMP=`date +%Y-%m-%d_%H-%M-%S`
python tek_net.py >> power_$TIMESTAMP.csv

Alternatives

USB

Jed Preist has written a script that reads from USB, using the pyVisa library.

However, This requires a VISA backend, which is not available for RPi. https://edadocs.software.keysight.com/kkbopen/linux-io-libraries-faq-589309025.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages