LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Call set up in exe

I have made a rtexe , In the exe there are Subvi's call set up is kept as reload for each call
but when i run the exe and open the vi's running in the debugger  even when there is a call to the vi
vi does not gets loaded , it shows a question mark on the vi that is being called but  sometimes it  starts
running , I don't know why? And is call set machine dependent?
 Can anyone Help me? 
0 Kudos
Message 1 of 23
(4,129 Views)
This The Error I am getting
0 Kudos
Message 2 of 23
(4,116 Views)

Hi Amit Ahuja,

with which LabView Version do you work? Can you open the vi which is marked with the question mark??

Mike

0 Kudos
Message 3 of 23
(4,110 Views)

Currently I am working with LABVIEW 8.5 and  VI that is marked with question mark is  not able to open

as i suppose that it is not loaded into the memory.

But When i remove the call setup from the subvi and again when the subvi  made as reload for each call

by the call setup method and is saved and the exe is build again and run then the subvi is called and no question

mark appears, it  behaves strangely!!!!

 

One more problem faced is that when i make a vi reentrant having a timed loop then i get disconnected from the rt

and the RT reboots , Does anyone can suggest a solution?

The subvi that is being made reentrant is to be a called at many places and if i make a reentrant VI to be called dynamically

using call setup then can this problem be solved?  

 

0 Kudos
Message 4 of 23
(4,095 Views)
Can anyone answer me, I am facing lot of problems due to the use of call setup
can anyone sug:smileyindifferentgest any solution????:
0 Kudos
Message 5 of 23
(4,027 Views)
Hello Amit,

Which node is it that is giving you the question mark.  What is it called?  It doesn't appear to be a Call by Reference Node because there are no reference inputs & outputs.  Also, have you made sure to include the subVIs in the rtexe?  And is it a subVI that you are having trouble communicating with or a text file?  What is the text file that is referenced there C:\AC_config.txt?


Kameralina

0 Kudos
Message 6 of 23
(3,992 Views)

Surely this is not a call by reference node, this comes when we right click on a subvi and in the call setup options, three options

come ,

1.Load with callers

2. Reload for each call

3. Load and retain for each call

I have opted for the second option , Is this the right way to use it?

0 Kudos
Message 7 of 23
(3,985 Views)
Hello Amit,

Ok, I understand now that you are using the second option in the VI Call Configuration Dialog Box.  According to the help file:

"Selecting Reload for each call or Load and retain on first call replaces the subVI with a Call by Reference Node that is configured to call the subVI. Symbols on the Call by Reference Node correspond to the mode that you select. If you choose either of these options you will no longer be able to find the subVI. These options remove the static link to the subVI."

A question mark usually indicates that a subVI cannot be found.  This can happen if you have not included the subVI in your rtexe build.  Please let me know whether the is the case.  Also, please double check that you have not renamed the subVI.
Kameralina

0 Kudos
Message 8 of 23
(3,942 Views)

Hello FieldKam

I have Included the subvi in the rtexe and i have not even renamed it,

One question more that i want to ask is that if the subvi chnages and the it is being called using call setup

then will the parent vi comes to know the changes just by saving and rebuilding the application?

0 Kudos
Message 9 of 23
(3,940 Views)
Hello Amit,

Any changes made will not be reflected in the rtexe unless the rtexe is rebuilt manually.
Have you tried rebuilding it with the new subVI?  Please do so and check whether it works.

Kameralina

0 Kudos
Message 10 of 23
(3,915 Views)