Routine with parameters
                
                    NRMartin                
                
                     ✭                
            
                        
            
                    Hi everyone!
I'm making an application with C# using PC SDK to work with virtual controllers.
 
One of the implemented features allows to load a routine and execute it from the application.
However, I wonder if it would be possible to execute a routine which needs parameters.
Can anyone help me?
Thanks in advance!
                
                I'm making an application with C# using PC SDK to work with virtual controllers.
One of the implemented features allows to load a routine and execute it from the application.
However, I wonder if it would be possible to execute a routine which needs parameters.
Can anyone help me?
Thanks in advance!
0  
            Comments
- 
            We also need to know about this .. thanks in advance.0
 - 
            No one?

0 - 
            
Hi,
This is not possible, since what you are doing with the SDK (similar to the Flex Pendant), you are moving the Program Pointer to a routine. The runtime can't figure it out the parameters at this point.
Have you though about work around?
- If the name of the routine always the same?
- What type of parameters is expecting?
Based on these two questions, you can have a routine without parameters that calls your target routine.
BE
Carlos Martinez
ABB0 
Categories
- All Categories
 - 5.6K RobotStudio
 - 401 UpFeed
 - 21 Tutorials
 - 15 RobotApps
 - 306 PowerPacs
 - 407 RobotStudio S4
 - 1.8K Developer Tools
 - 250 ScreenMaker
 - 2.9K Robot Controller
 - 363 IRC5
 - 81 OmniCore
 - 8 RCS (Realistic Controller Simulation)
 - 853 RAPID Programming
 - 31 AppStudio
 - 4 RobotStudio AR Viewer
 - 19 Wizard Easy Programming
 - 110 Collaborative Robots
 - 5 Job listings