01-09-2007 01:12 PM
Greetings,
I am a part of a team that is working on a school project which involves making a machine that pulls material apart to test its durability. It’s basically a hydraulic cylinder that does the work. We are at a point in our project where we need to display a curve that shows force in relation to length. To do this, we are using two analog sensors; a force sensor and a position sensor. We have purchase the LabView 8.2 and are using a DAQ-module to acquire the signals. Our problem is that when we try to connect the signals to an XY-graph (X being the position, and Y being the force), we only get a ‘dot’ that displays the exact values of our sensors. We cannot get it to display a curve.
Basically, what we’re trying to do is to get the program to draw a curve for us using these two signals, and not just a mere dot that updates real-time. The curve should then be writeable to an excel-sheet for an instance for future studies of the material.
We think that we should be able to achieve this by logging values from the signal and then drawing a curve using those logged values. Unfortunatly, we have not succeeded due to our limited knowledge of Labview. The deadline for the project is approaching fast and we need to finish soon, which is why we are asking for help here. If anybody can help, please do so as soon as possible.
I’ve attached a picture of the machine to give you a better clue of what we’re doing.
/Alex
01-09-2007 01:52 PM
01-11-2007 11:00 AM
01-11-2007 11:12 AM
01-11-2007 11:55 AM
What DAQ card are you using. I don't think the calibrate function works with all of them (i.e. USB600x) though I I'm not positive. I never really use the assistant and I don't have the low cost boards.
If you just want to save or print the graph, then you can use the Report Functions. You can create a report and then use the Append Control Image to Report. Pass it a reference of the graph (right click and select Create>Reference). You have the option of creating an HTML report. If you look at the block diagram of Append Control Image to Report, you will see a Get Image property node and a Write JPG file function. You could use just these two to save a .jpg of the graph.