LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

SEPARAR DATOS

Solved!
Go to solution

Seguramente mucha gente a escrito sobre el problema, espero me pueda ayudar. tengo una datos que vienen de proteus y necesito separarlos y mostrarlo en labview, son variables sensores, pero no he podido hacerlo donde estare cometiendo el error. No soy un experto en labview, es para un curso de la universidad.

 

Matthew0208_0-1732477963683.png

Matthew0208_1-1732477990729.png

Matthew0208_2-1732478021707.png

 

0 Kudos
Message 1 of 2
(105 Views)
Solution
Accepted by Matthew0208

Hi Matthew,

 


@Matthew0208 wrote:

I'm sure many people have written about the problem, I hope you can help me. I have data coming from Proteus and I need to separate it and show it in Labview, they are sensor variables, but I haven't been able to do it, where am I making the mistake? I'm not an expert in Labview, it's for a university course.

Matthew0208_2-1732478021707.png


Have you asked your instructor when you have problems with understanding the LabVIEW code?

 

On your VI:

  • Why do you convert the string into a 2D array? You can create a 1D array too with the very same function!
  • What do you want to achieve with this format string? What is the purpose of using "%.;%."???
  • Why do you use a delimiter char of ";" (semicolon) when there is no semicolon in the received data string???
  • Why do you need all those VISA event functions???
  • Why is there a wait function in the loop? The loop timing should be dictated by the VISARead function and the timeout you have set when initializing the port!

Did you watch this video yet?

 

Suggestion:

 

Best regards,
GerdW


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