11-16-2015 03:03 AM
Hello community,
i have a question with labview and daqmx. I use the pci 6023e card to drive a stepper motor. I need to read and write digital values from the pci card at the same time. Now I get the error that the resource is reserved, although i put the error line in that way, that the read and write tasks are processed one after another. In the attachments i post the vi I use to drive the motor. It is one while loop of a big program. Maybe you have better ideas how to make digital output and input at the same time.
Thank you for your help!
Solved! Go to Solution.
11-18-2015 04:15 AM
Hey denniswaschik,
your receive this error message, because it is not possible with this hardware (PCI-6023E) to read and write digital data at the same time on the same port. Some cards provide a tri state capability to do so, but the PXI-6023E doesn't provide this function.
You will receive this error message regarless of the dataflow.
If you want to output digital data and read back the data, you need to use one port of the card for the digital output data and another digital port to read back the data. You need some additional wires to do so, but this is not a show stopper. This is the only way to realize your application.
Regards, Stephan