Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

explicit

Hi,
 
I'm having some troubles programming in LabVIEW.
 
When setting up an IO connection to make the card act as a slave it's DeviceNet Interface Configuration and DeviceNet IO Configuration must have the same Mac Id. I have that working. The master brings my card online and everything works as expected.
 
However, now I want to do some slave to slave explicit messaging and I'm having difficulties. I want the same master to bring my board online as a slave and then I want to open a connection to another slave device for explicit messaging.
 
Using ExplMsgWriteRead example vi the card trys to act as a master which causes problems with the other master but it still allows me to send explicit messages to the other slave device. So, you think it would be possible to send explicit messages using my card as a slave. How do I set it up as a slave? If I use Open Explicit Messaging.vi I can't make the Mac Id the same because I want to talk to a specific device so I have no clue how to set my board up as a slave and then do explicit messaging.
 
Please Help.
Randy  
0 Kudos
Message 1 of 2
(4,416 Views)
Hi Randy,

The problem you are incountering is because a slave device cannot communicate with another slave device. When you try to send that command the DeviceNet card needs to be a Master so you get the error. If there is any way for me to help you further please let me know.


Regards
Krista S.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(4,401 Views)