Jump to content

ShaunR

Members
  • Posts

    4,914
  • Joined

  • Days Won

    301

Everything posted by ShaunR

  1. Many thanks. That list might be worth pinning. Now, wheres my PHP editor so that I can write a Post Daemon One reply to all posts might just do it. Ooooh. Did I write that out loud
  2. Without getting into gradients, this is a quick and dirty example of extracting data over a threshold level directly into a 2D array, where each row represents each waveform above the threshold. Because LV uses square arrays, when you process each row, you will have to truncate the data where the zeros start.
  3. Not that I know of. But I've got a "project cleaner" vi that does
  4. You would have to coerce the refnum to a more specific class to make the properties for that type available.
  5. IC. It says in this post 500 I've got a feeling by the time I get near 1000 it will change again to 2000...lol.
  6. Just broken the 500 posts and vaguely remember a post that said you could change ther title under your icon. Is it still so? And if it is can, someone point it out to a blind man?
  7. Sweet
  8. Yup. I stand corected. I mean "imperative".
  9. I sort of semi-agree with this. With text based languages, its much of a muchness. With functional languages (lets forget OOP for now) like c, pascal, java script, VB, PHP et al, only the syntax really changes (pascal uses the asignment ":=" as opposed to "=" for C for example). Once you learn one its just a case of learning the IDE and syntax and away yoiu go But changing between paradigms is a bit different. Its much more difficult to change from C to Prolog for example even though they are both text based. Couple changing paradigms with changing from text to graphical just compunds the leap. Indeed. But the problem I come accross time and time again, is that many people are not open minded, or they've been doing it for so long in one way, that it takes great effort to join the synapses in a different configuration.
  10. Woohoo. How many do I need for a prize
  11. It grabs all controls from a FP. Then extracts the labels and text dependent on the control type. PM Get Control Text.vi uses recursion so it will drill down into nested clusters. Passa Mak creates a list to save to a file since the save and load are separate, but for a regex replacement you could put a write node immediately after the read node in the PM Get Control Text.vi and modify the string in between.
  12. Even the women? Is it true Cat? ....lol
  13. What an unfortunate domain name you have Cat http://www.urbandictionary.com/define.php?term=nads
  14. Its not too hard to find and replace text. Passa Mak does it for controls, indicators and tip strips. It also has a diagram scanner to extract string constants. It wouldn't take much of an imagination to modify the the relevent bits for descriptions, revision history, decoration text etc. Although its not designed for regex replacements, it covers a lot of the bases you'd need or, at the very least, show you how to go about it.
  15. If you right click on the project name in the project tree, there is an option to "Find Items With No Callers".
  16. I didn't say it was good. Just that I agree
  17. I'm with Gary on this one. Another aspect is that not everyone "gets" OOP. There are many coders that use OOP capable languages that never write a bit of OOP in their entire career. Perhaps a better approach might be to start them on normal LV with the advantages of all the existing examples and training resources and filter out those that just don't have the head for it, rather than assume that everyone can and will learn.
  18. Another opening soon for Vaguely Interesting Engineering. CVs to Crelf
  19. Theres a system? I just randomly click click on posts because I like "green".
  20. I know he was But I was kind a hoping he would feel guilty and go back and click on a few posts
  21. To me, its a bit like Codegear selling you Delphi and expecting you to do bits in Visual Basic. People like LV because it is not C. What they could have done is run a linux kernel on the ARM and then use the linux RTE or ported their RTOS which currently supports intel and Power PC. There arn't that many platforms out there that they support so I think for that price they could have made a bit more of an effort.
  22. OK. I've looked now Its a little bit more complicated than that, since the frame names has to match the number of cases. If you just wire it to an array of strings, you will get an error and only 2 cases will have the names. You have to create the correct number of cases (array length - 2) using the "add frame" invoke node then wire your string array to it.
  23. Its a Japanese advert Thats a bit rich since I post an example and get zero points. You convert them to 8.x and get three
  24. If you use an enum (your example uses a ring) then when you right click on the case there is a menu option to "Add Case For Every Value". I havn't looked, but there is probably a property or invoke node that enables you to do this in scripting.
  25. Well. the board had a 2 line LCD display so it must have been tier 1. It did work "out of the box"....... with the demos. And as long as you changed only the data to the front panels it was fine. But when I said that our device was to have a 12 line matrix display and how could I mod the "display" vi to do that, he said I'd have to write my own display driver in C. He did demonstrate compiling, downloading and live debugging with a demo he had prepared. But when I started asking him to modify it, he changed some settings and then it would pop-up with a window full of c code and he would twiddle bits. I pushed him on it and asked why he wasn't changing the vis. Thats when I looked inside and found....well nothing, apart from the controls and indicators. The vis seemed to be purely placeholders for the generator.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.