01-26-2008 01:37 PM
Hello to every newsgroup!
I have a very strange problem using RS232 COM port on a computer.
I wrote a program using LabVIEW
I opened the MAX, and I saw the VISA is installed (v4.1), but the MAX found no serial port in the "Device and Interfaces"!! I'm sure that both COM ports work, because using hyperterminal I’m able to use them.
I tried to uninstall the VISA and reinstall it. I also tried to upgrade the VISA at 4.2 version, but the program never works with the COM port.
Thank you to everyone who can help me.
Have a nice day.
01-26-2008 04:44 PM
01-27-2008 08:38 AM
Hi Mike,
another numbering on my PC? I do not belive so: the 2 COM ports are the normal integrated COM ports and in "Device manager" I can see them as COM1 and COM2 port.
So I guess there is another reason.
Thanks.
01-28-2008 08:28 AM
01-28-2008 08:47 AM
Fabio_81 wrote:
Hi Pizzoccolo,is there some error message returned by your program? What do you mean when say "unable to use COM ports"?Serial devices on Max are shown only if the NI-Serial drivers are installed on your PC; NI-VISA allows you to detect and use serial interfaces as VISA resource, but only with NI-Serial you'll be able to have them listed under MAX "Devices & Interfaces".Hope this helps,Fabio
01-28-2008 09:42 AM
Yeah Dennis, I was wrong: NI-Serial are required for using Serial interfaces in MAX only when dealing with cRIO and other RT targets... Sorry for the wrong information!!
01-28-2008 09:45 AM
01-30-2008 04:03 AM
Hi Fabio_81,
hi Dennis,
the error I sow when I tried to open the COM1 is "Property Node (arg 1) in VISA Configure Serial Port (Instr).vi->TestCOM.vi" (Code "-1073807343").
This error is the same error that appears when I try to open a COM port that doesn't exist, but, I repeat, I'm sure that the COM1 exist (I able to use it in hyperterminal).
I guess the problem is not in my program (in other PC it works correctly), but it's due to MAX where I cannot see any COM port: I think LabVIEW is not be able to use the COM port (I don't know why).
Do you have other suggestion?
Thanks.
01-30-2008 03:29 PM
01-31-2008 05:10 AM