CW_Ca
2007-01-12 23:40:16 UTC
Hello
Would you please provide some example/Driver code for DAQ 6230 device to do A/D conversion?
We have been successful in getting the D/A to work but no luck with A/D.
We have tried everything and always get 0x7FFF in AI_FIFO or sometimes the test for FIFO data avalable in while loop gets stuck because no data is avalable.
This is very urgent and we need this ASAP. Please help.
Also, please provide any detail Register programming documentation that you may have.
We have acptured the PCI BUS data and found there is a difference in the way some of the registers are being set between the Windows program the way it sets up the DAQ and the driver for other OSs.
Here is what we have found so far thru a Bus Analyzer below:
Register name Register offset PC/Window write this value Other IOS Drivers writes
------------------- ------------------- ----------------------------------- -------------------------------
Analog Trigger 0x8C 0x01 0x03
AI Command 0x110 0x1540 0x1440
AI_Mode_1 0x118 0x0C 0x08, 0x09, 0x0B
AI_Mode_2 0x11A 0x
Would you please provide some example/Driver code for DAQ 6230 device to do A/D conversion?
We have been successful in getting the D/A to work but no luck with A/D.
We have tried everything and always get 0x7FFF in AI_FIFO or sometimes the test for FIFO data avalable in while loop gets stuck because no data is avalable.
This is very urgent and we need this ASAP. Please help.
Also, please provide any detail Register programming documentation that you may have.
We have acptured the PCI BUS data and found there is a difference in the way some of the registers are being set between the Windows program the way it sets up the DAQ and the driver for other OSs.
Here is what we have found so far thru a Bus Analyzer below:
Register name Register offset PC/Window write this value Other IOS Drivers writes
------------------- ------------------- ----------------------------------- -------------------------------
Analog Trigger 0x8C 0x01 0x03
AI Command 0x110 0x1540 0x1440
AI_Mode_1 0x118 0x0C 0x08, 0x09, 0x0B
AI_Mode_2 0x11A 0x