Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Display graph from CVS to LCD monitor

Hi Bruce,

 

(1) I did what you have suggested. Here, I attached a 'Acquiring a Signal.vi' and also the Project Explorer setup that I have done. I manage to display the graph on my LCD monitor through CVS VGA port. But the graph image only displays when I run the VI on Project Explorer. When I build and deploy the VI to CVS and set it as startup, the CVS is restarting. On the LCD monitor, it shows the CVS restarting process. After that the display becomes black. The CVS is not function as a standalone unit. I already formatted my CVS and try again the similar process, but not successful.

 

(2) I also build and deploy (and set as startup) another VI that acquire real-time continous raw image from IEEE camera and link the output of raw image to IMAQ RT Video Out. When the CVS is restarted, the real-time contious raw image is display on LCD monitor succesfully. In this case the CVS is succesfully run as a standalone unit. So I think my CVS is OK, maybe my 'Acquiring a Signal.vi' in is wrong.

 

So the question, why is my CVS fails to display the graph image (as mentioned in (1)) on monitor when the CVS run as a standalone unit?

 

Regards,

Farid

Download All
0 Kudos
Message 11 of 13
(1,082 Views)

The code looks good to me.  If it works when you run it from the project, it must be okay.

 

My best guess would be that the front panel is removed when you compile it for the CVS.  If so, you can change that in the build configuration.  If there is no front panel, there is no graph to get an image of.

 

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 12 of 13
(1,076 Views)

Hi,

 

Bruce is spot on.  When you compile this as a RT executable the front panel is lost so there is no graph to get an image of.  I guess this leaves you with the options of having an image of a blank graph (e.g. just the axis) and then using the overlay functions to draw on your lines onto your graph, you would also need to think about if you need to change your axis numbers using IMAQ VIs.  This should be possible but isn't going to be very easy.

 

Regards,

James Mc
========
Ask me about Rust & NI Hardware
My writings are at https://www.wiresmithtech.com/devs/
0 Kudos
Message 13 of 13
(1,062 Views)