05-01-2019 10:42 AM
Hello,
At the moment I want to combine :
(1) streaming a live image via my webcam -
(2) specifying a line profile across the image and processing the profile data
When I do (1), I can use Vision Acq. to grab the image, and Vision Assistant to set a line profile, but I cannot then seem to select a different line profile when running the VI ; if I could I would be v.happy!
When I try include the line profile.vi code (that does allow for re-selecting the RoI), I do not seem able to run it real time
Any ideas on how to combine the two ?
Kind regards,
THC
05-01-2019 10:35 PM
If you attach your code, or show snippets of the code (you can create this via Edit > Create VI Snippet from Selection (I think that's the label, and you must select all your code first)), people might be able to be more helpful.
When you say "I do not seem able to run it real time" do you mean it can't be changed, or just that the processing is too slow and it makes the image stutter?
05-02-2019 05:58 AM
LabVIEW Vision is one of the more complex (and perhaps least-documented) parts of LabVIEW. If you are willing to invest the time (at least a month, less if you can find someone with Vision experience to mentor you) to learn the basics (this assumes that you already are at least a CLAD-level LabVIEW Developer, preferably CLD-capable, i.e. have at least 6 months/1 year experience), you can certainly do what you want.
You probably cannot do this directly with Vision Assistant. Express VIs are good for showing you what might be possible (and doing some simple things for you), but for anything more complex, you really need to write the IMAQ and IMAQdx routines yourself.
Bob Schor
05-02-2019 07:38 AM
Thankyou both ... I think you are right Bob ; more time invested is almost definitely the answer, and that way I would be able to do more via the individual routines - I'm sure it is possible too. It is not a priority task at the moment, but if I get to point where sharing some VIs would appear useful, I will do so.
Kind regards
THC