RobotStudio event

Access to I/O Writing DO FP sdk

Hi, i have serious problem to set DO on VC, i attach my project VS
 

public class TpsViewIRC5App8 : TpsForm, ITpsViewActivation, ITpsViewSetup

private ABB.Robotics.Controllers.Controller acontroller

private ABB.Robotics.Controllers.IOSystemDomain.Signal doSigAir1;

private ABB.Robotics.Controllers.IOSystemDomain.DigitalSignal _doAir1;


private
ABB.Robotics.Controllers.IOSystemDomain.DigitalSignal doAir1
{
get
{
return _doAir1;
}

bool ITpsViewSetup.Install(object sender, object data)

{


Signal doSigAir1 = acontroller.IOSystem.GetSignal("doAir1uFFFD");


doAir1 = (DigitalSignal)doSigAir1;

 

private
void button1_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)

{


doAir1.Set();

 

When i press the button nothing happen, i tried to set my DO access ALL in configuration. But still the output doesn't wan't set.


Somebody can help me?

BR