LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

making executable files from vis

Hi,

Sorry I didnt realise that it was password protected. Yes the pw is sal. I have also attached the flowmeter subvi configuration that was missing in the first one. Have a look at this. one is for TSI series flowmeter andanother one is for CME.

I am attaching you all the subvis..you u can open it.

 

Download All
0 Kudos
Message 21 of 33
(1,829 Views)
 
Download All
0 Kudos
Message 22 of 33
(1,828 Views)
THe image of the main page is as shown. When you click on the lvdt button then the other page opens up which uses the instrument subvis. which are givng me error.
 
Thanks again..
 
SAL
0 Kudos
Message 23 of 33
(1,826 Views)
Hello,
 
I opened your code and it looks like the configuration VI you're talking about is the TSI4000SerialReadingConfiguration.vi.  I don't see any reason that this would cause problems during the exe build process, nor problems when run as an executable, unless you were running it on a machine which didn't have the VISA runtime engine installed.  In any event, I noticed that you are using sequence structures to dictate dataflow in many places, and this doesn't always compile as efficiently as dataflow code would.  Generally speaking there are few cases where a multiple-frame sequence structure is necessary.  I have attached a different version of your VI which illustrates a different way to program the functionality of that config VI.  If you suspect that this is a problem with using the VISA VIs, try building a simple vi for your serial port which you can use to do a loopback test (just open, write, read, and close on the same port, and be sure to connect pins 2 adn 3 on your db 9 connector), and you should see the problem is not with that part of your code.  If you're having trouble debugging your exe, perhaps you can put some indicators in your code at places you suspect there's a problem, and determine exactly where things break down.  Feel free to use the VI I have attached here in place of your config VI - it should be functionally the same (although arguably cleaner), so I'll be surprised if it solves the problem.
 
We need to get to the heart of this problem, confirm exactly what VI causes the error, where in that VI the error occurs, when it occurs (first time it's called, second?), and what the exact error that is generated is.
 
I hope this helps!
 
Best Regards,
 
JLS
Best,
JLS
Sixclear
0 Kudos
Message 24 of 33
(1,806 Views)

Hi JLS,

YOur labview version is higher than mine. Can you send me the file in lower version (7.0 or 6.0). I couldnt open the file.

Thanks.

SAL

0 Kudos
Message 25 of 33
(1,790 Views)
No problem - here it is in version 7.0:
 
 
Best,
JLS
Sixclear
0 Kudos
Message 26 of 33
(1,779 Views)

Hi JLS,

I tried using your simple vi for the flow meter. When I make an exe, there is something wrong. I am sending  you all the vis . Try making an exe and see if you can figure it out what is going on.

PW on the vis is sal.

Thanks,

 

 

 

 

Download All
0 Kudos
Message 27 of 33
(1,768 Views)

continue...

Now if you remove the sequence for the flow meter configuration and make an exe of the rest. It compile and also works..Its only the first sequence structure that is givng me problem it seems.

 

 

Download All
0 Kudos
Message 28 of 33
(1,768 Views)
Hello,
 
So you're saying that using the config VI that I posted solves the problem?  Or do you have to remove one of the single frame sequence structures in there to get it working?  That would be very peculiar - if this is the case, I'll definitely try to reproduce that behavior here so it can be formally addressed.
 
If you can confirm this with any and all additional details you have at this time, I would be very appreciative.
 
Best Regards,
 
JLS

Message Edited by JLS on 06-20-2006 10:27 AM

Best,
JLS
Sixclear
0 Kudos
Message 29 of 33
(1,759 Views)

Hi JLS,

I replaced the existing with your vi but it still didnt work. Same problem. When you remove the whole sequence of the config,( all of them) and compile the rest.  It works. So I think it has to do with the sequence structure for the flow meters.

I appreciate your help.

Thanks,

SAL

 

0 Kudos
Message 30 of 33
(1,748 Views)