LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pressure Sensor not display the actual value it provide only the approximated value

Hello Everyone,

 

All you are doing good. I am using the maxi gauge TPG366 with gauge sensor and try to get the actual value but it giving the approximate value.

I am sharing the code and picture so you can guide me after checking the where is the mistake. Waiting for your prompt and result oriented response.

 

I am using the example read pressure.vi file to measuring the pressure.

Thanks in advance

 

Regards,

Taufeey 

0 Kudos
Message 1 of 2
(2,114 Views)

Hi Taufeey,

 

somewhere somewhen someone did implement an explicit function to convert all points in the received string data by commas. Maybe because of using wrong regional settings on its computer…

(Hint: see the function "PV ActiveLine - Point2Terminator.vi")

 

Can you please show the content of a typical received string from your device?

I guess the main problem is the function "PV ActiveLine - Convert Data.vi": run your VI until there are data in the controls/indicators of that VI: then stop your program, set all values default in this VI and save it. Then attach that VI here for examination…

 

(IMHO that whole lvlib is a pure mess, it should be cleaned up and/or redone.)

 

Best regards,
GerdW


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