Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

kikusui communication problem

Hi,

 

I have two voltage sources PCR500M and two electronic loads PLZ334W from Kikusui. Kikusui provided VIs for communication. The VIs access the source and the load through a dll (kiplz.dll and kipcrm.dll)

Everything works perfect when I use only one source and one load. Since I have tried to communicate with 2 sources and 2 loads at the same time I got problems:

 - I could not access the devices (for example I want to set source 1 to 230V -> nothing happend)

 - I wanted to set source 1 to 230V and source 2 to 100V -> source 1: nothing happend, source 2: 230V

 - VIs (for example VI to measure the voltage at the load) run extreme slowly

 ...

It seems that the problem results from the simultaneous use of the VIs. I have already tried to copy all the VIs and rename them so that I have for example kiplz_open.VI for load 1 and kiplz_open__2.VI

for load 2. I made the same for the dll (kiplz.dll for load 1 and kiplz__2.dll for load 2) but I still had the problems. I have also tried to set the VIs and the dll-node settings to "reentrant" without success.

 

I am using Labview 7.1.

 

Does anybody have an idea to solve this problem? If you need any further information please tell me.

 

Thanks in advance

0 Kudos
Message 1 of 3
(3,976 Views)
I think the problem is the simultaneous use of the DLL, not the simultaneous use of VIs. Does the documentation for the DLLs say that it can support multiple devices? Based on your second result it seems to me that it returns the handle for the last device. It also sounds like something that would be better fielded with Kikusui.
0 Kudos
Message 2 of 3
(3,967 Views)

Hi smercurio_fc,

 

Thank you for the fast response. This was also my thought but I don't know much about using dll's.

I also contacted NI (they didn't answer yet), but I think you are right, that the reason is the simultaneous use of the dll. I will ask Kikusui.

 

Thank you

 

Regards

swoc

0 Kudos
Message 3 of 3
(3,956 Views)