Comment #3 on issue 26 by
labakust...@gmail.com: add support for reference
triggering
http://code.google.com/p/pylibnidaqmx/issues/detail?id=26
I've tested new funcionality on NI USB-4431. The functions
DAQmxCfgDigEdgeRefTrig()
and DAQmxCfgDigPatternRefTrig() are ok, but DAQmxCfgAnlgEdgeRefTrig()
DAQmxCfgAnlgWindowRefTrig() are not working.
When using reference trigger with analog input you don't need prefix '/',
it's required only for digital input. Please observe following diff output.
Do you consider adding support for IEPE sensors?
1563,1564c1563,1565
< if not source.startswith('/'): # source needs to start with a '/'
< source = '/'+source
---
> # if not source.startswith('/'):
> # source needs to start with a '/'
> # source = '/'+source
1622,1623c1623,1625
< if not source.startswith('/'): # source needs to start with a '/'
< source = '/'+source
---
> # if not source.startswith('/'):
> # source needs to start with a '/'
> # source = '/'+source