LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

plotimages

Solved!
Go to solution

Hi!

 

Im using plotimages from the property node of XY Graph to plot objects in the background of the graph. I encounter 2 problems:

 

1:It is working fine when I use an cluster as input, but when I compose a cluster by bundling 4 inegers, nothing appears on the screen, Why?

See the attached VI, image as example.

 

2: Is it possible to implement more than 3 (front, middle, back)object in the background of the graph? I would like to plot 4..

Download All
0 Kudos
Message 1 of 3
(2,316 Views)
Solution
Accepted by topic author PabloNL

Problem 2 solved, I can use the output of one draw oval.vi as input of the next draw oval.vi to implement more objects.

 

Still wondering about problem 1.

0 Kudos
Message 2 of 3
(2,301 Views)

Hello Pablo,

 

The problem is not in the cluster itself, it's in the data you're providing to it.

 

In your problem part you have:

Left: 54

Top: 553 

Right: 80

Bottom: 527

 

This is "physically"  not possible.

 

The "Left" value should always be smaller than the "Right" value: This is ok.

The "Bottom" value should be bigger than the "Top" Value: This is not ok here.

 

Please keep in mind that the (0,0) point is in the top-left corner of the Graph and from there on your values will increase.

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
Message 3 of 3
(2,253 Views)