Jump to content

orko

Members
  • Posts

    576
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by orko

  1. The timeout value is the time that it waits for a response(the time where no data is being seen on the line), not the time it takes for a response to fully be recieved.

    As far as it working in highlight execution mode, that definitely smells like a timing issue. Have you tried putting in the delays suggested by ASTDan and I? Make sure you are not just placing waits floating (without being attached inline using data flow). I would try the two waits suggested with values of 3000 microseconds each. If that works, then you can scale it down to the correct timing. If it doesn't work, post your updated VI (or screenshot) here.

  2. QUOTE (Stijn @ Apr 15 2008, 12:47 PM)

    Not a problem if you need to control the values while the loop is executing.

    QUOTE (Stijn @ Apr 15 2008, 12:47 PM)

    how should I best program my application ( I wanna make it an execute file )

    Not sure what you're asking here exactly. If you're asking how to build an executable in LabVIEW, then I suggest looking at the internal help available in LabVIEW. Or look online at ni.com.

    QUOTE (Stijn @ Apr 15 2008, 12:47 PM)

    You might want to look in Help->find examples for DAQmx examples. I think there are a few that demonstrate how to aquire multiple channels at the same time.

    QUOTE (Stijn @ Apr 15 2008, 12:47 PM)

    * output the signal with a PCI-6704 (static signals) and a PCI-6229 (dynamic signals) with the DAQ Assistant for data acquisition

    Probably we've gonna have problems with this part, because we want to run a application with
    real-time
    adjustable output parameters with this
    PCI
    's

    I don't know if this is gonna work, I've heared I can put a DAQ with different data inputs and outputs, as much as the PCI has outputs

    When you say "real-time", do you mean deterministic (predictable execution time)? If your application doesn't have to run in a tight loop (within microseconds of the set loop execution time) and will not harm external equipment if it has occasional pauses or lags in execution, then PCI cards will do. If you need tight control however, you will have to go with a more real-time operating system. I would suggest talking to your local NI rep for advice.

    QUOTE (Stijn @ Apr 15 2008, 12:47 PM)

    In may I'm gonna follow Basic Course I & II.

    Excellent! I would suggest the Intermediate courses as well if you can, since that is where I felt I learned the most about how to structure a LabVIEW application. Basics courses showed you the building blocks - Intermediate courses showed you how to put them together.

  3. QUOTE (neB @ Apr 15 2008, 11:23 AM)

    I am not saying that everyone SHOULD beleive in a deity.

    I am saying that it is OK to be a scientist and beleive in a deity.

    I knew there was a reason I liked you, Ben ;) Unfortunate that I won't be seeing you on the forums from now on... since you'll be expelled and all (according to the movie).

    Disclaimer: My beliefs are my own. Saying my beliefs are wrong/right is judging the very core reason that I believe I exist. Who are you to make that judgement? God? I didn't think so.

    No more from me. I'm going to my happy place now... ;)

  4. QUOTE (JDave @ Apr 15 2008, 08:56 AM)

    I also have wanted this, and made a feature request for it a while ago. Seems like a pretty reasonable request. Conditional disable flags affect the entire project, and the build settings build the project into an executable.

    I agree :thumbup:

    So far I've just been having to remember to set the right conditional variables before I build (and make sure everyone els knows about them...)

    Setting this up as two builds inside the project would be cool...

  5. Looking at your VI, I'm under the impression you have the flush buffer in there to "throw away" anything that is returned from the device after the "T1=#" command is sent. You might want to insert a delay in between this write and flush (with a flat sequence to preserve data flow) so that it doesn't flush too early.

    I also notice that this device is operating at a very low baud (2400), so the default timeout value (in the VISA property node under "General Settings") of 2 seconds might in some cases not be long enough to wait for a response. I'd bump that up to 5-8 seconds.

  6. QUOTE (pallen @ Apr 15 2008, 03:22 AM)

    I'll be taking a crack at the CLAD exam they're offering there. Hope I studied enough.

    Using LabVIEW since 2002? You should do fine ;)

    Just be wary of "tricky" worded questions... An hour is more than enough time to go through the exam, and go back and review the ones you weren't 100% certain of before submitting it (I'm assuming that they are still using a PC-based exam that allow you to mark questions for review).

  7. QUOTE (EJW @ Apr 14 2008, 10:33 AM)

    hi everyone. just wondering which of the two methods of unbundling tasks in my example code is more appropriate to use. if you could take a look and let me know i'd appreciate it.

    Personal opinion: I try and keep everything inside case structures as small as possible, and with minimal changes in data. Ask these questions: How long does it take to fully comprehend what is going on in the top case structure? Now how long does it take for the bottom? Also, what is the possibility of miswires in the top structure as opposed to the bottom? Like noticing that say, the "DOT BOT ACCEPT" and "DOT BOT FAULT" might be swapped?

  8. This may sound petty... but I've been bugged by these two things for a while now. ;)

    1) Clicking on the "View New Posts" link when there aren't any new posts presents you with an error page. I could live with that, but it would be nice to have that little dropdown selection on the bottom of the page:

    post-3266-1208194277.png?width=400

    ...so that you could expand the list to see topics marked as read. The error page is just a generic one, so how would I get a list of "read" topics for this week? I seem to remember a way to hack up the URL before to change the search date, but that doesn't look like it works anymore.

    2) The Search Results window from either searching manually or by clicking on the "View New Posts" link is titled "Search Results". The Search Results from searching for files in Windows Explorer is titled "Search Results". When I look at my windows task bar... I sometimes see a few "Search Results", but can't find my LAVA browser window amongst them ;)

  9. QUOTE (crelf @ Apr 13 2008, 11:43 AM)

    Feature Request (tell me if I'm bonkers): it'd be nice to right-click drag a VI in a class and then select "create copy". Some of my methods are similar (in layout at least), and this would speed up my development. In fact, maybe this isn't an idea that should be restricted to OO? Maybe this would be useful throughout the project explorer?

    I agree with you, but I'm afraid I cannot diagnose your bonkerness. :P

  10. QUOTE (Tomi Maila @ Apr 12 2008, 01:01 AM)

    With my Windows XP safari seems to use anti-alialised fonts which are harder to read than fonts used by Firefox and IE :thumbdown:

    Tomi,

    I found that lightening up the font smoothing (in edit->preferences) helped this.

×
×
  • Create New...

Important Information

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