| Author |
Topic  |
|
|
Dominik Paulkowski
Germany
Posts |
Posted - 11/22/2006 : 05:16:22 AM
|
Origin Version (Select Help-->About Origin): Origin 7.5G SR6 Operating System: XP Professional
There is an error message at the script window, when I am running my script. It is caused by ImportASCII.
Script window: "echo=1; Start of import Before ImportASCII Error:draw -n header -r Behind ImportASCII End of import"
The C-Script is there: "...
printf("Start of import\n"); // Get current ascimp settings from worksheet ASCIMP ascimp; wks.GetASCIMP(ascimp); // AscImpReadFileStruct(saFilePaths[i],&ascimp); // Read file and automtaic parameter settings // Set header lines //ascimp.iHeaderLines = nHdrLines;
// Settings of the ASCIMP filter: int iDelimiter = ASCIMP_DELIM_TAB; // TABulator as separator of the columns int iLabels = 0; //=0 to keep current column labels, =1,2 etc as 1st, 2nd line from top of sub header block to rename labels int iRenameCols = 0; //=0 to keep column names, int iSubHeaderLines = 0;//subheader block, after iHeaderLines, the number of lines to be used in column labels and names int iAutoSubHeaderLines = 0; //=1 ignore iSubHeaderLines, auto determine, =0 to use iSubHeaderLines int iAutoColTypes = 0; // Automatic recognition of column types is turned off int iNumColumns = 4; // Number of columns to import ascimp.iRenameWks = 0; // =0 to keep current name
printf("Before ImportASCII\n"); // Import file int iRet = wks.ImportASCII(saFilePaths[i], ascimp); printf("Behind ImportASCII\n"); if( iRet != 0 ) { printf("Import failed with error: %d\n", iRet); wpg.Destroy(); return; } printf("End of import\n");
..."
Did I forgotten any important script settings?
------------------- :-Dipl.-Phys. at Fraunhofer Institute for Surface Engineering and Thin Films IST, Braunschweig, Germany |
|
|
Mike Buess
USA
3037 Posts |
Posted - 11/22/2006 : 06:29:55 AM
|
Hi Dominik,
That particular error message always occurs with ASCII import and can be safely ignored.
Mike Buess Origin WebRing Member |
 |
|
|
Dominik Paulkowski
Germany
Posts |
Posted - 11/22/2006 : 11:01:04 AM
|
Well.
Thank you, Mike.
------------------- :-Dipl.-Phys. at Fraunhofer Institute for Surface Engineering and Thin Films IST, Braunschweig, Germany |
 |
|
| |
Topic  |
|
|
|