Jump to content

naruto

Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Everything posted by naruto

  1. Once again you have come through Mr Aivaliotis! thank you! your help has been very much appreciated! Regards, naruto
  2. Maybe it's because i'm relatively new to labview, and I use up more space on my block diagram window, but wouldn't it be nice if we could zoom in and out on our diagram? ie- be able to zoom to the extent of the screen so that one can view their entire block diagram layout, or zoom in on areas where wiring might be somewhat jumbled up and harder to track This is coming from someone who uses drafting programs, like AutoCAD, extensively, and finds it very useful to be able to navigate the window by zooming with the scroll wheel on the mouse. Even a simple added dimension like pressing the ctrl button along with scrolling to zoom in and out, and leaving the regular wheel function for vertical and horizontal scrolling would suffice. is there a vi out there that can accomplish this task? thanks for the input, naruto
  3. On another note, Is there a way of cleaning up all the wires in a vi at the click of a button? As opposed to having to right click and "clean up" each wire individually? Kinda like the ctrl+B function for broken wires? A feature where you can clean up only the wires in a selected rectangular region would also be useful for that that do not wish to adjust the other wires in their program and risk having labview map some undesired paths. I find that sometimes labview does not do a good job with "cleaning up" the wires, and at times, makes the wiring even more confusing than it should be. just my two cents, thanks for the help! naruto
  4. Hi, I have come across a problem with sequence structures that I'm hoping someone on this forum can help me out with. The sequence structure is one that is very simple and does the following: sequence 0 - deletes temp-NRT.txt sequence 1 - copies NRT.txt to temp-NRT.txt sequence 2 - delete NRT.txt sequence 3 - sum.VI reads temp-NRT.txt and creates a file SUM.txt This is a sub VI to a main program that writes data to NRT.txt, therefore, the moment it leaves the sequence, a new NRT.txt file is created, and subsequently, data is written to it. sum.VI sums up specific portions of the data in NRT.txt and all future calls to this specific vi is appended to the SUM.txt file. The main program is constantly running and writing to NRT.txt I have set the main program so that it will run through this sequence at 4:00:00 AM, and 4:00:00 PM each day. For some reason, the first instance through the sequence works just fine (ie - when it hits 4 am, it runs through it and creates the correct SUM.txt file. In the second time through the sequence, however (ie - 4 PM that same day), it would not delete the temp-NRT.txt file, and doesn't copy NRT.txt to temp-NRT.txt, yet it still deletes NRT.txt and runs through the sum.vi file. The sum.vi file, as a result, spits out the same data i got at 4 am, since temp-NRT.txt was not deleted or changed. So in essence, sequence 0 and 1 are not completed, yet sequence 2 and 3 run. Is this a bug in labview? or am I running into some sort of file handling error? As you can tell, I am still not too familiar with all the functions of labview. Any advice or criticism would be a great help to me! Thanks once again! Naruto
  5. PERFECTO!!! Thank You very much guys! I really appreciate your help!
  6. Thanks for the prompt reply jpdrolet. I am still quite new to labview, so I was not sure how to create the time stamp control. Now that I have figured that out, how do I actually go about formatting the control though? is there a way of setting the years to just 2 numbers (ie - 04) as opposed to 4 (ie - 2004)? I also need to account for AM and PM values, can that be formatted? will labview recognize the AM or PM string and convert the time accordingly? for the second part of your post, u say to wire the time string value to the property numeric text>text on the time stamp which function would this be called? would that be "Get Date/Time String"? so 1) wire the time stamp that i format from the string i want (ie - 00:00:00 PM MM/DD/YY) 2) to the "Get Date/Time String" 3) Set want seconds to true, 4) and wire an indicator to the time string output? if this is correct, then i just need to know how to format the time stamp properly. Any help on this would be greatly appreciated! Thanks!
  7. Hi, I was wondering if anyone knows of a way in which one can convert a time and date string that is read from a .txt file, into a time stamp value. The reason I ask this is because I need to calculate the time between cycles on a certain machine. (ie - subtract cycle ON time with the previous cycle OFF time) Currently, we have a program that spits out the data onto a .txt file in the following format. 11:32:28 AM 06/03/04CYCLEOFF 11:40:24 AM 06/03/04CYCLEON 11:45:26 AM 06/03/04CYCLEOFF 11:47:52 AM 06/03/04CYCLEON and so on... the main concern however is that there might be confusion in the calculation when the time switches to that of the next day. ie - 11:32:28 PM 06/03/04CYCLEOFF 11:40:24 PM 06/03/04CYCLEON 11:45:26 PM 06/03/04CYCLEOFF 12:47:52 AM 06/04/04CYCLEON 01:10:10 AM 06/04/04CYCLEOFF <-- converting this time to seconds would cause an error in subtraction I am thinking that the best way to approach this problem is to convert the string into a time stamp of the number of seconds from 12:00 am., Friday, January 1, 1904, Universal time. Then it'll just be simple arithmetic However, I have not figured out a way of doing this conversion. Is there a function that I am not aware of? If anyone can figure out a better, more efficient way of solving this problem, I more than welcome the criticism and suggestions. Sorry for the long post! Hopefully the question is clear. Thanks for any help you can provide :worship: Naruto
  8. Hi All, I am quite new to LabVIEW, so I still haven't discovered all of the features that experienced users might be able to take advantage of. I was wondering, however, if someone would be able to help me with some front panel related issues. I wish to alter the appearance of an indicator box, on the front panel, by changing it from a recessed box to a flat box, so it can blend in with the background. Is there a way of doing this? Seems simple enough, but I can't seem to find the trick to do this. Any help would be greatly appreciated! Thanks, :beer: Naruto :beer: ps- great forum! :worship:
×
×
  • Create New...

Important Information

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