That depends, if the program you get your resistance values from, is a VI or not.
If it is a VI, then you can simply place that VI into the 'measure resistance.vi' in place of whatever I wired to the global variable. But make sure, that the VI is inside the case structure, otherwise the the resitance value will be measured at the wrong time.
If it is not a VI, then I would need some more info to help you.