Discusiones sobre Productos NI

cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

Error de Compatibilidad VISA-GPIB

Llevo un par de semanas tratando de resolver un problema de incompatibilidad.

¿Hay alguna forma de lograr que VISA Configure Serial Port reciba datos de un GPIB? Al conectarlo a un COM el programa avanza sin problemas (claro que los datos que recibe no son los que se necesitan), pero al conectarlo a un GPIB que es el que busco me marca error. No en el algoritmo del programa, sino en VISA Configure Serial PortConectandolo a COM no hay problemaConectandolo a COM no hay problemaConectandolo a GPIB marca errorConectandolo a GPIB marca error

 

He seguido los pasos de este tipo de entradas y todo esta bien, el equipo esta conectado y mi programa lo reconoce, pero VISA no me deja obtener información

https://www.ni.com/getting-started/set-up-hardware/instrument-control/esa/gpib-connect

 

De igual forma, he buscado formas de resolver el error (Error: -1073807331 (arg2)) pero no hay manera.

0 kudos
Mensaje 1 de 2
2.129 Vistas

Hi Karla,

 

please post your LabVIEW questions either in this LabVIEW board (instead of VersionConversion) - or in a Spanish board…

 

I've been trying to solve an incompatibility problem for a couple of weeks. Is there any way to get VISA Configure Serial Port to receive data from a GPIB? When connecting to a COM the program proceeds without problems (of course the data it receives is not what is needed), but when it is connected to a GPIB, which is what I am looking for, it marks me an error. Not in the program's algorithm, but in VISA Configure

As that function is called ConfigureSerialPort it is used to configure a serial port - but not for GPIB!

What do you want to configure for a GPIB connection???

 

When you want to use GPIB instead of a (virtual) COM port you need to change the initialization stage of your VI: it doesn't make sense to set a baud rate or XON/XOFF behaviour! Most often devices also behave a little different when remotely controlled over a GPIB connection. For examples you might look for device drivers in the IDNet, which do support both GPIB and serial COM ports…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 kudos
Mensaje 2 de 2
2.107 Vistas