05-20-2024 01:02 AM
Hi everyone, I'm going around in circles with this, I'm a little inexperience on using the DAQmx. To give you an overview, we are trying to get the linearirty evaulated on a device, we have a 6368 DAQmx that is connected to “PinA” where the 6368 generate a voltage ramp for a period of time. The 6571 is then being used on a couple of pins and to also capture a waveform/serial data (burst on some pins, capture on one). The sample being returned is the equivalent code from of the ADC.
I’m currently able to generate a ramp sequentially using a 6368 and 6571. And compute the INL/DNL of the ADC but the way this works is I'm just trying the ramp 6368 is not fully synchronized with the 6571 Below is the diagram for my current approach and code.
Now my current implementation shows that I'm generating a ramp using a 6368 while sampling with the 6571. The problem with this is they are not fully synchronized. My capture waveform setting and digital pattern is as shown below:
As you can see on the probe window above, I can get 4 codes (samples) per iteration that is going from minimum to maximum voltage. but the readings are not so accurate, I'm assuming this is because the sampling didn't really start at the beginning of the ramp, and there's a lot of missing codes because the sampling on the ramp by the 6571 is not "timely".
Is there a way for me to have the 6368 ramps at exactly every step of the ADC, say for example every 1.85mV from 0V to 4V?
05-20-2024 07:16 AM
You can synchronize 6571 and 6368 in a few ways.
Depending on the bitness of your ADC, 6368 is typically inadequate for DC tests due to its accuracy specifications.
05-21-2024 03:03 AM
Hi Santosh,
I'm trying to do the 2nd option you mentioned. But it says the specified property is not supported by the device to the task. I'm trying to create a trigger signal line on the 3rd photo. Am I missing something?
Thanks.
Regards,
Carlo