- Added scan support to new TAS syntax

- First full version of new TAS
This commit is contained in:
koennecke
2005-05-18 13:47:46 +00:00
parent 6145b513f8
commit 46492ca9bd
8 changed files with 1265 additions and 18 deletions

36
tasscanub.h Normal file
View File

@ -0,0 +1,36 @@
/*----------------------------------------------------------------------
This is the header file for the TAS scan code. It mainly implements
writing of the ILL file format, which the TAS'lers adore.
Mark Koennecke, May 2005, using code from an earlier TASAMAD emulation
core.
------------------------------------------------------------------------*/
#ifndef SICUBSTAS
#define SICSUBTAS
#include <sicsvar.h>
#include "tasub.h"
/* --------------------- data structure -------------------------------*/
#define MAXADD 20
typedef struct {
pObjectDescriptor pDes;
pCounter counter;
pScanData pScan;
ptasUB ub;
int iPOL;
int iIgnore; /* in order to ignore writing scan points again
in polarisation mode;
*/
char out[MAXADD][10];
int addCount;
int iFileNO;
int iFast;
char scanVar[80];
}TASdata, *pTASdata;
/*---------------------- interface ----------------------------------*/
int TASUBScanFactory(SConnection *pCon, SicsInterp *pSics, void *pData,
int argc, char *argv[]);
int TASUBScan(SConnection *pCon, SicsInterp *pSics, void *pData,
int argc, char *argv[]);
#endif