08-06-2008 09:09 AM
08-06-2008 09:42 AM
08-06-2008 10:04 AM
08-07-2008 03:46 AM
Hi Mike,
I indeed use the vision toolkit. Operating from this I can grab pictures and changes parameters. However, I have totally no experience with programming in LabView. If I'm not mistaking a VI is a self-made program written in LabView. I just wondered if someone could help me with the programming or could send me a working program.
Anayway, tx for the help
08-07-2008 05:31 AM
Hi Jimmy,
If you have the vision assistant installed you should be able to perform all the operations you require in that without any need for labVIEW coding. You can then export it as a LabVIEW VI or C code.
You should find it in programs>>national instruments>>vision assistant.
If you cannot find it let me know what software and hardware you already have and I can find out if you should have recieved it. It should come with any NI Vision hardware that you may have and certain vision toolkits.
Regards,
08-07-2008 07:26 AM
Dear James,
I have the vision assistant 8.5 installed. At first sight, this indeed allows me to make acquisitions, although I have not figgered out how I can change the intervaltime. I will first get familiar with the program by reading the manual.
How can I export it as a LabView VI, or what's the idea behind exporting it?
Thank you very much for the information.
08-07-2008
09:01 AM
- last edited on
04-01-2025
09:18 AM
by
Content Cleaner
You really need to spend some time going through the tutorials and reading the LabVIEW Help. Somebody sending you a working program will do you no good since you are bound to need to make changes, and you won't know what to do!
@jimmy-b wrote:
Hi Mike,
However, I have totally no experience with programming in LabView. If I'm not mistaking a VI is a self-made program written in LabView. I just wondered if someone could help me with the programming or could send me a working program.
08-07-2008 10:07 AM
Hi Again Jimmy,
I have been having a bit of a play and realised that you can only process images in the stand alone Vision Assistant. You can acquire images manually to process but cannot use it to generate code to acquire as well. Thankfully this is also straight forward using an vision acquisition express VI. Express VIs mean that you configure them in a pop up box without the need for much coding.
For your particular problem in terms of setting a delay you will need to start by using the express VI to perform a finite acquistion with inline processing. This will place the VI inside of a for loop that will allow it to snap images over and over and will also automatically put the items you need on your front panel. You can control how often this while loop iterates using timing and this will control how often it will request an image from the camera. You can do this by dropping a time delay express VI or a wait VI any where in the loop. If you use the time delay express VI then it will give you a pop up to enter the time delay. If you use the wait VI then you will have to use a numeric constant or control and wire it to the input of the VI. This constant should contain the time delay in milliseconds that you require.
In terms of saving the files the example code already posted is good but you will be saving images so if you go to your vision pallete and go to vision utilities>>files there is a VI to save to the usual image file formats. Im not sure if you've found context help yet but if not pressing ctrl+h will bring up a window that means if you hover over the VIs it will show you what needs wiring where.
I hope this helps and apologies for the previous misunderstand. Best of luck!
09-15-2008 01:56 AM
Hi everyone,
I would like to use my Powershot A650 IS digital camera to take photos automatically. However I have no idea how I can communicate with it using Labview 8.5 (or 8.6) with XP. I would know the how to do the looping and so on, but not how to communicate with the camera.
Even just a little help would be great,
Best regards,
Marc
09-19-2008
05:16 AM
- last edited on
04-01-2025
09:19 AM
by
Content Cleaner
Marc
If you're camera has Directshow support you can communicate with it using the NI-IMAQ for USB cameras.