From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
i am right now dealing with a project related to real-time control. There is a touch screen that can detect the position of items placed on it and convert the position to 4 outputs from its 4 corners. To get the x and y postions on the screen, we need to do a manipulation to the 4 outputs, and the expression for this conversion is quite long that it will be pretty cumbersome to express it using simple numeric blocks. So i am wondering if there is any block that can do input manipulation with complex expression, just like the "Fcn" block (general expression block) in simulink. Please let me know If you have any idea, i will be most grateful to your help. thanks!!!!!
And then here's another problem: we want a graphical indicator that shows the trace of motion on the plate, i.e. a record of all the previous positions and current position, so we want the x-axis of the plot to be the x-position of the item rather than the simulation time. So do you know how to make a plot like this? Thanks!!!
With an XY Plot you can put whatever you want on the X axis - assuming you have an array of X positions that correspond to the Y positions all you have to do is wire it up. The axis label is editable so you can change it to read what ever you want.
Mike...
Certified Professional Instructor Certified LabVIEW Architect LabVIEW Champion