LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to display array values on indicators

hello friends,

Im working on project SCADA automatic irrigation system in which i have used 4 sensors and ARM controller,

i m able to display all my values on array in labview but i would like to show them on indicators(temp, tank etc)

please tell the detailed procedure or steps which need to be done as im a begineer.

Thank you

Download All
0 Kudos
Message 1 of 41
(6,279 Views)
  1. Learn to make a VI Snippet or, at least, a screenshot without a camera 😄
  2. Use Scan From String wired rom the output of the VISA Read (this assumes the T, L, H, and W will always be in the response)

Example_VI.png

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 2 of 41
(6,258 Views)

sorry but if i use string scan then its display message  string not in expected format

i need a procedure which will follow my spreadsheet string to array block

thankyou

0 Kudos
Message 3 of 41
(6,226 Views)
You were given a procedure. Show what you did. Do NOT post an image from your phone.

Also, you should not be using Bytes at Serial Port when you have enabled a termination character with the VISA Configure Serial Port.
0 Kudos
Message 4 of 41
(6,211 Views)

if not bytes then what is supposed to be used

Download All
0 Kudos
Message 5 of 41
(6,201 Views)
You just use some arbitrarily high byte count. The read will automatically terminate when the termination character is detected.

I would suggest doing a dummy read before entering the while loop. This would eliminate a partial string. Of you still get an error, stick a probe or indicator on the string output of the VISA Read and attach the result. Just to verify that what you posted in your stray image is what you are passing to the scan from string.
0 Kudos
Message 6 of 41
(6,184 Views)

sorry sir,

but its still showing message an input parameter is invalid.

can you please suggest any other programming to read the data.

you can tell me step by step procedure.

 smiply i want to show my sensor outputs on indicators, im using rs232 to usb port.

0 Kudos
Message 7 of 41
(6,172 Views)
You marked your question as solved so I guess you found the error and fixed it.
0 Kudos
Message 8 of 41
(6,155 Views)

sorry sir,

but its still showing message an input parameter is invalid.

can you please suggest any other programming to read the data.

you can tell me step by step procedure.

 smiply i want to show my sensor outputs on indicators, im using rs232 to usb port.

i haven't yet found the solution.. by mistake its be marked as accepted soln.

thankyou

0 Kudos
Message 9 of 41
(6,138 Views)
You should click on Options to unmark the question as solved.

Did you do as I asked and create an indicator or probe the output of the VISA Read. The Scan from String should work. If you create an indicator, right click on it and enable \ Codes Display to see if there are extra characters. Post an image of the front panel with the indicator sized large enough to show the entire string.
0 Kudos
Message 10 of 41
(6,129 Views)