09-04-2015 03:04 AM
Dear,
Made this small Vi, it receives data from rs232 the he receives from the vi changes when i do something on the machine.
the first data it receives should appear in the table in colomn 0,0 and may not change anymore, the rest of data should appaer
in column 0,1 0,2 .... but the can change, how can i make the fisrt data in colomn fixed tha it change nomore
09-04-2015 03:20 AM
Hi drek,
a table is a "2D array of strings" in LabVIEW. You don't create such a 2D array of strings in your whole VI…
- Create such an array and keep it in a shift register.
- Replace the elements you like to write to with the strings you receive.
More hints:
- Don't use BytesAtPort with serial communication. It is (nearly) everytime the wrong command…
- Right now you try to set element [0, 1] in your table with either a numeric value or an empty string. Do you really want to delete the element when "Set Value" is FALSE?
We talked about creating tables in your other thread. I thought you already know how to build up arrays/tables…
09-04-2015 03:24 AM - edited 09-04-2015 03:26 AM
Dear Gert,
As you see i never give up 🙂 would it be possible to change the vi so i can how i should do it ?
it would learn me to know labview faster
Thx
09-04-2015 04:00 AM
09-04-2015 04:08 AM
Hi Gerd,
Gonna try it asap let you know, but many thanks for helping sometimes i need a helping hand 🙂
09-04-2015 05:13 AM
Gerd where can i find the symbol right under set value where the zero is connected ?
Thx very much
09-04-2015 05:14 AM
09-04-2015 06:08 AM
thx found it 🙂
09-04-2015 08:49 AM - edited 09-04-2015 08:53 AM
sorry for the stupid questions Gerd tis is the only array subset i find
09-04-2015 08:58 AM
@drek123 wrote:
sorry for the stupid questions Gerd tis is the only array subset i find
You need to find Replace Array Subset. It is in the top-middle of the Array palette.