LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with serial comunication Yokogawa WT1030M

Solved!
Go to solution

Hi,

please do you know that Yokogawa WT1030M cant comunicate with Labview by RS 232? Because drivers are write only for GPIB.

 

And in NI MAX i can connect device, but when i send a command device answer me that command is not use. I send *IDN?\n command and also withnout \n. This command is correct, because is write in datasheet for this device. 

Paramenters of communication are Handshake none, Mode normal, LF, baud rate 9600, parity none, data bits 8, stop bit 1. This parameters set to in Ni Max.

Thank you for answer.

 

Michael.

0 Kudos
Message 1 of 5
(846 Views)

If max doesn't work, I'd forget about trying it LabVIEW. Get max working first.

 

Something is wrong...

 


@Misha4200 wrote:

And in NI MAX i can connect device, but when i send a command device answer me that command is not use.


How does it answer the command is not in use?

 

Show us the details.

 

Note that the baud rate etc. could have been changed on the device. If it's wrong it won't reply that a command is not in use though...

0 Kudos
Message 2 of 5
(837 Views)

I try aplication in dolphy for read data and in this aplication it works. But not in NI MAX.

 

This returns NI MAX: Read Operation
Error

VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.

 

And this:

Error

VISA: (Hex 0xBFFF001D) The specified attribute is not defined or supported by the referenced resource.

 

This is definition of error in datsheet: Received command not used by the instrument Check for error in the command
sent.

I am not sure in this section, but others are correct

 

Misha4200_0-1697801437211.png

 

0 Kudos
Message 3 of 5
(834 Views)
Solution
Accepted by topic author Misha4200

These old Yokogawa's have a few settings that must be set correctly for remote operation.

 

Read chapter 15 in the manual very closely. https://cdn.tmi.yokogawa.com/IM253620-01E.pdf

 

You will need to enable 488.2 mode for it to respond to IEEE 488.2 common commands like "*IDN?"

 

Make sure  all the serial communication settings ( Handshake Mode, Data Format and Baud Rate ) are set correctly on the instrument and in your program and MAX

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 4 of 5
(799 Views)
Solution
Accepted by topic author Misha4200

Thanks a lot, this is works. So conclusion is that i set Handskahe on 0, Form 0, baund rate 9600, CR + LF, Mode on 488.2. Same parameters i set in NI MAX. 

0 Kudos
Message 5 of 5
(747 Views)