Jump to content

Determine the number of 'Recorded Result' actions


Pulp

Recommended Posts

Hello all,
 
I have implemented a progress bar in LabVIEW, like this (called from the PostResultListEntry callback):
post-33616-0-86263800-1367411138.png

 

Because it doesn't update smoothly I would like to try another approach: determine the number of 'Recorded Result' actions in the entire sequence at initialisation.

 

However, I haven't found a way to accomplish that. I can get the names of the sequences in the sequence file, I can get the names of the steps in these sequences, but I can't retrieve the reference to the sequence that is called from the MainSequence.

 

Can anyone tell me how to accomplish this?

 

Greetings,
Bart

Link to comment
Hello all,
 
No answer yet. Maybe I didn't describe it that well, so I'll try again.
 
I have a MainSequence (see below picture), consisting of some sequence calls, some functions and some labels. The sequence calls contain subsequence calls.
 

post-33616-0-47376800-1367525926_thumb.p

What I try to do (in LabVIEW) is to reconstruct the sequence from the provided Sequence Context. I have a list of all sequences in the sequence file (in this case MainSequence, SequenceA, SequenceB, SubSequence1, and SubSequence2). However, I can't get those exact names from the context. I have retrieved a lot of names (sequence, step, step type, adapter key, adapter display names - see below picture - don't worry, this is prototype code, I'll clean up when I have a solution), but none of them are the exact name of the sequence in the sequence file.

 
post-33616-0-25667600-1367525981_thumb.p
Am I looking at this from the wrong angle?
 
Thanks & greetings,
Bart
Link to comment

Hi Bart,

 

The following images will show you how to get the Sequence name of the Sequence that your step is calling.

 

Sequence.png shows the sequence with an Action to the VI that will get the name of the sequence called in the Main group.

SequenceNameVI.png shows the VI implementation

 

I hope this will help you  :)

 

Mathijs

 

 

 

post-34832-0-33621200-1367909301_thumb.p

post-34832-0-07039000-1367909307_thumb.p

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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