04-27-2012 09:16 AM
I am trying to create an input and output task in two different lines of the same Port. When I am doing this in the Measurement and Automation Explorer, the port works fine with both Input and Output lines, but when I programmatically do it in LabVIEW, I get an error in the DAQmx Start Task.vi.
I would be glad if any of you could let me know why this is happening. (As the code has to be kept confidential, I can't provide the VIs )
Solved! Go to Solution.
05-02-2012 01:28 AM
Thank you for the reply. I have attached herewith a sample code with the functionality of my code. I am using simulated devices in the MAX for testing this. What I found out so far is most of the PCI and PXI devices do not support simultaneous Input and Output which generates the error. But some devices like PXI 6289 supports the functionality.
Please correct me if I'm wrong or I'm missing something.
05-03-2012 10:04 AM
What device are you seeing this error with? Most more recently designed devices (M Series, X Series) allow digital lines to be individually configured. However, some devices that were designed longer ago support only per-port configurability. This would be true of PXI-65xx devices, or E Series devices.
Hope that helps,
05-04-2012 12:13 AM
Thank you Dennis and Mcdan,
My VI works with the devices lilke PXI6289.. I was trying it for devices like PCI 6503... Anyway i'll try some different approaches for those devices. Thank you once again for you help..