From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
01-08-2020 07:30 AM
Hello again NI. I have a problem.
In Labview, I have constructed the "circuit" seen in the picture (file below).
The signal generator goes into a DAQ-board, and back into a graph in Labview.
However, if I try to adjust things about the signal, such as the amplitude, or frequency, or offset, there is a delay of about 5-10 seconds before I see any change on the graph.
This is very unwanted, and I therefore wanted to know if there is any way I can diminish the delay, or maybe completely remove it?
I hope someone can help me.
01-08-2020 07:41 AM
You will have to attach your VI so we can see what your settings are in those Express VIs (DAQ Assistants and Simulate Signal). But my thought is that at least one of those is taking the 5-10 seconds, preventing your loop from iterating and stopping the update.
01-08-2020 07:43 AM - edited 01-08-2020 07:43 AM
My bad. Here is my VI.
01-08-2020 07:51 AM - edited 01-08-2020 07:52 AM
Hi Brosa,
as far as I can see all ExpressVIs should execute in 100ms.
Try this:
Move the DAQAssistent reading the input signal with the chart into its own loop.
Add another chart after the SimulateSignal ExpressVI to verify the waveform creation part.
Run both loops in parallel.
How is AO0 and AI0 connected?
Btw. learning DAQmx is simple by reading this and examining the example VIs coming with LabVIEW!
01-08-2020 08:00 AM
Hi there.
I am a bit unsure of what you wanted me to do with the loops. Here is how I understood it (look at file).
Have I done what you suggested?
Also, for your second question, AO0 and AI0 is physically connected on the Data acquisition board through a BNC-cabel.
01-08-2020 08:08 AM - edited 01-08-2020 08:09 AM
01-08-2020 08:15 AM
Okay, I've done what you suggested.
I can see that the chart (or graph) connected directly to the simulation signal is immediately changing when I change the offset, frequency etc.
However, the graph connected to the DAQ still has a big delay time , and I really don't want that 😞
Is there anything else I can do?
01-08-2020 08:34 AM
01-08-2020 08:35 AM
Are you going directly from the analog out to the analog in? Is there something in between the analog out and analog in?
01-08-2020 08:39 AM
I also noticed that your signal output is send 100 samples and your DAQ Assistant2 is send 500 samples. You should make those the same.