mkj Posted October 29, 2021 Share Posted October 29, 2021 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; Link to comment Share on other sites More sharing options...
0 attila Posted November 2, 2021 Share Posted November 2, 2021 Hi @mkj Please use the included pdf manual in the WF SDK. This is the most up to date and correlated with the WF API/runtime version. Thank you for notifying the mistake in the online manual. mkj 1 Link to comment Share on other sites More sharing options...
Question
mkj
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;
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 accountSign in
Already have an account? Sign in here.
Sign In Now