Hello Everyone
I can able to display image from media folder.
But
Actully i want to display images from shared memory.
please help me resolve this issue.
Hello Everyone
I can able to display image from media folder.
But
Actully i want to display images from shared memory.
please help me resolve this issue.
Shared memory is not possible, but a shared folder (CIFS) should be possible.
See following link:
Hi,
I can be able to
Select index: brease::ImageList1,selectedIndex
With above configuration I can be able to display the image in mapview & browsed in chrome browser its working well.
but I couldn’t be able to display the image from shared folder in mappview.
fyr find below details:
please help m,e to resolve this issue
You will need to use DevLink from FileIO.
With this DevLink you can create a file device, which is linked to the windows shared folder. (UserName, Password)
https://help.br-automation.com/#/en/4/libraries%2Ffileio%2Ffbks%2Fdevlink.html
In stead of SNAME also SIP can be used. (/SIP=10.18.21.22)
Your program syntax is not correct and faulty.
It seem to mix up single and double quotes and pDevice and pParam are pointers to strings.
The Devlink should only be called until status <> ERR_FUB_BUSY
PROGRAM _CYCLIC
CASE Step OF
0:
DevLink_0(enable := TRUE, pDevice := ADR('HD0'), pParam := ADR('/SIP=10.18.21.22 /PROTOCOL=cifs /DOMAIN=domain /SHARE=testdir /USER=max /PASSWORD=passw'));
IF (DevLink_0.status = ERR_OK) THEN
Step := 1;
ELSIF (DevLink_0.status <> ERR_FUB_BUSY) THEN
Step := 99;
END_IF
1:
;
99:
;
END_CASE
END_PROGRAM
This is knowledge which can be learned at trainings in the local subsidiaries:
https://www.br-automation.com/en/academy/dates-and-registration/