Group Abstract Group Abstract

Message Boards Message Boards

Use Dynamic[] with DeviceExecute[] to Display Data h?

Posted 7 years ago

Hello,

I am using an Mathematica to process code within an Arduino that in the end will display the current temperature of the thermocouple attached.

I can run DeviceExecute and get a temperature. However, I have been trying

`In[30]:= 
Dynamic[temp, UpdateInterval -> 0.5]

Out[30]= Dynamic[23.25, UpdateInterval -> 0.5]`

to no avail, as the temperature is not output in real time, only when I request it using DeviceExecute.

Any thoughts as to get data real time without having to run the command?

POSTED BY: M D
4 Replies
POSTED BY: Neil Singer

Dynamic is spelled wrong. But what is wrong with using deviceexecute?

POSTED BY: Neil Singer
Posted 7 years ago

I got it to work with your help. I very much appreciate it.

Regards

POSTED BY: M D
Posted 7 years ago

It was spelled right when I attempted it code, believe me. I don't want to have to use DeviceExecute to get the temperature. I am aiming to collect temperatures every 10 seconds or so for nearly 24 hours.

POSTED BY: M D
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard