From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
I have code written in Visual Basic. There are three files, a .bas file, a .vbp and a .frm file. The code already works, but I would like to have LabView call it while doing something else at the same time. I've looked into using CIN's and code library function in the user guide. All it says is that VB can be used with the CIN but doesn't explain how. Also the code library function isn't useful to me as I do not want to build a .dll file. Can anybody give me a simple solution? thx,
Where in "Using LabVIEW with External Code" do you see a mention of VB and CINs? In my version it says the only supported compilers on windows are Visual C++ and Symantec C. Why don't you want to build a dll?
It was actually Visual C++ that I saw, must have got mixed up. Either way is it possible to use Visual Basic as a CIN? I don't want to use the dll because Visual Basic does not allow standard Windows DLLs to be built. I would assume that this will create some complications which I don't want to further investigate.
No, you cannot use VB to create a CIN. It's been long time since I've used VB. Does it only allow you to create an ActiveX control now? What about .NET? LabVIEW has support for both.