sbuczkowski Posted March 5, 2010 Share Posted March 5, 2010 Hello, I'm working on my first project with DAQFactory Express and have run into an issue that I have yet to find a solution for. I have two voltages being measured by a LabJack that represent X and Y position of a laser beam on a detector. I have a 2D graph set up with each axis representing one of the voltages but i would like to see just a symbol denoting the most recent measurement. What I have is a trace of the position history which gets messy after a short while. Is there anyway to turn off the old data and just display the most current data point with a symbol? Thanks! steven Link to comment Share on other sites More sharing options...
AzeoTech Posted March 5, 2010 Share Posted March 5, 2010 Two things: 1) to limit the data being plotted, subset one of the two expressions. For example, to just display the last 100 points, add [0,99] to the end of the Y expression 2) to put a point at the end you actually have to create a second trace and put that trace on another axis (probably a right axis), setting that other axis to point instead of line. The second trace has to have two points to plot (I believe), so make the X and Y expression something like: concat(ychan[0],ychan[0]) concat(xchan[0],xchan[0]) You also might not need two points for a point, so try just doing [0] first. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.