Questions tagged [real-time]
The real-time tag has no usage guidance.
26
questions
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 ...
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:
...
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 ...
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 ...
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 ...
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.
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 ...
0
votes
2
answers
112
views
Computing a difficult integral which is taking too long
I am trying to solve the following code:
...
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 <...
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:
...
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 ...
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 ...
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 ...
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. ...
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 ...
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 ...
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.
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...