ā2018-09-20 10:59 AM
Solved! Go to Solution.
ā2018-09-25 04:14 PM
dstr = ""
ch = OPEN ("DateTime", "", "%d/%m/%Y, %X")
n = INPUT (ch, "", "", dstr)
close ch
zzxzx = str(symb_pos_x*1000, 3, 2)
zzxzxz = str(symbol_pos_x*1000, 3, 2)
text2 0, 0, dstr + " " + zzxzx
name =""
nomplan = request("Name_of_plan", "", name)
chOUT=OPEN ("TEXT", "filelog.TXT", "MODE=WO")
OUTPUT chOUT, 1, 1, zzxzx
OUTPUT chOUT, 2, 1, zzxzxz
close chOUT
ā2018-09-20 11:23 AM
ā2018-09-20 11:37 AM
ā2018-09-20 11:41 AM
JGoode wrote:I mean when you amend the actual object in the model (not the GDL).
when you say you amend object A, do you mean in the GDL editor or in the settings?
ā2018-09-20 11:44 AM
ā2018-09-20 01:35 PM
ch1 = OPEN ("TEXT", "TEST123", "separator = ' ', MODE = WO")
string = "12345"
OUTPUT ch1, 1, 0, string
what am I doing wrong?
ā2018-09-21 04:04 AM
rrr=REQUEST ("Name_of_plan", "", pname, pfullname, ppath)
!print pname
!print pfullname
!print ppath
file_name_start = STRSTR(ppath, pfullname)
fold_path = STRSUB(ppath, 1, file_name_start-1)
fspec=fold_path+"TEST123.txt"
!print fspec
ch1 = open ("TEXT", fspec, "separator = '\n', mode = wo")
output ch1, 1, 0, "12345"
close ch1
But I am getting an error that says non-existent channel.ā2018-09-21 05:32 AM
ā2018-09-25 04:14 PM
dstr = ""
ch = OPEN ("DateTime", "", "%d/%m/%Y, %X")
n = INPUT (ch, "", "", dstr)
close ch
zzxzx = str(symb_pos_x*1000, 3, 2)
zzxzxz = str(symbol_pos_x*1000, 3, 2)
text2 0, 0, dstr + " " + zzxzx
name =""
nomplan = request("Name_of_plan", "", name)
chOUT=OPEN ("TEXT", "filelog.TXT", "MODE=WO")
OUTPUT chOUT, 1, 1, zzxzx
OUTPUT chOUT, 2, 1, zzxzxz
close chOUT
ā2018-10-01 06:30 AM