06-16-2008 09:50 AM
06-16-2008 09:58 AM
06-16-2008 10:06 AM
06-16-2008 10:08 AM
06-16-2008 10:10 AM
06-16-2008 02:35 PM
06-16-2008 02:47 PM - edited 06-16-2008 02:47 PM
You are going to have to show some code. As the picture below shows, you don't have to do anything special to add/subtract one waveform from another.
06-16-2008 02:47 PM
06-16-2008 02:49 PM - edited 06-16-2008 02:49 PM
"waveform" is not explicitly "output" or "input". It's simply a datatype. As the previous responses showed, you just wire.Since waveform is output terminal and you can only connect output node to it.
06-16-2008 03:54 PM
If I'm reading you right I don't think your original concept is valid. If you have already done a good job with wiring, shielding, etc. You won't be able to simply subtract a data collection of "just noise" from a collection of "noise plus signal" and expect the noise to cancel itself out. It's random. A better method would be to collect the same signal several times and then average the results. Even that will only reduce repetitive components in the noise.
As smercurio said however, the most important consideration is to make sure your connection method, grounding, shielding, timing, etc is top notch to prevent noise from contaminating the signal in the first place. I generally use differential signals through good quality twisted pairs with the shield connected on the DAQ side only (to prevent ground loops).