09-24-2019 08:43 AM
I can't find any documentation on how to use PXI-8532 DeviceNet card with C++ or .NET only LabView. Since I don't use LabView, can someone point me to the right location?
09-25-2019 06:13 AM
You can configure Visa to communicate via PXI:
http://www.ni.com/tutorial/4713/en/
then use the standard Visa API
10-01-2019 01:35 PM
Can you provide an example. I'm not sure how to configure a PXI-8532 DeviceNet card to communicate via VISA. The PXI-8532 requires the NI-Industrial Communications for DeviceNet which has no C support (NI failed miserably on this).
There are several functions that are needed and there are several LabView VIs that perform those functions. I was hoping for a reference to the nidnetapi.dll so I can call it directly from C++ or create a .NET wrapper like with the older NI-DNET 1.6.7 library used for the PCMCIA-DNET, PCI-DNET, PXI-8461/D cards.
10-03-2019 01:02 PM
@breyno9363 wrote:
Can you provide an example. I'm not sure how to configure a PXI-8532 DeviceNet card to communicate via VISA. The PXI-8532 requires the NI-Industrial Communications for DeviceNet which has no C support (NI failed miserably on this).
There are several functions that are needed and there are several LabView VIs that perform those functions. I was hoping for a reference to the nidnetapi.dll so I can call it directly from C++ or create a .NET wrapper like with the older NI-DNET 1.6.7 library used for the PCMCIA-DNET, PCI-DNET, PXI-8461/D cards.
Just wondering whether you can use LabVIEW to create DLL that you can call from C++ or .NET
10-08-2019 11:27 AM
I don't have LabView. Also this would require LabView Runtime to be installed (extra software).
This is not a desirable solution.
10-09-2019 05:01 AM
You are right, in http://www.ni.com/tutorial/14074/en/ they say explicitly :
"Unlike NI-DNET, NI-IndCom for DeviceNet 2.1 or later does not support C based languages." In other words this board is useless without LabView. Another solution: sell it and buy a DeviceNet controller board from another brand (there are many, but I don't have any experience with DeviceNet so I can't advice you).