05-17-2009 03:08 PM
05-18-2009 06:02 PM
Dinerman,
Google is a great resource in finding out what could be the cause of the error. A search for error 50103 produced KnowledgeBase 4T6CQKBP: Causes of NI-DAQmx Error -50103 "The Specified Resource is Reserved". It looks like Case 2 fits really well...
Why are you still using the DAQmx Functions and not the DAQ Express VIs? If you are going to use the DAQ functions you should take heed of my recommendations in my previous post (you might not have gotten error 50103).
Also, may I suggest using the MathScript Node since your script is really simple and does not use any MATLAB specific functions?
MATLAB® is a registered trademark of The MathWorks, Inc. Other product and company names listed are trademarks and trade names of their respective companies.
05-20-2009 02:57 AM
Joshua B hi.
I need to finish my project in 3 weeks from now.
I saw the DAQmx example, understood it and know how to use it,but I didn"t understood the DAQ Express.
so i prefered to use DAQmx functions.
for this moment I did in my program the procedure, which geting value from input (AI0) puting it to the matlab script,making calculation,and giving the resault to the output generator (a00),but in my project I need to get 2 pulses from the input,get them to the matlab script and giving the resault to the output generator (a00),when I try it it give me error,I don"t know how to separate the 2 values of input,and put them to matlab script each by one.
I would like to send you my program in LABVIEW ,but I don"t know your email.
with best regards.
Dinerman Zori
05-20-2009 08:47 AM
Joshua B. hello again.
I succeed to get 2 pulses from the kit and get out another pulse from matlab script,but I have big delay between the input and output.
Do you have some idea how to improve it?
with best regards.
p.s: I wan to thank you for helpuing me ang giving me the ideas how to improve my project.
with best regards
Dinerman Zori