Polytec vibrometer plugin¶
The Polytech vibrometer instrument.
This plugin allows interfacing with Polytec vibrometer OFV-5000 controller and OFV-505 sensor head. Functions based on Polytec “RS-232 Interface Commands: OFV-5000 User Manual”
NOTE For each polytec controller, different decoders may be installed. These values should be stored in the your PLACE config file. (~/.place.cfg)
Settings¶
The Polytec plugin will need entries in your .place.cfg
file.
Specifically, it needs the communication port, the baudrate, and names for
any decoders you have installed. Here is an example:
[Polytec]
port = /dev/ttyS0
baudrate = 115200
dd_300 = DisplDec,0
dd_900 = DisplDec,1
vd_08 = VeloDec,0
vd_09 = VeloDec,1
Metadata¶
The Polytec plugin will produce the following experimental metadata:
Key | Type | Meaning |
---|---|---|
actual_area_min | int | the actual minimum autofocus range used (if using custom autofocus) |
actual_area_max | int | the actual maximum autofocus range used (if using custom autofocus) |
vd_08_time_delay | float | the decoder time delay (if used) |
vd_08_maximum_frequency | float | the decoder maximum frequency (if used) |
vd_09_time_delay | float | the decoder time delay (if used) |
vd_09_maximum_frequency | float | the decoder maximum frequency (if used) |
Data¶
The Polytec plugin will produce the following experimental data:
Heading | Type | Meaning |
---|---|---|
Polytec-signal | uint64 | the signal level recorded from the vibrometer |
-
class
place.plugins.polytec.polytec.
Polytec
(config, plotter)[source]¶ Bases:
place.plugins.instrument.Instrument
The polytec class
-
config
(metadata, total_updates)[source]¶ Configure the vibrometer.
Parameters: - metadata (dict) – experiment metadata
- total_updates (int) – number of updates for the experiment
-