Jump to content

Francois Normandin

Members
  • Posts

    1,209
  • Joined

  • Last visited

  • Days Won

    46

Posts posted by Francois Normandin

  1. QUOTE (Ton @ Dec 12 2008, 12:04 PM)

    This will fail unless you make contact with an IDE version of LabVIEW, the LabVIEW runtime doesn't have a compiler included.

    Ton

    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.

  2. 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.

    post-10515-1229100227.png?width=400

  3. QUOTE (Aristos Queue @ Dec 9 2008, 11:02 AM)

    Um... Darth Vader's line was "It is useless to resist." "Resistance is futile" is Star Trek, not Star Wars.

    Man, what kind of geeks are we allowing on these forums these days?!

    I was pointing out that it probably took a Star Wars fan not to know that the borgs' motto was "Resistance is futile" ... but you're right, if I were a real hardcore geek, I would have known it was from HHGG.

    Sorry for the confusion!

  4. Somehow I don't think this is a computer automated reply... but the idea is interesting :thumbup: . It reminds me of MIT guys that created an automatic computer science paper generator, and some of those completely foolish articles were accepted to conferences (fortunately non peer-reviewed).

    It this case of doG (oups, a palindrome), I think a bot would make a lot of grammatical mistakes maybe, but not as many html style mistakes or orthographic errors as is the case . I would also be surprised if a bot could understand when it is being replied to explicitely, and when to ignore a reply that is not aimed at it directly.

    This could be the best coding challenge idea I've heard so far...

  5. QUOTE (Jarimatti Valkonen @ Dec 8 2008, 09:26 AM)

    Hi,

    Does the TCP connection refnum have any properties? I'd like to be able to determine the remote end IP address from it. However, with LV8.5 it seems that I can't get any properties out of it. Any toughts on the matter?

    You can't access any properties or methods for TCP in LabVIEW, they're not exposed. However, you can get the remote port and IP address when you use "TCP Wait on Listener". When a new connection is established, you get those properties along with the connection ID.

  6. QUOTE (Neville D @ Dec 1 2008, 04:16 PM)

    It might be slower because a buffer might need to be allocated for the remaining N-1 element array. Did you have that wired as well?

    There were no difference (or sub microsecond) for unwired index or 0-wired.

    And I totally agree with your usage assessment. I, too, am lazy most the time... :P

    EDIT: I didn't try wiring the DeleteArray index with (length-1)... (If we did, then the output changes from Scalar to Array)

  7. QUOTE (cromax @ Nov 27 2008, 06:42 PM)

    hello

    I want to use get xy waveform function with the Aim to get the last value of waveform acquisition.

    What index i can use in this function?

    I read in a help that if i don't use any index i get the o component and not the last.

    It's true?

    thank you

    Last index = length - 1

    And yes, if you don't wire any index, you'll get the first result (index=0).

  8. QUOTE (Justin Goeres @ Nov 25 2008, 10:49 PM)

    But that only gets me the contents of the PATH environment variable.

    I'm talking about something like the following example of which in the OS X Terminal:

    [18:58:35]$ which curl/opt/local/bin/curl

    It returns the path to the curl binary. If curl isn't in the user's path (for instance, if it's not installed in the system), it returns nothing.

    Obviously I could take the results of the VI you posted and list the directories recursively until I've either exhausted everything or found what I'm looking for, but I'm hoping there's a less brute-force solution than that.

    I thought the Windows equivalent "which" function was doing a recursive search too. I'm no expert on that, so I'll have to pass.

    <guilty>I never even worked on Mac or Linux...</guilty>

  9. Hi Dennis,

    it's totally doable. It's in fact much easier than you think it could be. Installing a card to multiplex your RS-232 ports will give you as many COM ports you need. Use Measurement Automation Explorer to configure them and use Instrument I/O Assistant to get started. (Instrument I/O palette)

    QUOTE (jgcode @ Nov 25 2008, 08:34 AM)

    Which ever hardware platform you choose, from your current spec you will need at least serial 17 ports.

    Or daisy-chaining the equipments if some are compatible with this control method.

  10. QUOTE (miab2234 @ Nov 24 2008, 03:46 PM)

    To say abut me. Actually am a student in Austria and i am trying my best for learning Labview.I am new in labview and i am searching the questions in the books and i am trying to solve it but i cant come further.

    Thats why i thought its the best way to ask someone,how the people solve the problems.We dont have any homeworks concerning to labview and i have no subject about Labview :). I am trying of my own nothing more then that.

    I thought its good to learn it.

    It sure is Miab. And you'll find LabVIEW is a powerful tool to enable programming all sorts of things, from instrumentation, user interfaces, data analysis or management and much more. But the best way to learn, IMHO, is to tackle problems that are progressive and reflect best what is your current knowledge of the software. I suggest you try running the tutorials or have a look at NI examples that ship with LabVIEW.

    On these forums, you'll find great help with surprising rapidity and "volunteering" (is that a word?), however you should note a few things: a) your questions must be clear and to the point; b) you have to demonstrate a will to resolve yourself the problems before asking for help, such as showing us what youMve already tried; and c) it's an open-source community, meaning you'll find many pieces of code in the existing forums, code repository or wiki. Search those before you ask a question. You'll be surprised how we've probably asked the same type of questions you're asking right now. We all started as newbies in LabVIEW at some point. If you don't find it, then please go ahead and create a new topic.

    see you around, ;)

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.