Jump to content

chris754

Members
  • Posts

    63
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by chris754

  1. I like this. I don't really see it breaking data flow. It's sort of like like "worm hole" data flow. Data is still moving from one point to another, just not encumbered by normal physical bounds of the 2d world.
  2. Here is a description of some of the error codes: http://digital.ni.com/public.nsf/allkb/2FA525A8585A92E9862566EE002A3755#EABO Error 6 is a a read/write error. You have not provided a command (the string) in the image you posted above. This is probably your issue.
  3. They are asking you to post the source (the actual VIs) not a text file or an image. This way they can open the code and actually see what is going on and point you in the right direction. Without the real source it becomes difficult to help you.
  4. This is very interesting. I will be investigating further as it has relevance to a project I am working on.
  5. If you are manipulating the UI (or strings), you probably don't want to be using the subroutine priority.
  6. You are most likely missing a dependency. Do you have "remove unusued members of project libraries" checked in the EXE build spec? This can lead to issues if VI_X needs a vi in a library and the EXE does not.
  7. Yes, I have had similar issues before and resolved it using the "immediate" function of TCP read. Of course this might cuase you to have to change the way you wait and read for messages.
  8. Yes, I did find that reference. I could make an argument either way. It was just different than what I expected and was curious what others thought.
  9. (If this is not the right forum, please move as appropriate) Yesterday, I was trying to capture the "key down?" event on a string array control. I noticed that the event would never get fired while typing into one of the strings in the array. The event does fire if you type in the index control of the array. My question: Is this expected behavior or a bug? After trying a few things, I can get the behavior I want by getting a reference to the "ArrElem" and registering it for the "key down?" event and passing the into the dynamic event terminal. This is fine for my purposes and will implement my code in this fashion. However, I certainly was not expecting this event to behave in this way. I guess I could see why this may be the case (you are typing into a string control, not an array) but curious what other people think... This was all done in LV2013. Thanks!
  10. There should be a "National Instruments Software" token in the add/remove programs. This will allow you to uninstall and NI software you want. Revo should also see this program.
  11. Who are these masochists?? I would literally go insane. Do they go a step further and use 3G data to do all this? I have a galaxy note 3 with a pen and I would never attempt such a thing.
  12. I agree. But I was thinking you could trap the item in the array on the mouse down event. But this won't work if tabbing is allowed. Although you could keep track of it on mouse down and tabbing event. Not very elegant, but possible.
  13. This will get you which element the mouse is currently over. Maybe you can modify for the item being changed?? GetArrayElementMouseHover.vi
  14. You could trap the "key down?" event and discard it if the editable field is not enabled. The field will still be white, but no characters will be entered.
  15. Graphical programming is probably due for some transformation. Text-based languages transform monthly. Graphical has been relatively stuck for a while. An upstart would be welcome to push NI and graphical programming in general.
  16. I really like this idea. Don't think its ready for prime time yet, but really like the idea of mixing java (I actually like java ) with graphical programming. I can see myself writing classes with java and doing my threading with graphics. I do wonder if they are breaking some NI patents/IP however, some things look rather similar. Seems cool nevertheless for my quick glance through it this morning.
  17. Complete uninstall and reinstall worked the second time. Still don't know why this occurred.
  18. Hi, I have LabVIEW 8.5, 2011 and 2013 on my machine. 2013 and 8.5 work fine, and 2011 was working for years until last week. Now when I launch 2011 it appears in the tray and then disappears and nothing happens. 2013 and 8.5 launch fine. I have uninstalled and reinstalled 2011, no dice. I uninstalled all versions and reinstalled 2011, no dice. Any ideas as to what could be happening? I tried using a coworkers INI file, nothing. Tried deleting the INI file, nothing. I have NI reps looking into it, but they seemed stumped as well. Trying to avoid reimaging my computer. Thanks Chris
  19. http://www.raspberrypi.org/raspberry-pi-2-on-sale/ Windows 10 will be supported and will come free.
  20. Not sure what's going on, but the problem lies within CvtPaneltoScreenCoordinates. That keeps giving me negative values. I copied the code from the correct VI onto a new Vi and it worked just fine. Copied code from the wrong VI to a new VI and it didn't work. Tried copying CvtPaneltoScreenCoordinates from the good to the bad, but that didn't do anything. Some reference somewhere is getting screwed up or something.
  21. Capillary? or cell? (if you like biology references...)
  22. No. Interesting idea. In 2013 and up you could just create a note with a # tag... But otherwise I just navigate the old-fashioned way.
  23. If you have a Parent class P, with child class A and B. If A has additional parameters that both P and B do not have that is fine. In this case, you know specifically which class you need, so then you would cast the object to class A and call the parameter for this specific purpose. If the parameter is in both P and A (and therefore B as well), no need to cast. The only time you cast is when the child class has extra information, that the higher level class does not have. I would stay away from variants for this case, it is an unnecessary complexity. Do-nothing accessors would also not be a good choice, as it would confuse the issue, and give class B irrelevant information.
  24. Yes, what Manu said. No need for casting, just call the parent method directly. The parent will choose the appropriate child method with dynamic dispatch. Exactly how the accessor method is working in your above example.
×
×
  • Create New...

Important Information

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