Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
4 ratings:
 5 out of 5     Rate this Document

Get Poll Connection Input & Output Size and Set the Connection Attributes

Primary Software: Driver Software>>NI-DNET
Primary Software Version: 1.5
Primary Software Fixed Version: N/A
Secondary Software: N/A
Hardware: Industrial Communications>>DeviceNet>>PCI-CAN (DNET), Industrial Communications>>DeviceNet>>PCMCIA-CAN (DNET), Industrial Communications>>DeviceNet>>PXI-8461 (DNET), Industrial Communications>>DeviceNet>>NI DeviceNet Interfaces

Problem:
My DeviceNet slave device supports Poll connection. I want to get the slave device input/output size by programming as Configurator (SimpleWho in the older NI-DNET version) does. What's more, I want to set the related producer/consumer path.

Solution:
You can get the slave device's I/O connection information in NI-DNET Configurator (SimpleWho in the older NI-DNET version). If you want to do the same job by programming, the procedure is:
  1. Open the I/O connection by explicit messaging
  2. Get the connection attributes, like input/output size
  3. Set the connection attributes, like producer/consumer path
  4. Release the connection
The attachment shows how to get and set the connection related attributes in LabVIEW.

Related Links:

Attachments:


IOConxAttrDemo.viIOConxAttr.llb


Report Date: 06/26/2006
Last Updated: 06/26/2006
Document ID: 3YP8G6BV

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit