Man, that was realy usefull and understandable lesson, thank you
@adrianmedina7175 Жыл бұрын
Thanks so much for your trick
@chudchadanstud2 жыл бұрын
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.
@negibobbyji2 жыл бұрын
it was simple?
@chudchadanstud2 жыл бұрын
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.
@alexgu87453 жыл бұрын
Thank you so much
@randulajayaneththi63093 жыл бұрын
thank you very much it really worked out
@hemanthkumar-dk6rg3 жыл бұрын
i want vice versa like create dll in labView and that dll can use in visual studio or qt can u help it
@birdost48724 жыл бұрын
why did you delete your rest of videos ? I remember there was more videos in this channel.
@LabVIEWtricks4 жыл бұрын
From what I can see, all the videos I've created are there.
@nguyenvanviet12644 жыл бұрын
I don''t know "#include <Windows.h>" & "#include <extcode.h>". Can you explain help me?
@LabVIEWtricks4 жыл бұрын
It's explained in the video. If you need help with Windows C programming, you will have to look elsewhere.
@ernestorafaelzapaaviles26734 жыл бұрын
GRACIAS DE COLOMBIA
@krishnadivya52365 жыл бұрын
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.
@tomadams73025 жыл бұрын
Khaya is trying to cheat tehehe
@Shameful465 жыл бұрын
Can't trust the media these days.
@huuduoc19086 жыл бұрын
could you tell me what is extcode.h sir? thank you!!!
@LabVIEWtricks6 жыл бұрын
It contains all declarations for the LabVIEW API.
@huuduoc19086 жыл бұрын
really helpfull, i appreciate for your tutorial!
@fadecto6 жыл бұрын
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.
@BloodstarDE6 жыл бұрын
In what Situation is that useful? I guess there are much better usages for xcontrols
@waqarsattar87166 жыл бұрын
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.
@waqarsattar87166 жыл бұрын
Interfaced with arduino ?
@LabVIEWtricks6 жыл бұрын
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.
@SlowJUng7 жыл бұрын
In Windows 10(x64), LabVIEW 2016(x64), Microsoft Visual Studio 2017 Community(x64), it worked well. Thanks for your excellent explanation!
@huuduoc19086 жыл бұрын
do you have file install labview 2016 x64 sir?
@Narki19957 жыл бұрын
wowwwwwwwwwwww, this is so cool!, I immediately subscribed.
@chun16507 жыл бұрын
대단하십니다.
@LabVIEWtricks7 жыл бұрын
감사합니다.
@Asifiqbal1387 жыл бұрын
how can i open step 7 software from labview front panel?
@LabVIEWtricks7 жыл бұрын
What do you mean? You have to be more specific.
@Asifiqbal1387 жыл бұрын
LabVIEW Tricks can I open any other applications from labview Front panel by just clicking one button like PDF file.
@LabVIEWtricks7 жыл бұрын
I think so. You can always run command line scripts, if nothing else.
@hburd76277 жыл бұрын
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?
@LabVIEWtricks7 жыл бұрын
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.
@hburd76277 жыл бұрын
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.
@LabVIEWtricks7 жыл бұрын
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?
@einis927 жыл бұрын
Thanks!
@gerardga11088 жыл бұрын
how i get it ?
@kaoote8 жыл бұрын
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.
@LabVIEWtricks8 жыл бұрын
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.
@kaoote8 жыл бұрын
+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....
@gerardga11088 жыл бұрын
hello I try to do the same for my project but I cant find XControl!!!!!!
@LabVIEWtricks8 жыл бұрын
File -> New... -> Other Files -> XControl
@giuliarobustelli32655 жыл бұрын
In Other Files i don't see XControl. Where can I find it?
@death87148 жыл бұрын
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!
@SartiAyman8 жыл бұрын
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"
@SartiAyman8 жыл бұрын
+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 !!
@LabVIEWtricks8 жыл бұрын
+ayman sarti Hard to say off hand. So are you using 32 bit LabVIEW? Is your version of VS setting 64 bit by default?
@SartiAyman8 жыл бұрын
+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
@odourpreventer8 жыл бұрын
+ayman sarti 64 bit LabVIEW should only accept 64 bit DLLs. Did you make it 64 bit and LabVIEW still complained?
@SartiAyman8 жыл бұрын
+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"
@dutubeberg8 жыл бұрын
Good but I have a VB.net dll that I want to use. Any help for that? Thanks
@LabVIEWtricks8 жыл бұрын
+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.
@dutubeberg8 жыл бұрын
+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.
@LabVIEWtricks8 жыл бұрын
+Donald Kallberg Interesting. Which constructor did you select? I looked through the list, but did not see which one to choose.
@dutubeberg8 жыл бұрын
+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.
@LabVIEWtricks8 жыл бұрын
+Donald Kallberg Cool, nice trick.
@ithinkthat66098 жыл бұрын
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 :)
@LabVIEWtricks8 жыл бұрын
+IThinkThat It's just a convenience. Controls will show their label by default. This way the label is automatically hidden.
@ithinkthat66098 жыл бұрын
+LabVIEW Tricks I got it, thanks a lot !
@samuellozadahuitzil72718 жыл бұрын
Hey it has passed several years since the publication of this video but actually you´ve helped me a lot,
@LabVIEWtricks8 жыл бұрын
+Samuel Lozada Huitzil Great!
@marvin1179 жыл бұрын
Thanks. It worked for me. Clear and concise.
@YenseaPM9 жыл бұрын
Thanks a lot for the video. it helped a lot :)
@Abofaliha9 жыл бұрын
is that possible in labview 8?
@LabVIEWtricks9 жыл бұрын
+Abofaliha I don't know.
@varaprasath059 жыл бұрын
Thanks works great :)
@JWTrexler20119 жыл бұрын
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.
@LabVIEWtricks9 жыл бұрын
Jack Trexler OK, good to know.
@sergeibauer47659 жыл бұрын
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
@zoldikbillel41859 жыл бұрын
thank you << great great :^)--------j-----------K
@祁宏钢9 жыл бұрын
Thank you very much , it's good!
@jaromonkey10 жыл бұрын
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?
@LabVIEWtricks10 жыл бұрын
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.
@chaimaakremi20546 жыл бұрын
5:47 here at the "wait until done" you should creat a constant and sit it as "false"
@mlfbsbnmfirnbdml2 жыл бұрын
@@chaimaakremi2054 Thank you very much, I have the same problem and your advise works for me.
@adrianmedina7175 Жыл бұрын
@chaimaakremi2054 thanks so much your advice helped me
@natalieweissgerber10 жыл бұрын
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?
@LabVIEWtricks10 жыл бұрын
Is the stop button inside the while loop?
@natalieweissgerber10 жыл бұрын
LabVIEW Tricks yes. In oder to stop the while loop that is why it is inside.
@LabVIEWtricks10 жыл бұрын
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.
@natalieweissgerber10 жыл бұрын
LabVIEW Tricks Thank you. I just tried it. It is working, when both constants are false. :) Thank you for noticing it now. :)
@hanhduc165910 жыл бұрын
thanks , you help me solve the problem with start button
@sakthimurugans259210 жыл бұрын
Excellent explanation....!! Very helpful for understanding the use of V C++ created dll in LabVIEW..
@juanarash110 жыл бұрын
I have followed your steps but get broken xcontrol!
@LabVIEWtricks10 жыл бұрын
Tinkering with xcontrols easily break them, and then you have to start over. If you like, can you PM me the error message?
@juanarash110 жыл бұрын
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
@LabVIEWtricks10 жыл бұрын
juanarash1 Sorry for the late answer. Did you put the stop button inside the loop?
@gadeloo11 жыл бұрын
awesome, thx you for put this up!
@aminrasoulof834911 жыл бұрын
Very helpful. Thanks!
@divyang3811 жыл бұрын
veryyy helpfull
@divyang3811 жыл бұрын
can u please do it for continuous run button using same Xcontrol..
@LabVIEWtricks11 жыл бұрын
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.
@divyang3811 жыл бұрын
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..
@LabVIEWtricks11 жыл бұрын
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.