02-22-2019 04:59 AM
Hello,
I have the same problem as the problem in this post : https://forums.ni.com/t5/LabVIEW/Accelerometer-3-axis/m-p/3707391#M1043053
but im using my cell phones accelerometer (cell phone: samsung j5 2016). I use the app sensor UDP ( https://play.google.com/store/apps/details?id=com.ubccapstone.sensorUDP&hl=en ) to transfer the accelerometer's data over UDP protocol in my PC and LabView , but i only take one value for each of the 3 axes. I need a value separately for Y axis as im working on a project in which my cell phone will make vertically a track of (max) 180 degrees.
Thank you in advance!
02-22-2019 08:30 AM
Well, as someone who tried to help in the previous Post (but got no useful response from the Original Poster), the problem is all in "getting the data from the device into LabVIEW". You are using a UDP protocol to get the data -- have you verified that it works, have you programmed it correctly in LabVIEW, have you any experience with LabVIEW's TCP/IP Protocol VIs?
If you want help with your LabVIEW code, then post your code. The best way (in my opinion) to do this is to attach your VI (or VIs -- if you are working with a LabVIEW Project, compress the folder holding the Project files and attach the resulting .zip files). The least helpful thing to do is to attach no code, the next worse is to attach a picture of a piece of code (which we can't inspect easily, can't run, etc.).
Bob Schor