LabVIEW: using NaN in a graph
2:08
10 жыл бұрын
LabVIEW: a note about memory leaks
3:08
Extending LabVIEW: arrays
7:15
10 жыл бұрын
Extending LabVIEW: Unicode strings
3:09
Extending LabVIEW: string conversion
6:54
LabVIEW: arrays are expensive
5:35
11 жыл бұрын
LabVIEW: making a Koch curve
4:55
11 жыл бұрын
LabVIEW: start button XControl
6:58
11 жыл бұрын
LabVIEW: user event singleton
7:42
11 жыл бұрын
Пікірлер
@ИльяПолетаев-ч2р
@ИльяПолетаев-ч2р 8 ай бұрын
Man, that was realy usefull and understandable lesson, thank you
@adrianmedina7175
@adrianmedina7175 Жыл бұрын
Thanks so much for your trick
@chudchadanstud
@chudchadanstud 2 жыл бұрын
You can use malleable VIs to change type precedence. If your class has a property called Name and a completely different class also has a property called Name. You can use a malleable vi to create 1 method/vi that works for accessing both. It doesn't matter which class the mVI belongs too.
@negibobbyji
@negibobbyji 2 жыл бұрын
it was simple?
@chudchadanstud
@chudchadanstud 2 жыл бұрын
What a great channel. It would be great if you could continue these type of blog style videos documenting the little stuff. 99% of the time I just end up using a dotNET control or Win32 dll instead of XControl.
@alexgu8745
@alexgu8745 3 жыл бұрын
Thank you so much
@randulajayaneththi6309
@randulajayaneththi6309 3 жыл бұрын
thank you very much it really worked out
@hemanthkumar-dk6rg
@hemanthkumar-dk6rg 3 жыл бұрын
i want vice versa like create dll in labView and that dll can use in visual studio or qt can u help it
@birdost4872
@birdost4872 4 жыл бұрын
why did you delete your rest of videos ? I remember there was more videos in this channel.
@LabVIEWtricks
@LabVIEWtricks 4 жыл бұрын
From what I can see, all the videos I've created are there.
@nguyenvanviet1264
@nguyenvanviet1264 4 жыл бұрын
I don''t know "#include <Windows.h>" & "#include <extcode.h>". Can you explain help me?
@LabVIEWtricks
@LabVIEWtricks 4 жыл бұрын
It's explained in the video. If you need help with Windows C programming, you will have to look elsewhere.
@ernestorafaelzapaaviles2673
@ernestorafaelzapaaviles2673 4 жыл бұрын
GRACIAS DE COLOMBIA
@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.
@tomadams7302
@tomadams7302 5 жыл бұрын
Khaya is trying to cheat tehehe
@Shameful46
@Shameful46 5 жыл бұрын
Can't trust the media these days.
@huuduoc1908
@huuduoc1908 6 жыл бұрын
could you tell me what is extcode.h sir? thank you!!!
@LabVIEWtricks
@LabVIEWtricks 6 жыл бұрын
It contains all declarations for the LabVIEW API.
@huuduoc1908
@huuduoc1908 6 жыл бұрын
really helpfull, i appreciate for your tutorial!
@fadecto
@fadecto 6 жыл бұрын
Thanks for this introduction into the actor framework. If you are familiar with the QMH design pattern and object oriented programming in LabVIEW then the actor framework is the next step to go.The actor framework has certain disadvantages compared to 'traditional' LabVIEW programming, especially the number of files (libraries, VIs, classes) that are created. However if your project has a certain complexity, especially when it is useful to run many independent threads, then the actor framework should definately be considered as a starting point for your project.
@BloodstarDE
@BloodstarDE 6 жыл бұрын
In what Situation is that useful? I guess there are much better usages for xcontrols
@waqarsattar8716
@waqarsattar8716 6 жыл бұрын
Hi, can you make a tutorial about bluetooth interfacing or connection in LabView ? For general purposes like switching something on or off... would e big help... Thanks.
@waqarsattar8716
@waqarsattar8716 6 жыл бұрын
Interfaced with arduino ?
@LabVIEWtricks
@LabVIEWtricks 6 жыл бұрын
I'm barely using LabVIEW anymore, and Bluetooth functionality seems to depend quite much on the device. Plus I get the impression that Bluetooth functions in LV are not very mature. The forums are you're best bet, sorry.
@SlowJUng
@SlowJUng 7 жыл бұрын
In Windows 10(x64), LabVIEW 2016(x64), Microsoft Visual Studio 2017 Community(x64), it worked well. Thanks for your excellent explanation!
@huuduoc1908
@huuduoc1908 6 жыл бұрын
do you have file install labview 2016 x64 sir?
@Narki1995
@Narki1995 7 жыл бұрын
wowwwwwwwwwwww, this is so cool!, I immediately subscribed.
@chun1650
@chun1650 7 жыл бұрын
대단하십니다.
@LabVIEWtricks
@LabVIEWtricks 7 жыл бұрын
감사합니다.
@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.
@hburd7627
@hburd7627 7 жыл бұрын
When I drag and drop the KV OPEN on the block diagram labview cannot find the KV Store.dll. Iven if O point to it, still it keeps asking....How to solve this problem?
@LabVIEWtricks
@LabVIEWtricks 7 жыл бұрын
I don't get this error. From where are you dropping it? What LabVIEW version are you using? I do get another error however. Seems I've missed to include "Error Base" and "Error Create" VIs in the build, which should generate some complaints if you install the package and drop from the toolbox.
@hburd7627
@hburd7627 7 жыл бұрын
I am using 2015 version. Also, there is problems with the DLL. When you drag and drop from the tool pallet it cannot find the KVstore.dll. I remember that I fixed that problem, but after that when the DLL is executed there is an error coming from this dll that I could not figure out how to solve.
@LabVIEWtricks
@LabVIEWtricks 7 жыл бұрын
Did you install the toolset from the included compiled package (.vip)? Or did you build your own version? Have you tried dropping the VIs from the included lvlib file?
@einis92
@einis92 7 жыл бұрын
Thanks!
@gerardga1108
@gerardga1108 8 жыл бұрын
how i get it ?
@kaoote
@kaoote 8 жыл бұрын
Hi there, thanks for the video. It is very informative. Just a little notice, there is also another way than to close labview to see running vis which front panels are closed. If you open the front panel, view - see clone reeantrants and there all reentrant vis are listed.
@LabVIEWtricks
@LabVIEWtricks 8 жыл бұрын
Wow, I completely missed that. I presume you mean the "Browse Relationships" menu item. Still, it seems a bit clumsy to me, since you still need to know what you're looking for. Thanks for the tip.
@kaoote
@kaoote 8 жыл бұрын
+LabVIEW Tricks yes, exactly. And yes, it is clumsy, but sometimes when you have everything prepared with your probes inside the clones then its sometimes easier to have look there, instead of reopening the project, that is as well very clumsy! There was once a project in labview with which you were able to see all the clones running....
@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?
@death8714
@death8714 8 жыл бұрын
A more swedish movie has never been made. Holy crap the accent is strong :p Thanks for the video though :)
@恰同学少年
@恰同学少年 8 жыл бұрын
simple yet very useful,thx a lot!
@SartiAyman
@SartiAyman 8 жыл бұрын
I Did exactly the same but while building main.c they show me an error message and it's killing me please help me ! the messae "c:\program files ational instruments\labview 2014\cintools\fundtypes.h(452): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory"
@SartiAyman
@SartiAyman 8 жыл бұрын
+ayman sarti I did solve the problem of that message but when i imported it to labview the same message box appear telling me that the dll i ve created is a 64 bit dll !!
@LabVIEWtricks
@LabVIEWtricks 8 жыл бұрын
+ayman sarti Hard to say off hand. So are you using 32 bit LabVIEW? Is your version of VS setting 64 bit by default?
@SartiAyman
@SartiAyman 8 жыл бұрын
+LabVIEW Tricks thank you for your answer.Well actually I am using a 2010 VS setting 32 bit by default and a 2014 64 bit Labview
@odourpreventer
@odourpreventer 8 жыл бұрын
+ayman sarti 64 bit LabVIEW should only accept 64 bit DLLs. Did you make it 64 bit and LabVIEW still complained?
@SartiAyman
@SartiAyman 8 жыл бұрын
+LM Yes that is exaclty what I did, and I didn't understand where this problem come from. The message that they gave me is : "The library selected is not valid for current platform. for example, you are running 64-bit Labview and the library might be a 32-bit library"
@dutubeberg
@dutubeberg 8 жыл бұрын
Good but I have a VB.net dll that I want to use. Any help for that? Thanks
@LabVIEWtricks
@LabVIEWtricks 8 жыл бұрын
+Donald Kallberg No idea. My best guess is to create a C++ DLL that calls your VB DLL, then call the C++ DLL from LabVIEW. Just use 'extern "C"' for your C++ functions.
@dutubeberg
@dutubeberg 8 жыл бұрын
+LabVIEW Tricks ; I figured it out. you have to use the constructor node in conjunction with invoke node to use dlls that are dot net.
@LabVIEWtricks
@LabVIEWtricks 8 жыл бұрын
+Donald Kallberg Interesting. Which constructor did you select? I looked through the list, but did not see which one to choose.
@dutubeberg
@dutubeberg 8 жыл бұрын
+LabVIEW Tricks ; Since we are dealing with .net dll's, under connectivity select .net and you will find one constructor. Click on it. You will have to browse for your dll (it has to be located in the project folder). Then you can select the part of the dll you want. Note, I originally made my dll using modules. that didn't work. Labview said no constructors found. I stumbled around looking for explanations, I finally wrote my dll as a CLASS. It worked. I don't know why. Also, the framework version has to match. At this point you should be at the part where it generates the invoke node. The crucial part to understand next is that the ref of constructor node has to connect to the invoke node ref. It took me a long time before I found that out.
@LabVIEWtricks
@LabVIEWtricks 8 жыл бұрын
+Donald Kallberg Cool, nice trick.
@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 жыл бұрын
+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 !
@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!
@marvin117
@marvin117 9 жыл бұрын
Thanks. It worked for me. Clear and concise.
@YenseaPM
@YenseaPM 9 жыл бұрын
Thanks a lot for the video. it helped a lot :)
@Abofaliha
@Abofaliha 9 жыл бұрын
is that possible in labview 8?
@LabVIEWtricks
@LabVIEWtricks 9 жыл бұрын
+Abofaliha I don't know.
@varaprasath05
@varaprasath05 9 жыл бұрын
Thanks works great :)
@JWTrexler2011
@JWTrexler2011 9 жыл бұрын
I am using Windows 8, LabVIEW 2014, and Microsoft Visual Studio 2013 and found that I had to leave out "#include Windows.h". Visual Studio gave me an error message during BUILDing to the effect that I was trying to use a version of Windows.h that was compatable with C++ and was not compatible with the .C ddl I was attempting to BUILD. Upon leaving out the line comprising "include Windows.h", everything followed the steps as outlined and successfully linked with LabVIEW.
@LabVIEWtricks
@LabVIEWtricks 9 жыл бұрын
Jack Trexler OK, good to know.
@sergeibauer4765
@sergeibauer4765 9 жыл бұрын
I had the same Issue but I tracked down the location of the files and once the paths are added to the property>VC++ Directories the DLL would build fine! Thanks for the awesome Tutorial! Help: stackoverflow.com/questions/15053337/fatal-error-lnk1104-cannot-open-file-kernel32-lib
@zoldikbillel4185
@zoldikbillel4185 9 жыл бұрын
thank you << great great :^)--------j-----------K
@祁宏钢
@祁宏钢 9 жыл бұрын
Thank you very much , it's good!
@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 жыл бұрын
5:47 here at the "wait until done" you should creat a constant and sit it as "false"
@mlfbsbnmfirnbdml
@mlfbsbnmfirnbdml 2 жыл бұрын
@@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
@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 жыл бұрын
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. :)
@hanhduc1659
@hanhduc1659 10 жыл бұрын
thanks , you help me solve the problem with start button
@sakthimurugans2592
@sakthimurugans2592 10 жыл бұрын
Excellent explanation....!! Very helpful for understanding the use of V C++ created dll in LabVIEW..
@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?
@gadeloo
@gadeloo 11 жыл бұрын
awesome, thx you for put this up!
@aminrasoulof8349
@aminrasoulof8349 11 жыл бұрын
Very helpful. Thanks!
@divyang38
@divyang38 11 жыл бұрын
veryyy helpfull
@divyang38
@divyang38 11 жыл бұрын
can u please do it for continuous run button using same Xcontrol..
@LabVIEWtricks
@LabVIEWtricks 11 жыл бұрын
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 жыл бұрын
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.
@rogersaele
@rogersaele 11 жыл бұрын
Oddly enough it only happens with the singleton.