VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically updating custom scales

Is it possible to programmatically update custom scales after the project has been deployed?

 

I'm working on a custom calibration routine using VeriStand as a back end HAL.  We regularly do flow meters which use a lookup table as a custom scale. After calibration, this lookup table is going to change, so this needs to be done programmatically.  Unfortunately, I have found nothing in the API, and Google returns either a bunch of results about custom devices or about doing it with a DAQmx task.  The only other option I can think of is finding the table in the system definition file and undeploying / redeploying the project to force updates to happen on the RT target.  This seems... a poor choice.  

 

Thanks,

-M

0 Kudos
Message 1 of 3
(3,640 Views)
You will have to undeploy and redeploy if you need to update the LUT. However if you can live with the original LUT plus a polynomial on top, you can use the calibration API or GUI
Stephen B
Message 2 of 3
(3,622 Views)
I figured that would be the case. No, I'm doing a polynomial on top as the calibration, but both are required.
0 Kudos
Message 3 of 3
(3,617 Views)