LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cluster,arryas & type help

Solved!
Go to solution

 

"the type of the source is 1-d array of cluster of 2 elements. the type of sink is cluster of 3 elements"

 

trying to plot a histogram graph and getting this error, how do correct this?

Thanks

0 Kudos
Message 1 of 9
(3,399 Views)

Hi dhanna,

 

you solve such problems by wiring the correct datatype!

 

Did you expect any other answer without providing atleast a screenshot of your block diagram?

Best regards,
GerdW


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

yes screenshots shall be provided in a bit,just a bit busy atm, thanks for the quick reply

0 Kudos
Message 3 of 9
(3,384 Views)

i want histogram 2 to replace histogram

Download All
0 Kudos
Message 4 of 9
(3,365 Views)

Hi dhanna,

 

you should read the context help more carefully!

One of them is a "XY graph", while the other is a "Waveform graph".

 

Do you spot the difference now?

 

Why do you want to replace a XY graph by a waveform graph? What's the reason for this?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 9
(3,361 Views)

my situation is im testing an 8 channel board, but when i run histogram analysis all 8 plots end up on histogram as opposed the 1 i ty to choose (plot legend proving a bothersome), so used a created histogram (histogram 2) which had corrected plot legend etc.

0 Kudos
Message 6 of 9
(3,348 Views)

Hi dhanna,

 

this sounds like some kind of misunderstanding…

 

When you make plots visible in the plot legend of a graph this DOES NOT change anything on the underlying data. It just sets the visible property of the plots!

 

When you want to analyse just one plot of your 8 available you need to choose it's data for analysis: most often you want to index some array subdata (like rows or columns). Use array functions to do so, IndexArray might be the first to try…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 7 of 9
(3,342 Views)

thanks very much,problem sorted. kudos will be given!

lastly how to get the plot legend & graph palette into the colour background? ive just made them white but want them to blend to this background (ie gridlines etc.)

0 Kudos
Message 8 of 9
(3,330 Views)
Solution
Accepted by topic author dhanna

Hi dhanna,

 

you should not paint them white, when you want to have them transparent!

 

You will find a transparent "color" in the color selector dialog in the upper right corner, represented by a "T". And most often indicators from classic palette are easier to customize…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 9 of 9
(3,325 Views)