LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

migration from CVI LabWindows

Hello everyone!  I'm a 10-year developer of LabWindows applications for my company.  With recent rumors that the platform is being shuttered, I'm considering migration to LabVIEW.  

 

I wondered if you have any thoughts about such a plan?  Personal experience?

0 Kudos
Message 1 of 9
(1,593 Views)

Ouch.  LabVIEW and LabWindows are similar in name only.  Since LabWindows is essentially a collection of tools (and a UI) for C and LabVIEW is a language unto itself, there isn't really a path except to rewrite everything in LabVIEW.  That being said, maybe you can convert LabWindows functions into DLLs to call.  Hopefully this link can give you ideas?

 

Sorry, I'm unfamiliar with LabWindows so I cannot vouch for its veracity.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
Message 2 of 9
(1,576 Views)

I basically knew the answer before asking it... rewrite is in order.  That's why I'm posturing myself toward "only new projects" shall be authored in LabVIEW, with maintenance of existing applications be siloed in our remaining seats of LabWindows.

 

As regards DLL option for CVI, I've been down this road already.  Works nicely, provided that the LabVIEW caller install the free CVI Runtime Engine.  I had to go through this exercise a number of years ago for a customer that wanted to communicate with our product (which uses a custom binary serial protocol), and they used LabVIEW for all their final build testing.  That was a successful project.

0 Kudos
Message 3 of 9
(1,565 Views)

You have to re-create GUI in LabVIEW.  So only non-GUI related code can be put into a dll.

 

George Zou
0 Kudos
Message 4 of 9
(1,514 Views)

That's not fully accurate.  I've found that I can pack LabWindows GUI panels/controls into a DLL, such that the caller can then open them and interact.  The CVI runtime includes all its GUI elements.

0 Kudos
Message 5 of 9
(1,508 Views)

You want to migrate to LabVIEW, but still depend on CVI?

 

 

George Zou
0 Kudos
Message 6 of 9
(1,485 Views)

Yeah, I have about 10 years of CVI development invested for this site.  A few dozen codebases, a few hundred thousand lines of code.  So packaging some of those into DLLs is attractive.

0 Kudos
Message 7 of 9
(1,469 Views)

So when you talking about migrate to LabVIEW, what part of your work you want to migrate?

 

 

George Zou
0 Kudos
Message 8 of 9
(1,462 Views)

I would be looking at:

 

1) All new projects develop in LV.  If there are any dependencies on hardware or systems previously developed in CVI, use a CVI DLL.

2) Slowly migrate old CVI applications into LV in the next 5 years.

0 Kudos
Message 9 of 9
(1,458 Views)