LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Coordinates plotted with mouse click

here is what ihave got to so far. having trouble doing what it says to do with the stop button. Any ideas on what to do?

0 Kudos
Message 21 of 35
(1,056 Views)

Hi recneps,

 

what does it say?

 

What is the relation to the VI shown before? Why do you use a string now instead of a XYGraph?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 22 of 35
(1,049 Views)

sorry i sent the wrong one. here it is.

 

 

its saying "The conditional terminal is not wired to anything and must be wired to a boolean data source such as a button or the result of a comparison."

 

0 Kudos
Message 23 of 35
(1,044 Views)
0 Kudos
Message 24 of 35
(1,030 Views)

I would do what that error says: "wire a button to the conditional terminal"...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 25 of 35
(1,029 Views)

ok done that but now how do i get it to make the pots with a mouse click, when i run it now it doesnt do anything

0 Kudos
Message 26 of 35
(1,025 Views)
Hi GerdW,
Seriously, i wonder how much patience you have 😛
Thanks
uday
0 Kudos
Message 27 of 35
(1,022 Views)

Hi recneps,

 

what do you want to achieve? When you register some user-defined events, you should put some code inside those event cases...

 

Btw. why do you register user-defined events at all? Why not use regular events of the graph?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 28 of 35
(1,013 Views)

I am wanting to make code that will allow me to click on the graph and it to plot a point, then if a click on the graph again i want it to plot the point and connect it to the other point, an so on. I have been told how to do this in so many different ways now and im getting quite confued tbh.

 

Does that make sense? if so do you have any idea how i could do this? or if there is already some code on the forum that does?

0 Kudos
Message 29 of 35
(1,010 Views)

Hi recneps,

 

what's wrong with the code shown in my previous post?

Why don't you use it?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 30 of 35
(1,007 Views)