07-10-2014 11:01 AM
Brief description of what I am doing:
I have two sensors hooked, one for displacement one for laod. up to my computer going from rs232 to USB and a stepper motor control. I have my data coming in a converting it to numeric numbers. I have the two sets of data making a graph and writing to csv so no problems there.
What I need:
As the stepper motor moves and creates displacement, I want the displacement to reach a certain value and then write the data from both sensors but I need this for multiple points. What would be the best way to put in each of those individual points to command to take the reading and stop at the end.
Also I do not have any .vi to show.
07-10-2014 01:57 PM
There are many designs for this requirement. How about:
-Steve K
07-10-2014 04:16 PM
Pie
I'm not quite sure what that function is that your are showing, comparing the displacement to the limits.
07-10-2014 04:18 PM
07-10-2014 04:23 PM
When you see that type of picture, it's called a VI Snippet. You can right-click the picture and save the .PNG to your computer. Then open a VI and drag the .PNG file onto the block diagram. It should create the code for you. The White Paper says you can drag directly from the browser, but I've not had success doing that.
-Steve K