09-12-2013 10:36 AM
Hi,
I am using DAQ card PCIe6351 to generate two signals separately. This product has two outputs so I thought I can use both of them simultaneously but when I run the code it gives an error: "The spesified resource is reserved". I just want to know if it is possible for me to use both outputs together at the same time or not? If yes, would you please guide me what should I do to solve the problem?
Many thanks,
Soran
Solved! Go to Solution.
09-12-2013 10:43 AM
Yes you can use both outputs at the same time but, they have to be in the same task. You can only have one AO Task (That Task reserves certain "Resources" in the device that are needed to generate an output- hence, your error from the second task) but an AO Task can contain both channels.
09-12-2013 10:59 AM
Thank you Jeff
I am truly sorry but I did not get it:manembarrassed:.
In my case, I should see (simultaneously on the osciloscope) two signals coming from two outputs of the card. How can I use only one AO containing both signals?
Thanks again
09-12-2013 11:16 AM
@Soran wrote:
Thank you Jeff
.... How can I use only one AO containing both signals?
Thanks again
When you create the task using the DAQ Assistant (You only create Tasks once -during development right?) select both channels
Here is the Task completed on simulated hardware with AO0 set to +/-5V and AO1 at +/-10V
09-12-2013 12:14 PM
Great! it works. I do appreciate your help 🙂
09-12-2013 12:30 PM
Marking the thread as solved does help others that may have a simillar question find threads where the question is answered. Thank you for doing that!
However, it is a little bit rude to mark your own post and not the post that helped you solve the issue.