Questions tagged [real-time]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer
224 views

Time domain to Frequency domain: Simple question

I have an input sine wave of: f=60 Hz. a[x_]= Sin[(2*\[Pi]*f) * x]; If I want to have an input, the same sine wave but in the frequency domain, how it can be ...
a019's user avatar
  • 811
0 votes
0 answers
39 views

TimeConstrained[] Not working

Is there a way to force the kernel to quit if some code runs for x seconds? Currently, I have: ...
burntclaw's user avatar
2 votes
0 answers
70 views

Appending to list without accesing the whole list

I'm developing a function that constructs a list with a lot of elements (around 1 million), with each of the elements being a somewhat complicated algebraic expression. I'm doing this by using ...
Marcosko's user avatar
  • 239
3 votes
2 answers
208 views

Evaluation time for each evaluated cell (as a whole)

I have a Mathematica notebook that has a number of cells, and each cell has a number of code lines. Sometimes it takes long hours to finish evaluating each cell and I want to compare their evaluation ...
user135626's user avatar
0 votes
3 answers
74 views

Show Timing but assign the result directly

The code a=2+2//Timing assigns the variable a to {time,4} . How can I show the evaluation ...
Albercoc's user avatar
  • 946
6 votes
2 answers
283 views

Is there a CryptocurrencyData alternative to FinancialData?

What's the easiest way to ingest time series data on cryptocurrencies into Mathematica? I'm looking for up-to-date price, volume, and other properties for both major coins and altcoins.
user5601's user avatar
  • 3,561
1 vote
1 answer
79 views

Creating a Tracker for a Wolfram Demonstration

I am using a Wolfram demonstration that shows Newton’s Second Law: https://demonstrations.wolfram.com/TwoMassesOnInclinedPlaneWithPulley/ I am not too familiar with creating animations and I was ...
usernew's user avatar
  • 109
0 votes
2 answers
112 views

Computing a difficult integral which is taking too long

I am trying to solve the following code: ...
Jan Eerland's user avatar
  • 1,941
3 votes
0 answers
87 views

How can I prevent ParallelTable[] from freezing?

I have spent some time trying to figure this out. I have a function that appears to be the reason my program is freezing. I am using both MemoryConstrained[] and <...
Jmeeks29ig's user avatar
  • 1,407
7 votes
1 answer
736 views

Using sockets to connect to a trading platform

I'm trying to use Binance's API. The following works: ...
anderstood's user avatar
  • 14.1k
0 votes
0 answers
268 views

How to read raw mouse data in v.7 (time-tagged relative position at highest rate and resolution)?

I would like to use the innards of an optical mouse (Microsoft BlueTrack) to sense the surface velocity of an arbitrarily-rotating sphere by feeding the x and y relative position changes (along with ...
dynamech's user avatar
3 votes
0 answers
121 views

How can I monitor the process of neutral network training?

In the Linux command line,type wolfram then use NetTrain[net, mnist, Automatic, "LossEvolutionPlot"] can get the ...
partida's user avatar
  • 6,766
1 vote
1 answer
633 views

Creating a Dynamic Time Index Slider for List Animate Plot

I am trying to create an animation using ListPlot, which has worked, but I want to be able to see how time is changing (i.e. its dynamic value) as the animation runs. Here is my normal List Plot ...
Dsmith's user avatar
  • 23
7 votes
2 answers
295 views

Can Wolfram Development Platform communicate in real time?

Is it possible for Wolfam Development Platform to use sockets or anything other for real time communication? For example, in Javascript I can use RethinkDb, Firebase, socket.io or something similar. ...
Hristo Vrigazov's user avatar
5 votes
0 answers
158 views

realtime audio processing possible? [duplicate]

I'm an improvising musician and also a sound engineer. So, I'm interested in the creative process of music as well as the science of sound. I would like to connect my guitar with an interface to my ...
Philipp's user avatar
  • 51
12 votes
1 answer
1k views

How to create a real-time dashboard in Mathematica?

I am trying to figure out how to use Mathematica as a real-time interface. I've used Excel/ODBC connection to a SQL database to use the graphing functions within to get my real-time dashboard. I ...
C Ried's user avatar
  • 381
11 votes
1 answer
920 views

Wait / sleep miliseconds

Is there any way to make Mathematica stop for some miliseconds? I know about the Pause[] but it seems it only works with seconds.
José D.'s user avatar
  • 1,125
6 votes
1 answer
466 views

How can I use Dynamic to run a script when a new file is added to a directory?

I have an external program saving files to some directory on my hard disc. I'd like to run a script that imports and runs a script on each file as it is added to the directory. Is there a simple way ...
R.Astare's user avatar
4 votes
0 answers
665 views

Retrieving Data from Excel Using NETLink / Pulling data using RTD Link

Reference: I've looked at the posting Open excel file with Mathematica. My intention is to be able to use Excel's RTD capability in order to pull market data into Mathematica. To my knowledge, this ...
user8264's user avatar
  • 141
11 votes
2 answers
2k views

Mathematica TCP socket client toward Trading Platform

I'd like to connect Mathematica with my Italian electronic trading platform. To connect I need to open a TCP socket client towards the trading platform and send a string command. The high-level ...
msalese's user avatar
  • 689
5 votes
1 answer
2k views

Excel DDE Link: reading and writing in real time

I'm wondering if it is possible to link Excel and Mathematica in real time, so that Mathematica can be used as a computing and "storage" tool. Suppose I have an Excel spreadsheet with an active DDE ...
Rod's user avatar
  • 3,298
9 votes
2 answers
1k views

Keep MathKernel Running In Background - Speed Up Execution Time

Background: I'm running Debian on a remote server with Mathematica installed. I have several dozen small mathematica files that are run in cron jobs at unpredictable intervals and updated based on a ...
William's user avatar
  • 7,565
12 votes
3 answers
1k views

Realtime audio processing using Dynamic

Can I make real time audio processing with Mathematica in the same way I can do with images using Dynamic[CurrentImage[]]. I know that is possible to use ...
Murta's user avatar
  • 26k
7 votes
1 answer
3k views

How to make a dynamic stopwatch?

For some experiments I need some basic timer function. I tried various methods, and neither of them are fully satisfactory. What I need is a button, that starts/stops a timer, resets timer with each ...
István Zachar's user avatar
12 votes
1 answer
1k views

How to generate a real-time stream of data?

I'm experimenting with Inversion-of-Control (callback) programming patterns, and I would like a way to generate streams of data at specified real-time intervals. I came up with the illustrated way to ...
Reb.Cabin's user avatar
  • 8,651
11 votes
2 answers
2k views

Creating a realtime MIDI Out

I have a live stream of notes and note velocities using SoundNote and SoundVolume. My problem is that I have no idea how to ...
J Mark Inman's user avatar