06-20-2023 09:05 AM - edited 06-20-2023 09:24 AM
I am using PT1000 on my NI9219 hardware to collect temperature data using DAQmx.
I have created a one seperate task for taking inputs of T1 and T2. When I run the task, It is showing temperature values. But when I create a simple program for this, values are not at all dispying. What will be the possible reasons?
Solved! Go to Solution.
06-20-2023 09:08 AM
Hi Aditi,
@Aditi.hiray wrote:
But when I create a simple program for this, values are not at all dispying. What will be the possible reasons?
So the reason will be within that "simple program" which you created, but failed to attach!
06-20-2023 09:23 AM
Sorry, I forgot to attached..
Here I have attached both my programs,
1. for t1 temp input (test)
2. with t1, t2 and flow meter (Analog input)
06-20-2023 09:30 AM
Run the program with highlight execution and see step by step where the error is happening.
06-21-2023 04:13 AM
Thanks for suggesting me highlight execution method.
I am getting following errors:
200077 (Read mx) although I have specified my channels.
200072 (Create a channel) If I select my temperature task in 'task in'
Since I am new in Labview programming, correct me if I am doing anything wrong.
I appreciate your help 🙂
06-21-2023 04:46 AM - edited 06-21-2023 04:49 AM
Hi Aditi,
@Aditi.hiray wrote:
I am getting following errors:
200077 (Read mx) although I have specified my channels.
200072 (Create a channel) If I select my temperature task in 'task in'
Did you read the error explanations?
-200077: unsupported value of the property
-200072: duplicate channels in task not supported
Do you correctly setup the DAQmx task?
Which DAQmxRead gives the error?
Why do you select a task when you explicitely wire channels to the CreateChannel function?
06-21-2023 04:53 AM
Thanks for your reply!
Yes I did setup the task correctly.
For t1 temp I have assigned a0 port and for t2 temp a1 port.
But the thing I did is, I have assigned one task for different programs, is that generating any error?
06-21-2023 05:00 AM
Hi Aditi,
@Aditi.hiray wrote:
But the thing I did is, I have assigned one task for different programs, is that generating any error?
Do you run those "different programs" in parallel? That might be the source of your problems…
A DAQmx task is a resource which can only be run/actively used once at a time!
06-21-2023 05:07 AM
No I don't!
Till sample clock, it is running ok. but once signal leaves from read mx 'error 200077' occurs which is
Requested value is not a supported value for this property. The property value may be invalid because it conflicts with another property. |
06-21-2023 12:22 PM
Is this happening because of lack of any specific library? which libraries do I need to install exactly?