Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

retrieve just plain 16bit int instead of double?

Solved!
Go to solution

hi,

 

i have a usb-6210 that has a 16-bit resolution. to my suprise, i get double values (64bit) when i use measurement studio in c#. this is quite a waste of memory, but i could not get the driver to deliver 16 bit values (integer or binary values or whatever). i do not want to waste computing capacity with conversions after retrieval.

how can i get 16bit values from the device?

 

thanx in advance!!

0 Kudos
Message 1 of 4
(4,050 Views)
is there really no way to get 16bit values from a 16bit device?!
0 Kudos
Message 2 of 4
(4,027 Views)

Check out the AnalogUnscaledReader class. I believe that this gives you the data you are looking for.

You might also want to check out DaqStream.ReadRaw, but I think this data is even less processed than what you want.

 

Please let us know if either of these meets your needs or if you are looking for something else.

 

David Rohacek

National Instruments

 

0 Kudos
Message 3 of 4
(4,024 Views)
Solution
Accepted by topic author mael15
that´s it, thanx!!!!
0 Kudos
Message 4 of 4
(4,021 Views)