04-21-2008 03:23 PM
04-25-2008 04:46 PM
Hi Mike-
Good catch. The 6230 (and other 623x isolated M Series devices) do not require the call to Static_AI_Control, and making the call as coded in the MHDDK will result in tristating the DO lines (as you observed). You can remove this call and all should (hopefully) be well.
Hope this helps-
04-25-2008 04:57 PM - edited 04-25-2008 04:58 PM
Hi Mike-
I want to reword and add to my post for clarity, but alas I have passed the edit time limit. Here's my revised post:
Hi Mike-
Good catch. The 6230 (and other 623x isolated M Series devices) do not require the call to Static_AI_Control in aoConfigureDAC(), and making the call as coded in the MHDDK will result in tristating the DO lines (as you observed). You can remove this call and all should (hopefully) be well.
On a related note, you will want to make sure, in addition to removing that line from aoConfigureDAC(), that you write Static_AI_Control[7] with a value of '1'. This serves as an enable signal for the DO buffer on the I/O connector side of the isolation barrier.
Hope this helps-