12-30-2012 04:48 AM
Our company has bought two ProfiBUS DP modules which we inserted in cRIO-9074. We are developing a control software which will eventually run on cRIO as a ProfiBUS master.
We are developing a control software in LabVIEW 2012 and when we try to compile COMSOFT VI in our LabVIEW project (configured as specified in COMSOFT manual) and we get an error (code: 1040) saying that we must enter a password in “CS_cRIO_PBM[1]FPGA_SPI_ReadWrite.vi”. Password was not shared by COMSOFT.
Please advise us how can we solve this problem.
Solved! Go to Solution.
01-02-2013 03:23 AM
Hi jurpe!
Which version of the CompactRIO PROFIBUS DP module did you installed? (The latest is 1.1.10.)
I searched for issues with the “CS_cRIO_PBM[1]FPGA_SPI_ReadWrite.vi”.
I found this topic: http://forums.ni.com/t5/Industrial-Communications/HDL-Code-Generation-Error-with-CRio-DP-after-Updat...
I tried to reproduce the error with running the "cRIO PB DP-Master (LV 2012)" example. I got the same HDL compilation error as mentioned in the linked topic.
The issue in the linked topic is related to LV 2012 too. The main reason is that parts of Comsoft library were made in LV 8.5. Because of this HDL compilation error occurs.
The solution is to replace the “CS_cRIO_PBM[1]FPGA_SPI_ReadWrite.vi” with the one, attached in the linked topic. This solved the issue related to HDL compilation.
Please try out to replace the files in \\Program Files\National Instruments\LabVIEW 2012\vi.lib\addons\Comsoft.lib\cRIO PB directory with the VIs attached in the linked topic.
Please let me know if the issue is solved.
Best regards,
01-02-2013 01:23 PM
CompactRIO PROFIBUS DP module istalled is1.1.10.
Yes, the replacement of "CS_cRIO_PBM[1]FPGA_SPI_ReadWrite.vi" solved the problem.
Thank you very much.
Best regards.