Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

USB to Serial stops responding after using NI-MAX


@Dennis_Knutson wrote:
Let's take one step back. Exactly what happens when you try to communicate with MAX? Please provide some details as saying 'doesn't work' is insufficient. What command? What error code/message?

Timout expire

When I send a command, I don't get any answer. And I do believe that all my port setting are correct.

 

0 Kudos
Message 11 of 23
(3,215 Views)
You aren't sending any termination character(s). Do you have a manual? Does it say to append a cr, lf, or both? Have you tried a program such as putty?
0 Kudos
Message 12 of 23
(3,210 Views)

Doesn't need any termination character according to the manual.

Here is a screenshot send to me by the manufacturer that show that it's working there.

 

 

0 Kudos
Message 13 of 23
(3,208 Views)
It's certainly returning cr/lf. I still recommend a third party program to see off the problem exists there.
0 Kudos
Message 14 of 23
(3,204 Views)

@Dennis_Knutson wrote:
It's certainly returning cr/lf. I still recommend a third party program to see off the problem exists there.

The instrument is returning a CR/LF, but the write shows only just *VER.

0 Kudos
Message 15 of 23
(3,194 Views)
I know but you can also use a VISA property to automatically append a termination character and this setting is not known. It's unusual for an instrument to respond with cr/lf and not need it for a read. I'm mostly curious about a communication program other than the vendor's and that does not use VISA.
0 Kudos
Message 16 of 23
(3,192 Views)

From the manual:

USB & ETHERNET communication Bits per second

921600

Data bits

8

Parity

None

Stop bits

1

Flow control

None

In the HyperTerminal window type *VER, press  ENTER. If the response you receive tells you the version of your S-Link, you are successfully connected and ready for serial command action.

 

I did that, I didn't get any answer from the device.

0 Kudos
Message 17 of 23
(3,189 Views)
That says a lot. Hyperterminal automatically appends a cr/lf. Since you don't get a response, that points to some problem with the device.
0 Kudos
Message 18 of 23
(3,187 Views)

New development here.

I tried it on my personnal laptop and everything works great. Software, VISA, hypertem.

So the problem seems to be with the computers at work. I tried on three of them, on which I have admin rights, without any luck.

And the IT guys don't seem to have any clue...

Well...

0 Kudos
Message 19 of 23
(3,178 Views)
You've never mentioned which os you are using. What is the ftdi version?
0 Kudos
Message 20 of 23
(3,176 Views)