-
Notifications
You must be signed in to change notification settings - Fork 4
Functions
Uploads one or more pulsegroups to the connected AWG.
Used to delete pulses from the AWG or clear them up.
Control the AWG to start/stop, etc.
Load latest awgdata.
Prints a list of the pulsegroups in the awgdata struct.
Find group index in awgdata.pulsegroups based on provided group name.
List the waveforms present on an AWG.
Transmit pulses from group to AWG.
Load latest awgdata file saved by awgsavedata().
Set npulse for pulsegroups.
Used to delete pulses from the AWG.
Save awgdata in plsdata.grpdir, with name generated from date and time.
Find the pulse line associated with a pulse group or pulse index.
Swap the current active AWG with an alternative.
Make sure the list of pulses is awgdata is consistent with the AWG.
Obsolete!
Give a list of waveforms that are known to be loaded.
Helper function to determine if a pulse is zero.
Enshures correct pulse-formating and updates the format-string pulse.format depending on the content of pulse.data.
Tabular representation of specified pulses.
Plots pulse using plstowf() as time vs. channelA and channelB, channelA vs. channelB, time vs. markerA and markerB.
Extracts xval from pulses inside plsdata.pulses database and collecting them in plsdata.xval.
Adds pulse to plsdata.pulses database, while enshuring correct elements and correct order of elements.
Used to save and load pulse databese plsdata, while enshuring correct path-handling.
Downconverts pulses of format 'elem' to format 'tab'.
Auxiliary function for plstotab(), to process pulse elements of type 'rfpulse'.
Downconverts pulses of format 'tab' to format 'wf'.
Enshures correct group-formating. Saves a pulse group to the path specified in plsdata.grpdir.
Some preliminary checks for a pulsegroups.
Processes pulse group to 'wf' format and saves to disk. Used by awgadd(). Can be controlled by a string ctrl containing swiches:
- 'plot': plot pulse group
- 'check': check if any voltage value is out of awgdata.scale bounds
- 'upload': uploads pulse group to the AWG
Changes to the pulsegroup are logged inside plslog (stored with pulse).
Updates the fields of a pulsegroup. The fields name, chan, markmap, offset, pulseind, pulses cannot be updated. Formatting of the other fields must remain the same.
Used to retrieve fileds of a pulsegroup at a given time or check if the provided group is stale ( previously not existing, old timestamp, ...). Variable at a given time can be reclaimed using the ctrl strings:
- 'ro': returns readout
- 'zl': returns zerolen
- 'gd': returns grpdef
- 'sl': returns seqlog
Ctrl strings not honoring time:
- 'ls': list/returns pulsegroup(s) of provided name(mask) in grpdir. E.g. 'dBz*'
- 'params': returns params
- 'pl' or 'log': returns plslog
- 'rev': prints avalible revisions of the pulse in plslog
- 'stale': returns, whether the pulse is stale or not