LabVIEW: start button XControl

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ธ.ค. 2024

ความคิดเห็น • 45

  • @samuellozadahuitzil7271
    @samuellozadahuitzil7271 8 ปีที่แล้ว

    Hey it has passed several years since the publication of this video but actually you´ve helped me a lot,

    • @LabVIEWtricks
      @LabVIEWtricks  8 ปีที่แล้ว

      +Samuel Lozada Huitzil Great!

  • @ИльяПолетаев-ч2р
    @ИльяПолетаев-ч2р 8 หลายเดือนก่อน

    Man, that was realy usefull and understandable lesson, thank you

  • @marvin117
    @marvin117 9 ปีที่แล้ว

    Thanks. It worked for me. Clear and concise.

  • @krishnadivya5236
    @krishnadivya5236 5 ปีที่แล้ว

    Hi, this videos was helpful to create the start control for the vi. Can we also create stop control in the simliar way for the complete VI. I tried it in the similar way with little changes but I failed. Could you please help me on that.

  • @jaromonkey
    @jaromonkey 10 ปีที่แล้ว

    Hi, I have a problem with your trick. I've created start button according your instruction, It starts vi as it should but seems like it takes over whole thread, within which is a slider, stop button etc. execution of vi interior is OK but i can't do anything in front pannel. Do you have idea what could be wrong?

    • @LabVIEWtricks
      @LabVIEWtricks  10 ปีที่แล้ว

      Did you see the note I added about connecting the inputs of the "Run VI" method? For some inexplicable reason, the XControl doesn't work anymore if the inputs aren't connected.

    • @chaimaakremi2054
      @chaimaakremi2054 6 ปีที่แล้ว +1

      5:47 here at the "wait until done" you should creat a constant and sit it as "false"

    • @mlfbsbnmfirnbdml
      @mlfbsbnmfirnbdml 2 ปีที่แล้ว +1

      @@chaimaakremi2054 Thank you very much, I have the same problem and your advise works for me.

    • @adrianmedina7175
      @adrianmedina7175 ปีที่แล้ว

      @chaimaakremi2054 thanks so much your advice helped me

  • @恰同学少年
    @恰同学少年 8 ปีที่แล้ว

    simple yet very useful,thx a lot!

  • @BloodstarDE
    @BloodstarDE 6 ปีที่แล้ว

    In what Situation is that useful? I guess there are much better usages for xcontrols

  • @ithinkthat6609
    @ithinkthat6609 8 ปีที่แล้ว

    Hi, thanks for your tutorial. Can you explain me why you modified the section 2 (Dispaly) of Case Structure ? I realize that your X Control works without modifying this section :)

    • @LabVIEWtricks
      @LabVIEWtricks  8 ปีที่แล้ว +1

      +IThinkThat It's just a convenience. Controls will show their label by default. This way the label is automatically hidden.

    • @ithinkthat6609
      @ithinkthat6609 8 ปีที่แล้ว

      +LabVIEW Tricks I got it, thanks a lot !

  • @gerardga1108
    @gerardga1108 8 ปีที่แล้ว

    how i get it
    ?

  • @aminrasoulof8349
    @aminrasoulof8349 11 ปีที่แล้ว +1

    Very helpful. Thanks!

  • @Asifiqbal138
    @Asifiqbal138 7 ปีที่แล้ว

    how can i open step 7 software from labview front panel?

    • @LabVIEWtricks
      @LabVIEWtricks  7 ปีที่แล้ว

      What do you mean? You have to be more specific.

    • @Asifiqbal138
      @Asifiqbal138 7 ปีที่แล้ว

      LabVIEW Tricks can I open any other applications from labview Front panel by just clicking one button like PDF file.

    • @LabVIEWtricks
      @LabVIEWtricks  7 ปีที่แล้ว

      I think so. You can always run command line scripts, if nothing else.

  • @divyang38
    @divyang38 11 ปีที่แล้ว

    can u please do it for continuous run button
    using same Xcontrol..

    • @LabVIEWtricks
      @LabVIEWtricks  11 ปีที่แล้ว +1

      Unfortunately, there's no way that I know of to access the Run Continuously button.
      If you absolutely need this functionality, the best I can think of is to have the start button start a subvi asynchronously that monitors your main vi, and have it run your vi again when it goes idle. Then you need a stop button xcontrol that stops the subvi.
      That solution is obviously very costly and quite impractical.

    • @divyang38
      @divyang38 11 ปีที่แล้ว +1

      thanks for reply..........
      anyway i m getting extra marks for my project from this start button
      thanks alot dude..
      god bless u................. :)
      if it is possible den please upload video for continuous run button.., m also thinking on dat.. if i will get some solution den i will tell u..
      keep watching all of yours video ...
      really nice work..

    • @LabVIEWtricks
      @LabVIEWtricks  11 ปีที่แล้ว

      Divyang Patel Thank you! I don't know how useful a cont. run tutorial will be, plus there are a bunch of other tutorials I want to make first. We'll have to see. If you find something out, please tell.

  • @gerardga1108
    @gerardga1108 8 ปีที่แล้ว

    hello I try to do the same for my project but I cant find XControl!!!!!!

    • @LabVIEWtricks
      @LabVIEWtricks  8 ปีที่แล้ว

      File -> New... -> Other Files -> XControl

    • @giuliarobustelli3265
      @giuliarobustelli3265 5 ปีที่แล้ว

      In Other Files i don't see XControl. Where can I find it?

  • @adrianmedina7175
    @adrianmedina7175 ปีที่แล้ว

    Thanks so much for your trick

  • @ernestorafaelzapaaviles2673
    @ernestorafaelzapaaviles2673 4 ปีที่แล้ว

    GRACIAS DE COLOMBIA

  • @randulajayaneththi6309
    @randulajayaneththi6309 3 ปีที่แล้ว

    thank you very much it really worked out

  • @hanhduc1659
    @hanhduc1659 10 ปีที่แล้ว

    thanks , you help me solve the problem with start button

  • @xovinia
    @xovinia 11 ปีที่แล้ว

    thank you was very helpful for me!

  • @alexgu8745
    @alexgu8745 3 ปีที่แล้ว

    Thank you so much

  • @natalieweissgerber
    @natalieweissgerber 10 ปีที่แล้ว

    Hi, i have the same problem encountered by juanarash1. When i press the start button, i cant press my stop button in the while loop. it works when i run it normally. any idea why this happen?

    • @LabVIEWtricks
      @LabVIEWtricks  10 ปีที่แล้ว

      Is the stop button inside the while loop?

    • @natalieweissgerber
      @natalieweissgerber 10 ปีที่แล้ว

      LabVIEW Tricks yes. In oder to stop the while loop that is why it is inside.

    • @LabVIEWtricks
      @LabVIEWtricks  10 ปีที่แล้ว +2

      Bibi Bibi Found it. The "Run VI" method requires the inputs to be wired. Right click on the connectors for "Wait Until Done" and "Auto Dispose Ref" and choose "Create" -> "Constant". Dunno if this is a new bug, haven't noticed it before.

    • @natalieweissgerber
      @natalieweissgerber 10 ปีที่แล้ว

      LabVIEW Tricks Thank you. I just tried it. It is working, when both constants are false. :) Thank you for noticing it now. :)

  • @LabVIEWtricks
    @LabVIEWtricks  11 ปีที่แล้ว

    Great! Glad I could help.

  • @juanarash1
    @juanarash1 10 ปีที่แล้ว

    I have followed your steps but get broken xcontrol!

    • @LabVIEWtricks
      @LabVIEWtricks  10 ปีที่แล้ว

      Tinkering with xcontrols easily break them, and then you have to start over. If you like, can you PM me the error message?

    • @juanarash1
      @juanarash1 10 ปีที่แล้ว

      LabVIEW Tricks I found the reason. When adding new event for the button, the wiring for Data in and Display state were not done. Any way I got new problem. In my program I have just a while loop and using start button causing that loop stop button does not work. But when running VI normally it works. Thanks alot dude. I was thinking to do it for about two weeks

    • @LabVIEWtricks
      @LabVIEWtricks  10 ปีที่แล้ว

      juanarash1 Sorry for the late answer. Did you put the stop button inside the loop?

  • @divyang38
    @divyang38 11 ปีที่แล้ว

    veryyy helpfull