08-21-2015 04:29 PM
I am trying to access the Serial port of my cRIO-9067 from the host computer to program the Amulet display. I have found the following document which is suitable for this application: http://www.ni.com/tutorial/52140/en/
However, I would like to be able to interface other software directly over the serial port forwarded from my cRIO. Is there any way to configure this VISA resource (visa://xx.xx.xx.xx/ASRL1::INSTR
) and map it as a standard COM port on the host PC, so that any other application, not using the VISA librairies, can access it directly? This would be useful when we connect other equipment to be able to do a direct passthrough from the Host PC to the cRIO serial port and use the manufacturer's software directly, without having to rewire anything.
08-24-2015 03:42 PM
Olivier,
Just to clarify, you are looking for a way to include the cRIO serial port as an option when choosing serial resources on your computer. For example, you would like to be able to open up the manufacturer's software and have a drop down list or similar selection box that includes the serial port on the cRIO. Please make any corrections if I am reading your post incorrectly.
08-25-2015 10:13 AM
Exactly. I am looking for some way to create a "COMxx" port that would really map directly to the cRIO COM port resource that is directly available through the VISA driver. Is this readily available or would we be required to create a new driver for that?
08-26-2015 07:47 AM
OlivierL,
You might be able to do this using NI-Visa Server. http://digital.ni.com/public.nsf/allkb/38128C80B42DBB8486256F3A006DECFF talks a little about getting it up and running.
09-03-2015 06:13 PM
09-04-2015 06:59 AM
OlivierL,
Did you make sure that NI-VISA Server is running on the PC?
09-04-2015 01:40 PM
Yes, I also tried manually starting it and the Alias that I assigned is still only visible in LabVIEW (VISA resource constant) and not in the Windows Device Manager. Also, I have tried opening "COM70" from Putty and it also reports an error. It is not only the Device Manager.
In your opinion, having the VISA Server enabled should allow Windows to properly discover and list it?
09-08-2015 01:04 PM
Olivier,
I don't think using VISA server would allow you to have the port show up from other software. VISA Server allows you to address the port by a URL (visa://<IP address>/<instrument>). If the software you are using is not using VISA, it won't be calling the resource by this URL and I wouldn't expect you to be able to choose it.
If you are unable to configure the port and reference it by the above URL, you will not be able to perform the operation you described.
01-21-2019 02:05 AM
Is there an solution for this issue 4 years later?
I have a similar issue. The VISA resource (visa://xx.xx.xx.xx/ASRL1::INSTR
) should be visible at the windows device manager as COMPORT, because a 3rd Party Tool (running at the host) is using this windows comport.
01-21-2019 03:42 PM
Hi ChrisPr,
Since this is an older post, you'll get more views and activity if you start a new post with your issue details.