06-17-2021 05:10 AM
Hello,
I downloaded manual of KIKUSUI PCR 1000M ac power supply. Manual document refers to SCPI commands.
I've been searching for a while to find example VI for KIKUSUI PCR 1000M with no success.
Could anyone please advice me how to get started communicating with instrument using SCPI commands?
06-17-2021 05:36 AM - edited 06-17-2021 05:36 AM
Hi Balazs,
@LTBALAZS wrote:
I've been searching for a while to find example VI for KIKUSUI PCR 1000M with no success.
Could anyone please advice me how to get started communicating with instrument using SCPI commands?
You can examine any other device driver, which is based on SCPI commands, to learn how to write your own driver for your power supply.
(You may start with the Agilent34401 driver which comes with LabVIEW by default. In the end all you need are VISA functions to send SCPI commands and read the device responses…)
06-18-2021 01:20 AM
Hi,
I have an old instrument with RS232C type communication: KIKUSUI PCR1000M AC power supply.
I use working delock serial to USB converter with a self made RS232 male to female adapter. (About the M/F adapter: I just wired out directly the same pins from male side.)
Instrument does not respond though. I checked baud rate but no response. Instrument is on COM9 and has manufacturers' application to test with. No success.
Should serial pins wired differently?
06-18-2021 01:36 AM
06-18-2021 01:41 AM
Only the device documentation can prove it, but if the connector on the device is a male DB9, it's likely that you need a cross cable, i.e. interchange pins 2 and 3.
06-18-2021 02:55 AM - edited 06-18-2021 03:04 AM
@pincpanter wrote:
Only the device documentation can prove it, but if the connector on the device is a male DB9, it's likely that you need a cross cable, i.e. interchange pins 2 and 3.
Remember that RS-232 really often stands for "ReSolder pin 2 to 3 and 3 to 2". 😁
As to the OPs message. I didn't quite understand if the manufacturers application software did or didn't work, and the problem is in accessing the device from LabVIEW only, or if it simply doesn't work at all. It would be a very important distinction to make for further debugging.
Also why would one need a 1:1 wired male to female adapter? If it was rather a cable with female connectors on both sides then it would be simpler and a lot cheaper to simply buy a ready made "null modem" cable. For the 2 to 3 $ they typically cost I couldn't even switch on my solder station.😁
06-18-2021 04:09 AM
Yes, it was the 're solder pin' issue.
Communication is working after I re soldered pins 3-2! 🙂
Thanks to you all!
Cheers,
Balázs