LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data Acquisition form single precision to binary format

Hi everybody,
I work in an Astrophysics group and I'm developing an acquisition system of signals generated by X-Ray detectors (Transition Edge Sensor).
 
I'm trying to save data acquired by NI-PXI 6132 (DAQ-mx software in LabVIEW 8.0) in binary format.
To do this, I use the 'Write To Measurement File' procedure.
I don't know how it is possible to change the precision from the DBL to SGL directly from DAQ-mx, but I solve this point by creating a 'For Loop' inside my VI, after the data is acquired.
 
The problem is that I try to save the SGL data with the previous procedure but the 'Convert To Dynamic Data' automatically occurs, and the data are saved in binary format but in doube precision. So, the previous conversion that I made from DBL to SGL does not work.
 
How can I solve this problem?
 
Thank you for your help!
 
Ciao,
Claudio!
0 Kudos
Message 1 of 4
(3,046 Views)

Please attach a piece of code that shows what you are trying to do, so that we can give you a couple of hints on how to accoplish what you are looking for.

AlessioD

 

0 Kudos
Message 2 of 4
(3,033 Views)
Hi Alessio,
thank you for your prompt reply!
 
In attach there is the VI you reqeusted me.
 
Ciao,
Claudio
0 Kudos
Message 3 of 4
(3,024 Views)
I was wondering if you were able to solve this problem? Also, without having to use the lower level DAQmx vi's.
0 Kudos
Message 4 of 4
(2,727 Views)