I have to aquire force and displacement and i am using 2 kinds of modules: NI 9220 and NI 9237 respectively. The problem is: both signals are not in phase. They start to measure at the same time but on the run of the test they get different times for picks (maximums) when suppose to be at the same instant.
Does any one can help me please ?????
Solved! Go to Solution.
the 9237 and the 9220 have different delays based on the different converter technologies they use.
The delta-sigma converter on the 9237 results in the published signal delay: Input delay (40 + 5/512)/ƒs + 4.5 µs.
You can correct for this delay using DAQmx property nodes:
You could also correct for this delay in post processing as recommended here:
Even after the signals are aligned based on the published delay, it is still possible (maybe even expected) to measure phase delay between force input and vibration response due to system dynamics.
thanks for your answer but actualy i am new using national instruments and labview.
So, i didnt understand the tutorial above posted because i am using a VI with DAQ assistent and not understanding why to create a new phisical chenal.
Assuming that you are sampling at 50k Hz, alignment to the nearest integer sample means that 40 samples must be removed from the beginning of the delayed signals, and 40 samples must be removed from the end of the other signals.
This corrects for the integer-sample delay in the 9237.
Due to system dynamics, you should still expect to measure a phase delay in the displacement response.
thanks for your answer. That is other doubt I still have:
When you say aquiring in 50 Ks/s, this is the maximum rate NI9237 suports.
Althoug NI 9220 suports a rate twice higher.
Should I introduce two icons of daq assist on my VI ? And also how should I set the samples to read and rate ?
given current level of experience, recommend using single instance of DAQ Assistant to acquire from both hardware devices using a single task. Yes, that means that the sample rate is limited by the 9237, but that also means that you get hardware synchronization with no additional programming.
Set the sample rate to 50k Hz. You tell us why it should be different.
Set samples to read to capture interesting data (10k samples if you need 0.2 s of data for analysis, 50k samples if 1 s data is required to allow the responses to dampen out).