LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Removing a DC offset from Dynamic Data Type

I am using the DAQ Assistant to read 6 channels from a PXI-6281.  The signals of interest are approximately 90mVAC (60Hz) with up to 250mV DC Offset.  Can I programmatically subtract the offset from the acquired signals.  I tried the Express filter to no avail.  

 

Thanks,

 

Frosty JG

0 Kudos
Message 1 of 7
(3,146 Views)
If you want to subtract, the subtract function works pretty well.
0 Kudos
Message 2 of 7
(3,138 Views)

Substracting an array from Dynamic Data Type bundle after DAQ Assistant doesn't work though. https://decibel.ni.com/content/docs/DOC-4441 provides a solution. Would you have a more simple and elegant solution?

0 Kudos
Message 3 of 7
(3,079 Views)

What could be simpler or more elegant than an add/subtract function. Why would you subtract an array? You simply use a constant.

0 Kudos
Message 4 of 7
(3,072 Views)

See pic of the vi (LabVIEW 8.5.1). After some time (from 2 to 20 hours of run time) a dt error comes up.

0 Kudos
Message 5 of 7
(3,066 Views)

What is the error? Why don't you have the subtract function inside the case statement. Then you would not need that silly local variable.

0 Kudos
Message 6 of 7
(3,062 Views)

Good call about the subtract.

Error -1802 Waveforms have different dt values

0 Kudos
Message 7 of 7
(3,057 Views)