Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

Errors when connecting RS232-USB to LabView through NI MAX

$
0
0

Hello,

 

I am currently trying to operate a Lumencor laser array through LabView. As of right now I am using a FDTI RS232-USB adapter. In NI MAX, I am able to identify my device (COM-3, see attached screenshot). However, when trying to communicate with the device over LabView I either cannot obtain a connection, or get an error back (also attached). The port settings I am using on NI MAX are the following:

 

Baud Rate: 9600

Data Bits: 8

Parity: None

Stop Bits: 1

Flow Control: None

 

When attempting to manually communicate with the device using the VISA Test Panel, I am able to write operation *IDN?\n but when I try to Read it returns a timeout error (Hex 0xBFFF0015). I've also attached the VI that is returning the error. Upon initial start up of LabView, I am occasionally able to detect the COM ports for ~2 seconds, but soon have the error returned to me. Could this be an issue with the driver setup, or am I missing a step in the communication between LabView and the instrument?

 

Thank you


Viewing all articles
Browse latest Browse all 5565

Trending Articles