05-23-2012 07:27 AM
Hello,
I am programming a CCD and I was wondering How can I plot two lines on an "intensity graph" instead?
- I tried plotting them but only one of them shows, I think there is a command that lets you keep the first line as well, but I dont know where it is,
- Also, is there a way I can integrate the data between the two lines I draw?
- is there a smarter way to plot the two lines other than building two different "events"?
Please see attached
05-24-2012 08:14 AM
Your post is unclear, but I think you want to do the following:
This is relatively straightforward, but you will need a more complex architecture than the one you currently have. You will need to use the event structure and probably should have a task handling loop, as well. This architecture is known by several things, but "event-driven state machine" is probably the most common. Search these forums for that phrase and you will get lots of information.
For your particular problem:
You should learn about the event structure and queue driven state machines before starting this. Start with the LabVIEW help, then search these forums for additional info. For example, I believe altenbach posted a demo awhile back of the event structure in which he drew a polygonal line.
Good luck. Let us know if you need more info.