Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Communicate modem using visa

Hi all

I have a problem to communicate with PCI modem using VISA

When I tried to communicate with the modem using Hyper Terminal there was no any problem

but when trying to write to modem an AT command using LabView error -1073807298 occurred

 

I already checked the baud rate, flow control Parity bit, stop bits , Data bits and the termination character

 

The PCI modem is :US Robotics modem- product: USR64-802884-02

 SW: LabView 2009 Visa 4.6.2

 

Thanks

Guy

0 Kudos
Message 1 of 9
(5,051 Views)

But did you also enable the termination character for send?

greetings from the Netherlands
0 Kudos
Message 2 of 9
(5,032 Views)

I disabled the termination character and sent 0x0d in the text string

its work with another modem I have problems only with the US robotics modem

 

thanks for response

Guy

0 Kudos
Message 3 of 9
(5,021 Views)

As far as I know the usrobotics needs CrLf so add these characters

in decimal 13, 10 or in LabVIEW /code /r/n

greetings from the Netherlands
0 Kudos
Message 4 of 9
(4,995 Views)

Hi

 

I tried also 10 13 as termination character with no luck

I think the problem is not what I send but How I send the data

With other modems if the termination character is wrong there is no response from modem

With the US robotics modem there is an error massage

 

Regards

Guy

0 Kudos
Message 5 of 9
(4,984 Views)

I'm sorry I did not check the errornumber.

This error means an IOerror, probably already on the write, so I guess that you still had the serial port open by another program like hyperterminal or MAX

greetings from the Netherlands
0 Kudos
Message 6 of 9
(4,978 Views)

This error occurred even after restart the computer

as I wrote before with other modem everything good and also with the same modem with Hyper Terminal

but when I'm try to use the US robotics modem with labveiw this error happens

I don't think this is a HW issue because this modem works well with another SW

Guy

 

0 Kudos
Message 7 of 9
(4,969 Views)

So it must be a software problem.

Can you post your vi that has this problem?

greetings from the Netherlands
0 Kudos
Message 8 of 9
(4,964 Views)

Hi,

 

see the following link

 

This suggest not using the VISA Configure Serial Port.vi but setup the VISA property nodes to set each property separately

 

 

Regards
Ray Farmer
0 Kudos
Message 9 of 9
(4,962 Views)