NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't control USB to rs232 com port

Hi E'body,

 

I am working on a teststand application where i need to control more than 1 RS232 ports via a dll. I can control the com1 prot but when it comes to controlling com3 which i connect via a usb to RS232 converter i fail to send or receive data. 

Any idea please?

0 Kudos
Message 1 of 4
(3,295 Views)
You haven't given anyone much to work with. All I can say is that you have a problem in the dll but you haven't even mentioned which language you used to write the dll or what api (i.e. VISA) you are using to communicate to the port. Does Com3 even show up in the windows device manager?
0 Kudos
Message 2 of 4
(3,292 Views)

  Hi, How fast you're 🙂

 

well, the language is written in C Builder and yes i can see it on Device Manager. Is there any nice'n easy method i can use to control all ports via TS. 'Cause i need to deliver the system within 2 hours 

0 Kudos
Message 3 of 4
(3,289 Views)

I suspect it will take you a while longer to debug your dll.

 

I have controlled as many as 8 serial ports at the same time with a dll created with LabVIEW but I don't think your problem has anything to do with TestStand unless you have not defined the dll correctly or are passing incorrect values to it.

 

If you want to post the source code of the dll and the TestStand sequence, someone might be able to spot the problem.

0 Kudos
Message 4 of 4
(3,282 Views)