Exemple #1
0
 //read the safetytriggers (not working yet)
 public void SafeTrigger()
 {
     USB1.DConfigPort(MccDaq.DigitalPortType.FifthPortA, MccDaq.DigitalPortDirection.DigitalIn);
     USB1.DBitIn(MccDaq.DigitalPortType.FifthPortA, 0, out triggerX);
     USB1.DConfigPort(MccDaq.DigitalPortType.FifthPortA, MccDaq.DigitalPortDirection.DigitalIn);
     USB1.DBitIn(MccDaq.DigitalPortType.FifthPortA, 1, out triggerY);
     //if (triggerX <= 0 || triggerY <= 0)
     //{
     //}
 }