LabVIEW Development Best Practices Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

How will LabVIEW scripting help your large projects?

NI has just announced the LabVIEW scripting will be publicly available in the LabVIEW APIs group (don't forget to join the group).  I'm curious to hear how others will use scripting to help on large project, perhaps in automating code maintenance and inspection.  Please share your ideas.

Thanks,

0 Kudos
Message 1 of 2
(4,575 Views)

I just did my very first bit of scripting today.

I wanted to automate a process which had been bugging me recently.

I have a project where I need copious amounts of XControls with underlying Objects which all differ only slightly.

I absolutely want to keep things strictly-typed so this essentially means creating lots of XControls and Classes with very small differences.

I succeeded (after a few failures) to get this up and running (half a day's work).  Select control to update, select template class, select template XControl and bob's your uncle.  Copies made, controls and object methods (non-dynamic dispatch) updated, classes and XControl renamed accordingly, saved and runnable.

Now if I need some functionality changed in my BASE Xcontrol, I won't have to modify dozens and dozens of XControls by hand.  FOR Loops are your friend.

Shane.

0 Kudos
Message 2 of 2
(2,853 Views)