08-02-2017 08:55 AM - edited 08-02-2017 09:06 AM
Hi,
Sorry, I know this topic has been covered before in the forum, but I have tried the suggested solutions and cant get it to work.
I have PXIe chassis with two cards, a PXI-6225 DAQ (in my code, dev6) and a PXIe-4353 (in my code therm). Ideally I would like to read a voltage from the DAQ and a temperature from the thermocouple. I am having problems reading the two of these at the same time.
If I set my code to use "dev6" or "therm" for both readings (although the returned values are nonsense), the code runs fine. But when I try to read a voltage from dev6 and a temperature from therm, I get the error, "Error -201426 occurred at DAQmx Start Task.vi:7220001".
I would appreciate your thoughts,
Regards,
Rod
Solved! Go to Solution.
08-02-2017 09:26 AM
Can you post a snippet of your code (Edit->Create VI Snippet) for those of us that don't have 2017 yet?
08-02-2017 09:30 AM
Code Snippit attached, also the code saved to vs 16
08-02-2017 09:45 AM
Separate the tasks with each having their own Start Task VI. Looks like one of the devices doesn't support a task that has multiple devices.
08-02-2017 09:49 AM
Thank you for the suggestion. I had previously split them and this worked fine, I was just hoping there was an alternative. Thanks for your input