Jump to content
  • 0

Undocumented functions in the C API (v3.16.3)


Guest

Question

Hi,

I am updating my Python binding for the recently released version 3.16.3.

I have cross-referenced the functions listed in the C header file to the dwfsdk.pdf. There are a number of functions present in the header file, but not in the documentation.

This is a complete list of the non-deprecated functions that are undocumented:

FDwfDeviceEnableSet
FDwfAnalogInTriggerForce
FDwfAnalogInStatusNoise2
FDwfAnalogInStatusTime
FDwfAnalogInNoiseSizeSet
FDwfAnalogInChannelBandwidthSet, FDwfAnalogInChannelBandwidthGet
FDwfAnalogInChannelImpedanceSet, FDwfAnalogInChannelImpedanceGet
FDwfAnalogInTriggerPositionStatus
FDwfAnalogOutCustomAMFMEnableSet, FDwfAnalogOutCustomAMFMEnableGet
FDwfDigitalIO*64 (8 functions; their 32-bit counterparts are documented)
FDwfDigitalInStatusNoise2
FDwfDigitalInStatusTime
FDwfDigitalSpiIdleSet

The following functions are deprecated, but not listed in Section 14 where most deprecated functions are documented:

FDwfDigitalInMixedSet
FDwfAnalogInTriggerSourceInfo
FDwfAnalogOutTriggerSourceInfo
FDwfDigitalInTriggerSourceInfo
FDwfDigitalOutTriggerSourceInfo
FDwfEnumAnalogInChannels
FDwfEnumAnalogInBufferSize
FDwfEnumAnalogInBits
FDwfEnumAnalogInFrequency

It would be useful to have documentation on these functions available, especially the ones that are not deprecated. For some of these functions the function can be guessed; for some others, not so much.

Some concrete questions on non-documented AnalogIn and DigitalIn functionality:

* FDwfAnalogInNoiseSizeSet - this looks to be a no-op; the noise buffer size appears to always be derived from the analog-in sample buffer size (in particular, it is floor(buffer_size / 8). Is that a correct description of its (non) behavior?
* FDwfAnalogInTriggerPositionStatus - in what AnalogIn modes is this value sensible, and how should it be interpreted?
* What, precisely, is the difference between the Single and Single1 acquisition modes?
* What does the undocumented Overs acquisition mode do?
* What does FDwfDigitalInStatusNoise2 do?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...