LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Profibus CP5613 and CP5613 A2 Problem ?

Solved!
Go to solution

Hi all.

 

I have created a program which communicates with the profibus CP5613 A2 and it works brilliantly.

But when i try to use the program with the CP5613 card it does not want to initialize.

 

What is the difference between the two cards and is the libraries different ?

What can i do to make my program work for both cards ?

 

Thanks in advance.

Help share your knowlegde
0 Kudos
Message 1 of 5
(5,355 Views)

Shako,

 

You can perform a spy capture to get the commands that are being sent to the card https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YHdrCAG&l=en-US . What errors are you getting from your program? Is this on the same machine or a different machine? You may be addressing the wrong card if on the same machine, or the drivers may not be present on a different machine. 

Richard S -- National Instruments -- (former) Applications Engineer -- Data Acquisition with TestStand
0 Kudos
Message 2 of 5
(5,323 Views)

Im getting an error when i try to initialise the card.

I am using the CP5613 A2 DP_BASE.LIB and its corrosponeding file to communicate.

 

The CP5613 is on a different machine.

I think the driver on that machine are correct because i am able to view the values been recieved via profi coach.

 

Is there any special files i need to communicate with the CP5613 or should the CP5613 A2 libraries be able to communicate with it  ?

Help share your knowlegde
0 Kudos
Message 3 of 5
(5,311 Views)

I would have thought that the fact it doesn't initialise is a clue that it needs a different library.

Have you tried asking Siemens?

--
Martin
Certified CVI Developer
0 Kudos
Message 4 of 5
(5,304 Views)
Solution
Accepted by topic author Shako

I did try different libraries but to no success.

 

I did sovle the problem though.

The problem was old drivers.

 

I found drivers of the same version that i created the initial program with, for the CP5613 and it works like a charm.

 

Thanks for the help.

Help share your knowlegde
0 Kudos
Message 5 of 5
(5,295 Views)