Generic Serial Plug...
 
Notifications
Clear all

Generic Serial Plugin Help

24 Posts
7 Users
0 Reactions
11.9 K Views
JonathonReinhart
Posts: 133
(@jonathonreinhart)
Estimable Member
Joined: 18 years ago
cbell wrote:To inspect vixen: (for seeing what interfaces, etc. are available from vixen)
Tools -> Component Inspector
Click on Assemblies/Types Tab
Inspector Menu -> Open Assembly
Browse to Vixen.exe
Vixen is now in your list

This works similarly in VS2005:

  • In solution explorer, right click project and Add Reference
  • Point to Vixen.exe
  • This will add Vixen, and then Vixen is visible in Object Browser
  • (or double click Vixen in References list
cbell wrote:For Debugging:
In project options:
On compiling tab, set output path to vixen’s plugin directory
Save
On debug tab, set start external program to vixen.exe
Save
Using system.diagnostics
You can now debug.write(“blah”);

Wow, I never thought to do it like this! (I had a batch file that copied the DLL to vixen directory, and launched vixen.exe, and had to manually attach the debugger to the vixen.exe process, :|) But now that you mention it, this appears to be just as easy in VS2005:

  • Right click project, and click properties
  • On build tab, set output path to correct vixen plugin directory
  • On debug tab, set start action to external program, and point to vixen.exe

I will have to try System.Diagnostics.Debug.Write()!

Additionally, a tool I used while testing/debugging this (and all other serial port programs I've written), is com0com. < http://com0com.sourceforge.net/ > With this, you can setup two virtual COM ports (I used COM51 and COM52), and connect them together. Your program uses one port. Then, I use Hercules < http://www.hw-group.com/products/hercules/index_en.html > to examine the data received on the other COM port.


Reply
Posts: 77
Topic starter
(@dononeil)
Estimable Member
Joined: 18 years ago
JonathonReinhart wrote:Wow, sounds like vixen is definitely the way to go, then!

I've put the latest release version of the dll, 1.0.0.10 up on http://lights.onthefive.com/vixen_plugins/

Enjoy!

Thanks again for the great plugin... I've uploaded the show I did on the 4th of July with Vixen and the plugin... check it out on my youtube page:

http://www.youtube.com/user/dononeil

I would say this plugin is ready to be posted to the general plugins section on the site for others to use... there are lots of great acessories for this board that make it possible to do all sorts of stuff.


Reply
Posts: 6
(@hahaharuca)
Active Member
Joined: 17 years ago

i have a paralel port pc relay driver board and i not know to atatch vixen to it what plugins should i use to connect it and if you could guide me through it it would be verry nice


Reply
dirknerkle
Posts: 10311
(@dirknerkle)
Illustrious Member
Joined: 18 years ago

1. You should configure the port to be in ECP mode. This is normally done in the computer's CMOS -- check your screen as the computer boots up. Often, you'd press F-5, or F-2 or F-10 (or something) to get into the CMOS setup.

2. You should use the generic parallel plug-in. You will also need to configure the plug-in by telling it what the memory address of your parallel port is on the computer -- you can get that from the properties of the port itself.

3. Also in the plug-in setup, you need to tell Vixen how many channels the parallel port is supposed to control. This might be 8, 12, 16 or something else, but it's generally the same number that you'd have relays on your relay board.

4. You should also add one more channel to the list, and this can be the "beat track" where you can mark the music beats. This won't control anything, but it's used to help define your sequences.

By the way, your posting was in the GENERIC SERIAL thread. Are you sure you're using the parallel port or a DB-25 serial (rare on the back of a PC, but not impossible...)


Reply
Page 3 / 3
Share: