Jump to content

Recommended Posts

I am working on a project that I have to pull timer information from the data tables and send it to an SD card. I found the T - ASCII function block under the strings menu but wasn't able to find any information in the help section.

The block seems very straight forward but I can't seem to get the output of the block to change as the timer value changes, see the attached jpegs. The timer that I am trying to convert has a value of 99:59:59:99.

One thing that I thought that might be the issue but can't find any information on in the help section is the Offset in the Vector. I made the assumption that since I will be sending this value to an Excel file eventually that the best solution was to click the excel option of a const. of 1000.

I also adjusted the format but the output value did not change then either.

Then I changed the Preset/Current option and nothing changed.

I then changed the remaining/elapsed option but nothing changed still.

I have played with having the string address destination be both MI (dec and hex) and ML (dec and hex) but the values did not change.

My final goal is to be able to take the value from this block and send it to the SD card via the Create Excel Delimited Line block. Am I having a race in the logic and not allowing the block time to operate, does the block not work, or have I missed a simple set-up step.

Thanks,

Dan

post-151-058051900 1305645208_thumb.jpg

post-151-048557700 1305645215_thumb.jpg

Link to comment
Share on other sites

I was able to use excel commands and macros to convert the time to a understandable number.

However, the lastest issue is when I pick a MI to have leading zeros in the Create Exce Delimited Line function block the leading zeros aren't up in the .CSV file.

Anyone have input?

Thanks,

Dan

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...