07-01-2021 04:01 AM
Hi,
I would like to get the torque and the speed from yokogawa wt1800 for my test bench for frquency conveter controlled asyunchronous machine.
I am unable to get it from the preset as it is not present there. I tried sending a string to yokogawa to return torque and speed but i am not getting any response from yokogawa it is not returning anything. the connection is made as i can get other values from the yokogawa but not this one
i would leave pictures so you can see what i am talking about.
Thanks in advance.
07-01-2021 05:38 AM
You are not allowing any time for the Data to reach the Yokagawa instr.
Let alone for it to be processed for a response.
Check the manual and I suspect you will find you need to allow 100ms or something like that between sending a cmd and reading the response.
(Also check to see what the error code you are getting back means - Help > Explain error in the LabVIEW window)
07-01-2021 07:01 AM - edited 07-01-2021 07:03 AM
Hi James,
@James_W wrote:
You are not allowing any time for the Data to reach the Yokagawa instr.
Let alone for it to be processed for a response.
The error already comes from VISAWrite - so it's not related to response time of the Yokogawa.
@James_W wrote:
(Also check to see what the error code you are getting back means - Help > Explain error in the LabVIEW window)
Yes, definitely! You even could show us the full error number…
Does the command string include the TermChar expected by the device?
Can you ping the device on that IP address?
07-01-2021 09:49 AM - edited 07-01-2021 09:54 AM
Why don't you download the LabVIEW drivers for your WT1800?
There are Vi's for configuring speed and torque measurements as well as VI's for retrieving measurements form the instrument.
Even if you don't want to use the pre-fab VI's, you can use them as an example of how to properly use the instrument's SCPI commands.
07-02-2021 04:05 AM
Hey thank you i will try that
but like this is the error code there below
07-02-2021 04:29 AM
yes i can ping the device to that ip address cause i am able to comunicate with the yokogawa and get results from another VI
07-02-2021 09:39 AM
07-05-2021 03:18 AM
Hey,
I have not closed the connection at any time
07-05-2021 03:34 AM
@Carmihaleo wrote:
Hey,
I have not closed the connection at any time
You haven't really opened it either. While that usually works with VISA it may be useful to do an explicit VISA Open first before attempting to communicate with the device. Or just use the instrument drivers Initialize VI.
07-05-2021 03:57 AM
Thank you! I just used the instrument drivers Initialize VI and the error went away now i am wondering how to get the torque out