-
Posts
4,971 -
Joined
-
Days Won
309
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by ShaunR
-
Copyright Registration for LabVIEW written application
ShaunR replied to Irene_he's topic in LAVA Lounge
Copyright is an automatic right of the author unless some other contractual obligation takes precendent. It is usually sufficient to add a copyright notices to your software. The issue is only really applicable if infringement takes place and registration with a copyright office is basically registering with an authorised, third party witnessing service that can verify the date and contents of the of copyrighted material to add ammunition to your defence. However. It is a powerful defence. The copyright office in the UK allows online-uploading of copyright material (for a fee) and there is no requirement for the uploaded contents since it is irrelevent. They even have a "Registration Update Service" so that you can upload "in development" work as and when it changes. If you are having issues with beaurocracy in your home country I would suggest using them. UK Copyright Services -
You'll probably want these. UFT16.zip
-
I prefer dlls myself, but for a single instruction it might be worth looking at CINs rather than converting a whole piece of LV code to C. Especially if you already have the code. Theres a very good tutorial HERE
-
We use some vis that enable dynamically changing between certain languages like english, French, German etc. I canot share the code because they are owned by the company but (as I wrote them) I can tell you how they work. There may be others who are not restricted to share. The key is really not to "hard-code" strrings into the diagrams and takes a little bit more thought but is fairly easy to do. don't talk to me about Japanese or Chinese however...lol. They take advantage of labels and captions for controls and indicators. The Label is used as the "tag" and the Caption is what is displayed to the user. Display strings are a bit more complicated, but not much. A create language file vi is used to iterate through all labels in the app and save them to a" bar" separated spreadsheet file. We use the bar "|" symbol because it then allows the use of commas, semicolons etc in the text. This file is then sent off to the translators and they add the words (or phrases) for the other languages on the same line for each language (first column English, second French, third German....etc). A change language file vi is used to load the file and iterate through all the labels changing the captions to the specific language. You have to check the control type as for things like boolean indicators, its not the caption the user sees. Job done for controls and indicators. This can be invoked at any time and the current language is saved to a config file so that the software starts up in the last used language. Display strings in the code are always preceded with a get language file vi that takes a string as an arguement (the tag as described above) and outputs the corresponding word/phrase in whatever language is chosen to be active. I've been meaning to get around to including a digram search for these tags so they can automagically be added with the create language file vi, but I've more important fish to fry. Thats basically it. It shouldn't take you very long to write something yourself, or I suspect others on this forum have similar tools that they can share.
-
The force wasn't strong with this one! He should have used the Jedi mind trick. " This isn't the droid you are looking for....move along"
-
Its unlikely to be a memory issue unless you are using so much the OS has to swap to disk. It is more likely a higher priority process or hardware latency is getting in the way. Disk saving is the usual cause. Next time watch the LED hard-drive indicator when you see the time jump. What is the camera interface? If you are using GigE,another cause can be packet collisions causing the camera to re-send. This will also appear as a latency causing your loop time to jump.
-
Some people have no sense of humo(u)r. I hope my behavio(u)r hasn't caused our English speaking neighbo(u)rs to harbo(u)r a grudge. Lets not let the spect®e® of conceit compromi(s)(z)e integrity and (e)(i)nsure we all get with the program(me) of coexistance and co(s)(z)iness.
-
Thats what "American" english looks like to British, Australian, Indians and Canadians
-
Shared Variable deployment on target machine
ShaunR replied to Dan Bookwalter N8DCJ's topic in LabVIEW General
Are you deploying to Vista? -
Nice. Well worth a point.
-
Well I must say your looking very well for your age
-
I've just seen them. It stikes me that the traffic light one is a lot harder (conceptually) than the others. I'd guess that the others would take me about 1 hr from scratch, but the traffic light one I'd probably have to think for an hour first! The latter. I'm a bit hard-of-thinking More cosmetic requirements? Or more to test your specmanship?
-
I Have a Spelling Checker Eye halve a spelling chequer It came with my pea sea It plain lee marques four my revue Miss steaks eye kin knot sea. Eye strike a key and type a word And weight four it two say Weather eye am wrong oar write It shows me strait a weigh. As soon as a mist ache is maid It nose bee fore two long And eye can put the error rite Its rarely ever wrong. A chequer is a bless sing, It freeze yew lodes of thyme It helps me right awl stiles two reed And aides me when aye rime. Each frays come posed up on my screen Eye trussed too bee a joule The checker pours o'er every word To cheque sum spelling rule. Eye have run this poem threw it I am shore your please two no Its letter perfect in it's weigh My chequer tolled me sew.
-
You mean "English" Dictionary
-
Ahh. Now we are changing the goal posts I didn't say "Not accurate" I said accurate enough (do you need it accurate to 1us when each event is 1 week apart?). But you have a choice. Buy a timer counter card (problem solved). Or sacrifice a little accuracy (maybe 0.1 hz) and do it with what you have. If you are electronically inclined, freq-volt converter chips are cheap. But you will still only be able to read the freq (i.e the voltage level) as an instantaneous value. You can free-run (as you said) without having to switch back and forth between hardware gating. Just use the clock signal as a window event in the data stream to extract that segment.
-
You could sample at a higher rate and post-process to analyse the pulse train (There are vis to estimate duty cycles, pulse frequencies etc). Not as accurate as timers, but should be good enough for your requirements. You could then just ignore the data you don't need on the slower AI channel.
-
Should be fine. (havn't tried what your doing but have done similar things). There is a flashing LED x-control around somewhere here that spawns a vi dynamically as a timer which is similar to what you are tring to achieve.
-
Interestingly (or not as the case may be). The NI "text book" answer you can download has absolutely no documentation (no descriptions of the controls, tip-strips etc). Perhaps NI should practice what they preach. I think it would be nice if all you guys out there that have done these exams could write a few words outlining the task given to you in your exams (i'm sure its not a car wash EVERY exam). This would give those about to take thier exams a broader view of the type and scope of tasks to expect rather than one poultry example! Maybe a separate thread?
-
A bit confused. After loading your example, the regen was set to "Allow Regeneration" but in your post you say you are trying to turn it off. Its worth noting. If "Do Not Allow Regeneration" is selected and you are in "continuous" mode. You have to write to the buffer fast enough otherwise an error will occur and the output will stop (which sounds similar to what you are experiencing.
-
There are plenty of examples for DAQ supplied with Labview under Hardware Input and Output->DAQmx (Use the examples Finder). You should find something there that demonstrates what you want to achiive.
-
I nearly spat my coffee out on that one...lol.
-
You need to be careful here. The ground is a "signal ground" to differential voltage devices and may or may not be isolated (depending on the devices). The USB 5v supply is probably chassis ground. I'm not an expert on USB so it would be worth running it by your hardware gurus whether you need a separate "supply" ground to compliment the 5v. It may be important, it may not.
-
It will work WITH events as well Look at what it is doing rather than how it is implemented.
-
Agree. Disagree. Agree but would add Control and Automation.Use the right tool for the job!
-
"List Folder" Returns Incorrect Results for Folders on Network Drives
ShaunR replied to Justin Goeres's topic in LabVIEW Bugs
“It's not whether you win or lose, it's how you place the blame.” : Oscar Wilde
