05-12-2009 10:23 AM
In my project I created a task and a few linear scales. Each channel within the task is assigned to a scale. In my LabVIEW code I must be able to modify the scales. See the attachment for a simplified piece of code that I'm using. This code is executed at initialisation. The problem is that when I modify the slope and intercept, I have to run the application, abort it and run it again before the new parameters take effect. What am I doing wrong here?
Solved! Go to Solution.
05-13-2009 12:57 PM
Steffan,
You need to stop and destroy the task, then programatically create a new task with the new scales. See this thread. http://forums.ni.com/ni/board/message?board.id=250&message.id=48410&query.id=288342#M48410
05-14-2009 03:16 AM
05-14-2009 07:28 AM
Steffan,
Glad to hear that you got it working. Have not really looked at tasks defined in the project. I have always chosen to do everything programatically.