11-18-2008 03:21 PM
11-19-2008 01:31 PM - edited 11-19-2008 01:31 PM
carlmill,
I'm assuming you are setting up your DAQmx task as a voltage task, is this correct? If so, when you set up your voltage channel settings, switch to the device tab and try turning Auto Zero on. I've attached a screenshot of the necessary option.
11-19-2008 02:48 PM
Seth,
I am setting it up as a task in DAQmx, but as a voltage source with excitation. I tried setting Auto Zero to Once (on), but this seems to have little or no effect on the signal. Some of the load cells have offsets of a couple hundred Newtons after applying a scaling factor and amplification, regardless of the Auto Zero setting. I am not sure if it matters or not, but I am also using SCXI-1121s cascaded to SCXI-1141s in the same task.
Thanks for the help,
Carl
11-20-2008 12:25 PM
Carl,
While there isn't a function that will programatically remove any offset, what we can do is determine what our unloaded offset is, then apply a custom scale to the DAQmx task that will correct this offset. First we will need to use the Test Panels in MAX for your device to determine what value you are reading when the load cells are unloaded. Then, in the configuration window for your DAQmx Voltage with Excitation task, Select "Create New" from the Custom Scale drop down menu. Choose a linear scale Then, apply the negative of your unloaded offset in the y-intercept and 1 for the slope. This should correct the offset that you are seeing.
02-17-2009 10:59 PM
Seth,
I would similary like to programatically remove offset from a Custom Voltage with Excitation source using an NI-9237. I am trying to use the Offset Nulling VI to do this but am running into some issues. Any thoughts on if this should work and why not for the above post using the SXCI-1520?
Thanks
Dan
02-19-2009 10:14 AM
02-19-2009 11:49 AM
Doug,
I found a workaround to my problem through a different post:
"Why do I receive Error 200378 "Custom scale specified does not exist"?
Thanks
Dan
02-25-2014 05:55 PM
I am having a problem when trying to apply a new scale with a programmatically-reset y-intercept value. Using scale property nodes and the save scale Vi, I am able to update the scale shown in MAX while my VI is still running. However, I cannot get my VI to apply this new scale without stopping and starting the entire VI (not an option for my testing scenario). I tried programmatically stopping and starting the task, as well as reseting the device, but this does still not apply the new scale to my continuously sampled data stream.
Any ideas how to make the new scale work without restarting my VI?
Thanks
Eric
02-26-2014 10:50 AM
This post is several years old and is focused more on Signal Express.
You may have better luck posting a recent thread in the LabVIEW discussion group.
If you are in fact looking for SigEx help for Nulling any offsets, there have been a few improvements since this OP's first thread in 2008.
One of which is the Zero Offset step which handles this quite nicely.
I prefer to use a custom scale slope and add my own y-intercept however.
02-26-2014 10:54 AM
Thanks for the help. I'm not interested in Signal Express specifically, so I'll repost as you suggested.