Jump to content

chris754

Members
  • Posts

    63
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by chris754

  1. I have a strange issue. I have a queue with class data. On an event, I dequeue a class element and put it into another array (for historical purposes). While in this event the data in the class is fine, I can read it. However, once the event ends, the data is lost. However, I can prevent this from happening if I use "Always Copy." Is this a bug? No where else in the code do I destroy the class data.
  2. The project was built on an English OS (Windows 7 64-bit). Everything should be QWERTY. I don't have 2012 to try and upgrade. By the way I am using LV2011 SP1. Yair, I did try this. The lvapp.rsc was missing in 2011, I tried copying another one from 2011 with no success. I tried copying 2010s versdion of the English file with partial success. The character displayed in English, but now the application crashes everytime. Any other ideas? Thanks for the help! Just tried the French .rsc file and it changed all to French with no crash. So getting closer. I think I just need the English v2011 of this file. UPDATE: Got it! The 2012 version works in 2011. Thanks for all the help! UPDATE: Nevermind, that causes the my versioning to be incorrect and then I can't open the project
  3. Not sure if this is the right topic, but... I have a project that when I go o build the menu bar and all pop-ups seem to come up in random characters. Any one know why this would occur? The controls/indicators seem to be fine. Also, it is not unicode, which I have researched has a CAR. This does not affect the VIs themselves. When I open the VI they appear fine. Any Ideas? Also note that I have not changed the menu at all, ie te menu is not custom menu, it is LabVIEWs default menu when building.
  4. Yes, I agree with you. I posted as a poissble soultion to his particular problem. You can see that my patch will break if you put variant constants on the BD wired to nothing.
  5. Having trouble posting code/pics. To solve get rid of the variant constand and instead wire the variant over from the "To varaiant" output to where the constant was wired to.
  6. Just took a quick look, but your VI hangs because you are using two event structures in the same while loop. Once an event occurs, a lock is performed, and no other events can register, but the while loop still needs another event to occur, and thus your VI appears to hang. To fix this problem you should only have one event structure.
  7. Figured it out! The copy/paste method works, weird that adding a directly to the cluster does not work. But I create a separate cluster and paste over the existing private data cluster and it does work.
  8. I missed the rar file. Seems like they are basically doing what I am doing, with the exception of using a copy/paste. Not sure if that will make a difference. Thus far no luck .
  9. Unfortuantely adding it to a project does not seem to fix the problem.
  10. Thanks Todd. I can't look at AFMM because I use 2011 currently and it's built in 2012. I will give adding it a project a try.
  11. Thanks for the response. I do save the class (programmatically), but I guess that isn't good enough for LabVIEW?
  12. Hi all, First time poster. I have been trying to create a new class in LV via scripting. I can successfully create the class, and add private data members to that class. However, when I try to creat accessor methods the unbundle feature is broken. I can fix this by opening the priavte data control and saving it. Any ideas how to fix this problem? I have attached my code. I have tried saving the control a number of ways, as well as the class, but can't seem to make it work. Thanks for any insight. Let me know if you have any questions. Chris Class Wizard.zip
×
×
  • Create New...

Important Information

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