08-27-2009 07:48 AM
08-27-2009 07:53 AM
08-27-2009 09:32 AM
You could not have used 8.0 to write that program. The functions there have been obsolete since about LabVIEW 6.1.
Since there is no error reporting, it's impossible to say what is wrong. Replace the Serial Port Init with VISA Configure Serial Port and the Serial Port Write with VISA Write. Use the error in/out connections or turn on automatic error reporting and see what happens.
08-27-2009 09:39 AM
Thank you for your reply.
The problem is all the device controlled via COM port can not work while others controlled via GPIB or USB work well.
Another device controlled via COM shows the error report as attached when i run the vi.
08-27-2009 09:46 AM
Actually, before I installed Labview 8.2, it works well. I do not care which version it is, all I want is to work properly....
08-27-2009 09:51 AM
Do the same thing with that VI and use some supported functions. I still don't understand how you could have been using those serial functions. You would have had to go way out the way to find and use them instead of what is supported.
And it would appear that the problem is pretty well described. Do you in fact have Com3 on the system and is it listed in MAX? And if you would use the supported functions, you don't have to go through all of the translation from an enum with a value of 2 to get the correct port mapped. A proper VISA Resource Name control is directly wired to a VISA Write and there can be no confusion to what ports are available on the pc. Your method of using the obsolete functions makes it all arbitrary.
08-27-2009 10:17 AM
Thank you for your advice.
I will try to update the obsolete VIs......