03-03-2010 07:05 AM
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
03-03-2010 09:50 AM
03-04-2010 12:11 AM
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