-
Posts
1,209 -
Joined
-
Last visited
-
Days Won
46
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by Francois Normandin
-
-
QUOTE (Paul_at_Lowell @ Sep 30 2008, 03:14 PM)
The actual values are those set by default in the class private data.
-
QUOTE (raymyster @ Sep 26 2008, 03:13 PM)
You can combine different datatypes into a cluster and then make an array of that cluster.
QUOTE (raymyster @ Sep 26 2008, 03:13 PM)
I would suggest you take a look at the Type Sensitive Popup code from JDave in the Code Repository. You can use this tool to initialize a table with different kinds of datatypes. It's not exactly a plug-n-play solution for your problem, but it shows how you can achieve what you want by playing with Multicolum listbox properties.
QUOTE (TobyD @ Sep 26 2008, 03:35 PM)
EDIT:Doh! Too slow.EDIT: DOH! Re-DOH! Way too slow.
-
QUOTE (jaegen @ Sep 24 2008, 05:42 PM)
http://en.wikipedia.org/wiki/Internet_troll' rel='nofollow' target="_blank">Internet troll
I learn things everyday here!!! And not just LabVIEW. :thumbup:
-
QUOTE (schneidley @ Sep 23 2008, 04:35 PM)
Check out these two pages... 6008 & 6009 are the same except resolution and speed.
-
QUOTE (schneidley @ Sep 23 2008, 03:36 PM)
i'm trying to use labview to output a +3.3 and +5V DC signal for relay control. i can get the usb6008 to read signals, but it just seems to not want to output a signal. i've played with digital and analog output, and gotten nowhere. i think i'm just missing something stupid. can anyone give me a start on what i should be doing? thanks~B.
Can you describe more your experimental setup? With the information at hand, it could be a number of problems... maybe your software works fine but you don't have enough current to latch the relay, or you might have a software problem?
1- I'd look in MAX in the test panel for device USB6008. If you can set it to 3.3V and measure it correctly with a voltmeter, then your device works and you know you are looking at the correct pin number...
2- In LabVIEW, try using the DAQ assistant to setup a simple AO code.
-
QUOTE (Mads @ Sep 22 2008, 10:18 AM)
The search could be made binary instead, that would cut the number of Nth line calls dramatically...Indeed you're right. Thanks for the wiki-link.
John has suggested this a few posts above.
QUOTE (jlokanis @ Sep 22 2008, 02:32 AM)
1. Speed (it is slow). I am not up to writting a word wrap detector right now. By using the Get Nth Line function, I can support a text control with any font. I think this could be improved by doing a binary search algorithm, but I would need to know how many lines a text control contains. As noted, this is not easy and requires counting <CR> and word wraps. -
QUOTE (Aristos Queue @ Sep 21 2008, 11:56 PM)
Thanks for those insights... I had really no idea about that!
QUOTE (jlokanis @ Sep 22 2008, 02:32 AM)
1. Speed (it is slow). I am not up to writting a word wrap detector right now. By using the Get Nth Line function, I can support a text control with any font. I think this could be improved by doing a binary search algorithm, but I would need to know how many lines a text control contains. As noted, this is not easy and requires counting <CR> and word wraps.Sure would be a nice snippet of code...
-
QUOTE (crelf @ Sep 19 2008, 07:57 PM)
Maybe your svn is beginning to slow down your network after all... :laugh:
QUOTE (normandinf @ Sep 19 2008, 07:09 PM)
One trick is to use the method "Get Nth Line".I tested the method a little tonight and I don't think it will be useful with large files as it seems very slow. It took a few seconds to scan a 591 lines string on my QuadCore! For long files, like help documents, it's gonna take a better scanning algorithm.
-
One trick is to use the method "Get Nth Line". Here's a quick example. (LV 8.6)
-
One trick is to use the method "Get Nth Line". Here's a quick example. (LV 8.6)
-
QUOTE (crelf @ Sep 19 2008, 03:00 PM)
http://lavag.org/old_files/monthly_09_2008/post-10515-1221855818.png' target="_blank">
Depends where in Canada...
-
QUOTE (PJM_labview @ Sep 16 2008, 03:56 PM)
QUOTE (PJM_labview @ Sep 16 2008, 03:56 PM)
From what I see I came up with a similar solution than Darren (using the linker info). I believe that this solution does not work in the runtime engine.About, the "LVClassPathFromInstance", this was just a side question to know if theGetLVClass Path.viwork in runtime (which it does).I tried it and it does not work in EXE. (If AQ says it, I'll believe him).
I wonder if you could load them dynamically at runtime, check their inheritance and then close them all? If that's possible in EXE, I bet it would be slow and not memory-effective but it would get you there... :2cents: It is not available either at runtime...
QUOTE (PJM_labview @ Sep 16 2008, 03:56 PM)
Well here it is. This is saved in LV86. I didn't include Norm's Tree Control API vis, neither the OpenG packages I used, to keep the llb small. I'm sure you don't need them , but if someone else does, please follow the links to get them as it makes too large a file to upload.
-
QUOTE (PJM_labview @ Sep 15 2008, 05:09 PM)
Have you looked at this post from Darren about Inheritance hierarchy? The VI is password-protected but should work at runtime.
I guess that's the output from LVClassPathFromInstance call you're looking for. I've used it to get the complete class hierarchy recursively. I don't have the result on my daytime computer, but could find it tonight. It's simply an implementation of Darren's VI with the tree control API from Norm the Captain.
-
QUOTE (eaolson @ Sep 15 2008, 11:37 AM)
Actually, they don't apply because of http://en.wikipedia.org/wiki/Decoherence#Loss_of_interference_and_the_transition_from_quantum_to_classical' rel='nofollow' target="_blank">decoherence. But we're talking the same thing here...
-
QUOTE (crelf @ Sep 14 2008, 01:03 PM)
I can't!!!!
We've got presentation during lunch time of the second season of BSG on the conference screen starting today. Since it's as big as a cinema screen, I'll try to wait a until spring to see these spoilers or else I'll know of the 5th Cylon...
(Yes, second season... we started a little bit late!)
-
QUOTE (Graeme @ Sep 11 2008, 05:30 PM)
Hi all,The attached VI and its comments say it all, but briefly, if you have an Enum constant wired to a Case Structure selector and the Case Structure has had "Add Case For Every Value" applied, then if you are commenting in a case for which the Enum constant is not set, then the comment does not behave properly (it only updates when you click outside of the comment).
Trivial in the greater scheme of things I know, but threw me a curved ball for a while. Responses welcome.
Regards, Graeme.
I can confirm that it doesn't work for me in 8.5 but it has been fixed in 8.6...
-
It's happening in 8.6 too.
We're at the limit of resolution of the algorithm. In DBL precision, this happens around 1E+14 or so.
I tried to wrap the Large EXT control to 0-2pi interval and I should have gotten the full EXT resolution (see pic)
Except that the division seems to be suffering from the same problem and it doesn't work. Since the sine and cosine are most probably calculated using some Taylor series (x^n/n! type of equation), we run into serious problems with 9E18^n/n!. I don't know which "n" is being computed, but if you compute until you converge, it could explain the algorithm becoming unstable.
-
QUOTE (Daklu @ Sep 9 2008, 03:14 PM)
Is there some special technique required to insert a class cube on a custom palette? I've tried several times but it doesn't seem to be working.The Class Cube is a built-in function and I don't think you can access it. In the palette editor, when selecting "Display path to palette file...", you get a message saying it's built-in.
However, if you create a control and put the class cube in (type def or not), you can insert this wrapper control in any palette or save it to user.lib.
-
Have a look at this piece of coding.
-
-
-
As I reviewed my configuration file, I noticed this key doesn't work on 8.6 anymore (works on 8.5):
SuperFunkyPrivateSpecialSecretForumStuff=LAVA
-
QUOTE (LV_FPGA_SE @ Aug 25 2008, 10:52 AM)
Can I be excused by saying I never use the menus while in the block diagram???
I guess there's no way to add the brush to the tabbing sequence in the BD.
http://lavag.org/old_files/monthly_09_2008/post-10515-1220323885.png' target="_blank">
BTW, since I was gone... which country won the olympics? (Shameless attempt to come back to the original topic)
-
QUOTE (Raymond Tsang @ Aug 24 2008, 06:12 PM)
QUOTE (giopper @ Aug 23 2008, 10:18 PM)
Although it shouldn't be a problem,I suggest to move the "open" before the main loopand the "close" after exiting the main loop.I agree. And when writing to file, the file position will automatically be at the end of what you just wrote. Hence, no need to tell the file to go at the end, except if some other program could access this file at the same time and set position differently.
Sketchpad on the diagram!
in LabVIEW General
Posted
QUOTE (JasonD @ May 28 2003, 07:46 AM)
Some people use a one-frame Stacked Sequence Structure to wrap a piece of code and put some text. Not my favorite, but that could do the trick.
I'm not sure a free-hand sketchpad would increase readability of the block diagrams. But the draw tools might be useful I agree, although it's that sort of thing that might be nice to have, but how many times will you really need something like this? For the moment, decorations can be dropped on the front panel and copied to the diagram.