Download R&S Pulse Sequencer Pulse Signal Generation Software User Manual

Transcript
R&S®Pulse Sequencer
Annex
Plugin Programming API
●
create a report file
The following is a list of all functions that the plugin have to provide.
●
●
●
Common Functions............................................................................................... 401
MOP Functions..................................................................................................... 404
IPM Functions....................................................................................................... 409
A.3.1 Common Functions
void PS_PLUGIN_EXPORTS getType............................................................................. 401
void PS_PLUGIN_EXPORTS getVersion..........................................................................401
void PS_PLUGIN_EXPORTS getComment...................................................................... 401
void PS_PLUGIN_EXPORTS getAuthor........................................................................... 402
void PS_PLUGIN_EXPORTS getName............................................................................402
void PS_PLUGIN_EXPORTS getError............................................................................. 402
int PS_PLUGIN_EXPORTS getNextMsg.......................................................................... 402
int PS_PLUGIN_EXPORTS initPlugin.............................................................................. 403
void PS_PLUGIN_EXPORTS shutdownPlugin.................................................................. 403
int PS_PLUGIN_EXPORTS getVariable........................................................................... 403
int PS_PLUGIN_EXPORTS setVariable........................................................................... 404
void PS_PLUGIN_EXPORTS getType ( char szModType[1024])
(mandatory)
Queries the plugin type.
Return values:
szModType
string
modulation / mop
Plugin for MOP
ipm
Plugin for IPM
report
Plugin for reports created during the waveform generation
void PS_PLUGIN_EXPORTS getVersion ( char szModVer[1024] )
(mandatory)
Queries the version string of the plugin.
Return values:
szModVer
<Major>.<Minor>.<Revision>
<Major>, <Minor> and <Revision> are numerical values
void PS_PLUGIN_EXPORTS getComment ( char szModComment[4096] )
(mandatory)
User Manual 1176.9512.02 ─ 03
401