LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Camera and Thermocouple simultaneous acquisition

You can just drag and drop the code from the snap.vi into your temp logger.vi.  Take a look at what I did.  As far as saving your images goes, take a look at another example appropriately titled "snap and save to file.vi".  There are many options to creating a file reader but I would suggest you try to write a VI that reads in those two files and then presents a graph of the temperature array.  You can use a cursor in the graph to move through the temperature history, and by reading the cursor location with a property node, update the picture control with the appropriate image that was taken at that time/temperature.  

 

See what you can come up with for the reader but remember that you will have two files representing two arrays of data that are essentially time-synced to each other.  You can index both arrays with the same index and get temperature and the image that was take at that temperature.

Logr2.png

 

EDIT:  ALso note what I did with the Image capture code.  I put the initializing code BEFORE the loop and the closing code AFTER the loop.  This avoids the poor choice of opening and closing resources in every loop iteration like the nasty Assistants and Express VIs do.

Also note I have no hardware to test anything so this code might not even work. Smiley Tongue

LabVIEW Programming : 2015 Pro Dev / NI Vision
Message 11 of 11
(81 Views)