totomalino Posted November 2, 2010 Report Share Posted November 2, 2010 Hello, I made a plot representing a temperature profile with some ramps, dwells...loaded from an excel file. But now, users would like to modify temperature profile directly and dynamically on the plot, after having load a basic profile from excel file... I heard about Xcontrol which can do that, but I can't find it. So, do you know if it exists, and especially if the code is free? Otherwise maybe you know other ways to proceed? I ask for that because I have not so much time to make it, and I don't want to reinvent the wheel ... Of course, if nothing free to use exists, I will make it myself, but even in this case, help would be appreciated, since I have no idea how to start (using plot reference, events...) Thanks a lot, Best Regards Antoine Quote Link to comment
totomalino Posted November 3, 2010 Author Report Share Posted November 3, 2010 Up please:unsure: Quote Link to comment
jdunham Posted November 3, 2010 Report Share Posted November 3, 2010 But the way I would do it would be to make a plot, and then overlay it with lots of cursors, one for each plot point. Then you could trap "cursor move" events and modify the plotted data to match. So the users would be dragging the cursors around, but it would look like they were dragging the plot points. I would probably make the plot points themselves transparent or point type = 0 so that when you move the cursor, you don't see the plot point stay behind until your event handler fixes it. I don't know whether something like this already exists on the web. Quote Link to comment
ShaunR Posted November 3, 2010 Report Share Posted November 3, 2010 I remember seeing an example (can't remember where it is now) which was representing RGB colour correction and you could grab a points on the line of the graph and them around to change the colour profile. May have been in the Vision stuff. Quote Link to comment
totomalino Posted November 15, 2010 Author Report Share Posted November 15, 2010 Hello Thanks for your ideas Best Regards Antoine Quote Link to comment
j_meier Posted November 15, 2010 Report Share Posted November 15, 2010 Take a look at this: http://zone.ni.com/d...a/epd/p/id/3971 HTH, Joachim Quote Link to comment
Cat Posted November 16, 2010 Report Share Posted November 16, 2010 I remember seeing an example (can't remember where it is now) which was representing RGB colour correction and you could grab a points on the line of the graph and them around to change the colour profile. May have been in the Vision stuff. "Color Table Generator.vi" in the "Create IntGraph ColorTable.vi" example in plain old LV. I use a (very modified) version of this to adjust the color schemes on intensity graphs, since the Z scale adjuster is one of the more frustrating widgets in LabVIEW. Frustrating, obtuse, very non-intuitive, and except for the simplest of things, often unusable. But I digress... The example shows you how to move a point around on the graph. Or rather, you move a free-dragging cursor away from the apex point in the middle of the plot, and the slope of the plot changes from that middle point to the static points on either side to make that new point the apex. 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.