08-06-2015 09:45 PM
Hi Guys. I used timed loop, is it my current sampling frequency from Figure 1 is 10kHz? if I want to change for example to 2.5kHz, should I just change 100 constant to 400?
Thank you.
08-07-2015 01:06 AM
08-07-2015 01:28 AM
Hi Mike,
NI myRIO-1900. I am using Audio in and Audio out jack plugs.
08-07-2015 07:15 AM
08-07-2015 10:35 AM
Hi Mike,
How I can make loudspeaker and microphone work before the loop starts when they are inside the loop? Can you suggest the way, because I didn't understand why we need that and how it can be changed.
Thank you Mike.
08-07-2015 10:44 AM
08-07-2015 10:42 PM
There is no option to open front panel, only this options
08-08-2015 07:12 AM
@mikeporter wrote:
Then, yes you are correct, but you have a problem in the form of those two express VIs. The way the code is written, the analog input and analog outptput tasks will be opened and closed with every iteration.
Sorry Mike, but that is wrong. We are dealing with a myRIO here, which behaves exactly the same as a cRIO. The IO is directly off of an FPGA. There is no task to open and close.
Though, I would question the actual sample rate. If the scan engine is being used, then the channels are actually sampled more like 100Hz. Please attach your entire project (put it into a zip file first) so we can get a little more insight to how things are set up.
08-08-2015 08:07 AM
Hi Crossrulz,
This is a full program that I use. Active Noise Control with FxLMS. Together with code I attached picture (set up of hardware)
Thank you
08-08-2015 08:42 AM
The important information I was looking for is in the project file. You failed to include that.