03-11-2008 07:35 AM
03-11-2008 08:48 AM
Good afternoon,
Do you properly connect signals? and do you use the good mode ? (DIFF, RSE, NRSE)?
http://digital.ni.com/public.nsf/allkb/1FFCBE3451ABEE09862562970059881D?OpenDocument
http://digital.ni.com/public.nsf/websearch/D509679FFAE2764386256297005D0C9D
Nacer M. | Certified LabVIEW Architecte
03-11-2008 09:45 AM
Thank you for responding.
In the operational configuration, my PCI-6251 is connected to a SCC68 connector block with 4 SCC Lowpass Filter modules providing 8 filtered inputs signals affected by a static gain of 0,5. So in this configuration the NRSE mode is necessary with the AI SENSE connected to the AI GND (the SCC-LP modules are Single Ended modules with an input range of +-10V [2 differential inputs per module] and a static gain of 0.5). So the analog inputs corresponding to the filtered signals are set to +-5V range and the other analog inputs are set to +-10V range and are all configured in NRSE mode.
But the problem is that the example programs of the MHDDK (aiex1 and aoex2) don't work for the analog inputs and also the analog outputs. Of course in that case the analog inputs are set to DIFF mode with a range of +-10V and the inputs located behind the SCC-LP modules should give erroneous values, but the results are exactly the same in all cases and the same for all the inputs values (the 16 inputs in NRSE mode and the 8 inputs in DIFF mode). For the 2 analog outputs, they are blocked to 13,93V in all cases. Are you sure that the initialisation sequence of the example programs are correct for a PCI-6251?
Thanks,
phl
03-12-2008 03:47 AM
Nacer M. | Certified LabVIEW Architecte
03-17-2008 09:15 AM - edited 03-17-2008 09:16 AM
Hi phl-
The NI 625x devices require a couple of extra settings that are shown in the examples but are commented out by default. Is it possible you overlooked them? Diego describes these two changes (including a bug in adcReset() and aiConvert polarity) in this post.
03-28-2008 08:26 AM
Hi Tom,
Thanks for your reply.
The two functions described in this post (adcReset and aiPersonalize) have been correctly encoded and called (the Mseries examples given in the MHDDK are already configured for the 625x devices). And the same examples ported on a Win32 system, executed in a command window and using the "Windows WDM driver" work correctly. So the examples given in the MHDDK work correctly.
In fact, the problem is that the industrial PCI bus I use don't have any +12V and –12V support. As the PCI-6251 device uses the +12V for the analog converters these conversions don't operate. The solution is to apply an external supply for the +12V. Is there a solution to supply the +12V directly on the device, or is it necessary to supply the +12V by the mean of the PCI bus?
Thank you in advance for your answer.
phl
03-28-2008 09:15 AM - edited 03-28-2008 09:15 AM
04-10-2008 04:37 PM
Hi Tom,
I just want to tell you that the problem is solved. I have installed a DC-DC converter in the control system box to provide the +12V on the PCI bus. Now all the functionalities of the board work correctly.
I hope this experience may be useful for anybody who is confronted to that problem.
phl
04-10-2008 04:39 PM
Hi phl-
Thanks for the update, and glad to hear you're up and running now. Let us know if you run into any other problems.
Thanks again-