07-11-2024 04:55 AM
hello, i have encountered some problems on the way of plotting psd spectrum density in matlab , as a source i used the excel file with data from labview. Time and amplitude.
The data from the graph is wrong, it shows some random freq on the plot, IDK whats wrong.
Im kind of new here with dealing FPGA labview MyRio.
and the thing is im exporting data from the Myrio 1900 ai0 connectors graph (output of opamp) to the excel file. but that excel file contains wrong data. i mean just looking at the graph chart i can see difference with scope.( i checked the output before with oscilloscope)
do smn know how to use it so it will work eventually? Because i think I need to use FIFO or smth advanced . pls i need help.
ps dont look at the empty graphs i didnt run anything yet. PLS HELP. I AM USING MSP connector. with 1 sample rate i think.
07-11-2024 06:19 AM
07-11-2024 06:25 AM
sinewavegen file in fpga.
07-11-2024 06:54 AM - edited 07-11-2024 06:54 AM
Hi as,
as2717@sussex.ac.uk wrote:
sinewavegen file in fpga.
There is no "sinewavegen" file in the archive. (Apart from that bitfile, which is just "compiled code".)
Where did you place your VI?
Why is the project still "untitled"?
07-11-2024 07:43 AM
sorryyyy
07-11-2024 07:57 AM
There are so many "moving parts" to your situation that I find it difficult to understand (without seeing all of the relevant LabVIEW code) where the problem lies. Here are the parts I know:
To provide you with meaningful help, we really need to see the entire Project, preferably saved for LabVIEW 2019 or 2021, both of which have myRIO Software Toolkits that will support the myRIO and integrate with LabVIEW Real-Time.
Bob Schor
07-11-2024 08:20 AM
1.sampling rate of sine wave generation loop is 1000 tick *25ns continuous
the acquiring channel sample rate didnt define so, it is ordinary 500ks ? yes? for Ai0 MSP connection.
number of channels are 3, sine wave input, output of sensors, and subtraction each other. i think that subtraction also need some adjustment. idk. how to do smpl rate adjustemnt between them.
2. im using typical labview fpga myrio project.
3. excel file is extracted simply from graph of input ai0.
07-11-2024 08:31 AM
Regrettably, I'm at a meeting far away from my own myRIO devices. Something seems wrong with your sine-wave generator, but I can't put my finger on it without poking around a bit, perhaps generating a very slow sinusoid and using Bob-friendly Time Units (like ms instead of Ticks).
Back to Gerd ...
Bob Schor
07-11-2024 08:50 AM
07-11-2024 09:50 AM - edited 07-11-2024 09:53 AM
ok ill try, but its too much work, are there any other method than using dma fifo?