Gary Rubin Posted March 3, 2009 Report Share Posted March 3, 2009 A partner of ours just suggested running Polyspace on some of our code. I'm not sure they understood that the code is written in LabVIEW. Does anyone know of a similar code-checker for LabVIEW code? CRelf, does one of your products do that? Gary Quote Link to comment
dannyt Posted March 4, 2009 Report Share Posted March 4, 2009 QUOTE (Gary Rubin @ Mar 2 2009, 09:05 PM) A partner of ours just suggested running Polyspace on some of our code. I'm not sure they understood that the code is written in LabVIEW. Does anyone know of a similar code-checker for LabVIEW code? CRelf, does one of your products do that?Gary Hi Gary A quick look at the Polyspace web site confirmed what I had expected, that they do not support LabVIEW. One product that I really think would be worth your time looking at is the NI LabVIEW VI Analyzer , we use this toolkit on ALL our LabVIEW VI's before they are made available to the main development line. This toolkit will help you to both enforce your development style guide (or rules) and it can find sources of error's within your code that may have been missed by normal visual inspection. We had a code base of around 1000+ VI's when we first started using the VI analyzser and I ran the analyzer on our existing code base. Some example of the kinds of things it found were Error inputs not connected. We use Error I/P a lot to ensure correct sequencing of our code and we had a situation where a VI had been placed on top of an error line so it looked like it was wired in but was not, visualy you could not tell it was not wired in unless you moved it. In a couple of VI's we had more than one array auto indexing into a for loop. A wire N terminal in a for loop and an auto-indexing array. These small silly mistakes that should not happen when writing code, but lets be honest they are thing we can all do at times. Now all our new code is both visually inspected by a peer and by the VI Analyzer. With the Analyzer you can to a limited extent tailor that test run and if you want you can create your own tests. My biggest complaint is that it should be the VI ANALYSER NOT ANALYZER :ninja: The VI analyzer and peer reviews are only part of the answer, the next step that also needs to be done and I will be looking at this soon is unit testing of your VI's, preferable single button automated unit testing. With this in mind I also suggest you look at the following. The new JKI VI Tester, look here and here and on Lava here, though I have not yet had time to look or play with this I must say if is of the same quality that we have come to expect from JKI stuff then it will be very good. I have also see NI have released two new products / toolkits that look very interesting in this area, NI Unit Test Framework Toolkit and the NI Desktop Execution Trace Toolkit whether they complement the VI tester above or are an alternate to it I am not yet sure. An aside We often see threads questioning if LabVIEW is a proper Software Language or Mainstream enought, and I think that with the introduction of these type of tools and the VIPM it is becoming hard to deny it that it is. If only they would do something to make the hierarchy and search tool's actually of some use and responsive :headbang: cheers hope this help Dannyt Quote Link to comment
Gary Rubin Posted March 4, 2009 Author Report Share Posted March 4, 2009 Dannyt, Thanks for the links. We'll have to find out what our partner expected to get out of Polyspace and see which of the LabVIEW tools might do something similar. Gary Quote Link to comment
crelf Posted March 4, 2009 Report Share Posted March 4, 2009 QUOTE (Gary Rubin @ Mar 2 2009, 04:05 PM) A partner of ours just suggested running Polyspace on some of our code. I'm not sure they understood that the code is written in LabVIEW. Does anyone know of a similar code-checker for LabVIEW code? CRelf, does one of your products do that? We do, and we don't Some of our tools are getting a little long in the tooth these days, and they've been (at least in part) replaced by other tools from QA verified companies like National Instruments, so it makes little sense for us to continue to maintain those tools. I think what you're looking for is code verification on two levels: that the code is of good style, and that's it's functional. For the former we use the VI Analyz/ser that dannyt suggested for static code analysis, for the latter we use the Unit Test Framework for dynamic analysis. Quote Link to comment
Gary Rubin Posted March 4, 2009 Author Report Share Posted March 4, 2009 QUOTE (crelf @ Mar 3 2009, 02:44 PM) For the former we use the VI Analyz/ser that dannyt suggested for static code analysis, for the latter we use the Unit Test Framework for dynamic analysis. It looks like that Unit Test Framework is along the lines of Polyspace. Thanks, Gary Quote Link to comment
Darren Posted March 5, 2009 Report Share Posted March 5, 2009 QUOTE (dannyt @ Mar 3 2009, 02:33 AM) My biggest complaint is that it should be the VI ANALYSER NOT ANALYZER :ninja: Last I checked, my address is in Austin, TX, USA. http://www3.telus.net/linguisticsissues/BritishCanadianAmerican.htm' rel='nofollow' target="_blank">We use Zs here. -D Quote Link to comment
Phillip Brooks Posted March 5, 2009 Report Share Posted March 5, 2009 QUOTE (Darren @ Mar 4 2009, 11:23 AM) Last I checked, my address is in Austin, TX, USA. We use Zs here. Wikipedia: However, analyse was commonly spelled analyze from the first—the spelling preferred by Samuel Johnson; the word, which came probably from French analyser, on Greek analogy would have been analysize, from French analysiser, from which analyser was formed by haplology. Quote Link to comment
crelf Posted March 6, 2009 Report Share Posted March 6, 2009 QUOTE (Darren @ Mar 4 2009, 11:23 AM) We use Zs here. More importantly, do you pronounce them "zees" or "zeds"? Quote Link to comment
Darren Posted March 6, 2009 Report Share Posted March 6, 2009 QUOTE (crelf @ Mar 4 2009, 09:23 PM) More importantly, do you pronounce them "zees" or "zeds"? I say 'zee', and I don't draw lines through the middle of my Zs or 7s either. -D Quote Link to comment
Gary Rubin Posted March 6, 2009 Author Report Share Posted March 6, 2009 QUOTE (Darren @ Mar 5 2009, 12:47 AM) I say 'zee', and I don't draw lines through the middle of my Zs or 7s either. You don't? How do you differentiate between z's and 2's? I started putting lines through my z's in college, when I started to have trouble interpreting my physics equations. Quote Link to comment
dannyt Posted March 6, 2009 Report Share Posted March 6, 2009 QUOTE (Gary Rubin @ Mar 5 2009, 12:48 PM) You don't? How do you differentiate between z's and 2's? I started putting lines through my z's in college, when I started to have trouble interpreting my physics equations. I'v never seen a Z with a line through it, I feel I may be missing something Quote Link to comment
Gary Rubin Posted March 6, 2009 Author Report Share Posted March 6, 2009 QUOTE (dannyt @ Mar 5 2009, 08:23 AM) I'v never seen a Z with a line through it, I feel I may be missing something If I had a scanner handy, I could show you. Think of a 'Z' with a strikethrough, like this: Z Quote Link to comment
Darren Posted March 6, 2009 Report Share Posted March 6, 2009 QUOTE (Gary Rubin @ Mar 5 2009, 06:48 AM) You don't? How do you differentiate between z's and 2's? I started putting lines through my z's in college, when I started to have trouble interpreting my physics equations. My Zs have a distinct angular upper corner...my 2s have a curved upper corner. They look pretty much exactly like 'Z' and '2'. Thread hijack ftw! -D Quote Link to comment
Gary Rubin Posted March 6, 2009 Author Report Share Posted March 6, 2009 QUOTE (Darren @ Mar 5 2009, 11:43 AM) My Zs have a distinct angular upper corner...my 2s have a curved upper corner. They look pretty much exactly like 'Z' and '2'. Then you have better penmanship than I do. Is it really a hijack if I'm helping hijack my own thread? Quote Link to comment
Yair Posted March 6, 2009 Report Share Posted March 6, 2009 Well, since we're hijacking, someone had to do this: Quote Link to comment
Phillip Brooks Posted March 6, 2009 Report Share Posted March 6, 2009 QUOTE (Yair @ Mar 5 2009, 12:16 PM) Well, since we're hijacking, someone had to do this: Ooo! This version starred Efrem Zimbalist, Jr Quote Link to comment
Phillip Brooks Posted March 11, 2009 Report Share Posted March 11, 2009 Since this thread was discussing the value of VI Analyzer as a code checking tool, does anyone have additional information regarding this discussion on Info-LabVIEW? This troubles me deeply... Subject: VI Analyzer no longer part of NI Developer Suite CoreFrom: "Matt Dennie (Info-LabVIEW)" <BWWNTLKEJTYF@spammotel.com> Date: Mon, 9 Mar 2009 10:09:01 -0400 I was just reading the letter accompanying my 1Q09 Developer Suite package, and I discovered that in future releases the VI Analyzer Toolkit will be a $1000 add-on instead of part of the Core Package. Has anyone else noticed this, and is anyone else alarmed by this change? -- Matt Quote Link to comment
ElijahKerry Posted March 12, 2009 Report Share Posted March 12, 2009 VI Analyzer is being removed from Developer Suite Core, but the price of the standalone toolkit has not changed. We are investing in new functionality for the next version of LabVIEW that warranted moving it into a new Developer Suite Bundle for Software Validation Tools. This bundle also includes the new Unit Test Framework and the Desktop Execution Trace Toolkits and offers roughly a 40% discount over the cost of these tools individually. In the meantime, those of you who have VI Analyzer through a previous purchase of DevSuite Core and are still subscribed to SSP will still be able to activate the version that came out in Q1 using your previous serial number. Hope this helps Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.