Les

About

Username
Les
Joined
Visits
51
Last Active
Roles
Member

Comments

  • For the benefit of others on this board interested in this subject, here is the code I came up with to resolve my issues. If anyone sees any problems with this, please let me know. Thanks! func createAccounter() { let signal = mbl_mw_acc_ge…
  • Eric, while I really am most appreciative of your responses, I feel we're going in circles. I've studied all the links you have been providing, even before I made my first post. It's obvious that there are some clear examples in some of the other …
  • Thank you Eric. I should have pointed out that I knew that casting the valueAs as a MblMwCartesianFloat , as you point out, works in terms of retrieving the x, y and z accelerometer data, However, I'm still stuck with my original question: How do…
  • As I told Eric, the Xcode error causes a halt at the assert line I provided in the code above with the message: "Thread x: Assertion failed," The thread number x varies depending upon activity. I'm hoping Eric or someone from Mbientlab can pr…
  • The code fails at the line: assert(MemoryLayout.size == length). The length value is 12. I don't know how to determine what the MemoryLayout.size value is. However, the values of the parameters going into doTheParse(length: length, type_id: typ…
  • Assertion failed in function doTheParse in MetaWearData.swift in the code below. I never get to my print statement. // Generalized flow assert(MemoryLayout.size == length) switch type_id { case MBL_MW_DT_ID_UINT32: assert…
  • Thank you for the reply Eric. Here is my code that fails. Can you tell me what I'm doing wrong? func createAccounter() { let signal = mbl_mw_acc_get_acceleration_data_signal(device.board) mbl_mw_dataprocessor_accounter_crea…