LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Frequency Problem with "Variant to Data"

Has anyone ever used the "Variant to Data" function to aquire a waveform? We seem to be having problems with the inherent sampling. The input frequency on our waveform, which we attain through active X on another application is correct before it hits "Variant to Data". Afterwards, the frequency is off by a factor of 1.024. Any suggestion? Is there any way we might be able to decode the variant data without "variant to data"? Any help would be appreciated.
0 Kudos
Message 1 of 2
(2,516 Views)
I am not sure if I understand the question however here goes for an answer.

The output of the variant to data is an array of data points that have no intrinsic sampling rate. They are only a conversion of your readings.

In your attached code you are defining the sampling rate, the dt, of the waveform as 1/100000. Therefore if you need the frequency of the waveform to be a different number, change the value you are passing into the Build Waveform.
0 Kudos
Message 2 of 2
(2,516 Views)