Couldn't find a path to images on real controller

egor
✭
Hello,
I'm trying to load pictures in picturBox1 from HOME directory of real controller.
It was easy when I launched my app on virtual FlexPendant:
Bitmap ISO_L = new Bitmap("C://Program Files (x86)//ABB Industrial IT//Robotics IT//SDK//FlexPendant SDK 6.06//Resources//ISO_L.bmp");
I'm trying to load pictures in picturBox1 from HOME directory of real controller.
It was easy when I launched my app on virtual FlexPendant:
Bitmap ISO_L = new Bitmap("C://Program Files (x86)//ABB Industrial IT//Robotics IT//SDK//FlexPendant SDK 6.06//Resources//ISO_L.bmp");
pictureBox1.SizeMode = PictureBoxSizeMode.StretchImage;
pictureBox1.Image = ISO_L;
But I can't do the same on real controller:
Bitmap ISO_L = new Bitmap("hd0a://1600-106668//HOME//ISO_L.bmp");
This action causes to an unexpected error "Couldn't find a part of the path".
Here I found my problem, but I don't understand how to use TpsResourceManager without example. Are there other ways to load a picture?
Thanks!
But I can't do the same on real controller:
Bitmap ISO_L = new Bitmap("hd0a://1600-106668//HOME//ISO_L.bmp");
This action causes to an unexpected error "Couldn't find a part of the path".
Here I found my problem, but I don't understand how to use TpsResourceManager without example. Are there other ways to load a picture?
Thanks!
0
Categories
- All Categories
- 5.6K RobotStudio
- 399 UpFeed
- 20 Tutorials
- 14 RobotApps
- 301 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 339 IRC5
- 67 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 832 RAPID Programming
- 16 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 107 Collaborative Robots
- 5 Job listings