08-13-2014 09:10 AM
Hello,
I am trying to generate two analog signals from two different channels of my USB X series 6353. I am using an external digital trigger form one of the PFI0 to trigger the outputs. At the moment I am continuously encountering error 50013 (specified resource is reserved). I looked in NI help for the issue and made suggested changes but problem still exists.
I have attached my VI for further investigation.
NOTE: While running individually, the analog output works fine.
08-13-2014 09:16 AM - edited 08-13-2014 09:23 AM
I am having trouble attaching my VI. I can insert image and link but not VI. I tried attachment box below but did not attach my VI 😞
08-13-2014 09:41 AM
08-13-2014 10:36 AM
Dennis_Knustson,
Thank you for your reply and yes it is answered but I have not been able to solve this problem yet.
Yes it is a duplicate because I was advised by Frank R to initial a new discussion since this is a new topic from my previous problem.
Thank you,
PJK
08-13-2014 11:09 AM
08-13-2014 03:39 PM
Hi Dennis,
So are you suggesting I need only a single line of code?? Delete slave channel and all its properties?? No need to synchronization?? I am beginner to LabVIEW and not really understanding what you are suggesting.
I started out with single channel analog output and it was working fine. Since I am aiming for final results with 4 outputs I was directed towards synchronization of channels, hence I started with two channels.
The final result I am working for
AO Channel 1: DAT
AO Channel 2: -----50us wait-----DATA
AO Channel 3: ---------------100us wait---------------DATA
AO Channel 4: --------------------------150us wait-------------------------DATA
Where DATA is my analog output of a single sinusoidal signal.
At this moment I am confused on how I would be able to generate my final results with using single task. Please advise me if am going in wrong direction.
08-13-2014 05:00 PM
08-14-2014 04:31 PM
Hello Dennis,
Thank you for your reply. I deleted second task and added second channel to the same task. And it’s working for now. I am getting same signal at the same time from both channels. Thank you for your help.
But my bigger problem is How to add a delay of 100us between outputs from first channel to second channel?
Is there a way I can output zero’s after first channel output for 100us and then a single sine output??
Please let me know if my explanation is not clear.
added second channel to same task and worked 🙂