To get the actual output to my parallel port do I have to take out the adjustable preview plugin before I play the sequence? Or is there some way to temporarily disable the preview? Thought that might be why I get no parallel output.
I'm confused because in software like Ms word a print preview only previews, there is not actual printing. So thought that in Vixen maybe the preview does the same, that is the preview only previews or is there in Vixen at the same time actual output to the parallel port at the same time??
Or to get actual playing out to parallel ports do I have to take my sequences and make them into a program, or schedule it rather than just clicking the play button?
Ray, the adjustable preview plugin is totally seperate from the other plugins. You can use adjustable preview and another plugin (such as basic parallel) at the same time. Have you configured a plugin to use the parallel port? Are they both selected in the plugins section of your sequence (or profile)?
If that doesn't solve it, you might tell us more about your setup (ie, what hardware you are using, what version of vixen , etc...)
-James
Thanks.
Just to be doubly sure I understand,
by "independent" I take it you mean
the sequence output is going to both
the parallel port plugin and to the preview plugin
at the same time.
Is my understanding correct?
Also, another thing I had to do to get Vixen to even startup (that maybe influenced things? ) is that while Vixen versions 2.5.0.0 and 2.5.0.8 (the betas) worked fine the versions 2.1, 2.1.1 wouldn't even start up.
I solved that by deleting the file Prepare.exe since it seemed to be what prevented Vixen from starting. After deleting this Prepare.exe then everything worked well for version 2.1 and 2.1.1 of Vixen, So now I run Vixen.exe version 2.1.1 but without any prepare.exe. Is there a problem with Vixen running without Prepare running first?
Ray wrote:Just to be doubly sure I understand,
by "independent" I take it you mean
the sequence output is going to both
the parallel port plugin and to the preview plugin
at the same time.Is my understanding correct?
Yes.
Ray wrote:
Also, another thing I had to do to get Vixen to even startup (that maybe influenced things? ) is that while Vixen versions 2.5.0.0 and 2.5.0.8 (the betas) worked fine the versions 2.1, 2.1.1 wouldn't even start up.I solved that by deleting the file Prepare.exe since it seemed to be what prevented Vixen from starting. After deleting this Prepare.exe then everything worked well for version 2.1 and 2.1.1 of Vixen, So now I run Vixen.exe version 2.1.1 but without any prepare.exe. Is there a problem with Vixen running without Prepare running first?
Prepare.exe takes 2.1.x files and turns them into 2.5.x files. Once it is run, you no longer need it in the directory.
HTH.
\dmc
PS: Welcome to DIYC. There's a great group of folks here who are all willing to help you.
Thank you again for the help. That answers those questions.
So my next problem-solving strategy is this:
I have Vixen on a newer computer that doesn't have the old ISA ports like parallel and serial on the motherboard with the old ISA addresses like 378 for LPT1 etc (guess computer designers these days expect everything to be usb)
So I have to put in a pci card But the only pci parallel card I could get is by Lava. And in their manual they state unequivocally and without sympathy that ,and I quote
"In standard installations of Windows 2000/ XP/Vista the I/O address cannot be changed to a legacy address"
(legacy is what they call the old ISA addresses like 378-37F etc)
And I did try. I even booted up in SAFE mode and even then the driver box to change the address was grayed out. So I had to accept what they dished out to me, address D000 for the parallel port. Windows XP refuses to budge on this matter.
So I went into Vixen parallel-12 plugin and changed the address to D000. (Luckily the plugin writer was smart enough to allow for this).
But then I wondered if I get no parallel output since Vixen tries to write to some "hardware" or hardwired address or BIOS address of D000 while the parallel card is using a "virtual" windows namespace address of D000. I wondered about this since the Lava manual again tells me that,
"Because the parallel-pci card uses pci (not ISA) I/O address ranges, it will NEVER be seen by your BIOS at boot-up as a standard parallel port (occupying 278h or 378h) even if the address has been changed in Windows... This is normal...."
So my question is would I be getting no parallel output since
Vixen tries to write to D000 as physical address using BIOS rather than as some sort of namespace address (each program gets its own 2 gig namespace doesn't it)
Is Vixen setup to try and write directly to hardwared ports, and to BIOS parallel ports rather than to go to it via Windows???
Think I got some of my answers. I looked in the Vixen directory and found besides Vixen.exe the files
ftd2xx.dll (for usb) and inpout32.dll (for parallel).
So Vixen is doing parallel board output via functions in inpout32.dll.
Will try to find out more about this. Only thing I know at this time is that
inpout32.dll is designed to avoid windows complaining about people breaching security by trying direct access to parallel ports. (For eg parmon 0r parallel port monitor works well in Win95,95 but screams "privileged instruction" when you try it in winXP or Vista since Win2000/XP/Vista/7 regard output to parallel ports as SECURITY breaches and won't let it happen.
I know inpout32.dll is designed to get around this by going to kernel mode (rather than user mode). But does it try BIOS output??? So now I have to look into how it gets around this.
If inpout32.dll tries to get at a port as a BIOS operation then I'm done for -- no pci parallel card will work with Vixen. So I'll have to either get a hold of an old computer or junk all the parallel circuit stuff I've made.
I'll keep my fingers crossed. Maybe inpout32.dll does pass by windows and not use BIOS. Hope. Hope. Hope.
Got my answer.
Vixen uses inpout32.dll for output to parallel ports.
And inpout32.dll ONLY works with the old ISA ports. It definitely
will NOT work with pci card parallel ports. Nor add in serial port boards. (Got that from the web site of the guy that makes inpout32.dll)
So Vixen won't work with any pci parallel port add-in cards.
So, guess I won't have any light show this year.
Tough luck I guess. Should have found it out before I built all the parallel stuff.
Guess I will have to scrap everything I built (will keep the SSRs for next year) or scout around for an old computer with ISA parallel ports or serial ports on the motherboard.
Anyone know of any alternative software?
Ray wrote:
So Vixen won't work with any pci parallel port add-in cards.
Sure it will. I've done it with LPT1, LPT2 and LPT3 using an Olsen595 board and the Simple595 plugin, which allows defining the LPT port's address. Then Vixen talks to it just fine.
It will not work with USB parallel ports, but it certainly does with PCI.
Which windows are you using? Of course it will work in win95 or win98 but not in winXP since the earlier windows versions don't protect parallel port output.
Also since you mention 595 I'm wondering are you referring to the controller? I'm talking about the actual parallel port for the computer (since I run a cable from the computer's parallel port out to the controller). It's this pci parallel port that seems the trouble.
The windows system engineer who makes inpout32.dll that is in the Vixen directory makes it plain on his web site that this doesn't work with pci parallel ports. Are you saying that Vixen doesn't really do parallel IO with this? So then I don't have to worry about it? Is Vixen 2.1.1 i doing parallel output in some other way? Perhaps I should check version 2.5. Does 2.5 do parallel output in a different way?
Also are you saying the 595 plugin doesn't use this dll but does kernel mode output to the parallel port in some different way on its own? If that's true then maybe I can drop the parallel12 plugin and switch to the 595? Will it handle 12 line output from the computer's parallel port?
Sorry for sounding so uptight.
I'd assumed that since inpout32.dll was in the vixen directory (even in version 2.5) that Vixen was using this to output to parallel ports.
I've checked the source of the Vixen parallel12 plugin and it seems to use some function called Out. Though I don't know how Vixen does plugins I assume it's doing something standard and I've seen this type of out function set up in C# .Net as
1.
public class PortAccess
2.
{
3.
[DllImport("inpout32.dll", EntryPoint = "Out32")]
4.
public static extern void Out(int adress, int value);
5.
6.
[DllImport("inpout32.dll", EntryPoint = "Inp32")]
7.
public static extern int In(int address);
8.
9.
internal static byte In()
10.
{
11.
throw new NotImplementedException();
12.
}
13.
}
So I'm assuming Vixen does the same? If that's the case then clearly it shouldn't be working on PCI parallel cards? What am I missing?
Are you sure you don't have an ISA parallel card?
