737MaxDriver2
-
Posts
7 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Downloads
Posts posted by 737MaxDriver2
-
-
Thanks guys....
Followup ...
1) can I do this w/non-contiguous addresses:
FSUIPC_Write(0x238, 1, chTime1, &dwResult);
FSUIPC_Write(0x247, 7, chTime2, &dwResult);
FSUIPC_Write(0x259, 2, chTime3, &dwResult);
FSUIPC_Process(&dwResult);2) can I mix read and write under ONE FSUIPC_Process or do I have to do all writes with a "Process" and then reads with a process:
FSUIPC_Write(0x238, 1, chTime1, &dwResult);
FSUIPC_Read(0x247, 7, chTime2, &dwResult);
FSUIPC_Process(&dwResult); -
Hey Pete,
Maybe I'm just turning into an old fart, but I could have sworn I saw some documentation somewhere that shows how to read or write an array of offsets with one call to FSUIPC_Process() using the FSUIPC_User.lib in C++.... but for the life of me I just can't find it.
Can you either: (A) point me in the right direction or (B) confirm that I am, in fact, senile and that documentation was just a wonderful dream 🙂 ... or maybe it was a different SDK/Dll?
Thanks, Pete...
Jeff
-
Hey Pete,
I'm writing a custom HUD program using LUA and need to be able to access FSUIPC offsets for various values ( airspeed, altitude, attitude, etc).
Is there a way to reference the ipc extensions from "straight up Lua" outside of FSUIPC and Wideclient?
Thanks,
Jeff
-
WideClient= 6.94, FSUIPC= 6.0.9
Hey Pete,
Trying to create a Buttonscreen in WideClient. I can't seem to create anything larger than 4x4. if I create a 2x4, 4x2, 3x2, or any combination smaller or equal to 4x4 works fine. anything larger that 4x4 (4x5, 6x8, 5x4, etc) will only create a 5x4 button screen size, no matter what the Size parameter is set to....
P3d is running and WideClient is connecting... and the labels are populating in whatever ButtonScreen orientation Wideclient creates.
Am I just missing something or doing something stupid?
Here's the WideClient.ini and log.
[User]
SendKeyPresses=Yes
ButtonScreen=Yes[Config]
//ServerIPAddr=24.231.43.237
ServerIPAddr=172.16.121.11
Protocol=TCP
ButtonScanInterval=0
ClassInstance=0
NetworkTiming=5,1
MailslotTiming=2000,1000
PollInterval=2000
Port=8002
Port2=9002
ResponseTime=18
ApplicationDelay=0
TCPcoalesce=No
WaitForNewData=500
MaxSendQ=100
OnMaxSendQ=Log
NewSendScanTime=50
Priority=3,1,2
Window=1952,-1183,600,301[Sounds]
Path=C:\B777 Avionic Suite\_Release Version 1.00\JETMAX 737\WideFS\Sound\
Device1=Primary Sound Driver
Device2=Speakers (Creative SB X-Fi)
Device3=Speakers (Logitech USB Headset)[ButtonScreen]
Size=2,8Title1="MAIN SCREEN"
0=G0r"PNEUMATICS"
1=Tl"RECIRC L\rOFF / AUTO"
2=T"TRIM AIR\rOFF / ON"
3=T"RECIRC R\rOFF / AUTO"
4=U
5=U
6=Br" "
7=Bl"L PACK\rOFF"
8=B"ISO VALVE\rCLOSE"
9=B"R PACK\rOFF"
10=U
11=U12=Br" "
13=Bl"L PACK\rAUTO"
14=B"ISO VALVE\rAUTO"
15=B"R PACK\rAUTO"
16=U
17=U18=Br" "
19=Bl"L PACK\rHIGH"
20=B"ISO VALVE\rOPEN"
21=B"R PACK\rHIGH"
22=U
23=U24=Br" "
25=Tl"L BLEED"
26=T"APU BLEED"
27=T"R BLEED"
28=U
29=ULOG:
********* WideClient Log [version 6.94] Class=FS98MAIN *********
Date (dmy): 24/07/20, Time 13:35:13.078: Client name is DESKTOP-EDKLH5O
828 LUA: "C:\Sim-Avionics\WideFS\Initial.LUA": not found
844 Attempting to connect now
844 Trying TCP/IP addr 172.16.121.11, port 8002 ...
859 Connection made okay!3922 ****** End of session performance summary ******
3922 Total time connected = 1 seconds
3922 Reception maximum: 0 frames/sec, 0 bytes/sec
3922 Reception average whilst connected: 61 frames/sec, 1968 bytes/sec
3922 Transmission maximum: 0 frames/sec, 0 bytes/sec
3922 Transmission average whilst connected: 1 frames/sec, 366 bytes/sec
3922 Max receive buffer = 523, Max send depth = 1, Send frames lost = 03922 ********* Log file closed (Buffers: MaxUsed 2, Alloc 92 Freed 92 Refused 0) *********
-
Ba-Da-Bing... Ba-Da-Boom.... Problem solved ! ! ! !
Thanks, John!!!
-
Hey Pete,
Currently running:
FSUIPC6 6.0.5 - 4/28/20
Sim-Avionics v1.97
P3dv5 Build 5.0.31.35253
ASN 5 Beta build 7487
Not getting the radar.bin or the bitmap file generated. at this point, forget SIm-A, just trying to get the files generated on the P3D computer local drive. P3d and ASN running on the same PC
FSUIPC.INI:
[General]
UpdatedByVersion=6005
History=56M00WYAR6CG48GH50TEN
AxesWrongRange=No
TCASid=Flight
TCASrange=40,3
AxisCalibration=No
DirectAxesToCalibs=No
ShowMultilineWindow=Yes
SuppressSingleline=No
SuppressMultilineFS=No
AxisIntercepts=No
DontResetAxes=No
ThreadAffinityMask=x0
LuaAffinityMask=x0
InitDelay=0
GetNearestAirports=Yes
LogOptionProtect=Yes
TimeForLuaClosing=2
WeatherReadFactor=2
WeatherRewriteSeconds=1
TrafficStallTime=1
InitialStallTime=10
NormalStallTime=1
LuaRerunDelay=66
ComReadLoopTime=20
Console=No
ConsoleWindowTopMost=No
ProvideAIdata=Yes
ProvideAIairports=Yes
InitDelayDevicesToo=No
PMDG737offsets=Auto
PMDG747offsets=Auto
PMDG777offsets=Auto
Annotate=Yes
UseSystemTime=No
UseMidMouseBtn=Yes
MouseWheelMove=No
MouseWheelTrim=No
MouseWheelTrimSpeed=1
JoystickTimeout=20
RestoreSimcWindows=No
FixMachSpeedBug=No
AutoScanDevices=Yes
DisconnTrimForAP=No
ZeroElevForAPAlt=No
ThrottleSyncAll=No
WhiteMessages=No
ShowPMcontrols=No
SpoilerIncrement=512
MagicBattery=Yes
RudderSpikeRemoval=No
ElevatorSpikeRemoval=No
AileronSpikeRemoval=No
ReversedElevatorTrim=No
ClockSync=Yes
ClockSyncMins=5
ClearWeatherDynamics=No
TimeForSelect=4
LoadFlightMenu=No
LoadPlanMenu=No
PauseAfterCrash=No
BrakeReleaseThreshold=75
SaveDataWithFlights=No
ZapSound=firework
ZapAirRange=1.50
ZapGroundRange=0.25
ZapCylinderAltDiff=0
ShortAircraftNameOk=Substring
UseProfiles=Yes
EnableMouseLook=No
DelayedMouseLookZoom=No
WideLuaGlobals=Yes
LogWeather=Yes
ConsoleWindow=66,811,1059,1330
ControlsListBuild=35253
ASNwxRadarPath=c:\jeffwx\radar.bin
ASNwxRadarBitmapPath=C:\jeffwx\WxRadar.bmp
FSVersionUsed="Lockheed Martin® Prepar3D® v5",5.0.31.35253
SimConnectUsed=5.0.0.0[WideServer]
WideFSenabled=Yes
AdvertiseService=1
Port=8002
Port2=9002[Traffic Limiter]
AirportPreference=50
PlannedAirportsPreference=50
GroundPreference=50
NearerPreference=50
TargetFrameRate=0
TrafficLimit=0[JoyNames]
AutoAssignLetters=No
0=Saitek Pro Flight Combat Rudder Pedals
0.GUID={357A53D0-8A1F-11EA-8004-444553540000}
1=Saitek Pro Flight Yoke
1.GUID={35A0A080-8A1F-11EA-8005-444553540000}[JoystickCalibration]
RudderBlendLowest=1
AllowSuppressForPFCquad=Yes
ExcludeThrottleSet=Yes
ExcludeMixtureSet=Yes
ExcludePropPitchSet=Yes
SepRevsJetsOnly=No
ApplyHeloTrim=No
UseAxisControlsForNRZ=No
FlapsSetControl=0
FlapDetents=No
ReverserControl=66292
Reverser1Control=66422
Reverser2Control=66425
Reverser3Control=66428
Reverser4Control=66431
MaxThrottleForReverser=256
AileronTrimControl=66731
RudderTrimControl=66732
CowlFlaps1Control=66162
CowlFlaps2Control=66163
CowlFlaps3Control=66164
CowlFlaps4Control=66165
SteeringTillerControl=0
MaxSteerSpeed=60
Aileron=-16380,-512,512,16380
Elevator=-16380,-512,512,16380
LeftBrake=-16380,16380/16
RightBrake=-16380,16380/16[Axes]
PollInterval=10
RangeRepeatRate=10
0=0X,1,D,7,0,0,0 -{ DIRECT: LeftBrake }-
1=0Y,256,D,8,0,0,0 -{ DIRECT: RightBrake }-
2=0R,256,D,3,0,0,0 -{ DIRECT: Rudder }-
3=1X,1,D,1,0,0,0 -{ DIRECT: Aileron }-
4=1Y,256,D,2,0,0,0 -{ DIRECT: Elevator }-[Buttons]
PollInterval=25
ButtonRepeat=20,10
1=R1,2,Cx010053F4,x02 -{offset byte set, offset 53F4}-
2=R1,3,Cx010053F4,x01 -{offset byte set, offset 53F4}-
3=U1,2,Cx010053F4,x00 -{offset byte set, offset 53F4}-
4=U1,3,Cx010053F4,x00 -{offset byte set, offset 53F4}-
7=P1,36,Cx020053DB,x0227 -{offset word set, offset 53DB}-[AutoSave]
Interval=60
Files=10
SaveOnGround=No
AutoSaveEnabled=No[GPSout]
GPSoutEnabled=No
Port=COM1
Speed=4800
Interval=2000
PosTo6Decimal=No
SimModeIndicator=No
Sentences=[GPSout2]
GPSoutEnabled=No
Port=<none set>
Speed=4800
Interval=2000
PosTo6Decimal=No
SimModeIndicator=No
Sentences=[Sounds]
Path=C:\Program Files\Lockheed Martin\Prepar3D v5\Sound\
Device1=Primary Sound Driver
Device2=Speakers (Realtek(R) Audio)
Device3=Optoma 1080P (2- NVIDIA High Definition Audio)
Device4=Realtek Digital Output (Realtek(R) Audio)
Device5=Headphones (FSX DUAL)
Device6=CABLE Input (VB-Audio Virtual Cable)[ClientNames]
1=AVIONICS
2=DESKTOP-EDKLH5O
3=MIP[AutoSaveFilesV5]
Next=1
FSUIPC6.LOG:
FSUIPC6 Key is provided
WideFS7 Key is provided
1182078 System time = 08/07/2020 15:21:20, Simulator time = 19:12:07 (02:12Z)
1182078 FLT UNC path = "C:\Users\Sim\Documents\Prepar3D v5 Files\"
[Continuation log requested by user]
Running inside Prepar3D v5 on Windows 10
Module base=7FFE0BE80000
1182656 Weather Read request (At Aircrft) to area 4: Lat=47.44, Lon=-122.30, Alt=134.5, Req=2
1182687 Weather Received (type 4 request, Interpolated): "????&A0 260212Z 00000KT&D609NG 100KM&B-457&D5029 CLR 14/04 Q1013 "
1182687 WX Received in (31 mSecs), WX request type 4, Lat=47.4418, Lon=-122.3045, Alt=134.5m
1186828 === Closing session: waiting for DLLStop to be called ...
1199218 === DLLStop called ...
1199218 === Closing external processes we started ...
1200218 === About to kill any Lua plug-ins still running ...
1200375 === Closing global Lua thread
1201390 === About to kill my timers ...
1201578 === Restoring window procs ...
1201578 === Unloading libraries ...
1201578 === stopping other threads ...
1201578 === ... Button scanning ...
1201687 === ... Axis scanning ...
1201781 === Releasing joystick devices ...
1201781 === Freeing macro memory
1201781 === Removing any offset overrides
1201781 === Closing all WideFS threads
1203140 === Clearing any displays left
1203140 === NOTE: not calling SimConnect_Close ...
1203140 === AI slots deleted!
1203140 === Freeing button memory ...
1203140 === Deleting wxstationlist.bin file ...
1203140 === Closing my Windows ...
1203140 === Freeing FS libraries ...
1204140 === Closing devices ...
1204140 === Closing the Log ... Bye Bye! ...
1204140 System time = 08/07/2020 15:21:42, Simulator time = 19:12:09 (02:12Z)
1204140 *** FSUIPC log file being closed
Minimum frame rate was 21.8 fps, Maximum was 30.0 fps
Average frame rate for running time of 1076 secs = 28.0 fps
Maximum AI traffic for session was 0 aircraft
Memory managed: 500 Allocs, 499 Freed
********* FSUIPC Log file closed ***********
FSUIPC_User.lib - processing multiple offsets with a single FSUIPC_Process() Call
in FSUIPC Support Pete Dowson Modules
Posted
AWESOME.... Thank you!!
Jeff