hector_rosas Posted February 13, 2013 Report Share Posted February 13, 2013 Hi my name is Hector Rosas and im using LabVIEW 2011. The reason im here is because im making a project and i got a problem. In this project im running some subVI's using 2 AI and when i try to run the program it shows this error: Error -50103 Ocurred at DAQmx Start Task.vi:8 Possible reason(s): NI Platform Services: The specified resource is reserved. The operation could not be completed as specified. why did i get this error? i've read in some other posts and they say its because im running two task at the same time and my DAQ cant do it. Im using a USB X Serie (USB-6341) cant i do this using this DAQ? Thanks! Quote Link to comment
MCornwall Posted February 13, 2013 Report Share Posted February 13, 2013 You'll want to read both channels in a single task and then split the data to your required VI's This is a good, simple example. http://digital.ni.com/public.nsf/allkb/0C1ADEF06A54AB2D862575040066FD51 Here are some other good DAQ related tutorials! http://www.ni.com/white-paper/5370/en http://www.ni.com/white-paper/5468/en You may try looking at some design patterns. I would start by acquiring data in one loop while doing work with that data in a second loop. http://www.ni.com/white-paper/11805/en If you do some digging, you will find that many more Design Patterns on NI's website. If you this still doesn't answer your question, post some code! Good Luck! Quote Link to comment
JamesMc86 Posted February 13, 2013 Report Share Posted February 13, 2013 MCornwall is right (and has some great links). The X Series do have some additional timing engines now vs the older cards but because they are still typically multiplexed cards the ADC is already in use and cannot be used twice. Cheers,James Quote Link to comment
afsoun rahnama Posted August 11, 2015 Report Share Posted August 11, 2015 hello guys I have 2 input channels in my VI and I'm getting the same error because of running 2 tasks at the same time. I know a solution for that could be to combine all channels into one task but this solution wont work for me and I need these 2 channels to run in 2 separate tasks because I need to use different trigerring for each input signal and if I combine them into one task it is not possible anymore. Is there any way I can keep them running in separate tasks and also get rid of that 50103 error? I'm using a PXIe-6124 (S series) DAQ device.. FYI: I'm really new to the labview.. OFDR 10.28.2014.vi Quote Link to comment
Rolf Kalbermatter Posted August 12, 2015 Report Share Posted August 12, 2015 hello guys I have 2 input channels in my VI and I'm getting the same error because of running 2 tasks at the same time. I know a solution for that could be to combine all channels into one task but this solution wont work for me and I need these 2 channels to run in 2 separate tasks because I need to use different trigerring for each input signal and if I combine them into one task it is not possible anymore. Is there any way I can keep them running in separate tasks and also get rid of that 50103 error? I'm using a PXIe-6124 (S series) DAQ device.. FYI: I'm really new to the labview.. Double post here! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.