RobotStudio event

SignalFilter

Hi
I tried to use these to lines from the manual but but but?

 

Dim ASigFilter As SignalFilter = SignalFilter.Digital Or SignalFilter.InputDim Signals As SignalCollection = AController.IOSystem.GetSignals(ASigFilter).

Tried to find it in object browser

What's wrong

 

BR Klaus
Best Regards

Klaus Soenderhegn
www.cadalysator.dk

Comments

  • Its an enum, so you can't declare an instance of it. Try
     

    SigColl = GetSignals(IOFilterTypes.Input Or IOFilterTypes.Output)
    Russell Drown