Hi fellows. I need some VB Net help. I got out programming at VB6, just before .net came along. Now I'm back in and trying to get over the learning curve of VB net. I’m working on a plugin to communicate with a PLC via ModbusTCP. I have the Modbus portion written and working. Now, I’m trying to integrate it into a Vixen plugin. The problem I’m having is that after I reference vixen.exe, I can’t seem to get the inheritance setup correctly. Do you fellows mind putting a second set of eyes on and see if I’m missing something obvious? I’ve attached the source files. Thanks in advance.
Duck-
I will see if I can look at it this weekend and get the methods implemented for you.
I think I've hit a milestone with the source. I'll post back if I have some more specific questions. Thanks for the offer, but I think I need to muddle my way through more of the code.
I give. I can't VB to reference correctly. I can reference, compile, and run the plugin with C#. I guess its time to learn a new language. C# doesn't look that bad. Thanks again for the offer to help teberle.
I helped someone earlier this year with getting the vixen interface implemented in VB. I will post something shortly.
Jduck,
I couldn't open your solution as it says you are using a newer version than I. I am using VS studio 2005 professional, so anyway I created a new solution and just implemented the Vixen interface for you. Attached is a vb.net class for .net 2.0 that has the methods implemented. You will need to add code to the following routines.
Event
Initialize
Setup
Shutdown
Startup
HardwareMap may need modified based on what you are doing.
Let me know if you have any questions.
Tony
Thanks for the code. I've got the plugin working, crudely, but working. I'll worry about error checking and form validation next year. I've got the source anybody wants. I consider it still too rough to post it for general use.
Glad I could help.
Source Code Request
Not sure if I sent the private message correctly as I am new to this forum...
I am interested in a copy of your source code for your ModbusTCP vixen plug-in. I have some Modicon Momentum IO blocks running some Christmas lights currently (ladder logic) and would like to sync them to music using Vixen.
Thanks in advance...if I make any worthwhile changes, I'll send them to you.
Send me an email. crazeequack at yahoo dot com
