Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How to apply user defined scale table or fomular in NIDAQmx?

Hi.

 

I got a some problem to show measurment data with NIDAQmx. As you knew well, NIDAQmx just support ANSI C api for visual studio 6.0.

So, i tried to build an application with ANSI C API on visual studio C++.

But i couldn't find out some useful example to convert voltage data from USB-6210 device to linear scaled integer like 0 to 65535.

Would you give me some idea or example ?

 

Best Regards.

IlHwan.

 

안녕하세요.

NIDAQmx 에서 ANSI 로 해보고 있는데요.

AI 채널에서 전압으로 들어오는 것을 0 에서 65535 로 변경하는 것을 Custome Scale 로 될 것 같은데, MAX 나 LabVIEW 외에는 예제가 없군요.

제 생각에는 다음 함수를 사용하면 될 것도 같은데, 어떤 방식일지 판단이 서질 않아서요.

 

도움 부탁드립니다.

 

DAQmxSetScaleLinSlope

0 Kudos
Message 1 of 2
(2,715 Views)
I'm not quite sure what you are asking for.  Are you doing analog input and wanting to find the raw, unscaled (16-bit integer) values that are measured by the ADC?  What are you trying to do?  What is your application?
Thanks,

Andy McRorie
NI R&D
0 Kudos
Message 2 of 2
(2,700 Views)