Jump to content

TobyD

Members
  • Posts

    636
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by TobyD

  1. QUOTE (Maca @ Dec 21 2008, 02:59 AM)

    There has been a lot of homework questions lately though...

    The HH's always come out in full force near the end of the quarter/semester at school - days before their final projects are due.

  2. QUOTE (Psyfusion @ Dec 14 2008, 01:08 PM)

    Hi!

    My bigger problem is solved i think but now i'm stuck with the following:

    I have a while loop nested into a true/false case structure. If i change the true/false input, the change only comes if the inner while loop is finished...this is normal, but i would need a way to do the 2 processes parallel. So if i change to input to false, the while loop would be ignored and the process would stop immediately!

    Please help me solve this!

    Thanx!

    Please post your code - it is much easier to comment on code than on a vague description. That said, look into the "producer consumer with events" design pattern. I think it will handle your problem nicely.

  3. QUOTE (Norm Kirchner @ Dec 8 2008, 12:54 PM)

    If anything, NI folk should be granted premium status just by the sheer fact that they support the careers of most people on the forums...

    It could be argued that we $upport your career ;)

    Congratulations by the way - I haven't had much time to reply in the last couple of weeks.

    -Toby

  4. QUOTE (BrokenArrow @ Nov 25 2008, 09:48 AM)

    :D Thanks! I think I just caught the bug. I still don't know half as much as a lot of people here, but I really enjoy LabVIEW. I need to get into a job where I can use it a bit more aggressively.

    QUOTE (jdunham @ Nov 25 2008, 10:43 AM)

    Doesn't seem like EBay is necessary. Your local NI sales guy/tech support team wants to keep you happy. If you have a paid license, it seems like they would just give you a copy of the old Labview if you explain the problem.

    This is likely true. I've found my local reps to be quite helpful and they could probably scrounge up a copy for you. It never hurts to ask.

  5. QUOTE (BrokenArrow @ Nov 25 2008, 07:29 AM)

    I apologize for this being tangential, however: why use the Open Visa before the Setup?

    My point here was just to demonstrate the while loop. I kept his original code unchanged (other than running the diagram cleanup tool on it). That said, the VISA driver used to require a VISA Open at the beginning of a program. It was later changed so that the driver would automatically open a VISA reference if it needs one. So, it is not even necessary to have it in there at all - although it is probably still a good practice from a readability point of view.

  6. QUOTE (BrokenArrow @ Nov 25 2008, 07:19 AM)

    How do you "upsave" to 8.5?

    The only way I know to do it is with an intermediate version like you suggest. If it's small I'm sure someone here can upsave it and send it back to you or I think NI will usually hook you up with a trial license of the intermediate version of LabVIEW if you need it for the upsave.

  7. We have one application where we are using 12 USB to RS232 dongles + the one on board RS232 port with no issues. You can pick the adapter dongles up for less than $15 each so that might be an option as well. The only thing we had to do is to force each adapter to a specific com port so that if it got plugged into a different USB location it would keep the same COM port number.

  8. QUOTE (Wolfram @ Nov 18 2008, 05:54 AM)

    Hi folks,

    attached I have a VI that produces a memory leak. It works ("misworks") in LabVIEW 8.6 and 8.5/8.5.1 but not in LabVIEW 8.2. The attached VI is saved in LabVIEW 8.5.

    Wolfram

    I can confirm it (LV8.6 on Vista) but I can't explain it. Did you send this to NI?

  9. QUOTE (chocobar @ Nov 18 2008, 04:50 AM)

    my target is to run this thing continously and when it triggers...the sms system will be activated and thus send out 1 email to respective numbers

    Can you clarify run this thing continuously? What do you mean by that? Are you starting the VI with the Run Continuously button? Post the code of how/where you are calling the VI that you posted previously and I think we'll be able to help you.

    -Toby

  10. I understood semaphores a bit better after learning Italian. The Italian word for traffic light is semaforo, which tranlsates directly to semaphore. If you look at the intersection as your shared resource, the traffic light is the semaphore controlling access to that resource. It only allows access in a safe way to everyone involved. (I'm not sure if data ever runs red lights though)

  11. QUOTE (blitzkrieg @ Nov 13 2008, 12:13 PM)

    Here it is

    Sorry for my lack of knowledge.

    You don't have to apologize for your lack of knowledge, that's why you're in school. But if we do the work for you, you will never gain the knowledge.

    I'm not sure what you are trying to do with the latest VI that you posted. You need to understand that the PID VI I posted is not even close to the full solution. That is just one piece of the system (or one subVI). You need to be calling the PID VI in a loop where each iteration passes in the updated Process Variable (and you'll need to connect the terminals because I forgot to do that :oops: ). The graph will then be updated in the same loop that calls the PID subVI.

    After looking at the Lab you posted, there are some pretty specific requirements. You need to layout the front panel, check the PID VI I posted to ensure it is using the same PID equation that the lab refers to, etc. You have a lot of work left to do. We all enjoy helping people out, but don't expect anyone to bail you out and do the work for you at the last minute. This looks like a lab that should require many hours of work on your part. Good Luck!

    (Read up on shift registers - you're going to need them)

    Toby

  12. QUOTE (sharon08 @ Nov 12 2008, 07:55 PM)

    I agree with Danny. I think your path must be incorrect. I noticed your vi open with \\sgp1935c\\Dial_S_for_Success\Shiva.txt in the path. There is an extra backslash in there after the computer name. Could that be your problem? I was able to open remote files using UNC (\\computername\folder\filename.txt) with no problems.

  13. QUOTE (Ton @ Nov 12 2008, 12:55 PM)

    I think a PM letting me know why my contributions to the community are being thwarted was in order.

    QUOTE (crelf @ Nov 12 2008, 01:27 PM)

    No, a moderator did.
    Tagging is there to help you to find things, and IMHO I don't see the value in "Homework Hustler" as a search term.
    If you have anything negative to say about the validity of a post, use the "! REPORT" button, not the tagging system.

    I disagree. There could be a post that I need to search for in the future where one of the things I remember is that it was a homework type question. In the case of this and many other HH's, I did try to offer some useful advice to the poster - I was not tagging just to be negative :shifty: . Besides, I thought I couldn't go wrong following the advice of the Admin. :D

    QUOTE (Michael_Aivaliotis @ Jun 2 2008, 11:04 AM)

    homework hustlers
    is an
    Excellent
    tag!

×
×
  • Create New...

Important Information

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