MoonNote

반응형

Your LabVIEW program has multiple While Loops running in parallel. Each of these loops must wait until a common resource is available before starting a new iteration.

 

Which of the following mechanisms can you use to ensure that the loop iterations always start at the same time?

 

1. Global variable

2. Local variable

3. Reading from a file

4. Rendezvous VIs


정답 보기는 아래 더보기 클릭

 

 

더보기

정답 : 4. Rendezvous VIs

병렬 루프가 실행 중일 때 각 Loop들은 새로운 Iteration 실행 전 공통 resource를 기다릴 수 있어야한다고 언급하고 있다. Loop iteration을 동시에 시작하도록 하는 mechanism을 물어보는 문제로 동기화와 관련된 옵션을 찾으면 되겠다.

변수의 경우 동기화가 되지 않기에 1. Global Variable, 2. Local Variable은 정답에서 제외, 파일 읽기 동작 또한 같은 리소스를 사용하여 데이터를 읽는다고하여도 동시에 시작할 수 있는 기능이 없기에 3. Reading from a file도 제외된다. 따라서, 동기화와 관련된 옵션을 찾으면 랑데부 옵션인 4. Rendezvous VIs이 정답이다.

 

 

 

 

 

 

 

 

 

 

 

※ 이 글이 도움이 되었다면 "👆🏻구독"과 "🤍공감" 버튼을 클릭해주세요. 클릭 한번이 글 쓰는데 큰 힘이 됩니다.

공유하기

facebook twitter kakaoTalk kakaostory naver band