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.

LabVIEW Vietnam

cancel
Showing results for 
Search instead for 
Did you mean: 

Cách Reset vòng lặp While Loop

DUTA_0-1584158160875.png

Chào mn ạ, mn cho e hỏi làm sao để reset lại vòng lặp như trên để nó chạy lại v ạ. E cảm ơn ạ

0 Kudos
Message 1 of 4
(3,331 Views)

Này là file ạ

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

Chào bạn,

 

Bạn xem file đính kèm.

 

Đây chỉ là giải pháp nhanh để giải quyết vấn đề. Nếu có thời gian, bạn nên viết lại code, có thể sử dụng Máy Trạng Thái (State Machine).

 

Chúc bạn thành công.

 

Phạm Quốc Hùng

LabVIEW Training:

https://www.peritec.vn/training

 

edited_code.png

Message 3 of 4
(3,270 Views)

Bạn muốn lúc bằng nhau thì tư động reset While loop và chỉ muốn dừng lúc bấm Stop đúng ko

0 Kudos
Message 4 of 4
(2,300 Views)