01-30-2025 03:23 AM
Hi,
Just a small thing.
When stop the VI from main stop button in the toolbar, it stop normally, but when I stop it from the stop button of the while loop, I got this message:
Should I do producer/consumer blocks? Or there is another way? Or it doesn't matter at all?
Thanks
01-30-2025 03:42 AM
Hi Alhaheeb,
@alhabeeb wrote:
When stop the VI from main stop button in the toolbar, it stop normally, but when I stop it from the stop button of the while loop, …
When you use the "stop" button in the toolbar then you DON'T stop the VI "normally", but you ABORT it prematurely. (Using the ABORT button in the toolbar is like using a tree to stop your car!)
When you use a stop button on your frontpanel to set a loop condition to stop the loop then you use standard DATAFLOW.
@alhabeeb wrote:
I got this message: error -200279
Should I do producer/consumer blocks? Or there is another way? Or it doesn't matter at all?
Every error "matters"!
01-30-2025 08:11 AM
The error in the close file.
01-30-2025 08:14 AM
Hi alhaheeb,
@alhabeeb wrote:
The error in the close file.
No, error -200279 does NOT come from FileClose!
The error originates from using a 100ms wait function in a loop, where the iteration time should be controlled by DAQmx…
02-06-2025 03:51 AM
Dear @ GerdW
I want to scale m_sec and m_prim from the outside constant. Is it possible? because the formula is (data-0.004)/16.
Alos, I would like to have a chart for m_sec , m_prim and ER.
Thanks
Alhabeeb
02-06-2025 04:24 AM
Hi alhabeeb,
@alhabeeb wrote:I want to scale m_sec and m_prim from the outside constant. Is it possible? because the formula is (data-0.004)/16.
Yes, that's possible!
(data - 0.004) / 16
= data/16 - 0.004/16
= 0.0625 * data + (-0.00025)
Simple math…
02-06-2025 05:10 AM
OK
thanks