Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

How to custom scale in AI for velocity sensor?

I am using NI 447X for acquiring data. I need to custom scale programmatically in VS.NET to accept data from velocity sensor. The sensitivity unit is volts/meter/sec. Is there any example code for this?
0 Kudos
Message 1 of 4
(3,622 Views)
Hi rahulbanik,

If you have Measurement Studio, you will have the DAQ Assistant available to create a custom scale for your input. You can configure your user interface to interactively configure measurement tasks, channels, and scales.

Let me know if you would like an example showing how to configure the scaling using the DAQ Assistant, and I'll attach one to this forum.

Best regards,

Chad AE
Applications Engineer
0 Kudos
Message 2 of 4
(3,611 Views)
Hi

Thanks fir your reply. But I wanted to configure the channel scale programmetically i.e. I want to create a custom scale using user input. I will appreciate your help in this regard.

Thanks
0 Kudos
Message 3 of 4
(3,564 Views)
Rahul,

This can be accomplished using the "DAQmxCreateAIVoltageChan" or "DAQmxCreateAIVoltageChanWithExcit" function. You can enter your units and a custom scale for your sensor in these commands. You can either create your scale in MAX or use one of the DAQmx Scale Configuration functions, such as "DAQmxCreateLinScale" to make your custom scale. I suggest you refer to the "NI DAQmx C Reference Help", located in the Start Menu at "Programs » National Instruments » NI-DAQ" for further information about these functions. This manual lists all DAQmx function calls and explains their inputs and outputs. Have a good day!

Sincerely,

Ross C
Applications Engineer
0 Kudos
Message 4 of 4
(3,549 Views)