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.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 788 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings