Jump to content

JustinThomas

Members
  • Posts

    72
  • Joined

  • Last visited

Everything posted by JustinThomas

  1. QUOTE (Mark Yedinak @ Apr 3 2009, 03:33 AM) Dear Mark, Why do you have to update all the files and folders at the start? How about just adding the top level folders in the beginning and then dynamically populating the sub folders as an when the user selects the particular folder. I think this would be pretty fast with the front panel updates disabled. Also as MJE suggested I too think the problem would be elsewhere and not with adding tree elements. I think the tree updates are pretty fast with front panel updates disabled. Try finding out time taken for various sections of the code to execute which may give a better idea of the problem. Regards, Justin Thomas
  2. Hey Norm that actually looks pretty cool. Can't wait to get my hands on it. When r u going to get it uploaded?
  3. QUOTE (alexwarrior @ Mar 17 2009, 10:26 AM) I am using a 7811R board. My requirement is to read a digital data line at the rising edge of a digital clock line. The problem is the clock line is external and may vary. The requirement is similar to sampling on a DAQ board using an external clock.
  4. QUOTE (mnky9800n @ Mar 13 2009, 10:59 PM) Looks like something is not installed properly on your computer. Why don't you let it install the runtime once? Does it popup after that too? Also which version of LabVIEW are u using? It may be known issue with the installer. Check this page for known issues with LabVIEW 8.5. http://zone.ni.com/devzone/cda/tut/p/id/6449 You can also get in touch with your local NI rep for further assistance Justin Thomas
  5. The LVDiff works well for simple VIs. One problem I am currently unable to solve is how to Diff VI's which have SubVIs. If using LVDiff with VIs having subvis in the repository LabVIEW would give me the Browse for VI option. I want the working copy VI to use SubVIs from the working copy and the repository VI to use SubVIs from the repository. Is this possible? Justin Thomas
  6. Once you password protect your vi, it is important to exit and start labVIEW again. This is essential because LabVIEW will store all passwords in its password cache which gets cleared when you restart labVIEW.
  7. How would you add multiple 3rd party installers? The NI App Builder allows for only one EXE to run after the application install.
  8. I would like to sample my data based on an external clock on a FPGA board. I was thinking of using a timed loop with a DI line as external clock. The timed loop with iterate based on the clock rate of this DI line. I have not found any way of doing this. Is this possible? or am I looking down the wrong path? Any alternate suggestions would be most welcome Regards, Justin Thomas
  9. QUOTE (rolfk @ Feb 19 2009, 02:03 PM) Yes that is right. I completely forgot about that situation. Thanks for correcting me
  10. Anyone know of a way to add icons to run time menus in LabVIEW?
  11. You could also use the App.Kind Property which outputs an enum. This can be wired to a regular CASE Structure. App.Kind would give output as Development System when running in the LabVIEW IDE and Run Time Sytem when running as EXE.
  12. There is an example of a numeric keypad on the NI site. See the link below. http://zone.ni.com/devzone/cda/epd/p/id/456 This should get you started
  13. QUOTE (rom76 @ Feb 11 2009, 03:02 PM) Replace your GetDateTime function with the Tick Count(ms) function found in the same pallette. This should solve your problem. Justin Thomas
  14. Here's the link to an encoder application note on the NI site. http://zone.ni.com/devzone/cda/tut/p/id/3321 This should get you started.
  15. QUOTE (huotom @ Feb 9 2009, 11:45 AM) Typically while developing a lab applications I would prefer system colors as they make your application look more at home on the OS you are running. I also try and use system controls and indicators wherever possible. While developing for a process plant automation type application I would use bright colors and big prominent controls and indicators. Good Colors for an application are very subjective and its a very good idea to get feedback with the end user of the application
  16. If I have understood correctly you need to update a flag under certain conditions and retain the previous value of the flag for remaining conditions. Assuming that you are using a while loop or a for loop you can do this by using a shift register. Update the shift register when you need to set your flag and for all other cases of the case structure simply pass the previous value of the shift register. As you need to stop on the first time the condition is met, you should look at the for loop with break
  17. QUOTE (ejensen @ Feb 5 2009, 09:53 PM) That a really neat trick. I did not know that you could set these settings during the build process. I would generally use a conditional disable structure and property nodes to achieve this.
  18. I remember at NI Week 07 a bunch of college students did show a robot programmed using NI RT based on a PC/104 platform. The following is the link I found on this http://www.apple.com/science/profiles/romela/
  19. QUOTE (zmarcoz @ Feb 8 2009, 04:59 AM) The STORENAME.txt file is not required instead you can use the List Folder function in the FileI/O>>Advanced File Functions Pallete. This function will list all the files and folders available under a specified folder. The filenames are given out as and array of string which you can easy search through using array functions.
  20. QUOTE (Chris Davis @ Feb 4 2009, 07:20 AM) Really neat trick. QUOTE (stever @ Feb 5 2009, 12:33 AM) That's a good idea. What I think I'll do is use a regular while loop (which will run as fast as it can), inside of which is a Timed Sequence whose Timing Source is "1 kHz Clock <reset at structure start>". Inside this Timed Sequence is my LabView code. I think this is equivalent to what you suggested. I do not think this is the same as Chris' suggestion. You would have the overhead of calling the Timed loop for every iteration. I think it should be the other way around the Code inside the While loop which is inside the Timed Loop
  21. This happens because the datatype requirements for the Plot Multi XY and the XY Graph are different. I have modified your code so that the concentric circles can not be displayed in both indicators. Hope this is helpful
  22. The lookup table does look like the obvious choice here. If the amount of data to be stored in the lookup table is significant you should try using a file. An INI or XML based file would be ideal. Having said this a better suggestion can be made if you can upload an example of your code
  23. QUOTE (Val Brown @ Feb 4 2009, 06:57 AM) I had the same problem when opening my files on a vista machine. Reworking by moving around the objects did not help much though. It looks ok on the vista machine, but when I move back to XP the font changes again and you end up with the same problem.
  24. Have a look at the Standard State Machine Template under your VI templates folder. This should be a good starting point
×
×
  • Create New...

Important Information

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