11-13-2011 02:57 AM
Hi All,
I am using labview 9 version and now i want to convert my code for labview 8.5 but its shows error 547 which means i am using event structure in my code.To sove this problem i found that i have to convert my event structure into stack structure but i dont know how to convert it.can anybody tell me about this? i have also attached my code.
11-13-2011 01:12 PM - edited 11-13-2011 01:18 PM
LabVIEW 8.5 fully supports the event structure (even much earlier versions support it!). What gives you "error 547"? What is the exact error message? What are the steps we can take to reproduce the error? (I don't get any error if I try to convert it to 8.5 using LabVIEW 2011)
Can you explain what you think you have to do?
What is a "stack structure"? Such a beast does not exist in any version of LabVIEW. If you mean a "stacked sequence structure", I don't see how it can replace the functionality of an event structure. Your post makes very, very little sense. (That's like trying to substitute a banana for a motorcycle :o).
Who wrote this program? It looks like it is made by Joey Tun at Keithley. Why do you call it "my code"? Are you Joey? Did you make significant changes to Joey's code? Maybe you should try to get an earlier version directly from Keithley.
11-13-2011 01:34 PM
I am extremely sorry for my spelling mistake and my little sense about it.I am not expert and experienced in labview.I am just beginner in labview.I am not using this code i have to use just little part of this code.But rightnow i am using labview 8.5 and i can not open this code in this version(because its compatible with labview 9) so i tried to save it for previous version.But when i tried to save it itshows this error.
Fatal Internal Error : "MemoryManager.cpp", line 547
LabVIEW version 9.0
You will lose any unsaved work. For assistance in resolving this problem, please relaunch LabVIEW, or contact National Instruments.
So to solve this error i did some steps which are mentioned in this link.
http://digital.ni.com/public.nsf/allkb/E24B66D8249FC02F862576A400602164
In this link they have mentioned that :Replace the event structure with a stacked sequence structure
And i dont know how to replace it.
It is better to give me right suggestion (not to point out at my spelling mistake.)
11-13-2011 01:45 PM - edited 11-13-2011 01:45 PM
OK, that makes more sense, but it sounds like a horrible workaround to temporarily remove the event structure and then later recreate it.
This seems to be a real bug in LabVIEW 2009, so downconverting from any other LabVIEW version should be OK. Here's the same VIs donwconverted to 8.5 from LabVIEW 2011. See if it works for you.
11-13-2011 02:37 PM
Did this work for you?
@altenbach wrote:
It is better to give me right suggestion (not to point out at my spelling mistake.)
I cannot solve a problem unless I understand the question. I did not point out a spelling mistake but I asked for clarification on a point that was not clear to me. The link you gave made things clearer. You probably should have provided that link in the first post. 😉
11-14-2011 07:45 AM
@altenbach wrote:
Did this work for you?
@altenbach wrote:
It is better to give me right suggestion (not to point out at my spelling mistake.)
I cannot solve a problem unless I understand the question. I did not point out a spelling mistake but I asked for clarification on a point that was not clear to me. The link you gave made things clearer. You probably should have provided that link in the first post. 😉
When last I looked there was a similar situation that was not called a bug that arises when using dynamic events. Deleting registration of an event could lead to the events being re-arranged with no clue as to what they were before the edit. It still requires documenting the event before thinking about the change so that you can put them all back after the shuffling.
The pseudo-type def used or the Event Registration could stand some more thought.
Ben
11-14-2011 07:45 PM
Thank you very much for your help and valuable suggestion