10-20-2023 05:57 AM
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.
Solved! Go to Solution.
10-20-2023 06:12 AM
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...
10-20-2023 06:16 AM - edited 10-20-2023 06:31 AM
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
10-20-2023 10:22 AM
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
10-23-2023 01:51 AM
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.