LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

unable to retrive data continously from external device

Hi,

I wrote program to read the values of external devices through serial communication but not working properly. when I run the program , First time all sessions are opened and read values as expected but the execution time between the loops is 2 seconds. secondtime, all operation executes as expected but  values are not reading and the execution time between  the loops is 50 ms.  I attached VI and sequence structure. Kindly support me.

Download All
0 Kudos
Message 1 of 7
(2,680 Views)

Hi prabhu,

 

it seems you forgot to implement (most of) error handling at all!

Don't you think it would help to know atleast the error numbers?

 

(For other readers: the VI contains a lot of Plasmonique ModBus VIs…)

Best regards,
GerdW


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

Hi 

 

 

0 Kudos
Message 3 of 7
(2,644 Views)

Hi Prabhu,

 

right-click the error cluster to read the explanation…

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 7
(2,641 Views)

Thanks Mr. Gerdw,

No. I took youtube tutorials. I will read the NI beginners resource as you recommend.

The error warning is attached. kindly support what that error means...

0 Kudos
Message 5 of 7
(2,636 Views)

Hi Prabhu,

 

- it's not an error, it's just a warning

- there might be more data available then was read

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 7
(2,632 Views)

Mr.Gerdw,

 

Is it possible to write simple Program for my operation. If so, Suggest me. Also, If any error in my program, Kindly notice me.

0 Kudos
Message 7 of 7
(2,624 Views)