| Plugin Development Extend the functionality of Centrafuse by developing plugins |
 |
|
May 12th, 2009, 12:21 AM
|
#101 (permalink)
|
|
10 Farad - Flux Capacity
Join Date: Nov 2004
Location: Munich, Germany
Vehicle: Audi A3
Posts: 1,024
|
Quote:
Originally Posted by micfre
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.
|
|
|
May 12th, 2009, 07:30 AM
|
#102 (permalink)
|
|
0.5 Farad - Min. Capacity
Join Date: Feb 2009
Posts: 8
|
Quote:
Originally Posted by Zorro
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.
|
|
|
May 12th, 2009, 08:33 AM
|
#103 (permalink)
|
|
10 Farad - Flux Capacity
Join Date: Nov 2004
Location: Munich, Germany
Vehicle: Audi A3
Posts: 1,024
|
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.
|
|
|
May 12th, 2009, 08:34 AM
|
#104 (permalink)
|
|
0.5 Farad - Min. Capacity
Join Date: Mar 2009
Posts: 7
|
booooooo.....
|
|
|
July 19th, 2009, 01:14 PM
|
#105 (permalink)
|
|
Newbie - Zero Capacity
Join Date: Apr 2009
Location: Marietta, GA
Vehicle: Honda Odyssey MiniVan
Posts: 4
|
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.
|
|
|
July 19th, 2009, 04:19 PM
|
#106 (permalink)
|
|
10 Farad - Flux Capacity
Join Date: Nov 2004
Location: Munich, Germany
Vehicle: Audi A3
Posts: 1,024
|
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
|
|
|
July 22nd, 2009, 06:34 PM
|
#107 (permalink)
|
|
10 Farad - Flux Capacity
Join Date: Feb 2008
Posts: 936
|
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...
|
|
|
September 6th, 2009, 12:07 PM
|
#108 (permalink)
|
|
0.5 Farad - Min. Capacity
Join Date: Sep 2009
Location: Denmark
Vehicle: Audi 80
Posts: 7
|
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.
|
|
|
September 6th, 2009, 12:26 PM
|
#109 (permalink)
|
|
10 Farad - Flux Capacity
Join Date: Nov 2004
Location: Munich, Germany
Vehicle: Audi A3
Posts: 1,024
|
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).
__________________
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
|
|
|
September 6th, 2009, 01:09 PM
|
#110 (permalink)
|
|
0.5 Farad - Min. Capacity
Join Date: Sep 2009
Location: Denmark
Vehicle: Audi 80
Posts: 7
|
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.
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
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 |
|
|