04-10-2013 03:21 AM - edited 04-10-2013 03:25 AM
Hi all !
I want to integrate NI PCI-8531 with my application which is written in C# (VS 2005)
Does someone has a dll that I can use?
Thanks,
Maor
04-10-2013
08:16 AM
- last edited on
01-15-2025
04:48 PM
by
Content Cleaner
Hi Maor,
The short answer is no, you can only use the industrial communications driver from LV and LV RT, as explained in the readme.
You could, however, create a LV dll that uses the library and call that from your c# program. I can't see a problem with the solution if you only need to have limited writes.
04-11-2013 03:09 AM - edited 04-11-2013 03:10 AM
Thank you for your reply !
I didn't understand part of the reply.
“ I can't see a problem with the solution if you only need to have limited writes.”
Can you please explain what do you mean by that?
Our program will continuously read and write data every 50ms. Will it work? (That way is working well using Modbus)
Maor
04-11-2013 08:10 AM
Hi maoru,
I could have worded my reply much better. A labview built dll will run on the labview runtime engine in order to handle memory management. Calling the dll from c# will use the microsoft COM interface and there will be an overhead associated with each call. However, I think the overhead will be very small compared the cycle time of 50ms you need and so expect the system to work.
I would try a simple dll and see if it works correctly.
04-25-2013 06:20 AM
Hi Jesse,
did it work?
If so, is there any chance that you can send me your dll?
I need to establish communication between Schneider-Electric (Modicon) M340 PLC and the NI PCI-8531 card.
this PLC works in CANopen as a master and I need to give it the EDS file of the slave (NI PCI-8531) - how can I get the NI PCI-8531 EDS file?
Thanks,
Maor
04-25-2013
08:17 AM
- last edited on
01-15-2025
04:48 PM
by
Content Cleaner
Hi Maor,
We had a miscommunication, I know this setup will work but am not going to test it. However, if you have labview installed, and the application builder, you can build a dll from the help on the topic.
A simple dll to open a session and send some data should be easy to build.