Hi
Someone use this function with cwrite, because I try but not work and I don't know there is the problem, I recived error -2 ( Operation failed: mount point not (or no longer) available.)
below my code
Code
DECL STATE_T State
DECL modus_T Mode
decl buff_mode_t buff
int FileHandle
filehandle=0
mode=#sync
CWRITE($FCT_CALL, State, Mode, "krl_mount", "/ALBA","//192.168.1.71/Scambio", "Adriano","0620060EFB6AC878222368E01E1C35DB367")
wait sec 1
CWRITE($FCT_CALL, State, Mode, "krl_fopen", "/Alba/MyFile.txt", "a", FileHandle)
wait sec 1
CWRITE($FCT_CALL, State, Mode, "krl_fwriteln", FileHandle, "prova")
wait sec 1
cwrite($fct_call, state, mode, "krl_fflush",filehandle)
wait sec 1
CWRITE($FCT_CALL, State, Mode, "krl_fclose_all", 1)
Display More