09-14-2005 09:23 AM
09-15-2005
11:28 AM
- last edited on
07-16-2026
08:25 AM
by
Content Cleaner
Max
Here [link removed; article no longer available] is a link that should help you out. It describes how to programmatically create and utilize custom scaling with NI-DAQmx.
Sounds like you need slope = 33.8625 and y-intercept = 948.15.
One way to easily test this out it to create a NI-DAQmx Task in Measurement and Automation Explorer and choose to include a new custom scale. After doing this, you can test the input and see the post scaled values all within MAX. Its pretty cool.
One important thing to note is that the analog input limits (both in MAX and in LabVIEW) are post-scaled values. When you include this scale you should change your limits to 812.7 - 1083.6.
Cheers,
Travis W
DAQ Enthusiast
08-07-2008 06:00 AM
I've also been trying to get custom scaling to work in Labview 8.2. Unfortunately the maximum scaled value required for one channel is 240, and I discovered that the DAQmx 'Create Channel-AI voltage' VI for some reason will not allow a maximum above 98. None of the other versions of the VI seem suitable, is there any way around this? Scaling later on would be messy as in each loop I'm reading in a range of channels as a 2D array and want to display scaled results as they are collected.
Thanks.
08-07-2008 06:40 AM