06-14-2010 07:34 AM
06-14-2010 08:06 AM
None, I did create them by myself and named them "SVI" like "Sub VI".
06-14-2010 08:08 AM
06-14-2010 09:17 AM - edited 06-14-2010 09:19 AM
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.
06-14-2010 09:31 AM
06-14-2010 09:50 AM - edited 06-14-2010 09:52 AM
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..
06-17-2010 08:28 AM - edited 06-17-2010 08:35 AM
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.
06-18-2010 04:50 AM
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 🙂