Charmed Quark Systems, Ltd. - Support Forums and Community

Full Version: C-BUS USB Interface
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I now have my PAC to start getting a little more out of my C-Bus, but through some confusion on ordering, have ended up with a 5500PCU (USB) instead of a 5500PCI (RS-232) to interface with CQC. I've still got my CNI which will stay for toolkit.

There's apparently been some difficulty/instability using the Lantronix virtual com ports with the CNI, but should I expect an easier run with the USB virtual com ports, or return the device and get the RS232 instead?
I've never tried the USB unit, in fact I've never even seen one.

So I don't know how it presents it's self to the world, i.e is it a virtual com port or does Toolkit have the ability to talk to it directly?

You could try it and see.

Cheers

Rohan
It presents itself as a virtual com port via the CIS driver.

[quotel]
The USB PCI Driver software can also be installed from C-Bus Toolkit (V1.6 or higher). CHoose "Install USB PCI Driver" from the File menu.

After the USB PCI Driver has been installed, connect the 5500PCU to a USB port of the PC. The PC will assign a serial COM port (such as COM3) to use with the 5500PCU. This is the port you must specify as the network connection device within C-Bus Toolkit, in order to use the 550PCU to communicate iwth a C-Bus network.
[/quote]

From that, it looks like the C-BUS USB interface/driver is much the same as any other of the multitude of pseudo-USB devices out there. My concern lies more in the fact that the cable distance from my enclosure to the PC is much more limited with USB that it is with RS-232, but I should be able to work around that somehow.

I guess I should sign the NDA to install the C-Bus driver now. What's the first step there.. email Clipsal?
Ok, after looking it up, it appears to do the virtual com port thing, so it is basicly a normal PCI with a USB-RS232 adapter built in.

So in theory it should work.

Again, just give it a try and see if it works.

Cheers

Rohan
froop Wrote:...I guess I should sign the NDA to install the C-Bus driver now. What's the first step there.. email Clipsal?

You can just apply online, then send me a PM with your real name and email address and I'll double check with Clipsal, then send you the driver.

Cheers

Rohan
just watch how it works. If the com port is not available uunless you are logged in then it can cause you problems.. I had this issue with the CNI and lantronix. The redirector would not run as a service and so I had to be always loggde in. Lantronix have fixed that now, but it is still something to be aware of when you use software that is creating com ports for you.

Mick
It's all good news over here.

I fired up my new CQC server (A depreciated 3.0Ghz P4 from work for $50) and installed CQC Server components and Clipsal Toolkit on. Installed the USB drivers from the File menu in Toolkit, and plugged in the PCU. Restart Toolkit and select COM3 and it connected to my Cbus network straight away.

Close Toolkit and C-Gate, and log off my CQC Server. Log into CQC Admin from my laptop, import the CBus package, and load the driver. Couldn't connect. Checked log files, couldn't find translate.txt. Put translate.txt in its spot, and I can control my lights. Sweeet. Looks like I've got no excuses to not take advantage of the Presidents special now Smile

So without jumping the gun before long term use, it looks like the C-Bus USB interface is a straightforward setup and works well.

Mark.
froop Wrote:...So without jumping the gun before long term use, it looks like the C-Bus USB interface is a straightforward setup and works well.

Mark.

That's good to know, I'll add it to the documentation.

BTW is the virtual port still available when not logged in?

Cheers

Rohan
rhamer Wrote:BTW is the virtual port still available when not logged in?

Yep. After znelbok's comment I made sure to have the CQC server running on a machine that was not logged in, and testing the driver through the admin interface running on another computer.

Mark.
Got a couple of other questions..

I assumed the default com settings of 9600n81, which worked. I can't find any config options to change speed of the USB driver, and if I up the CQC driver port speed, the USB driver isn't smart enough to auto negotiate. I guess that's more a statement Smile. But the related question is that when I was playing around, I couldn't find a way to modify the CQC driver settings - I had to remove and add the driver. Am I missing something?

Also I created a simple test interface page with two buttons. One to turn on one lighting group, and another to turn it off. Here is the code:

On Button:
Code:
[OnClick]
   Devices::FieldWrite(CBus.FamilySliding, 75)

[OnRelease]

[OnPress]

Off button:
Code:
[OnClick]
   Devices::FieldWrite(CBus.FamilySliding, 0)

[OnRelease]

[OnPress]

With all lights off, as soon as I start the interface viewer, the family sliding light group turned on. Is something causing the OnClick event to fire, or could it be something else?
Pages: 1 2