My application used to work fine until I updated the API version I was using in my references.
Specifically I went from CLDATAPI.dll version 2.3.0.0 to 2.5.0.0
Now I am getting the following error:
E01000261122 Failed to get program running state - Invalid sub system for this operation
I've written an application that uses several API functions including this one:
Private Function GetCycleComplete() As Boolean
Try
m_blnCycleComplete = m_Program.CycleComplete(MachineSideEnum.LeftSide)
Return m_blnCycleComplete
Catch ex As Exception
Throw
End Try
End Function
The machine I'm using for testing is an LT-2000-MY running with OSP-P300L.
I realize that my problem must be with the "MachineSideEnum.LeftSide" sub system.
- Why would just changing the API version effect this?
- What does LeftSide / RightSide refer to?
- This machine has W-Axis, is it related to the spindle side?
- If it's referring to dual SIDE machines, why did it work before but not now?