LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using 4 wire PT1000 with NI 9219

Solved!
Go to solution

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?

 

 

0 Kudos
Message 1 of 10
(1,537 Views)

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!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 10
(1,533 Views)

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)

 

Download All
0 Kudos
Message 3 of 10
(1,519 Views)
Solution
Accepted by Aditi.hiray

Run the program with highlight execution and see step by step  where the error is happening. 

0 Kudos
Message 4 of 10
(1,513 Views)

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 🙂

0 Kudos
Message 5 of 10
(1,401 Views)

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?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 10
(1,388 Views)

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? 

0 Kudos
Message 7 of 10
(1,384 Views)

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!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 8 of 10
(1,381 Views)

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.

 

 

0 Kudos
Message 9 of 10
(1,377 Views)

Is this happening because of lack of any specific library? which libraries do I need to install exactly?

0 Kudos
Message 10 of 10
(1,290 Views)