frankcase
Chemical
- Mar 2, 2006
- 2
Hi,
I am a complete newbie but so far I have been able to communicate through labview using a serial vi and I have now found a labview vi that emulates the functions of hyperterminal which I hope will be useful for my project.
The accelerometer has a output of 250Hz for each axis (X, Y and Z). Here is the link describing the specifications of the sensor.
Here is an example of the typical output of the accelerometer
X= 0.676 Y=-0.313 Z= 0.754
X= 0.679 Y=-0.326 Z= 0.744
X= 0.676 Y=-0.331 Z= 0.722
X= 0.686 Y=-0.336 Z= 0.725
X= 0.676 Y=-0.339 Z= 0.744
X= 0.691 Y=-0.328 Z= 0.744
X= 0.686 Y=-0.326 Z= 0.706
X= 0.686 Y=-0.339 Z= 0.744
X= 0.686 Y=-0.339 Z= 0.752
X= 0.684 Y=-0.336 Z= 0.744
X= 0.691 Y=-0.326 Z= 0.754
X= 0.691 Y=-0.342 Z= 0.752
X= 0.686 Y=-0.321 Z= 0.744
X= 0.686 Y=-0.318 Z= 0.765
X= 0.686 Y=-0.326 Z= 0.744
X= 0.691 Y=-0.318 Z= 0.722
X= 0.676 Y=-0.328 Z= 0.744
The baud rate is set to the max of 57600. The sampling rate of the sensor is 250Hz. Although I am not sure that hyperterminal is reading data from the sensor at that rate. The faster I can sample the data then the better the time resolution will be for the acceleration event. I need to plot the X, y, and Z axis data versus no. of point in three different graphs on screen.
Looking at different Vi's in the labview forums, I need plotter/data logger so I can display the data in an XY plot and used some history to plot the a trail of points. In parallel a loop is needed to monitor the "log to disk" button and when "on" it would simply write to a file in spreadsheet format. The trick is how do I achieve this??
Has anybody out there got a vi that deals with the output of an accelerometer. I really need this info as I trying to do a volunteer project for training rowers on a rowing ergometer before our rowing season starts.
Frank
I am a complete newbie but so far I have been able to communicate through labview using a serial vi and I have now found a labview vi that emulates the functions of hyperterminal which I hope will be useful for my project.
The accelerometer has a output of 250Hz for each axis (X, Y and Z). Here is the link describing the specifications of the sensor.
Here is an example of the typical output of the accelerometer
X= 0.676 Y=-0.313 Z= 0.754
X= 0.679 Y=-0.326 Z= 0.744
X= 0.676 Y=-0.331 Z= 0.722
X= 0.686 Y=-0.336 Z= 0.725
X= 0.676 Y=-0.339 Z= 0.744
X= 0.691 Y=-0.328 Z= 0.744
X= 0.686 Y=-0.326 Z= 0.706
X= 0.686 Y=-0.339 Z= 0.744
X= 0.686 Y=-0.339 Z= 0.752
X= 0.684 Y=-0.336 Z= 0.744
X= 0.691 Y=-0.326 Z= 0.754
X= 0.691 Y=-0.342 Z= 0.752
X= 0.686 Y=-0.321 Z= 0.744
X= 0.686 Y=-0.318 Z= 0.765
X= 0.686 Y=-0.326 Z= 0.744
X= 0.691 Y=-0.318 Z= 0.722
X= 0.676 Y=-0.328 Z= 0.744
The baud rate is set to the max of 57600. The sampling rate of the sensor is 250Hz. Although I am not sure that hyperterminal is reading data from the sensor at that rate. The faster I can sample the data then the better the time resolution will be for the acceleration event. I need to plot the X, y, and Z axis data versus no. of point in three different graphs on screen.
Looking at different Vi's in the labview forums, I need plotter/data logger so I can display the data in an XY plot and used some history to plot the a trail of points. In parallel a loop is needed to monitor the "log to disk" button and when "on" it would simply write to a file in spreadsheet format. The trick is how do I achieve this??
Has anybody out there got a vi that deals with the output of an accelerometer. I really need this info as I trying to do a volunteer project for training rowers on a rowing ergometer before our rowing season starts.
Frank