Jump to content
The simFlight Network Forums

Ron Buchwald

Members
  • Posts

    62
  • Joined

  • Last visited

Posts posted by Ron Buchwald

  1. OK I am begining to see the light, If I assign an offset var. in the free area then Is it stored in fsuipc so when i change it , it reports back the value i set? if so then I can do the logic for things not in FS.? like apustart then couild i port that data so PM PFD lower page will sees it?. Pete I am doing this because my over head panel is finished, years of work. it is hardware interfaced with FDS interfaceit hardware, but PM System,s does not show anything for a twin eng jet orther than the elect page...IE fuel, hyd, duct air show no responce, however if I load up as a 747, 4 eng jet all will display the functions. I am at a lose. I have begged Enrico for an answer but get nothing usefull from him and I am getting old waiting, 3+years now. Am I just doing something wrong?. Do I need to edit the sys. logic for the twin eng jets or what. Again thanks for All your work in makeing all this,"FSUIPC" I mean. Ron.

  2. Hi Mister dowson:

    Long time no see. Yes of course are correct. That is what I am tring to do, tell fsuipc or fs, I am not sure which, that offset &Hxxx is APUSTARTON, then if I write to or read from that offset I can code logic to say if simm on ground AND parking break set THEN APUSTARTON =1. Right? Thus I have implemented the var(APUSTARTON) to(&Hxxx) in fsuipc or fs. Ron.

  3. Hi Paul:

    You seem to know a grate deal about vb and FSUIPC, I am tiring to write a interface that will do what PM Systems does. I got the FSUIPC working to and from FS2004 ok but looking at the PM Systems sysvars.txt and the logics, I don't seem to be coding the logic correct for VB6. Question in case is starting the APU in FS. Will the PM offsets work thru a VB project or are they only good for PM. like I said I can do simple things like main buss power and such but not getting the logic down. to start the APU.Any ideas? Ron.

  4. pete this may be a stupit question but you wrote

    quote:

    But I still think it would be far easier and certainly more efficient for you to use the facilities intended for this sort of thing, i.e. the buttons. After all, EPIC has access to 16 x 32 = 512 of them! Surely you've not used them all up?

    Regards,

    Pete

    I have the epic hardware and i do not understand how you access the 512 buttons. the main bd. has the exp. buss. the exp. bd allows 255 buttons. ie the 40 pin ribbon cable. where do the rest of the buttons come from?. ron.

  5. Hi Pete. hope you are ready for Christmass. I have a question in regards to FS ATC. I want to turn off the ATC text so I don't see it on screen. When I do this thru FS options it does turn off however I can not then send a command to FS nor can I respond to ATC by pressing a key. If I display the text then all is fine. I do hear ATC with text off but can't respond. Also question on landing lites. using the default FS aircraft and in cockpit view, I do not see the landing lites out the front view. If I select virtual cockpit view I do see the lights. any Ideas on these :?: . Ron.

  6. Surely there are better alternatives these days? What is wrong with FSComm and the like?

    Yes pete now that you put it that way I understand. as to fs comm it has or I have a problem as it seem to only see one epic usb, usb0. I have yet to get a responce from robert, the auther. so now I must wait. yours, ron.

  7. how i would use FS comm and two epic cards. any Help, and yes I will ask Robert Fisher,of FS Comm as well. ron.

    Sorry, I am of no help at all on EPIC these days. I don't even have FSComm.

    Regards,

    Pete

    well, so sorry to hear this. I am stumped. what then do you use to interface hardware to the software?. and what about epicinfo/epiclink is it over?. do you no longer support them? ralph wants the source code so he can move on. is it a dead ball?. by the way, in waiting for a responce, I did get two epic cards to work but FS Comm does have a problem. I am working with robert to resolve them .

    ps I don't use epicinfo or epiclink. sorry if I sound a little miffed, I am, however if any one needs info on how to get a second epic card to work, please let me know.

    with most regards. ron

  8. :D Thanks Pete for letting me post this on the forum, I feel it is important to all simmers who use the EPIC System. While wiring my over head panel, I shorted a connection. I put 12vdc to one of the button rows and it failed. while checking all the rest of the button rows I found that row 4 the one I shorted and row 15 were no good. I removed the expansion card and began to trouble shoot the board. I found that row 4 on the 40 pin ribbon cable was tied to one of 5 ic's. the chip is a MC74AC138. it is a 1 of 8 decoder/demultiplexer. my thinking was that it must be blown. I found and ordered 20 of them from ON Semiconductor. http://onsemi.com

    they were free samples. they came today and i carefully removed the two I felt were bad. YES!, fixed the board now all 32 rows are good. hope this will help any one if they find a row/ rows are bad. I know a good bit about the EPIC hardware so If you need help, maybe I can.

    Next a problem I had was with the rotory encoders not working and several of the analog channels. Ralph repaired my main USB board for me. However several months later it failed again. The problem was, and is caused by the weather, yes the weather. I am in florida, very humid and hot. seems as there is a problem with several chips on the board that did not like this. I have seen this on a lot of GrassVally production switchers (television). the chips and board allow fungis to grow between the pins and short the chip. a good cleaning with flux remover will slove this if done before the short. again I hope this will help. Ron.

    PS if you can't for some reason get them I have 10 I will part with. :P

  9. Hi pete I need a some help on what I need to do to run two epic usb cards. It has

    been so long that I don't know how to run two. i have run out of buttons on my

    epic card and have gotton a second one. I have 6 pcs networked with reg. ver. of

    your software. I think I need epiclink, but..... I use FS Comm. but am un sure as

    how i would use FS comm and two epic cards. any Help, and yes I will ask Robert

    Fisher,of FS Comm as well. ron.

  10. Pete, I know this has nothing to do with your software however I hope you my have some insight to this error. Enrico and I have worked on this for several days and we are stumped. When i start PM PFD on my main pc i get to the splash screen then windows error box comes up with the error. this just started the last time I tried to run the PFD. it had run on this pc for years. I did not change any hardware or any new software as of late. Enrico sent me two new ver. of the PFD to try. The first one made no change, the second he had added more lines to the PFD log file and this allowed the PFD to load and run however on closing the PGM the error is there and I must click it to close and return to the desktop. In my research on the error I have learned this is a windows error and happens on many PGMs. the error seems to happen when the pgm is resizing or repositing a window ( i guess the window that PFD will load to) as a note this error also will not let PM Systems demo to load. The CDU an MCP both load and run ok....did I just answer my own question....PFD and PM Systems both use the opengl and the CDU and MCP don't...hummmm. a video card driver gone bad?? I don't know. any insight to this.. thanks, Ron.

  11. Thank you pete that did the trick. for any one who wants to know this is the vb code that gives me a number fron 0 - 255 so I can send it out the serial port. Ron. :D

    Private Sub Timer1_Timer()

    Dim dwResult As Long

    Dim RUDDERDATA As Double

    If FSUIPC_Read(&H2EC0, 8, VarPtr(RUDDERDATA), dwResult) Then

    If FSUIPC_Process(dwResult) Then

    R = RUDDERDATA * 10000#

    R = R + 1745: R2 = R / 13.7

    RUDDERTX.Text = Format(R2, "00")

    RUDDERSLIDE.Value = R2

    end if

    end if

    end sub

    Private Sub RUDDERTX_Change()

    MSComm1_OnComm

    End Sub

    Private Sub MSComm1_OnComm()

    MSComm1.Output = Chr$(RUDDERSLIDE.Value - 1)

    End Sub

  12. sorry to trouble you again but.. offset 2ec0 rudder trim... is a float 64 # I tried the following but it did not work. this is from the developer kit for vb.

    agagin I need to convert the float # to 0-255 thanks Ron.

    Here's some example code extracting the 64bit Latitude Integer from offset 0560

    Dim Fake64Bit As Currency

    Dim dwResult As Long

    Dim Latitude As Double

    If FSUIPC_Read(&H560, 8, VarPtr(Fake64Bit), dwResult) Then

    ' "Read" proceeded without any problems

    If FSUIPC_Process(dwResult) Then

    ' First we need to multiply the fake64bit number held in the currency VAR by 10,000

    ' to remove the decimal point - remember to force the double (#) to avoid overflow

    Latitude = Fake64Bit * 10000#

    ' Now convert from FS units to degrees, again forcing the double to avoid overflow

    Latitude = Latitude * 90# / (10001750# * 65536# * 65536#)

  13. Hi. I am tring to scale an offset (eleavtor trim) offset 0bc0. the vb pgm works fine, I can read the offset, I now need to scale it down to a value of 0- 255 so I can send this out the serial port to a micro controler. that will then drive a meter 0 to 5 vdc. I see in epicinfo doc. about scaling but do not know how to do this in vb. The value I read is -16383 to 16383. I don't know the math to convert that type number. any help. Ron.

    vb code snippet

    if fsuipc_read (&hbc0, 2, varptr (eletrim), dwresult) then

    if fsuipc_process (dwresult) then

    pitchtrim.text = (eletrim)

    end if

    end

  14. Hi Pete, hope all is well.. question: I am writing a program in vb along the line of Project M. PM System.. I see that PM System uses some offsets that are "unknown" to FS Intergrator. case. " apu " offset H&5600 - H&560f. I am able to read and write to these offsets thru my vb pgm. however I can not read all of them "IF" PM system is not running.. As these offset are not KNOWN to fsuipc, how then can I read or write to them in the first place?. Second, beause I can write to them why, why can't I read them when PM System is not running. What black magic is PM System doing that allows me to read the offset when it is running and not read them when PM System is not running. example... &h5602... can read it if PM SyS. is running but not when PM Sys is not running. Thankyou. Ron.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.