*.xdd driver not working
karageur
Posts: 97
Hi guys!
Does anyone have an experience of making *.xdd driver work?
I have downloaded the BenQ_Video_Projector_W1070_W1080ST_1.0.0.xdd driver from AMX tech zone.
It uses the same SNAPI channels, levels and commands for controlling as regular duet module. The difference is initialization.
Here it is.
DEFINE_DEVICE
dvSerialPort = 5001:1:0
vdvMyDevice = 41003:1:0
DEFINE_VARIABLE
CHAR MyXDDFile[] = 'BenQ_Video_Projector_W1070_W1080ST_1.0.0.xdd'
DEFINE_MODULE 'DeviceDriverEngine' MyDevice(vdvMyDevice, dvSerialPort, MyXDDFile)
That's all.
I added the driver itself in module section but it appeared in "Other". Fine.
After uploading and rebooting OnLine tree doesn't show the 41003 device and I can't even send anything to the "driver" to check if it works.
Please advice. I'm new to the device discovery drivers. AMX's site search didn't help.
Does anyone have an experience of making *.xdd driver work?
I have downloaded the BenQ_Video_Projector_W1070_W1080ST_1.0.0.xdd driver from AMX tech zone.
It uses the same SNAPI channels, levels and commands for controlling as regular duet module. The difference is initialization.
Here it is.
DEFINE_DEVICE
dvSerialPort = 5001:1:0
vdvMyDevice = 41003:1:0
DEFINE_VARIABLE
CHAR MyXDDFile[] = 'BenQ_Video_Projector_W1070_W1080ST_1.0.0.xdd'
DEFINE_MODULE 'DeviceDriverEngine' MyDevice(vdvMyDevice, dvSerialPort, MyXDDFile)
That's all.
I added the driver itself in module section but it appeared in "Other". Fine.
After uploading and rebooting OnLine tree doesn't show the 41003 device and I can't even send anything to the "driver" to check if it works.
Please advice. I'm new to the device discovery drivers. AMX's site search didn't help.
0
Comments
Make sure you have the current firmware installed and up your duet memory by telnetting into the master and typing SET DUET MEM, then set it to the maximum value until you have the virtual device coming online, then you may wish to wind the duet mem back a bit.
After that is working look in the masters web interface in the System area > Manage Devices tab and play around there.
If you still don't have any luck there have a look if your master is telling you if it's missing anything or things are breaking on boot. To do this, telnet or SSH in and run 'show log all'. This will spit out everything since boot and will be a good place to start looking for any potential issues.
I use the latest firmware 4.1.4.
Tried SET DUET MEM to 30 MB and master locked up after reboot - had to turn it back.
Now there are 8 mb free of duet memory & 14 mb of volatile.
It doesn't seem to be the cause.
Still no 41003.
Jar files that can be manually added are common duet modules from amx site (like *.xdd driver).
Strange - there is nothing on amx site about device discovery or xdd.
These are the files that being transferred from Studio to master.
Has the projector to be physically connected to rs232 port so the driver to come up?
Does the xdd driver show instantly in normal situation in online tree?
But still no virtual device.
Verify the firmware on the master.
Just My $0.02...
I just tried it and got 41001 online.
I see why you are having troubles, documentation is somewhat lacking.
I have used Dynamic device Discovery before but never with an XDD file and can't find any documentation about it.
champ,
you're genius! it works!
one more secret was revealed.
+100 thanks champ and thanks everyone!
Ha aha, thanks me. I wonder how I figured that out in the first place