-
Posts
1,209 -
Joined
-
Last visited
-
Days Won
47
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by Francois Normandin
-
An enum/tab can be typecast to an integer. Think of it as an index with an array of strings attached. The enum displays the string value corresponding to the index selected. If you substract two enums, you'll get the distance between tabs (enum) and substract one to get the number of pages between... You see the coercion dot (red dot) on the substract icon? That means the enum is typecast to a datatype that is coherent with substract function. You should normally typecast your data yourself to make sure LV does what you think it will do.
-
I had to put all the FlexMotion VIs in a "Disabled Diagram"... other than that I've run your VI with a log every 2ms (500Hz) to simulate an accelerated night's worth of data. So far (11:37AM the next day in simulated time, as I write these lines), I don't have any memory increase and the logfile is over 3.2MB already. (>70 000 lines) This would be 19 hours of data at 1Hz acquisition. If your logfile is limited to a few MBytes, than I would suggest the problem lies in the FlexMotion VIs. Use simulated data (I use the "random number" function) to replace your FlexMotion VIs outputs. If you strip the Flex VIs and still get the memory leak, then it is either system specific or you have another program/service interfering. Sorry buddy, but there's not much more I could do at this point.
-
Could you post your VIs? (Not just screenshots) Maybe we can find an explanation if we try it first hand...
-
Will G ever be considered a general purpose language?
Francois Normandin replied to John Lokanis's topic in LAVA Lounge
I had a similar argument recently. I supply many scientists with LV applications and the thing they keep asking is: Why does it take an 800MB installer file for a 120KB executable? (I usually install the latest MAX, DAQmx, etc. drivers whenever there's a new LV release) Well, the difference really with C/VB is that the runtime engine is not included with Windows, Mac O/S nor Linux. I stopped the protests when I compared LabVIEW programs installation with OpenOffice which requires the latest Java Runtime or with C/VB programs requiring the latest .NET package not previously installed. As for a "real" programming language... If we consider ourselves real software developers and are recognized as such by our peers, than isn't it enough? -
Could VI tags replace INI file?
Francois Normandin replied to Francois Normandin's topic in Development Environment (IDE)
QUOTE (jlokanis @ Aug 22 2008, 01:20 PM) Honestly, it was more a thought experiment kind of question. I recently used lvclass tags when I was playing with cloning classes programmatically. I was wondering if VI tags would be an efficient way to go. Based on AQ's answer, it is not practical at the moment, since it cannot self-modify its own tags, so I'll let that go. I admit that XML has some appeal, especially since it supports LV classes in 8.6. I'd welcome your example VIs. thanks -
QUOTE (LV_FPGA_SE @ Aug 22 2008, 11:06 AM) That, I had tried early on. You kind of expect it when you have the paint brush activated and press Ctrl-E. You discover you've still got access to the paint brush in BD... I just never thought the frame could be turned any color, just like I wouldn't expect to be able to change the color of a wire. (Yes, I just tested it... I didn't trust my gut)
-
Could VI tags replace INI file?
Francois Normandin replied to Francois Normandin's topic in Development Environment (IDE)
QUOTE (Aristos Queue @ Aug 22 2008, 09:51 AM) It works on library though. Will there be any way to save them for VIs in the future? -
Now... I'll have to refrain form changing loop/frame colors. I didn't know you could do that! I can see how it would make a BD cheerful. I'm just afraid I might look back at those diagrams in a few years and wished I had never known about this feature! (Don't disturb the genie in the lamp...) Thanks anyway Christian Should we imagine where it would lead if we were to show this to a newbie? There must be a good reason why the paint brush is only available in FP palette...
-
Aside from tagging VIs for code maintenance purposes, I was wondering this morning if I shouldn't experiment with VI tags to replace INI settings that could be changed by the user, but only from the UI. I've seen comments that it would be more secure under certain circumstances. Any thoughts as to how smart a move that would be in general? I already hear that it's nice to see quickly from a text file what are the settings and I agree. But what about making sure ini keys are properly set? Changing them from inside the VI could enforce that. Besides, there is no way the file could be missing altogether... VI tags are easily found in Invoke node and can contain any data type. (I can foresee a nice OpenG set of VIs for that...)
-
QUOTE (Raymond Tsang @ Aug 21 2008, 08:47 PM) What is the history length of your "Load Cell2" waveform graph? Could that be the reason your vi is becoming sluggish as you add more points? http://lavag.org/old_files/monthly_08_2008/post-10515-1219368951.png' target="_blank"> I would be surprised to discover a memory leak in Cluster to Array.
-
I too experienced these lags since soon after NI Week. At least, LV8.6 downloads didn't seem to be slowed down...
-
front panel inicators acc to choice
Francois Normandin replied to vidur moudgil's topic in User Interface
There's a "Visible" property of each control and indicator. -
For any inappropriate questions one might want to ask, you can get the answers without asking. All you really need is check out Google, Facebook or MySpace.
-
To echo Antoine, we're usually looking to fill positions requiring multiple task assignments such as electronics, photonics and oh, by the way, 3D CAD & LabVIEW programming skills. Working for government, we're stuck with asking the same 10 questions to every interviewee, so I found that asking about how one defines polymorphism is plenty to distinguish between an experience programmer, a casual programmer or someone who has just used LV programs written by others... If I can quickly detect with only one question in which category they fall into, then I'm happy. I hope they don't fall in the third one, but I've seen it happen!
-
Wire the error in & out of the "Close" vi. Then have the "error out" wired to your Case structure. This way you'll be sure the file is closed properly before you try to delete it. EDIT: You could also use the "path" output from the Close vi. This will ensure dataflow happens the way you want it to happen.
-
Attachment management changes
Francois Normandin replied to Francois Normandin's topic in Site Feedback & Support
QUOTE (Michael_Aivaliotis @ Aug 14 2008, 03:43 PM) That would be it. QUOTE (TobyD @ Aug 14 2008, 04:13 PM) Supposedly this was done to fix a security flaw in Firefox (see this rant). Although I haven't found a way around it, I did find that as soon as the file dialog box comes up you can use the standard Ctrl-v to paste the path (regardless of where the focus is) and hit Open or Enter and it works. Seems to work. Thanks. QUOTE (Ton @ Aug 14 2008, 05:05 PM) It's some kind of security issue. See here and here Ton I didn't think it was specific to Firefox. thanks for the links. -
QUOTE (alfa @ Aug 14 2008, 03:17 AM) When people in the afterlife start casting their votes at elections, then they can support a representative that will petition in their favor... Until they do, I don't think our governments are likely to change their political agenda :ninja: and indulge you with research on "astral afterlife".
-
QUOTE (jdunham @ Aug 14 2008, 12:45 AM) If you ask the original poster for his opinion... this discussion opens up many questions I'll need to address when starting my SCC. I'm happy the topic shifts a little.
-
There seems to have been a change in the Attachment Browse Path recently. Although this is not a bug (clearly the behavior has been changed to mimic clicking on the "Browse" button when clicking on the empty filepath), it doesn't allow to paste a filepath directly anymore. That's causing a conflict with the much appreciated "Code Capture Tool"... Is there an other way to paste a filepath directly without opening the Browse dialog?
-
QUOTE (jgcode @ Aug 12 2008, 08:07 PM) Touché! It did make my top 10 of freaky things happening in Canada ever.
-
QUOTE (goran @ Aug 13 2008, 04:49 AM) After setting the Drag n Drop properties of the listbox to allow for it, monitor the Drop event over the ActiveX container. In this example, I used a textbox in an ActiveX container.
-
QUOTE (Justin Goeres @ Aug 12 2008, 07:30 PM) Has this message been approved by the Republican party? :laugh: (I know, Canadians shouldn't make fun of U.S. politics... we're no better that's for sure)
-
QUOTE (crelf @ Aug 12 2008, 11:55 AM) I would think check-in/check-out is better for my needs, as I'm a lone wireworker at the moment. Can these SCC schema be changed at a later date or is the initial choice final?
-
QUOTE (Ton @ Aug 12 2008, 11:34 AM) That's what got me thinking it was time to implement SCC for me... How else can I try this Project Scanner if I don't use SCC? QUOTE (Scott Carlson @ Aug 12 2008, 11:39 AM) Subversion and TortoiseSVN . If you take this route, we are around for further questions. -src Subversion and TortoiseSVN seems to be a very popular choice. I'll have to try it too. I'm a big open source fan.