- Fixes for FOCUS 2D
- Mapped fileeval to exe manager - Updates for TRICS file formats SKIPPED: psi/libpsi.a psi/sinqhmdriv.c psi/sinqhttp.c psi/tabledrive.c psi/tasscan.c psi/hardsup/asynsrv_utility.c psi/hardsup/sinqhm.c
This commit is contained in:
37
scan.w
37
scan.w
@ -47,6 +47,7 @@ Scan variables are held in this data structure:
|
||||
float fStep;
|
||||
float *fData;
|
||||
int dataList;
|
||||
int logVar;
|
||||
}VarEntry, *pVarEntry;
|
||||
@}
|
||||
The VarEntry structure holds the data for each single scan variable.
|
||||
@ -69,6 +70,14 @@ Scan variables have an interface:
|
||||
*/
|
||||
pVarEntry MakeScanVar(SicsInterp *pSics, SConnection *pCon, char
|
||||
*name, float start, float step);
|
||||
/**
|
||||
* make a variable which is logged during the scan but not driven.
|
||||
* @@param pSics The interpreter in order to locate the variable.
|
||||
* @@param pCon A connection object for error reporting
|
||||
* @@param name The name of the variable to log
|
||||
*/
|
||||
pVarEntry MakeLogVar(SicsInterp *pSics,
|
||||
SConnection *pCon, char *name);
|
||||
/**
|
||||
* InitScanVar clears the list of scan points
|
||||
* @@param pvar The scna variable to clear
|
||||
@ -127,6 +136,21 @@ Scan variables have an interface:
|
||||
* @@param np The number of slots in fData.
|
||||
*/
|
||||
void CopyScanVar(pVarEntry pVar, float *fData, int np);
|
||||
/**
|
||||
* CheckScanVar checks if the scan variable can be driven through the
|
||||
* whole range.
|
||||
* @@param pVar The scan variable to check
|
||||
* @@param pCon The connection object to which to report errors.
|
||||
* @@param np The number of points to check for.
|
||||
* @@return 0 on failuyre, 1 on success
|
||||
*/
|
||||
int CheckScanVar(pVarEntry pVar, SConnection *pCon, int np);
|
||||
/**
|
||||
* queries if the variable is alogged variable or a drive one.
|
||||
* @@param pVar The variable to query.
|
||||
* @@return 1 if log var, 0 else
|
||||
*/
|
||||
int isLogVar(pVarEntry pVar);
|
||||
@}
|
||||
|
||||
\subsubsection{The Scan Object}
|
||||
@ -396,6 +420,15 @@ format of this template is documented in the SICS managers
|
||||
documentation.
|
||||
|
||||
@d stdscan @{
|
||||
/**
|
||||
* make a filename according to SICS rules for this scan
|
||||
*/
|
||||
char *ScanMakeFileName(SicsInterp *pSics, SConnection *pCon);
|
||||
/*
|
||||
* write the header bits from the template
|
||||
*/
|
||||
void WriteTemplate(FILE *fd, FILE *temp, char *filename, pScanData pScan,
|
||||
SConnection *pCon, SicsInterp *pSics);
|
||||
/**
|
||||
* write the header of the scan file
|
||||
*/
|
||||
@ -419,6 +452,10 @@ documentation.
|
||||
* second version of PrepareScan which does not check scan limits
|
||||
*/
|
||||
int NonCheckPrepare(pScanData self);
|
||||
/**
|
||||
* prepare for a scan without complaining...
|
||||
*/
|
||||
int SilentPrepare(pScanData self);
|
||||
/**
|
||||
* ScanDrive handles driving to the scan point iPoint.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user