Overview of the JPA-SCPI Parser
JPA-SCPI Parser comprises two
parts:
a) JPA-SCPI
Parser Access Functions
Simply call the SCPI_Parse(...)
function to parse the command line string received by your instrument.
Return values indicate if the command string was recognized as a valid
command. Then use the JPA-SCPI Parser Access Functions to
retrieve the command's parameters (if any) as sent by the user. The Access
Functions allow the command parameters to be converted into the required
variable types (e.g. long integer, double-precision float, string etc.)
for your code to handle.
b) Command Set files
This .c & .h file-pair
contains the set of commands you want to recognize. Templates for
many types of instrument are
included to speed up the creation process.
How JPA-SCPI Parser fits into
Your Code
|