-
Posts
4,881 -
Joined
-
Days Won
296
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by ShaunR
-
Teaching LabVIEW: Start with programmers or non-programmers?
ShaunR replied to DougKU's topic in LAVA Lounge
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. -
Woohoo. How many do I need for a prize
-
Find and Replace Text on VI
ShaunR replied to Norm Kirchner's topic in Application Design & Architecture
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. -
Even the women? Is it true Cat? ....lol
-
What an unfortunate domain name you have Cat http://www.urbandictionary.com/define.php?term=nads
-
Find and Replace Text on VI
ShaunR replied to Norm Kirchner's topic in Application Design & Architecture
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. -
If you right click on the project name in the project tree, there is an option to "Find Items With No Callers".
-
Teaching LabVIEW: Start with programmers or non-programmers?
ShaunR replied to DougKU's topic in LAVA Lounge
I didn't say it was good. Just that I agree -
Teaching LabVIEW: Start with programmers or non-programmers?
ShaunR replied to DougKU's topic in LAVA Lounge
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. -
Another opening soon for Vaguely Interesting Engineering. CVs to Crelf
-
Theres a system? I just randomly click click on posts because I like "green".
-
I know he was But I was kind a hoping he would feel guilty and go back and click on a few posts
-
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.
-
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.
-
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
-
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.
-
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.
-
Another tip. If you store the folders/files with the names in a "year-month-day" format (e.g 2008-10-02), then when you browse the folders they will be sorted chronologically. If you do it day-month-year they will be all over the place.
-
It was an NI rep and the toolkit was "The Embedded Module for ARM Microcontrollers" This is what it says in the sales blarb:
-
Teaching LabVIEW: Start with programmers or non-programmers?
ShaunR replied to DougKU's topic in LAVA Lounge
Where's my point then? -
Teaching LabVIEW: Start with programmers or non-programmers?
ShaunR replied to DougKU's topic in LAVA Lounge
Except poor ol' Hooovahhs -
The main difference between them is the speed. What devices are you intending to talk to?
-
I was interested in the ARM deveopment toolkit and asked the sales rep to come in, demo it and leave it with me for a couple of weeks. Long story short, I didn't bother with the demo kit and he left with it. The toolkit I saw was basically a C generator. there were limited vis that enable you to do certain things, but you cannot modify them. If you look inside theres nothing in them. When I asked (for example) "this matrix display demo, how do I modify it ?" He said you generate the c code and modify the c code to whatever you want It looked to me like a C template generator that you then go into and modify in the C environment of your choice. You might as well either write in in C in the first place or give it to a C coder since they are 10-a-penny. The sales guy couldn't really come up with a good reason for me to spend £3K on a toolkit when we've got ten C programmers on the payroll.
-
As its your first time, go with what you know! http://www.ni.com/can/
-
Use the express vi "Scaling and Mapping" in the "Signal Operation" palett and choose "interpolated". You can then define your table and use the vi to convert your readings fr any voltage.