LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

does DAQmxWriteAnalogF64 anything to do with 64bit system?

Hi all,

  I switch from traditional DAQ to DAQmx and I am currently  using CVI in windows xp 32bit system. I search online and find an example to write some finite number of samples to a single analog channel with DAQmxWriteAnalogF64. In the help, it said this is used to output multiple floating-points samples to task and the sample is in float64 format. That's really confusing. I am using 32bit system so my data (each sample) are in 32bit. So should I still using that function? If so, how should I prepare my sample array? I have 100 samples to output, each is in 32bit. So should I convert each sample to float64 so to prepare an array of sample as float64[100] or I should combine every two 32bit sample into one float64 and create only float64[50] array? If I should go the last way, what's the number of sample I should specify, 100 or 50? Thanks.

0 Kudos
Message 1 of 2
(2,341 Views)

You should be posting this in LabWindows/CVI forum rather than LabVIEW.

 

Don't overthink this.  The bitness of the operating system has nothing to do with the number of bits in a datatype.  A float64 is an 8-byte double precision datatype.  They exist on 32-bit Windows also.

0 Kudos
Message 2 of 2
(2,336 Views)