02-01-2010 08:00 AM
Hi guys,
first off: Sorry if my question is dumb or anything, I've been browsing through many threads and still haven't found a solution to my problem (been using labview for a few days now, and once a few years back)...
At the moment I am writing a piece of code to control my cooled CCD camera and take pictures with it, which are then viewed in an intensity graph (+ optionally safe them)... Now to be able to easily compare several pictures, I'd need every intensity graph shown in a new window (each with the save option as well...)
So far, I didn't get further than having one new front panel from a subVI which is updated with every picture.
Any help will be greatly appreciated..
Thanks
Solved! Go to Solution.
02-01-2010 08:17 AM - edited 02-01-2010 08:23 AM
Would it work for you to save the intensity graph to file?
02-01-2010 08:17 AM
Hi,
I´m not sure if this is what you want.
If you want to have more instances of the same (VI-) executable you can add the following line to the .ini file of the application:
AllowMultipleInstances=On
02-01-2010 08:27 AM
Simple solution:
Use n Intensity graphs and n Buttons.
More complex solutions:
* Use a reentrant SubVI
* Use a XControl
Felix
02-01-2010 08:28 AM - edited 02-01-2010 08:31 AM
Thanks for the input so far...
@vt92: I will write the intensity file to a JPEG and a textfile anyway (optional, if picture is worth saving 😉 ) but I also need to be able to quantitatively compare the images via the cursor to view intensities of the pixels of interest, otherwise it would be much easier, I know 😉
@andi: The problem is that I want to have my main VI call the same sub VI multiple times (each time I take a picture) and have each subVI's front panel individually instead of only having the latest image in the front panel...
@Felix: simple solution is somewhat unpratical... Have never worked with XControl, but I will take a look at it 🙂
Hope that clarifies what I want to do 😉
02-01-2010 08:29 AM
Hawkchen wrote:
At the moment I am writing a piece of code to control my cooled CCD camera and take pictures with it, which are then viewed in an intensity graph (+ optionally safe them)... Now to be able to easily compare several pictures, I'd need every intensity graph shown in a new window (each with the save option as well...)
So far, I didn't get further than having one new front panel from a subVI which is updated with every picture.
Probably VI templates is what you looking for.
See example in <LabVIEW>\examples\general\controls\subpanel.llb\Subpanel Templates.vi
Andrey.
02-01-2010 08:39 AM
You have to set your VI to reentrant and call it using VI server. This is the code I use.
02-01-2010 10:10 AM
Thank you so much, elset, that was exactly what I was looking for, wouldn't have made it without the picture, so thanks a lot 🙂