cancel
Showing results for 
Search instead for 
Did you mean: 

process simulate olp function write file

PLM World Member Phenom PLM World Member Phenom
PLM World Member Phenom

hello everybody,

 

i have a question about the write file function under olp commands.

the functions works but my question is?

for what is the input field "handle"?

 

what can i do with this?

 

thanks

Kind regards,

Benjamin Voelzke
3 REPLIES

Re: process simulate olp function write file

Siemens Phenom Siemens Phenom
Siemens Phenom

It can be any string. It is needed if you need to write in 2 files in parallel in order that the # Write writes in the appropriate file.

Similar logic as in Perl language for instance.

Re: process simulate olp function write file

PLM World Member Valued Contributor PLM World Member Valued Contributor
PLM World Member Valued Contributor

thanks,

 

but i have problems to understand.

 

have you a example line for me?

 

thanks

Re: process simulate olp function write file

Siemens Phenom Siemens Phenom
Siemens Phenom

# OpenFile W FP1 C:\temp\file1.txt
# OpenFile W FP2 C:\temp\file2.txt
# WriteLine FP1 This will go to file1
# WriteLine FP2 This will instead go to file2.txt
# CloseFile FP1
# CloseFile FP2