LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

occurence , refnum , VI refnum

Hi all,

 

I am developing an application which will call multiple VI through dynamic occurrence.

Whenever I called the VI, one occurrence, and ref num are created,

I know that, occurrence is used to create a unique memory space to run VI.

But what is the necessity of refnum?

Otherwise tell me the relationship between occurrence and refnum. ?

 

In some others Post, I saw, some of them used two terns, refnum and VI refnum.

Is both are same or different? I was little confused while seeing...........

 

Please clarify my doubts........

 

Thanks

Ram

 
 
0 Kudos
Message 1 of 5
(3,638 Views)
Refnum is a superset & VI Refnum is subset of it, like Control Refnum. Hope it clears the air.
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 2 of 5
(3,617 Views)

hi partha,

 can you explain the same in details . coz past 1.5 months only i am using labview...

explain with some example, it would be somewhat easier for me to understand.

and you didn't explain about occurences.

 

Thanks

Ram

 

 

0 Kudos
Message 3 of 5
(3,554 Views)

Occurences are functions meant for synchronization of the various parts of the code.

Have you tried to search the LV Example Finder for them? You ll get some good examples to get started quickly.

When you generate an occurence, the other parts of the code will wait for an occurence to be set, to stop waiting for it & then only those parts will get executed.

- Partha ( CLD until Oct 2027 🙂 )
Message 4 of 5
(3,535 Views)

thanks partha, now i am very clear..........

Message 5 of 5
(3,526 Views)