12-27-2017 05:41 AM
HI, I have a problem, in spanish:
Ahora mismo el DAQ assistant 5 solo me dibuja la gráfica cuando en el DAQAssistant 2 se ha cumplido la condición de stop( es decir, el while loop se detiene).
Yo quiero que el DAQ assistant 2 se pare cuando la condición booleana previa se cumpla, y quiero que el DAQ assistant 5 empiece a graficar antes de que la condición booloeana del DAQ Assistant 2 se haya cumplido ( si pongo un False a la condición de stop del while loop del daq assistanat 2, el DAQ 5 nunca graficaria). Por ahora no me lo hace y ya no sé que hacer!!!!!!!
I have the following VI:
Thanks in advance.
12-27-2017 06:19 AM - edited 12-27-2017 06:20 AM
Hi aitor,
aren't you able to use a translation service like I do? Please post English messages in the English board!
Right now the DAQ assistant 5 only draws me the graph when in the DAQAssistant 2 the stop condition has been fulfilled (that is, the while loop stops).
I want the DAQ assistant 2 to stop when the previous Boolean condition is met, and I want the DAQ assistant 5 to start plotting before the Booloean condition of the DAQ Assistant 2 has been met (if I put a False to the stop condition of the while loop of daq assistanat 2, the DAQ 5 would never graph). For now I do not do it and I do not know what to do !
The bad thing about images is: we cannot debug them using LabVIEW!
The bad thing about ExpressVIs is: we cannot check their settings just from an image of the block diagram!
Attach your VI when you need substantial help!
My glassball says: your DAQAssistents (try to) use the very same device - and fail. Additionally you failed in implementing error handling…
Btw. you should rather learn about better VI design then try to "improve" that VI. Using all those local variables is a bad sign as well as lots of stacked loops inside endlessly running loops…
12-27-2017 06:23 AM
OK, sorry, here is the VI attached
12-27-2017
06:27 AM
- last edited on
11-26-2024
06:11 PM
by
Content Cleaner
Hi aitor,
like my glassball said: You CANNOT access the very same hardware with seperate DAQAssistent VIs!
Hints:
- Learn DAQmx basics and stay away from ExpressVIs like DAQAssistent!
- Go through all those example VIs coming with LabVIEW to learn how to read/write multiple DAQmx channels…