From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

8 bit accuracy of 5133

0 Kudos
Message 1 of 6
(2,260 Views)
Message 2 of 6
(2,251 Views)

I may need to save the data collected by 5133(100MHz, 8bit)

 

The data was processed and extracted by Single data type, and a lot space for saving.

 

Can I re convert back it to integer, by fit the value into 256 grids divided with the whole input range.

 

Also, the input range for divide is 0 to V or -V to V.

 

Any suggestion, thanks.

0 Kudos
Message 3 of 6
(2,244 Views)

I'm not quite sure I understand.

Your equipment collects with 8 bit resolution but you stored it as a Single (32 bits). You want to convert the data back down to something using less bits?

 

Why not just use the 'To Byte Integer' function (numeric palette, conversion)?

0 Kudos
Message 4 of 6
(2,240 Views)

Rather than scaling it to SGL in the DAQ driver, just acquire it directly as U8 integers.  No conversion required.

 

Lynn

0 Kudos
Message 5 of 6
(2,235 Views)

In the processing part, I need to process the data by single.

 

After processing. some data need to be saved, so I want to save as integer.

 

Not sure the 255 divider for input range is from 0 to V or -V to V, thanks.

0 Kudos
Message 6 of 6
(2,219 Views)