Hey hilary,
Have you looked at the LabVIEW help for the Nonlinear Curve Fit VI? Which version of LabVIEW are you using? In mine, the VI is polymorphic, and you can declare the formula to be a formula string. Then it provides pins to enter the input parameters programmatically. Perhaps you could post a screenshot of how you are currently using the VI, and we could help more.
Brian B
Account Manager
National Instruments