10-05-2012 07:37 AM
Hello Everybody,
I use a CRio DP Master/Slave module from Comsoft for my communication to a PLC System. The application was running perfect under LabView 2011. After updating to LabView2012 I received an error message that the HDL Code generation was not successful. After that I updated also the NI Profibus CRio Software to Version 1.3, but that didn't´t fix the problem. The next step was to use the example project code "CS_cRIO-PB_DP-MasterExample" that was delivered with the new NI Profibus CRio software. Even with this example code the problem still exists. For detailed information about the configuration and the error message please refer to the screenshot. Any kind of help or idea would be appreciated.
Juergen
Solved! Go to Solution.
10-08-2012 08:15 AM - edited 10-08-2012 08:15 AM
Hi Juergen,
I looked into it and could reproduce this error. Somehow the Compiler with LV 2012 has problems with the LV 8.5.1 coded SubVI. Please use the attached VI and copy it into the following location. (\\Program Files\National Instruments\LabVIEW 2012\vi.lib\addons\Comsoft.lib\cRIO PB)
Before you do that please close your LabVIEW.
Then try to compile again.
let me know if it still doesn't work. We are working on a new installer that will correct this issue.
DirkW
10-09-2012 01:23 AM
Hi Dirk,
thanks for your quick reply and your effort. I tested the new vi and its working perfect in the master mode of my application. Let me know when you have released the new installer update.
Thanks again
Juergen
10-26-2012 06:47 AM
Hi Dirk,
I've runned into a similar issue working with the cRIO PB in the Slave mode. Probably you have an update also for the PBS driver?
Thanks in advance!
10-26-2012 02:26 PM
I am working on a patch for the Slave VI. I will post it here as soon as I have it.
DirkW
10-29-2012 01:51 AM
Hi Dirk,
I wonder if you could estimate time you need to make the patch? It's just quite urgent as usual 🙂
Btw could it be that under LV2011 the problem doesn't occur? In this case I think I can try to switch to LV2011.
Thanks in advance!
Yana.
10-29-2012 02:23 AM
@yana
You´re right. With LV 2011 it´s working.
Juergen
10-29-2012 10:31 AM - edited 10-29-2012 10:32 AM
We figured that this HDL compilation errror is actually related to LabVIEW 2012 and will be fixed with the SP1 release early 2013. For now there is this workaround of replacing the VIs available in this path with the VIs attached.
This should fix both the Master and the Slave HDL error.
DirkW
10-30-2012 02:03 AM
Hello Dirk,
I have installed the vi for the slave, but the Vi seems to have broken connections. Please see attachment for detailed error description.
10-31-2012 02:18 AM
Hi Dirk,
I've applied your patch and my application is running now!
Thanks a lot for your help.
Yana.