Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SIM / ISL File I/O Simphony 1.5MR2

Status
Not open for further replies.

johnsjungle

Programmer
Sep 23, 2011
1
0
0
US
Hi,

I am trying to run a survey that prints between two registers every x amount of times. I know I can do this part with check numbers. The problem I am having is I need the survey to increment one each time it prints. I can do this locally on each WS5A by writing to a file however I need to know the last number used by the other workstation.

I can successfully write to the local CF card on each workstation with the following command.

fopen fn, "cf/datatest.dat", write, local

When I try to write with the following command:

fopen fn, "/micros/simphony/ect/datatest.dat", write

I get an invalid file number error.

Is there somthing I am missing?

Is there a way to have the two workstations talk to each other?

Is there a way to have them both use the same file from the simphony server?

Thanks for any help or insight.

John
 
Is it a typo in
/micros/simphony/ect/datatest.dat should be /etc ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top