06-13-2012 05:19 AM
hi to all,
i have 2 daqs in the same application,
how i can disable a daq when the 2nd start to read data?
06-13-2012 05:21 AM
Could you specifiy your problem a little more accurate?
Thanks,
06-13-2012 06:04 AM
in my vi i have a daq and a jump button which call another vi which contain the second daq
when i run the the first vi and i press on jump button ,an error occur :
"Error -50103 occured at DAQmx control task.vi
possible reason :
the specified resource is reserved.the operation could not be completed as specified "
how i can disable the first daqmx before pressing the jump button?
06-13-2012 06:26 AM
If you can post your VI or a Snippet of your code, ( if it is possible ) that would be useful.
Anyway, if you want to prevent the user to press your "jump" button, use Disabled property of the control. (Right Click - Create - Property Node - Disabled ). Set Disabled & Grayed out value to the Disabled property so the button can not be pressed. If you want to enable this control again, just set the Enabled value to the same property.
I hope it helps,
06-13-2012 06:35 AM
old stabilometre.vi is the main vi ,
in the part "reeducation" when i press stabiliser button which is jump button,it must call stabiliser.vi
06-13-2012 06:44 AM
Your JumpButton is an XControl.
Please post it with all subvis.
06-13-2012 06:55 AM
I think the problem could be the following:
06-13-2012 07:17 AM
i don't understand
where i would put DAQmx Clear task and DAQmx Stop task in old stabilometre.vi?
06-13-2012 07:25 AM
If your Stabiliser.vi is a dialog - type subvi, Use STOP button to finish the execution of the Stabiliser.vi. I hope this helps!
06-13-2012 07:36 AM
stabiliser.vi is not a sub vi