 I_I
		
			I_I
		
		
		
		
		
		
		
		
	
			05-26-2008 05:26 AM
 Mathan
		
			Mathan
		
		
		
		
		
		
		
		
	
			05-26-2008 06:17 AM - edited 05-26-2008 06:20 AM
You have not included the file visa configure serial port.vi in ur application. try attaching it.
post if still problem exists
[Edit : Follow second attachment].
 andre.buurman@c
		
			andre.buurman@c05-26-2008 06:27 AM
 aqwddv
		
			aqwddv
		
		
		
		
		
		
		
		
	
			05-18-2012 01:41 PM
Iam having a problem with visa application.exe,my visa project work in panel project Correctly in my computer.but when i make application.exe from project don't work in my computer.i use labview 9
 smercurio_fc
		
			smercurio_fc
		
		
		
		
		
		
		
		
	
			05-19-2012 07:57 AM
@aqwddv wrote:
Iam having a problem with visa application.exe,my visa project work in panel project Correctly in my computer.but when i make application.exe from project don't work in my computer.i use labview 9
 gmazza
		
			gmazza
		
		
		
		
		
		
		
		
	
			05-24-2013 04:12 AM
Good morning,
I've created a vi that calls a subVI that automatically searches for the serial port. Once you have created the exe, the serial port communication doesn't work but if I launch it from my pc where is installed labview works ... I also installed the VISA runtime engine 5.3 (I own the version of labview 2011) ... any ideas ?!? thank you very much!
Please find enclosed the image of the subVI ..
 Ranjeet_Singh
		
			Ranjeet_Singh
		
		
		
		
		
		
		
		
	
			05-24-2013 04:54 AM
By default VISA will search automatically list of ports. You dont need to do anything.
May be that is causing problem. I dont think it should pose any problem, if it is working on 1 PC it should work on other. By the way in installer which run time engine you are including ?
Just install the run time in other PC and from drop-down list if VISA you will see all the available all the ports.
 
					
				
		
 pincpanter
		
			pincpanter
		
		
		
		
		
		
		
		
	
			05-24-2013 05:00 AM - edited 05-24-2013 05:02 AM
Hi gmazza, I guess that the LabVIEW run-time engine is installed on the target PC. What exactly doesn't work?
From your code I understand you are polling existing serial ports trying to identify an instrument. The instrument is continuously outputting strings each starting with "SCR2-". Is this right?
By default VISA manages reads assuming a termination character (0xA=LF is the default) Does the string is really terminated with LF?
Furthermore how you make sure the program will read the whole string and not a part of it, as there is no synchronization protocol?
Another remark: if the instrument is not recognized, you run into an endless loop; replace the while loop with a for loop adding a conditional terminal.
Please next time start a new thread: your question has little to do with the original post.
 gmazza
		
			gmazza
		
		
		
		
		
		
		
		
	
			05-24-2013 05:04 AM
I know, but i have to do a program with an automatic COM selection, without choosing it.
I've installed VISA RUNTIMe engine 5.3 and it works manually selectioning the COM....
 Ranjeet_Singh
		
			Ranjeet_Singh
		
		
		
		
		
		
		
		
	
			05-24-2013 05:08 AM
Make sure COM port is there becasue now a days there is no com port in newer PCs. Let me modify your code.
You are interested only in COM port ?