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.4K RobotStudio
- 384 UpFeed
- 15 Tutorials
- 12 RobotApps
- 290 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 241 ScreenMaker
- 2.7K Robot Controller
- 283 IRC5
- 44 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 746 RAPID Programming
- 15 Wizard Easy Programming
- 110 Collaborative Robots
- 3 Job listings