LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Start of waveform

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:

 

 

Captura.JPG

 

Thanks in advance.

0 Kudos
Message 1 of 4
(2,728 Views)

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…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(2,716 Views)

OK, sorry, here is the VI attached

0 Kudos
Message 3 of 4
(2,711 Views)

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…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(2,706 Views)