LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

different behaviour with 2 PC's when calling VIT via VI server

Hello,

I know there are a lot of posts about VI server and VIT on this forum, but i think my problem is not common.

I use Labview 6.1 on Windows XP Pro. Pentium 2.6GHz 512Mo.

My application load many instances of a template VI (vit) via VI server. All goes perfect in the development environment.

When I generate a redistributable exe via app Builder, the application seems not to load the different instance of the vit, but without Error (I have put an error handler when loading the vit).

The vit is included in a llb (the same as the main vi). I generate a single executable file (without external llb), i which i see the vit when opened.
The paths are OK for the 2 environment (debug and runtime),
vit is loaded in the app builder, and the VI Server Datasocket too. The Front Panel of the instance is opened before executing as explained in some posts.

The most interesting (crazy?) in this story, is that my application is correctly running (a little bit slower, it's true ... :o)) on an old PC (Pentium II 300MHz with 128Mo) !!!

Is there any relationship with the machine speed ?
If somebody has an explanation ... or a solution (my client has bought a modern PC !)

Thanks a lot.
-Michael- (my english is so poor ...)
0 Kudos
Message 1 of 4
(2,783 Views)
Hi MickAltrel

When I was confronted to this kind of behavior, it was due to loops that where not timed... I know it makes it very basic, but did you check that such problems are not present ?

Doc-Doc
Doc-Doc
http://www.machinevision.ch
http://visionindustrielle.ch
Please take time to rate this answer
0 Kudos
Message 2 of 4
(2,783 Views)
I thank you for your interest in my problems.

I have just checked all my loops, and there are all OK ...

Michael
0 Kudos
Message 3 of 4
(2,783 Views)
Oops, your reply has oriented my research, and it was a bug : a variable which initialize a for loop 🐵 uses an ini file which was not the same on both PCs !

Thanks
Michael
0 Kudos
Message 4 of 4
(2,783 Views)