The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 unknown error condition: draw -n header -r
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

drreaf

Germany
45 Posts

Posted - 01/29/2010 :  12:27:28 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release: O7.5 SR6
Operating System: XP

The lines given below are copies from a script window 'error-protocol' produced with echo=7.
The underlying error condition occurs only with O75, not O81.

The sequence

findex=1
draw -n header -r
Error:draw -n header -r

is inserted by the LT interpreter.

I don't know the error condition which leads to this message, however I believe it is related to the placement to the page header of a worksheet of a page label of the following kind:

-PNbeltShort2DTheta.INP->
S:\SSTNTD\ISS2007\FlightData\TRACKHST\TRACKHST->
PNbeltShort2DTheta.PTK Di.07-12-18/14:19:10
integrale Haeufigkeit von THETA_T aus IVA_011_1.1_E/Di.07-12-18/14:19:13


Despite this error message the program apparently works fine. Nevertheless I would like to know how to remove the cause for it in order not to 'smudge' the error protocol in case I am searching for significant errors.

Any suggestions?

Regards, Rainer

Dr. Rainer Facius, DLR, German Aerospace Center

Ascimport.GetSettings()
Ascimport.HeaderLines=6
Ascimport.AutoSubHeaderLines=1
Ascimport.SubHeaderLines=0
Ascimport.RenameWks=0
Ascimport.RenameCols=0
Ascimport.Labels=0
Ascimport.Delimited=1
Ascimport.Delimiter=1
%R=%R.THO
Impspc$=%(ConePath$)\%R
Ascimport.FileName$=Impspc$
Ascimport.WriteSettings()
Ascimport.Import()
findex=1
draw -n header -r
Error:draw -n header -r
%K=%[%Z,@1]
%L=%[%K,'>']
%M=%[%K,>'>']
%N=%[%M,'>']
%O=%[%M,>'>']
%M=%[%Z,@3]
%Z=\v(%L)>
\v(%N)>
\v(%O)
\v(%M)
label -s -n ImpHead "%Z"
ImpHead.fsize = 14

greg

USA
1378 Posts

Posted - 01/29/2010 :  6:05:32 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
This is perfectly normal and as you noted the program is working fine. It is only a consequence of you turning on echo. Your script can turn off echo before the import and turn it back on after if you wish.
In general, type statements or better yet using Code Builder with break points is a preferable to debug since echo out can be quite confusing.
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000