01-31-2013 03:49 AM
You need to change the property of X axis.
Right click on XT graph -> Display format --> select x axis & change the property.
01-31-2013 04:27 AM
what property I have to change. Please tell that also. I need intensity versus motor counts not time please kindly help me.
01-31-2013 04:45 AM
I got the Xaxis changed by small changes made . I 'am attaching that Vi. But issue is that I'am not seeeing the plot, the graph is moving but never show the plot line. So please help me.
01-31-2013 05:13 AM
I did that changes. Please run the program and let me know.
I cant verify because your code is posing problem.
Then also if it doesnot work compare the properties with my previious attachments & see what is the difference.
Thanks
01-31-2013 01:35 PM
Your array of X values only has one element. There needs to be one X value for each Y value.
Try creating a VI with expected data and see if you can get that to work.
Or run your VI so the Indicators have the data you want, copy those Indicators to a new VI, change them to Controls or Constants. Then work on your graphing problem.
Divide and conquer.
Note that your Express VI is collecting 1000 samples, but the "Signal 1" through "Signal 4" Indicators only show the last of those values.
Also note that if all your X values are the same, the Y values will all show up in one vertical line.
Try "Find Examples" for "XY Graph".
01-31-2013 02:13 PM
Moved to here.
None of the answers in this thread are correct. Some are down right silly like building an array from the scalar from the serial read. In order to populate a normal XY graph as the loop iterates, shift registers are required to append new data to old.
01-31-2013 02:19 PM - edited 01-31-2013 02:20 PM
😞
Got it. No baby-steps.
Seemed that was what the OP needed.
The scalar-to-array was already in there. Just trying to push them in the right direction.