LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ user palette not updating outside video loop

I'm trying to implement a program with a separate video loop and am having issues with changing the user palette. I'm not sure right now, but I think it might be because I'm changing it in another non-video dedicated loop. Does LabVIEW have a problem with copying an image from an IMAQ buffer and trying to simultaneously change the user palette for an image control? My initial guess would be no, but then I don't think I'd be having this problem. Here's a little example of what I mean. Off-line, you can change the image palette to any of the default palettes, but trying to change to the custom user palettes (which do work under any other circumstances) while running video and it does nothing.

Any ideas as to why the property nodes aren't working?
0 Kudos
Message 1 of 2
(2,592 Views)
dear lanmat,
 
    I may need some clarification on what your application is, and what is not behaving as expected.  I'm assuming that by "separate video loop" you mean that there's a secondary loop in your program acquiring video.  What kind of video is it acquiring?  I also am assuming that your user palette is not being used to effect the video, but another image display entirely, is that correct?  I can see some of these in your program, but I want to be sure.
    LabVIEW should have no trouble copying from a buffer while changing the image control.  Are they for different images or the same image?  Also, you say that "off-line" you can change the image palette to any of the defaults -- what do you mean by off-line?  Any more specifics you can give me as to your application and what exactly is going wrong would be helpful, thank you.
 
-Allison S.
Applications Engineering
-Allison S.
Calibration Services
Product Support Engineer
0 Kudos
Message 2 of 2
(2,582 Views)