Its hard to give you advice while I didn't tried such things by myself. My only next clue would be that we cant open more than 2 files at a time(or use more than two handles). The whole fimware has only two Vars hMainFile and hSlaveFile. Maybe you can try to use this:
hSlaveFile = FileOpen...
without predefining hSlaveFile as it is already defined.
|