I am trying to develope a sim that reads a text file and shows the message on it on screen.
This is the code:
event inq: 1
var fn : n5
var sTmp : A150
fopen fn, "/micros/simphony/data/empmessage.txt", read
FReadLn fn, sTmp
errormessage sTmp
fclose fn
endevent
The problem is that the isl can not reach to that path I already tried it with c:/micros/simphony/data/empmessage.txt and c:\micros\simphony\data\empmessage.txt
The error I receive is " SIM FILE ACCESS SERVICE NOT DEFINED"
The workstations are win32 based .
Does anyone know the right path to store this file to read it or where should I put it.
Thanks
This is the code:
event inq: 1
var fn : n5
var sTmp : A150
fopen fn, "/micros/simphony/data/empmessage.txt", read
FReadLn fn, sTmp
errormessage sTmp
fclose fn
endevent
The problem is that the isl can not reach to that path I already tried it with c:/micros/simphony/data/empmessage.txt and c:\micros\simphony\data\empmessage.txt
The error I receive is " SIM FILE ACCESS SERVICE NOT DEFINED"
The workstations are win32 based .
Does anyone know the right path to store this file to read it or where should I put it.
Thanks