LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Exe works on my computer, but not on others..

Solved!
Go to solution
What toolkit are the 'SVI' functions from?
0 Kudos
Message 21 of 28
(1,798 Views)

None, I did create them by myself and named them "SVI" like "Sub VI".

 


J.D.
French Labview beginner
N'oubliez pas de complimenter les bonnes réponses - Don't forget Kudos for good answers
0 Kudos
Message 22 of 28
(1,790 Views)
Sorry then.
0 Kudos
Message 23 of 28
(1,786 Views)

I just installed the program on the user computer.

Still not working 😞

 

I will explain it as clearly as I can, and if nobody can help me, I'll give a call at NI.

 

The exe program works well on my computer, just like my VI, but when I install it on another computer with an installer, or by copy/paste the build folder, ONE functionnality doesn't work :

 

- I can remote the analyser

- I can read datas from the analyser and use them in my program

- I can add a plot on the XY graph

- I can save the graph (Jpeg), and the datas (X Y)

 

But there is NOT the main functionnality of my program : the limit testing.

The datas I read from the analyser go thru sub-vis to create a limit by interpolating the datas with a X-Y file, and then this limit and the datas go thru a second sub-vi which compare them and output 3 waveform : Signal, Failures (when signal > limit) and Limit.

 

BUT when I execute the program on another computer, I just got the Signal plot. No failures, and no limit. The "test passed?" boolean doen't work neither so it isn't a graph problem.


These subVI are Limit testing.vi from mamon.llb and Limit Specification for UnEvenly Sampled Data.vi from maxmpl.llb

 

I did install every additional install that is on my development computer. (VISA, NI-488.2, runtime...)

 

Thanks in advance.

Message Edité par JDlabview le 06-14-2010 04:19 PM

J.D.
French Labview beginner
N'oubliez pas de complimenter les bonnes réponses - Don't forget Kudos for good answers
0 Kudos
Message 24 of 28
(1,769 Views)
But did you finally create an installer in the project and run that? Really, really hard to know what is missing without seeing the code.
0 Kudos
Message 25 of 28
(1,761 Views)

Yes I did create an installer, but result was exactly the same 😕

 

I can give you my VI, but there should be missing VIs, and the code should hurt your eyes 🙂 (i'm modifying it to a producer/consumer + state machine template, http://forums.ni.com/ni/board/message?board.id=170&thread.id=503194).

 

Here is the VI with the sub VIs that don't work. The missing sub VI on the right of 'limit specification for unevenly sampled data" is Limit testing, which location has been given on my above post.

 

Thank dennis for your help..

Message Edité par JDlabview le 06-14-2010 04:52 PM

J.D.
French Labview beginner
N'oubliez pas de complimenter les bonnes réponses - Don't forget Kudos for good answers
0 Kudos
Message 26 of 28
(1,756 Views)

I've got news !

 

I changed my VI and so I made a constant for my limit points (cluster of 2 arrays : X & Y) and the .exe works well if I launch the measure without changing "Fichier gabarit" (in french, gabarit = limit).

 

But if I try to choose a gabarit file, there is no limit anymore, as if X and Y arrays were = 0.

 

I looked in the dependencies and read from spreadsheet files.vi is there, Read lines from files.vi too.

 

Please have a look at the attached picture...


Hope my problem will be solved soon !

 

EDIT : I precise that it works well on my computer, the problem appears when I launch it on another one.

 

Message Edité par JDlabview le 06-17-2010 03:35 PM

J.D.
French Labview beginner
N'oubliez pas de complimenter les bonnes réponses - Don't forget Kudos for good answers
0 Kudos
Message 27 of 28
(1,716 Views)
Solution
Accepted by JDlabview

Oh my god, it finally works ! I have just found the problem, it is quite... disappointing

 

The decimal operator is , in my windows. On the 2 others computers where my exe will be used, it is a .

 

So the text files containing the limit points couldn't be read...

 

I had to install labview on one of the computers and use probes to finally get it.

What a waste of time... but now it works 🙂


J.D.
French Labview beginner
N'oubliez pas de complimenter les bonnes réponses - Don't forget Kudos for good answers
0 Kudos
Message 28 of 28
(1,693 Views)