LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Call by reference using strictly-typed VI (error 1031)

Hi:

I have a strange problem right now using LabVIEW real-time and compact vision system.

I am deploying a VI (see 'RTS code') from the host that is to be run on the RTS system. I am using call by reference techique using strict type to do this (see 'host code'). The method worked fine until I added another input 'reference time (msec)' to the RTS code block diagram and connector pane. I adjusted the type on the call by reference by selecting the newly-saved VI as the type. I checked to make sure I am using U32 type both in the host and RTS code so there are no data type mismatches. No matter what, I am getting error 1031 upon the call by reference, which basically seems to indicate that the
connector pane does not match the referenced VI. But it does (I have stared at this and redone it several times today).

If I remove the 'reference time (msec)' input from the RTS code (and thus the connector pane), then adjust the type on the call by reference node, everything works fine.

Any clues on this? Is there a limit to the number of inputs when performing a call by reference that intends to open a VI on another target? I can't believe this would be the case.

Thanks,

Don
Download All
0 Kudos
Message 1 of 2
(3,047 Views)
I beleive that that the reason I was having this problem is that the rts code had already been downloaded to the RTS system. Thus, when I added a new input, and the old version was still in memory on the RTS system, it seems likely that this is what was causing this error.
Message 2 of 2
(3,047 Views)