11-11-2010 12:08 PM
Hey guys,
I'm perform some piezo measurements and my program has one channel for the input (signal that excites the piezo) and one channel por the output (piezo's response).
Since the amplitude of the piezo's reponse varies a lot, my program adjusts the range of the acquisition changing the "minimum value" and "maximum value" properties in the " daqmx create channel.vi". Such an adjustment makes no sense in the input channel once the excitation has constant amplitude.
That is why I need to use two "create channel.vi". I could create the two channels with a single VI but if I did so, I would not be able to adjust the "maximum/minumum value" of only one of them.
The problem is: Labview always returns the error 50103: The specified resource is reserved.
Below, we have a screenshot of this part.
I tried also to add one "daqmx timing.vi" and one "start task.vi" for each of the "create channel.vi" and synchronize everything via error cluster but it returned the same problem.
The program itself is also attached but I don't think it will be useful.
Please, help me guys!
Regards,
Lucas
11-12-2010 02:33 AM
I'm tending to think that this is impossible, since I need to create two tasks and there is only one AD coverter. The resources will always be reserved. What you guys think?
11-12-2010 08:45 AM
Try wiring the task out from your first subVI to the task in of the second subVI where you create channels.
11-12-2010 10:16 AM
Does not work. Already had tried but if I posted the pictures of all the combinations I tried, we would have an album.
Thank you Ravens Fan.
11-12-2010 03:07 PM - edited 11-12-2010 03:08 PM
Try it like this:
EDIT: OOP, I got the Mins and Maxs reversed.