LVFreak Posted May 16, 2006 Report Share Posted May 16, 2006 Does anyone know how to programmatically change plot names where there are multiple plots displayed on one chart? I can change the first one only using property Plot.Name, but it only handles the first one. Any suggestions??? Quote Link to comment
JDave Posted May 16, 2006 Report Share Posted May 16, 2006 Does anyone know how to programmatically change plot names where there are multiple plots displayed on one chart? I can change the first one only using property Plot.Name, but it only handles the first one. Any suggestions??? You need to use the Active Plot property to select each plot. By default the active plot is the first one, which is why changing Plot.Name changes the first one. If you select a different Active Plot, the same property will change the name of the selected plot. David Quote Link to comment
crelf Posted May 16, 2006 Report Share Posted May 16, 2006 I can change the first one only using property Plot.Name, but it only handles the first one. The Plot.Name property deals with the "Active Plot" (which is, by default, 0). Set the Active.Plot property to 1 (or whichever plot you want to change) and then use the Plot.Name property. This can be done several times in one property node, as LabVIEW executes them in top-down order. Quote Link to comment
LVFreak Posted May 16, 2006 Author Report Share Posted May 16, 2006 Thanks. I knew that it was simple. Somehow, I thought that activeplot was read-only. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.