I am working on a project where I need to acquire data from an incremental rotary encoder and at the same time generate pulses which are going to be sent to a high speed camera.
I have a NI cDAQ chassis c9174 and two DAQ modules connected inside of it.
NI 9411 for acquiring the rotary encoder data
NI 9402 to generate pulses and sending them to high speed camera
The problem is that when i try to do both tasks at the same time LabView gives me the following error:
-50103 ("The specified resource is reserved")
I have made individual VIs for both tasks in order to check if the sensor and the DAQ modules are working and there is no problem. The pulses generation program was checked using a digital oscilloscope and the encoder is giving expected results.
However, they dont work when both tasks are run simultaneously.
I have tried;
1) doing both tasks in the same VI
2) doing both tasks having their separate VIs - start them simultaneously or start them with some time delay, LabView still gives this error.
I will be highly obliged if there is any kind of solution to this problem.
Solved! Go to Solution.
Thankyou for your kind reply.
I took your suggestion of using different counters (ctr0 for 9411 and ctr2 for 9402) and now its working like a charm.
thankyou. you are a life saver.