LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

serial Port conflict result from different detections

Hi, I have a vi code which returns 1073807343 error code.
It shall be related to the port config, say the name.
So i ran the MAX, find one called ASRL1::INSTR, when I right-click and open a visa session, it said "Insufficient location information or resource not present in the system". Physically the port is there.
And then I ran the code called "FindSerial61.vi" from the post http://forums.ni.com/ni/board/message?board.id=140&message.id=6059&query.id=156750#M6059 , this time the code returned nothing, it looked like there is no serial port?
 
I don't know what which part went wrong. If the prot is not there, I should not have seen the properties in MAX?
I attached some screenshots.
Thanks a lot.
 
 
0 Kudos
Message 1 of 7
(3,560 Views)

Hi,

What version of VISA are you using?  You could try upgrading the driver or repairing it.  You can find the current version here.

Where in your VI is the error occurring?  You can run the VI in highlight execution mode to try and isolate where the error is occuring. 

Regards,

Adam W
Applications Engineering

 
0 Kudos
Message 2 of 7
(3,511 Views)
Hi, Adam,
I am using LV6.1, MAX2.2, VISA Interactive control 2.1.
The problem seems to related to the port name.
Under control panel/device manager, it looks the prot works fine. But in LabView, it returns 0 count serial port.
And then in MAX, it only list LPT1 port without any com port.
There is another visa software--TekVisa on board. will that cause any conflict?
Thank you. 
0 Kudos
Message 3 of 7
(3,481 Views)
 

Hello,

Both NI-VISA and TEK-VISA are interoperable, but both are not needed.  It would be best just to have one installed.  Also what is the name that you have given the port? Also what version of NI-VISA do you currently have installed? You want to have at least version 2.5 installed to see your COM ports correctly in MAX.  The latest version of MAX is 4.1 and VISA is 4.0 .  Also when renaming COM ports it would be best to install NI-Serial as well.

Daryl E
National INstruments
Applications Engineer

0 Kudos
Message 4 of 7
(3,453 Views)

Hi, Daryl, I installed the Visa Serial and run the NI-Serial Troubleshoting Wizard,

it said, no NI_Serial interface is detected. The device manager still has it.

Now I am really confused. What shall I do to let LabView know the serial port?

Thanks,

 

0 Kudos
Message 5 of 7
(3,431 Views)

Do you still have Tek VISA installed? If so, try unistalling it and just install NI VISA. Then check MAX to see if the com ports are listed. I think NI Serial is just for NI's serial boards.

0 Kudos
Message 6 of 7
(3,422 Views)
Hi, Dennis,
I finally found a way to get around this.
I obtained the two visa32.dll. and just switch them depending which software I need to use.
I am sure this is not the best solution, but for now at least I can move on.
 
Thank you all for your help!
 
 
0 Kudos
Message 7 of 7
(3,381 Views)