Jump to content

Mindstormer

Members
  • Posts

    10
  • Joined

  • Last visited

    Never

Posts posted by Mindstormer

  1. QUOTE(Irene_he @ Sep 15 2007, 03:56 PM)

    Hello MindStormer,I can answer your question regarding IVision LabVIEW toolkit. It can capture images from both WDM and VFW supporting imaging devices such as USB webcam, firewire camera, DV camcorder and also TV tuner card. Yes, you can snap an image, then do imaging processing with IVision vis. Please download a demo version to try out. There are many examples that can help you to start. Besides, the price for developer license is now only $399USD with over 420 vis.Irene
    Ok thx for your reply Irene, I tried to put the snap function in a while loop, but the rate at which is snaps is rather low.Its for steering a robot and I want as little delay as possible. I want to get an image from webcam process and the as soon as processing is finished, I want to get another new image from the webcam. How is the best way to do this in Ivision?

    I tried the imaq snap function and that takes about 3 seconds to take a picture, why is this so long?how to decrease this time

    UPDATE: I used the continous function of imaq with a timeout of 10 ms and now I can track my object.

  2. QUOTE(tcplomp @ Sep 3 2007, 09:53 AM)

    That post was what I was looking for I think, Now I did it with ASP. An example of asp code that is steering labview:

    Set lvApp = CreateObject("LabVIEW.Application")

    lvapp.BringToFront

    VIPath = "c:\inetpub\wwwroot\test.vi"

    Set VI = lvApp.GetVIReference(VIPath)

    VI.FPWinOpen=True%>

    <B>OS Name is :</B> <% =lvApp.OSName%><br>

    <B>Target CPU is :</B> <% =lvApp.AppTargetCPU%><br>

    <B>OS Version is :</B> <% =lvApp.OSVersion%><br>

    <B>OS UserName is :</B> <% =lvApp.UserName%><br>

    <%Set VI = lvApp.GetVIReference(VIPath)

    Call VI.Call(ParamNames, ParamVals)%>

    Degree C: <INPUT NAME="degc" SIZE="30" VALUE="<% =ParamVals(0)%>"><P>

    Degree F: <INPUT NAME="degf" SIZE="30" VALUE="<% =ParamVals(1)%>"><P>

    <INPUT TYPE=SUBMIT VALUE="Return">

    <%set vi=nothing%>

  3. I want to live track an object with an USB webcam. Which tool do I use best. I searched this forum a lot and I come up with a lot. I installed them all but I dont know what the advantages or disadvantages are.

    Grabbing the images:

    Videocapx (uses WDM driver?)

    Imaq for usb webcams (uses ..?)

    Ivision toolkit (uses video for windows driver?)

    Writing your own dll (with help of windows wia?)

    other..

    Processing

    Vision assistance 8.0(can convert to labview vi's)

    Ivision toolkit

    other

    ...

    So what are the advantages or disadvantages?

    And how is the best method?

    Snap an Image --> process(search for object) --> snap next image ?

    thank you

  4. QUOTE(TG @ Sep 2 2007, 03:47 AM)

    I too am unqualified to chime in but your problem got me thinking.

    Is the server launchin the re-entrant Vi's?

    Reason I ask is there may be a way to get at the name of the instance if it is set up as a clone.

    Maybe that could be used to get at the status of the button. (With Vi server)

    yes the server has the clones in its memory so I know there must be a way possible. But I only dont know what way.

    But maybe I gonna fix my solution with ASP.NET.I read that it cant be coupled to labview code. And I think with ASP it is possible to find out which user pressed a button

  5. QUOTE(Ben @ Aug 31 2007, 03:42 PM)

    I don't feel that I am serving you well. :(

    In this nugget

    http://forums.ni.com/ni/board/message?board.id=170&message.id=226491#M226491' target="_blank">http://forums.ni.com/ni/board/message?boar...=226491#M226491

    I posted an example (see post #1) that shows you how to instaciate multiple instaces of a VIT.

    Sorry about the lame replies. The Q will take time to answer and doing this while working is just not possible.

    Ben

    No no I am glad someone is trying to help me. I must leave now, but I will test this after I come back, and that will be monday. I will send u my email, and then you can add me to msn messenger

  6. QUOTE(Ben @ Aug 31 2007, 12:24 PM)

    I have not played with this recently...

    I believe reeentrant instance have unique references. If you track the references from each instance this may help you.

    Another approach is to use templates (VIT) were each instance gets a unique name when opened.

    Otherwise you will have to develop you VI's to "drop their own bread crumbs" so you can follow that path back home. :rolleyes:

    Is thise the type of info you are after?

    Ben

    thanks for the reply

    The problem is that I searched in labview and on the internet how to get these reference to each instance. But I didnt found it. So you can narrow down my problem to just finding the instance reference from a clone from a reentrant vi. And then I probably can use this reference with vi server to monitor the status of the button.

    I never worked with templates so I also will look further how it works

  7. QUOTE(JFM @ Aug 31 2007, 10:59 AM)

    Can we get some more info about this application, the best would be if you could upload the VIs and/or a picture.

    It is more or less impossible to answer your question without any more information.

    /J

    Ok, First I will explain what i want to achieve

    I have a Reentrant vi and I published it with the web publishing tool. Now different clients can connect to it. To make it simple: on the vi is only a simple button. Now I want to know what the status of the button of every connected user/ip/client is. This information should be available at the server.

    I added a reentrant vi with just one button.

    thank you

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.