Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

VISION RT Imaq Video Display Out

I'm using the IMAQ Video Out Display Mode VI (http://zone.ni.com/reference/en-XX/help/370281M-01/imaqvision/imaq_video_out_display_mode/) to display images on a PXI-8110. No matter what Screen Area I choose, I seem to be getting 640x480. Any ideas on what I'm doing wrong?

 

Thanks,

Kevin

0 Kudos
Message 1 of 9
(4,049 Views)

Can you show a snippet of code showing how you are setting the video mode (and the constants you are setting it to?). Also, did you check the error output from that VI? Note that it is possible that certain refresh rates might not be supported (due to the monitor you have attached) and that might be the source of the error.

 

Eric

0 Kudos
Message 2 of 9
(4,016 Views)

Setting it to 32bits and 60Hz, and trying all of the resolutions. No error message is being returned, and the image is being displayed, but only the top left 640x480 corner of the image.

0 Kudos
Message 3 of 9
(4,014 Views)

Hi kevin.key,

 

Can you post a screenshot or the section of code where you set the video out display mode? Are the settings saved on the Video Mode Out terminal if you select Get(False) after setting the resolution?

 

DylanC

0 Kudos
Message 4 of 9
(3,997 Views)

No, we read back the resolution as 640x480 even if we had set it to 1024x768

0 Kudos
Message 5 of 9
(3,995 Views)

Here's the code, the print debug will say, "Creating Image 1" (which corresponds with 640x480)

 

IMAQ_Video_Out_Attempt.png

0 Kudos
Message 6 of 9
(3,993 Views)

Hi Kevin,

 

Have you verified it is going through the correct FPGA case? I see that you use the same Display Type as the selecter for each case in your flat sequence, but one is FPGA and the other Custom Device, do you not have a Custom Device case in the first sequence where you set he resolution so it defaults to FPGA?

 

DylanC

0 Kudos
Message 7 of 9
(3,971 Views)

Yeah, the cases that are shown might be a bit misleading, but I'm confident that I'm calling the set with the settigs intended.

0 Kudos
Message 8 of 9
(3,968 Views)

Hi kevin.key,

 

Can you wire a constant in the second case structure to the IMAQ Video Out Display Mode with the correct resolution just to make sure? Can you also change the order of VI's and call the IMAQ Video Out Display Mode before the IMAQ RT Video Out.

 

Let me know if this still doesn't work.

 

DylanC

0 Kudos
Message 9 of 9
(3,952 Views)