Outputting Sensor data from Phidget Spatial 1044 to a file.

Supporting Java SE version 7 and up
akshaykmr.iitkgp
Fresh meat
Posts: 1
Joined: Fri May 17, 2013 9:38 am
Contact:

Outputting Sensor data from Phidget Spatial 1044 to a file.

Postby akshaykmr.iitkgp » Tue Jun 18, 2013 2:33 pm

I have recently bought a Phidget Spatial 1044.

My aim is to get the raw data from the accelerometers , gyroscopes and the compass and store them in a file to be used later for other purposes. I went through the documentation but was unable to solve this simple problem as I have to do the programming in Java which is new to me.

I went through the Spatial-Full example and tried to modify the code to get the data on a text file instead of displaying it on a panel.Can you please help me to solve this problem.

User avatar
mparadis
Site Admin
Posts: 642
Joined: Fri Oct 28, 2011 12:17 pm
Contact:

Re: Outputting Sensor data from Phidget Spatial 1044 to a fi

Postby mparadis » Wed Jun 19, 2013 7:29 am

I recommend having a look at the following guide in our support wiki:

Data Logging with a Thermocouple

This guide shows you how to log the data of our thermocouple interface board in both C# and Java. It should be fairly easy to modify the code to work with a spatial instead of a thermocouple interface. Check the Java API and the example code you've already downloaded to see which functions you need to add in order to read values from the spatial.


Return to “Java”

Who is online

Users browsing this forum: No registered users and 1 guest