From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Initialize and Index real time data into 2D array

Hi N.,

 

1 - Where are any "columns disabled"? I don't know what you are talking about…

2 - "Intensity graph 3" should show the same as "Intensity graph". I don't know what you have problems with…

 

please check the attachment. 

As it's just an image there is nothing to "check". Attach your VI (LV2014 preferred)!

Best regards,
GerdW


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

Good Morning GerdW,

 

please check my attachment. 

 

in the index array, i can't specify the column, only rows.

intensity graph 3. display my data only once, even i'm read from VISA 

 

 

 

Thank you

0 Kudos
Message 12 of 18
(915 Views)

Hi N.,

 

 

in the index array, i can't specify the column, only rows.

As soon as a I wire the column input (instead of the rows input) I can index columns…

(Btw. why don't you use TransposeArray? Or even simpler: tick the Transpose option in the graph properties…)

 

intensity graph 3. display my data only once, even i'm read from VISA

IntensityGraph3 displays the data present in "Array" and "IntensityGraph"…

The shift register used for "IntensityGraph2" is non-sense as it never gets updated data…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 13 of 18
(905 Views)

Dear GerdW, 

 

hence, now i started looking to your name everytime to make sure that it's correct. 

 

however, my idea is keep the scal of the graph 3 is fixed. if i ticked the transpose click that will make it automatic and change it's scal. 

 

also i'm trying to find a way to display both columns and rows at the same time, wich allow me to detect the resolution in accurate way and display the force over my connected mat as pressure depends on the colours. 

 

any advice ?

 

 

Thanks

0 Kudos
Message 14 of 18
(903 Views)

Hi N.,

 

my idea is keep the scal of the graph 3 is fixed. if i ticked the transpose click that will make it automatic and change it's scal.

Why should transposing a 2D array change your scale settings?

 

i'm trying to find a way to display both columns and rows at the same time,

An intensity graph displays 2D data, so you can see all rows and columns at the same time!

I don't get your problem…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 15 of 18
(899 Views)

It's my bad. 

 

i connected rows and columns and this case he started to be autoscale. 

 

but if i connected only rows to the index which is from 0 to 3. (4 rows)

 

the graph display only once, i need to display all the time (read all the data from visa until i stop the program).

 

i know i'm nagging a lot, i'm sorry, but i'm learning from your advices / forgive me

0 Kudos
Message 16 of 18
(900 Views)

Hi GerdW,

 

a quick question please, 

 

why my  index array doesn't update the intensity graph3 after the 4th count. 

 

the program runs perfectly but this intensity graph won't update with real time. 

 

what should I do to make it display the data in real time. not only one round ?

 

the attachment contain a picture of the problem and VI 

 

 

 

Thanks

0 Kudos
Message 17 of 18
(882 Views)

Hi N.,

 

why my  index array doesn't update the intensity graph3 after the 4th count. 

Because YOU have it programmed this way…

You explicitely only index the first 4 rows to display them in the graph. When you want more/other rows you need to index them!

 

what should I do to make it display the data in real time. not only one round ?

As said before: wire the full array to the graph, not just 4 indexed rows/columns…

Best regards,
GerdW


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