-
Posts
1,209 -
Joined
-
Last visited
-
Days Won
47
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by Francois Normandin
-
CONFIGURING WINDOWS SDK FUNTIONS IN LABVIEW
Francois Normandin replied to mattdl68's topic in Calling External Code
QUOTE (mattdl68 @ Jan 1 2009, 02:21 PM) See this link for commun typedefs. This will help you setup the DLL properly. -
CONFIGURING WINDOWS SDK FUNTIONS IN LABVIEW
Francois Normandin replied to mattdl68's topic in Calling External Code
QUOTE (mattdl68 @ Jan 1 2009, 02:21 PM) See this link for commun typedefs. This will help you setup the DLL properly. -
QUOTE (msaf @ Jan 2 2009, 05:41 PM) You need to get a numeric instead of a string. Use the "Get Time/Date in Seconds" function of simply "Tick Count (ms)". See example below. http://lavag.org/old_files/monthly_01_2009/post-10515-1230939142.png' target="_blank">
-
QUOTE (Kumaresh @ Dec 31 2008, 08:14 AM) To perform a 4-wire resistance measurement, you'll need more than a DMM: a current source and a DMM. DMM's have typically a 6Mohm impedance. Some perform much better, but that comes at a high cost generally. I haven't looked at the PXI-4060's characteristics but the datasheet says 200Mohms, which is quite good compared to Agilent 34401A or Fluke.
-
QUOTE (crelf @ Dec 24 2008, 09:30 AM) As do I. Check out this video to help you test your camera's configuration.
-
QUOTE (Jim Kring @ Dec 23 2008, 10:55 AM) You beat me to it...
-
If you have some magic image enhancement software: :ninja:
-
QUOTE (Irene_he @ Dec 23 2008, 01:52 AM) For all positive values of Planck length... Yeap, happy holidays to LAVA's!
-
There must be two drivers available, one for your software and the generic IEEE1394 driver... As crelf pointed out, check in MAX and change the active driver to the generic one. (From what I can remember, you might have problems with your external software once you've changed it...)
-
I've got a hard time finding what I'm doing wrong to add my own LabVIEW instruments to MultiSim (10.1) and I'm wondering if there wouldn't be a version compatibility problem. I've opened one of the examples provided with MultiSim and saved it (LV 8.6) and now it doesn't work anymore, no changes to code whatsoever. I found out that MS10.0.1 required the LV instruments to be saved no later than LV8.2, but that doesn't seem to do it with MS10.1 and I can't find any specific notes on that on the dark side. Has anyone encountered this problem before I call up NI?
-
QUOTE (AZoptics @ Dec 22 2008, 12:18 PM) You should post some VIs or screenshots of your work for us to help.
-
QUOTE (SaNoSuke @ Dec 22 2008, 05:05 AM) I always refered to this http://www.cs.uiowa.edu/~jones/step/' rel='nofollow' target="_blank">website when I was confused between types of stepper motors.
-
Is there a way to Capture Array Element Event?
Francois Normandin replied to Minh Pham's topic in User Interface
QUOTE (Minh Pham @ Dec 21 2008, 05:39 PM) If you don't worry about datatype (i.e if you use strings), you could use a listbox. Listboxes have a method "Point to Row" that inputs the mouse coordinates and outputs index. As far as I know, I don't think Arrays have a method to do that. Otherwise, if all your array elements are unique, you could return the array element (variant), convert it and scan the original array to get the index. But as mentioned, it works only if all values of your array are unique. -
QUOTE (BobHamburger @ Dec 21 2008, 09:19 AM) And because of the second law of thermodynamics, it costs more energy to try to put back the magic smoke inside than to just buy a new one...
-
QUOTE (GraemeJ @ Dec 16 2008, 06:22 PM) I'm not sure what you mean by "enabled simultaneously". You can select the page to display simply by turning your Tab Icon into an indicator, or setting "Value" property to desired page if it's a control.
-
QUOTE (BrokenArrow @ Dec 16 2008, 02:12 PM) Maybe we should all chip in for Antoine... merci Antoine :thumbup:
-
QUOTE (Antoine Châlons @ Dec 16 2008, 09:45 AM) Sorry... I get some more methods from the Scripting Workbench: (But not much really...)
-
Dynamically create references?
Francois Normandin replied to Milchbilch's topic in Object-Oriented Programming
QUOTE (Milchbilch @ Dec 16 2008, 10:52 AM) Using the "Get LV Class Default Value.vi" will create a new instance of your class. You can store a reference to this instance and refer to it elsewhere. But that's a tricky design: make sure you don't disrupt your dataflow... (Personally, I don't like this design: I think it's dangerously hard to debug especially if you start creating multiple instances. You might run into data collision pretty soon.) http://lavag.org/old_files/monthly_12_2008/post-10515-1229446300.png' target="_blank"> -
Hi Antoine, You don't require scripting for these properties.
-
Dynamically create references?
Francois Normandin replied to Milchbilch's topic in Object-Oriented Programming
QUOTE (Milchbilch @ Dec 16 2008, 04:25 AM) Check out the "Cluster, Class & Variant Palette". You'll be interrested by these: http://lavag.org/old_files/monthly_12_2008/post-10515-1229436362.png' target="_blank"> -
Boolean pattern matching, with a wildcard
Francois Normandin replied to crelf's topic in LabVIEW General
QUOTE (jdunham @ Dec 13 2008, 08:08 PM) Instruments usually send a string, which you need to process. That's what I gathered from Chris' post: QUOTE (crelf @ Dec 12 2008, 05:28 PM) So I've implemented this quickly by converting the pattern to string of 0s, 1s and .s (TRUE to "1", FALSE to "0", and DON'T_CARE to ".") then I used the pattern match primative to see if there's a match - and it works great! The issue is that it's too slow for my application (I have up to 1000 possible patterns to match). This is the reason I think any fast implementation of the masking as you proposed should start with a string and not with a boolean array. -
Boolean pattern matching, with a wildcard
Francois Normandin replied to crelf's topic in LabVIEW General
Don't you guys think that converting the string to boolean array is the real bottleneck here??? All implementations of arrays/matrices and case structures will be fast enough, but I would bet that "Convert String to Byte Array" is faster than looping a string with "array subset" to extract the booleans. So if one must stream the instrument status bytes as fast as possible, then it's the string conversion that would concern me. :2cents: -
Boolean pattern matching, with a wildcard
Francois Normandin replied to crelf's topic in LabVIEW General
Using Byte Array Conversion will get you there quite fast... -
Modify a VI at runtime using scripting
Francois Normandin replied to Francois Normandin's topic in VI Scripting
QUOTE (Ton @ Dec 12 2008, 12:04 PM) Ahhh... And that's why those properties/methods are not available at runtime. (Somehow, I think it's the second time I ask a question that gets me this exact same answer ) thanks Ton. -
I've been trying to create a cluster dynamically using scripting, starting from a template VI that I modify before I launch it (Run). It works fine in the development environment but I just can't make it work in EXE. Since I cannot add or remove controls and indicators while at runtime, I thought I'd save my *.vit in the same folder as exe, call it, add the controls dynamically and then "Run VI". I guess it was too simple because it crashed my application everytime... Can I do that at runtime at all? I know some properties and methods are not available at runtime... Are the OpenG's "Additional Application Controls" VIs available only in the development environment? Here's a snapshot of what I'm trying to do.