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, stringwhat 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 ch1But 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