RunSequence
Execute a sequence as defined in a Sequence section of the configuration file.
Parameters:
seqName
The name of the sequence configuration section that defines this sequence.
Return Value:
Success or failure. If the function fails use GetErrorMessage to get the specific errors associated with the failure.
Prototype Signature:
success RunSequence(char* seqName);
An example of how this function is used is shown below.
#include <malloc.h>
#include <string.h>
#include "api.h"
int main()
{
success successful;
//Initialize the library with a specific configuration file
successful = Initialize("C:\\Temp\\MyConfig.ini");
if(successful)
{
//Execute the "Cal_ICM-Plane" calibration
successful = RunSequence("Seq_1");
if(successful)
printf("Success");
else
printf("Failure");
}
}