LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

picture 함수에 Pixel단위로 BMP이미지를 그리는 과정에 대한 질

BMP 이미지 파일을 읽어와서 픽셀 단위로 picture 함수에 그리고 있습니다.
관련 예제는 picture.lib 안에 DrawPoint.vi를 참고 하였습니다.

 

문제가 되는 부분은 루프 시간(While())을 약 20ms 이하로 하면 picture에 그리지
못하는 부분이 발생합니다.
타이밍을 0~10ms 로 하면 점선, 10~20ms 정도로 하면 중간에 점 형태로 보입니다.

루프 시간을 최대한 짧게 줘서 빠르게 그리려고 합니다.


문제가 되는 원인과 위 방법이 아닌 다른 방법이 있으면 알려주시면 고맙겠습니다.

vi를 첨부 합니다. 결과 화면을 캡쳐 해서 넣어 놨습니다.
감사합니다.

 

혹시 picture 함수에 그리는 부분이 윈도우 os 와 관련이 있나요?

0 Kudos
Message 1 of 2
(2,283 Views)

Google translation from Korean:

 

Pixel units function as a BMP picture on the process for drawing the imagequality

BMP image files, after reading the picture in pixels and can function.
See for example, has DrawPoint.vi in picture.lib.
 
Part of the problem the loop time (While ()) to less than about 20ms to draw onthe picture
Section is not occurred.
0 ~ 10ms to the timing of the dotted line, 10 ~ 20ms as much as you look outin the middle.
You for a loop as short as possible time to try to draw quickly.

The cause of the problem other than the above method and let us know howyou would appreciate.
vi attached. Capture the screen and put the results to members.
Thank you.
 
You draw a part of the picture function is related to the Windows os do
?


 

0 Kudos
Message 2 of 2
(2,276 Views)