Howdy,
I'm trying to implement hardware compare in C# and I can't seem to figure out the way to do it.
In this link: http://zone.ni.com/reference/en-XX/help/370520K-01/hsdio/hwc_in_hw/ it says to use "Hardware Compare Mode" property or the "NIHSDIO_ATTR_HWC_HARDWARE_COMPARE_MODE" attribute. However, there isn't a method to set the property and there isn't a SetAttribute* method available in the C# wrapper to set an actual attribute. Are these approaches the only way to enable HWC?
(I should note the version of the manual I have on my computer says "Supported Data States" property and "NIHSDIO_ATTR_SUPPORTED_DATA_STATES" attribute, but the method to set that property doesn't exist either...and the there still isn't a SetAttribute method. :) )
When looking inside of the niHSDIO.dll one can see that niHSDIO_SetAttributeViBoolean, niHSDIO_SetAttributeViInt32, niHSDIO_SetAttributeViReal64, niHSDIO_SetAttributeViSession, and niHSDIO_SetAttributeViString exists. Has anybody had any success breaking these out into the wrapper? Or using the niHSDIO.dll file without the wrapper?
Any guidance would certainly be appreciated.
Thanks,
Harold