Flightdeck Solutions Forum Index Flightdeck Solutions
The place to meet and talk with fellow builders
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Phidget PMSYSTEMS

 
Post new topic   Reply to topic    Flightdeck Solutions Forum Index -> Open Discussion
View previous topic :: View next topic  
Author Message
warvet



Joined: 15 May 2004
Posts: 1298

PostPosted: Tue Dec 27, 2005 8:25 pm    Post subject: Phidget PMSYSTEMS Reply with quote

Is anyone currently using PMSystems with Phidget boards? If so can you please help me with setting mine up because I really don't understand for example the following info clearly.
// Digital Inputs (DI) ---------
// [DeviceSerial] DIXX [VariableName]
// [DeviceSerial] DIXX [VariableName] INV // Inverts 1 = off, 0 = on
// [DeviceSerial] DIXX [VariableName] MOM // Momentary Switches
// [DeviceSerial] DIXX [VariableName] 5 // sets value 5 when on, 0 when off
// [DeviceSerial] DIXX [VariableName] 1 2 // sets value 1 when on, to 2 when
off
// [DeviceSerial] DIXX [VariableName] 1 - // sets value 1 when on, does
nothing when off

As to when would I use one instead of the other or which one would be used for a simple on off toggle such as seatbelts and which one for K1 switches for Eng Gen for example. Could someone send me a sample txt to review. Tim.Henry@shaw.ca Any help would be great. Very Happy

Very Happy Tim
A340
Canada
Back to top
View user's profile Send private message Send e-mail
bwr014



Joined: 10 Mar 2004
Posts: 1064
Location: Netherlands

PostPosted: Wed Dec 28, 2005 2:59 am    Post subject: Reply with quote

Hi Tim,

I dont use Phidgets but looking to it i would say something like this...

// [DeviceSerial] DIXX [SeatBelts] 1 //
(where i assum the DeviceSerial is the board number you use for it)
(where the VariableName is the name given in PMsystems/ sysvar)
(where 1 is ON and 0 stands for OFF)

But i could be wrong...

gr.

FransM
frans@flightdecksolutions.com
_________________
Frans M
www.airbus320.nl
Back to top
View user's profile Send private message Send e-mail Visit poster's website
warvet



Joined: 15 May 2004
Posts: 1298

PostPosted: Wed Dec 28, 2005 3:25 am    Post subject: Reply with quote

Frans,
I believe your right my friend but I'm not sure how it would look setup for example what do all the other things mean 5 is on etc and here is a copy of an actual one
//Entries: Serial_Number Type Variable Function
//Example: 1234 DI05 MyBattery NONE


// Device Serial# 2941---------------------------

// Digital Inputs (DI) ---------
// [DeviceSerial] DIXX [VariableName]
// [DeviceSerial] DIXX [VariableName] INV // Inverts 1 = off, 0 = on
// [DeviceSerial] DIXX [VariableName] MOM // Momentary Switches
// [DeviceSerial] DIXX [VariableName] 5 // sets value 5 when on, 0 when off
// [DeviceSerial] DIXX [VariableName] 1 2 // sets value 1 when on, to 2 when off
// [DeviceSerial] DIXX [VariableName] 1 - // sets value 1 when on, does nothing when off

2941 DI00 CUTOFF1
2941 DI01 CUTOFF2
2941 DI02 CUTOFF3
2941 DI03 CUTOFF4
2941 DI04 GEN1 MOM
2941 DI05 BUSTIE MOM
2941 DI06 APUGEN MOM
2941 DI07 BATT1 MOM
2941 DI08 STARTSELECT 2
2941 DI09 STARTSELECT 1
2941 DI10 GEN2 MOM
2941 DI11 CROSSBLEED
2941 DI12 APUBLEED MOM
2941 DI13 LANDLIGHTR
2941 DI14 APUMASTERON MOM
2941 DI15 APUSTARTON MOM

// Digital Outputs (DO) --------
2941 DO00 BATT1 INV
2941 DO01 BUSTIE INV
2941 DO02 APUGEN INV
2941 DO03
2941 DO04
2941 DO05
2941 DO06
2941 DO07
2941 DO08 APUSTARTAVAIL
2941 DO09 APUBLEED
2941 DO10 APUMASTERON
2941 DO11 GEN1 INV
2941 DO12 GEN2 INV
2941 DO13
2941 DO14
2941 DO15

// Device Serial# 8554---------------------------

// Digital Inputs (DI) ---------
// [DeviceSerial] DIXX [VariableName]
// [DeviceSerial] DIXX [VariableName] INV // Inverts 1 = off, 0 = on
// [DeviceSerial] DIXX [VariableName] MOM // Momentary Switches
// [DeviceSerial] DIXX [VariableName] 5 // sets value 5 when on, 0 when off
// [DeviceSerial] DIXX [VariableName] 1 2 // sets value 1 when on, to 2 when off
// [DeviceSerial] DIXX [VariableName] 1 - // sets value 1 when on, does nothing when off

8554 DI00 LOWERENGINEPAGE 1 -
8554 DI01 LOWERENGINEPAGE 2 -
8554 DI02 LOWERENGINEPAGE 3 -
8554 DI03 LOWERENGINEPAGE 4 -
8554 DI04 LOWERENGINEPAGE 18 -
8554 DI05 LOWERENGINEPAGE 5 -
8554 DI06 LOWERENGINEPAGE 19 -
8554 DI07
8554 DI08 LOWERENGINEPAGE 7 -
8554 DI09 LOWERENGINEPAGE 8 -
8554 DI10 LOWERENGINEPAGE 9 -
8554 DI11 LOWERENGINEPAGE 10 -
8554 DI12 LOWERENGINEPAGE 11 -
8554 DI13 LOWERENGINEPAGE 6 -
8554 DI14
8554 DI15

// Digital Outputs (DO) --------
8554 DO00 LOWERENGINEPAGE 1
8554 DO01 LOWERENGINEPAGE 2
8554 DO02 LOWERENGINEPAGE 3
8554 DO03 LOWERENGINEPAGE 4
8554 DO04 LOWERENGINEPAGE 18
8554 DO05 LOWERENGINEPAGE 5
8554 DO06 LOWERENGINEPAGE 19
8554 DO07
8554 DO08 LOWERENGINEPAGE 7
8554 DO09 LOWERENGINEPAGE 8
8554 DO10 LOWERENGINEPAGE 9
8554 DO11 LOWERENGINEPAGE 10
8554 DO12 LOWERENGINEPAGE 11
8554 DO13 LOWERENGINEPAGE 6
8554 DO14
8554 DO15


So yes the 1st 4 digits are the Phidget board the next ones are the Input and Output # on the phidget board then next is the actual switch name but as you see I dont see where the 1 0 or 5 2 or 1 2 etc go or how they are placed. Thanks for your input Frans my Friend.

Happy Holidays

Tim
A340
Canada
Back to top
View user's profile Send private message Send e-mail
bwr014



Joined: 10 Mar 2004
Posts: 1064
Location: Netherlands

PostPosted: Wed Dec 28, 2005 5:58 am    Post subject: Reply with quote

Uhmmmmmmmmmmm..... Rolling Eyes

STEF your turn Razz

gr.

Frans M
frans@flightdecksolutions.com
_________________
Frans M
www.airbus320.nl
Back to top
View user's profile Send private message Send e-mail Visit poster's website
dnoize



Joined: 04 Aug 2004
Posts: 643
Location: Netherlands

PostPosted: Wed Dec 28, 2005 8:54 pm    Post subject: Reply with quote

hahaha i just send Tim an email with my phidgets.txt and an explanation Smile

basicly what it means is this. Fsuipc offsets have different states (values)

without a variable behind the name it automatically means this
switch state off = value 0
switch state on = value 1

however in some cases you want the value to be 2 (instead of 1).
In those cases you put 2 behind the offsets name
for example for the no smoking switch on a 737 the switch states are:

off-auto-on

in pmsystems this would be 0-1-2

with phidgets this means you wire 2 inputs for example:



8346 DI00 nosmoking (without an variable this input switches the offset nosmoking to "0" when off, "1" when on)
8346 DI01 nosmoking 2 - ( this variable swtitches this input to "2" when on and nothing when off)



8346 is the serial number of the phidget card
DI00 and DI01 is digital input 0 and 1

when input 0 is off, pmsystems NOSMOKING is value 0 (off)
when input 0 is on, pmsystems NOSMOKING is value 1 (auto)
/////when theres nothing behind a name pmsystems asumes off=0 and on =1)
when input 1 is "on" pmsystems NOSMOKING is value 2 when its of nothing (hence "2 - ")

if you want a value to be 5 when a switch is on you put a 5 behind the name, etc

hope this clears things a bit.,....it sounds rather complicated, but its really simple....its just a matter of putting the functions names behind the inputs and in some cases add the variables like inv, 2, etc.

Stef
_________________
www.boeing737ng.com - the 737 simulator project
Back to top
View user's profile Send private message Visit poster's website
bwr014



Joined: 10 Mar 2004
Posts: 1064
Location: Netherlands

PostPosted: Thu Dec 29, 2005 11:29 am    Post subject: Reply with quote

Thanks Stef Smile

I know i was close but not sure but you cleared it out Smile

Hmmm now lets hope Tim will understand it as well... Razz

gr.

Frans M
frans@flightdecksolutions.com
_________________
Frans M
www.airbus320.nl
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Flightdeck Solutions Forum Index -> Open Discussion All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group