Hello Radek,
Yes, you can read from two different analog inputs as well as a counter simultaneously using the 6023 card.
I am willing to bet that you are trying to make two different analog input calls using DAQ assistant twice or two DAQmx Read functions. Your 6023 DAQ card only has a single analog-to-digital (AD) converter, so it's trying to share the AD resource at the same time when making the two AI calls, hence the error.
What you will want to do to correct this behavior is place a two DAQmx Assistant Express VIs on your block diagram (one for the two analog inputs and one for the counter). You can configure the first DAQmx Assistant Express VI to take the two analog inputs by adding both channels in the properties window that appears once you place the Express VI on the block diagram. This will allow the device to multiplex the analog inputs and share the AD converter without error.
If the previous fix does not correct your problem, you will want to make sure that you are able to perform an acquisition whatsoever. To test whether your DAQmx function is working properly, place a single DAQmx Assistant Express VI on your block diagram, configure the properties for, say, a voltage capture, and run the VI. If you still see the same error, you are probably using the wrong address for the DAQ card in LabVIEW. To make sure that you are addressing your DAQ device correctly within LabVIEW, you will want to go to your desktop, click [Start]>>[Programs]>>[National Instruments]>>[Measurement & Automation Explorer(MAX)] and expand the "Devices and Interfaces" tab to see the correct address. Make sure that the device address you�re specifying in LabVIEW corresponds to the one seen in MAX.
If you are still receiving the error after trying the above solutions, please post your VI as well as a screen shot of the error.
I hope this helps! Please feel free to contact me if you need any further assistance.
Best Regards,
Joe Des Rosier
National Instruments