Jump to content
  • 0

trigger from PC source and typo


mkj

Question

to trigger on PC I use:  FDwfDeviceTriggerPC(HDWF hdwf) - correct

what do I set idxPin to ?  in FDwfDeviceTriggerSet(HDWF hdwf, int idxPin, TRIGSRC trigsrc)

 

Also -seems the online SDK trigger values are off? 

 

// trigger source
typedef unsigned char TRIGSRC;
const TRIGSRC trigsrcNone               = 0;
const TRIGSRC trigsrcPC                 = 1;
const TRIGSRC trigsrcDetectorAnalogIn   = 2;
const TRIGSRC trigsrcDetectorDigitalIn  = 3;
const TRIGSRC trigsrcAnalogIn           = 4;

 

image.png.aa962b502d63cde5ccb53a688b110953.png

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...