NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Niru
Posts: 26
0 Kudos

SeqEdit.z - Bug in TestStand?

Hello,

 

I am using TestStand 2010.

While working on one of the test sequence, suddenly "Sequence Editor" message popped-up. The screenshot of the message is attached with this post.

It says that "Error Occured while trying to refresh edit panel 'SeqEdit.z'. Object reference not set to an instance of an object"

 

If I hit OK on that message pop-up, I was not able to get rid of it...Neither could I close this message pop-up.

I couldn't find any way, but to close the TestStand application from task manager.

 

One thing to note is, when I re-opened the same sequence file in the new TS session, it worked fine.

 

Does anyone know, why this error might have occurred? Is closing the application, the only way to get rid of this error?

 

Thanks and Regards,

Niraj.

Trusted Enthusiast
Norbert_B
Posts: 3,564
0 Kudos

Re: SeqEdit.z - Bug in TestStand?

Niraj,

 

i encountered this error once. It occurred after my LV module adapter crashed completely (testing code from customers sometimes leads to unexpected behavior :smileywink: ).

 

After rebooting the system, the error did not show again.

 

So could you test this?

 

thanks,

Norbert

Member
Niru
Posts: 26
0 Kudos

Re: SeqEdit.z - Bug in TestStand?

Hello Nobert,

 

As I had already mentioned in my post, when I re-opened the same sequence file in the new TestStand session, it worked fine.

So I am sure that rebooting the system should also work.

What I wanted to know is, why this error might have occurred? Is closing the application, the only way to get rid of this error?

 

Thanks and Regards,

Niraj.

Member
Erik_Crank
Posts: 109
0 Kudos

Re: SeqEdit.z - Bug in TestStand?

The sequence editor displays this message when an error occurs during refreshing of the step settings pane. The message displays repeatedly because as soon as you dismiss the dialog box, the step settings pane attempts to refresh and the error occurs again. When this happens I think you have to end the sequence editor process with the task manager.

 

If you can find a way to reproduce this problem consistently, please send us the information so that we can fix it. It appears from your screenshot that you were editing a sequence call step. To reproduce the problem you might try repeating the tasks you were performing at the time the error occurred.

Member
Niru
Posts: 26
0 Kudos

Re: SeqEdit.z - Bug in TestStand?

Hello,

 

This issue is consistently occuring. Below the snapshot of the seqence which I am running.

 

Seq.JPG

 

 

Please note that the sequence executes perfectly fine. No issues with that. But, if someone selects "Read Parameter" step and "Set Cell Value" susbsequence call step together, at that time I am getting this run time error, which I had mentioned in my first post of this thread.

The "Read Parameter" is a customised step which we are using to read the value back from ECM. I am attaching the sample sequence file with this post.

Since I just copied few steps from the original sequence, and pasted in the attached sample test sequence, the test is not executable. I havent created necessary locals as well.

You can simply open the sequence in TestStand, and once you select "Read" step with "Get" step, you should the run time error popping up.

 

 

Thanks and Regards,

Niraj.

 

Member
Erik_Crank
Posts: 109
0 Kudos

Re: SeqEdit.z - Bug in TestStand?

Thank you for attaching the sequence file. The problem occurs when you select two steps that have different values for the TS.CanEditModulePrototype property. Your custom step type has a value of False and the other SequenceCall steps have a value of True. You can workaround the problem by editing your custom step type as follows:

 

  1. On the Step Type Properties dialog box, select the Disable Properties tab.
  2. Uncheck the Edit Module Prototype checkbox.

 

This problem will be fixed in a future version of TestStand.

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page