08-11-2016 11:03 AM - edited 08-11-2016 11:16 AM
Hi,
If anyone is familliar with NI MAX, I could use some help on this one.
I have a fairly basic VI with the purpose of recording and exporting data to TDMS files. This part works fine.
What I'm having an issue with is a second functionality the user wants to have available to them. They want to be able to see the coefficients in a polynomial calibration while the VI is running so they can make sure the calibration is up to date. Even more helpful would be an indicator for when the device was last calibrated, but that is secondary. The problem is that the calibration in this case is done in the Custom Scaling part of MAX, as shown below in a few screenshots.
^This is the information I want displayed on my LabVIEW front panel.
Thank you!
Solved! Go to Solution.
08-12-2016 10:36 AM
One thing is the calibration and another the scales, in that screenshot you are setting a custom scale to calibrate the device independently if it has been calibrated or not.
You can use the self calibration in MAX, check the images I attach from MAX to see the calibration dates
08-12-2016 10:45 AM
Thanks, but I'm trying to avoid using MAX here. I want a standalone VI that sets the scaling coefficients from that program. I actually figured most of it it out on my own. Here's what I've got:
It tries to set the coefficients of an already-existing scale, and creates one if the scale doesn't already exist.
08-12-2016 10:58 AM
That's cool, but you are creating a scale, indirectly calibrating.
Have you looked the calibration functions at the calibration Palette
Under: Measurement I/O/NI-DAQmx/Advanced/Calibration
08-12-2016 11:09 AM
Sure, but that's not how quality assurance protocols work here, so it would be useless to me. Individual pieces of hardware are 'calibrated' once a year, meaning that the scaling coefficients (among other things) are set at a standard value that we are required to use for testing. I appreciate trying to show me an alternative way to calibrate my devices, but that's not what I was looking for.
08-12-2016 11:21 AM
oh, ok, that's a bit different, I thought you just wanted to calibrate the device
Check this
Is DAQmx Raw Data Calibrated and/or Scaled?
http://digital.ni.com/public.nsf/allkb/0FAD8D1DC10142FB482570DE00334AFB
and this property node
http://zone.ni.com/reference/en-XX/help/370471AA-01/mxcprop/attr1930/