Centrafuse Carputer, CarPC & UMPC Forums

Go Back   Centrafuse Carputer, CarPC & UMPC Forums > 3rd Party Development > Plugin Development

Plugin Development Extend the functionality of Centrafuse by developing plugins


Reply
 
LinkBack (12) Thread Tools Display Modes
Old May 12th, 2009, 12:21 AM   #101 (permalink)
10 Farad - Flux Capacity
Zorro's CarPC Specs
 
Zorro's Avatar
 
Join Date: Nov 2004
Location: Munich, Germany
Vehicle: Audi A3
Posts: 1,024
Zorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of light
Send a message via Skype™ to Zorro
Quote:
Originally Posted by micfre View Post
Good progress, thanks for the extra detail Zorro. I have, however, hit a roadblock. I have moved the files back to the proper folder, and the log file there shows that the extender has been initialized but I cannot enter the PhiPL code. I am attempting to add the code in the On Hostvar Change Event screen. The syntax check tells me that the host variable is unknown or has not been set (and therefore disallows entry).

One other thing, it appears that the encoder delivers a negative value for a clockwise turn and a positive value for counter-clockwise. Further, I want a toggled mute rather than instantaneous. I reckon this code would be suitable:

Code:
HOST: SETVOLUME(MAIN, UP) @ $ENCODER1CHANGE < 0
HOST: SETVOLUME(MAIN, DOWN) @ $ENCODER1CHANGE > 0
HOST: SETMUTE(MAIN, ON) @ $ENCODER1INPUT = 1 & $MUTED = 0
HOST: SETMUTE(MAIN, OFF) @ $ENCODER1INPUT = 1 & $MUTED = 1
Have you tried to turn the Encoder/press knob before entering it, so that the variables are set?
If that fails either, you can add that code directly to the config.xml of the plug-in.
__________________
Skinning to go... VD2
My Plugins: BluetoothControl, Contacts, Scribble, MWConn, Phidgets, Skype, PluginBrowser, LogoDashboard, SkinBrowser
My Tools: CFInjector
My Skins: Street WS, Gizmo, Cyclone, Drive

Last edited by Zorro; May 12th, 2009 at 12:33 AM.
Zorro is offline   Reply With Quote
Old May 12th, 2009, 07:30 AM   #102 (permalink)
0.5 Farad - Min. Capacity
micfre's CarPC Specs
 
Join Date: Feb 2009
Posts: 8
micfre is on a distinguished road
Quote:
Originally Posted by Zorro View Post
Have you tried to turn the Encoder/press knob before entering it, so that the variables are set?
Yes, I have tried that. I've opened the debug window to see what's going on behind the scenes. It shows the encoder initialization (no errors) but does not raise a variable. I know you said it's a separate device so it's not really valid, but I can see the Joystick variables raised here ok. I have also looked into the Phidgets tray app to be sure that the device is still working fine, and it appears to be.

I will try to enter the code into config.xml as you suggest, but I'm not sure that it will see any of the variable changes.
micfre is offline   Reply With Quote
Old May 12th, 2009, 08:33 AM   #103 (permalink)
10 Farad - Flux Capacity
Zorro's CarPC Specs
 
Zorro's Avatar
 
Join Date: Nov 2004
Location: Munich, Germany
Vehicle: Audi A3
Posts: 1,024
Zorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of light
Send a message via Skype™ to Zorro
Unfortunately you don't see a notification in the Debug window if Host vars are being set through Extenders, you have to dump the variables manually.

If still nothing appears please check that the serial number of the Encoder device is set correctly in the EncoderConfig.xml.
__________________
Skinning to go... VD2
My Plugins: BluetoothControl, Contacts, Scribble, MWConn, Phidgets, Skype, PluginBrowser, LogoDashboard, SkinBrowser
My Tools: CFInjector
My Skins: Street WS, Gizmo, Cyclone, Drive

Last edited by Zorro; May 12th, 2009 at 08:42 AM.
Zorro is offline   Reply With Quote
Old May 12th, 2009, 08:34 AM   #104 (permalink)
0.5 Farad - Min. Capacity
Spoonfed's CarPC Specs
 
Join Date: Mar 2009
Posts: 7
Spoonfed is on a distinguished road
booooooo.....
Spoonfed is offline   Reply With Quote
Old July 19th, 2009, 01:14 PM   #105 (permalink)
Newbie - Zero Capacity
GreyBeard45's CarPC Specs
 
Join Date: Apr 2009
Location: Marietta, GA
Vehicle: Honda Odyssey MiniVan
Posts: 4
GreyBeard45 is on a distinguished road
Can't configure sensors

I installed the CFPhidgets plugin according to the instructions and I am trying to use it.

I have an 8/8/8 w 6 port USB hub and the plugin IS talking to the board, because the raw value for my sensors are showing up correctly. I can cover my light sensor with my hand and watch the values change, etc.

My problem is that when I click on the bar to configure a sensor instead of getting a popup that says "Configure Sensor? (Yes/No)" followed by a screen to select my sensor type and other values I get a popup that says "__CONFIGSENSOR" and all it lets me edit is the labels. The main window in this screen says "__LISTHEADERSET" at the top.

Don't know if any of you have ever seen this type of behavior before but any help would be appreciated.
GreyBeard45 is offline   Reply With Quote
Old July 19th, 2009, 04:19 PM   #106 (permalink)
10 Farad - Flux Capacity
Zorro's CarPC Specs
 
Zorro's Avatar
 
Join Date: Nov 2004
Location: Munich, Germany
Vehicle: Audi A3
Posts: 1,024
Zorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of light
Send a message via Skype™ to Zorro
No, haven't seen it before but it sounds like something is missing. The __?? text comes when the language file cannot be read.
You may have to check your install.
__________________
Skinning to go... VD2
My Plugins: BluetoothControl, Contacts, Scribble, MWConn, Phidgets, Skype, PluginBrowser, LogoDashboard, SkinBrowser
My Tools: CFInjector
My Skins: Street WS, Gizmo, Cyclone, Drive
Zorro is offline   Reply With Quote
Old July 22nd, 2009, 06:34 PM   #107 (permalink)
10 Farad - Flux Capacity
WuNgUn's CarPC Specs
 
Join Date: Feb 2008
Posts: 936
WuNgUn will become famous soon enough
I've seen this happen on mine as well...
Reinstall didn't fix it. I haven't tried a clean install because I've currently stopped using the plugin...
WuNgUn is offline   Reply With Quote
Old September 6th, 2009, 12:07 PM   #108 (permalink)
0.5 Farad - Min. Capacity
niceman's CarPC Specs
 
Join Date: Sep 2009
Location: Denmark
Vehicle: Audi 80
Posts: 7
niceman is on a distinguished road
Hi Zorro,

I am new to this and have the same problem.

But I have looked in the language files and there is two files, english and german.
The german file has a lot more text than the english, so I think you should check the english language file for missing words.

I have testet it in german and it works fine.

Thanks for a great plugin.
niceman is offline   Reply With Quote
Old September 6th, 2009, 12:26 PM   #109 (permalink)
10 Farad - Flux Capacity
Zorro's CarPC Specs
 
Zorro's Avatar
 
Join Date: Nov 2004
Location: Munich, Germany
Vehicle: Audi A3
Posts: 1,024
Zorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of lightZorro is a glorious beacon of light
Send a message via Skype™ to Zorro
Thanks for the hint niceman. Haven't even noticed it. I must have messed it up recently.

For all of you who're facing the same issue, please download the attached language file (and rename it to English.xml).
Attached Files
File Type: txt English.xml.txt (8.8 KB, 24 views)
__________________
Skinning to go... VD2
My Plugins: BluetoothControl, Contacts, Scribble, MWConn, Phidgets, Skype, PluginBrowser, LogoDashboard, SkinBrowser
My Tools: CFInjector
My Skins: Street WS, Gizmo, Cyclone, Drive
Zorro is offline   Reply With Quote
Old September 6th, 2009, 01:09 PM   #110 (permalink)
0.5 Farad - Min. Capacity
niceman's CarPC Specs
 
Join Date: Sep 2009
Location: Denmark
Vehicle: Audi 80
Posts: 7
niceman is on a distinguished road
It works fine now.

But when I change the sensor type to 1124 Temp sensor, it should change the Action for it or what? Thats what I read in the manual on page 7, where it says "...the plugin has stored the information about how to translate the meassured value..."

I get no text in the Action window...
What shall I write in the Action window for getting the correct value for the temp sensor?

I have the Phidget 8/8/8 with 6 ports USB and the 1124 - Precision Temperature Sensor plugged in.
niceman is offline   Reply With Quote
Reply

Bookmarks

Tags
phidgets, plugin

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://forums.fluxmedia.net/plugin-development/2383-phidgets-plugin.html
Posted By For Type Date
www.soloCarputer.com :: Ver tema - Velocimetro en Centrafuse. This thread Refback November 4th, 2008 06:21 PM
www.soloCarputer.com :: Ver tema - Velocimetro en Centrafuse. This thread Refback November 4th, 2008 05:38 PM
www.soloCarputer.com :: Ver tema - Velocimetro en Centrafuse. This thread Refback November 4th, 2008 04:42 PM
www.soloCarputer.com :: Ver tema - Velocimetro en Centrafuse. This thread Refback November 4th, 2008 04:41 PM
wat met bestaande functies boordcomputer - Het Nederlandse Carputer Forum This thread Refback October 26th, 2008 03:16 PM
Was wondering if this is possible This thread Refback September 22nd, 2008 12:51 PM
мониторинг питания - Страница 2 - PCCar.ru - Ваш автомобильный компьютер This thread Refback August 10th, 2008 09:11 PM
Plugin for in/outside temp monitoring - Page 2 - MP3Car.com This thread Refback July 18th, 2008 04:52 AM
External Temperature Display - Page 2 - MP3Car.com Post #0 Refback July 15th, 2008 09:00 AM
Phidgets plugin - MP3Car.com This thread Refback June 30th, 2008 08:24 PM
Accelerometer? - MP3Car.com This thread Refback June 28th, 2008 02:12 AM
Mg Zs 180 - Page 6 - digital-car.co.uk This thread Refback June 26th, 2008 06:40 PM



All times are GMT -4. The time now is 08:23 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©2009 Flux Media, Inc. All rights reserved.Ad Management plugin by RedTyger