Jump to content
The simFlight Network Forums

rfresh

Members
  • Posts

    128
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Los Angeles

Recent Profile Visitors

1,157 profile views

rfresh's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. >[edit: subject - AGAIN please list the product when asking a question (as outlined in the forum's FAQ)] What am I missing here? This is the feelThere forum and I'm asking about the Phenom 100 product...what else do you need to know about the product? What am I missing?
  2. On the Phenom 100 is there a hot spot I can click on to hide the control yokes? Thanks... [edit: subject - AGAIN please list the product when asking a question (as outlined in the forum's FAQ)]
  3. Solved: I had to wait about 30 seconds before GPU came online...thanks...
  4. @scoob Thanks for the tip but that didn't help. I have the feelThere Phenom 100. There isn't a setup panel somewhere in the sim where I can enable ground power for it?
  5. The GPU switch is dead...I cannot get it to work....its display is always black, no AVAIL light. How do I fix this? Thanks... [edit: subject - please list the product when asking a question (as outlined in the forum's FAQ)]
  6. Once again Pete, you assume everyone knows FSUIPC as well as you do...I have been away from it for many months and do not remember all of of the details about how to use it's logging features, what 'S8' stands for, etc. I'm finished here.
  7. Yes those values are of the over head panel. Those overhead values are relative to the default VC view...which is as if you were sitting in the Captains seat looking forward...so it sounds like it worked for you via Lua. And yes, zeros puts you outside, at the a/c reference datum point...again looks like it worked for you Pete. As for A860 being last, remember I was using Paul's DLL so maybe he can confirm his code is sending A860 last. Maybe it isn't. But, over all Pete, it looks like your 't' version is working for this DOF() call. I'll continue to work with Paul and see if I can get it to work for me with my test app and his DLL wrapper. Remember, I have already got this working in my main app using SimConnect directly. If there is anything else you would like me to test for you Pete just let me know.
  8. How do I enable the log and what folder is it in?
  9. Sorry Pete...I don't see any changes when I use your 't' version.
  10. That was it -- I had to get the updated DLL in there -- still had the old one for some reason. OK, so the test app runs now. I took these values cameraData.fDeltaX.Value = 0.50f; cameraData.fDeltaY.Value = -0.37f; cameraData.fDeltaZ.Value = -0.47f; cameraData.fPitchDeg.Value = 52.00f; cameraData.fBankDeg.Value = 0.00f; cameraData.fHeadingDeg.Value = 0.00f; from my Captain Sim 777 VC overhead panel view. From the captains seat position looking straight out the windshield, I clicked the button and expected to see the camera view change to show the over head but the camera only bumped up a very small amount from the captains view. So, I'm not sure why. I did get a small test app working extremely well using SimConnect last week, so I am familiar with the VC camera views. In my SimConnect app, once I set a view, I can move the camera around just by using the DOF() call so that's why I was thinking the FSUIPC call would respond in a like fashion. Let me think about this for a bit and see if I'm forgetting to setup something before making the camera call..thanks for your help... I'm attaching my main form file so you can see what I did. Form1.zip
  11. I still get the same error: This line private Offset<SimConnect6DOF> cameraSetRelative = new Offset<SimConnect6DOF>("camera", 0x86A0, true); is giving me a compile error: A first chance exception of type 'System.NullReferenceException' occurred in FSUIPCClient.dll Additional information: Object reference not set to an instance of an object. Here is my code (following your instructions): using FSUIPC; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace TestApp { public partial class Form1 : Form { public Form1() { InitializeComponent(); } // declare the structure of 6 floats public class SimConnect6DOF : FSUIPCStruct { public FSUIPCStructField<float> fDeltaX = new FSUIPCStructField<float>(); public FSUIPCStructField<float> fDeltaY = new FSUIPCStructField<float>(); public FSUIPCStructField<float> fDeltaZ = new FSUIPCStructField<float>(); public FSUIPCStructField<float> fPitchDeg = new FSUIPCStructField<float>(); public FSUIPCStructField<float> fBankDeg = new FSUIPCStructField<float>(); public FSUIPCStructField<float> fHeadingDeg = new FSUIPCStructField<float>(); } // declare the offset, using the structure as the datatype. Offset starts at 86A0 private Offset<SimConnect6DOF> cameraSetRelative = new Offset<SimConnect6DOF>("camera", 0x86A0, true); private void button1_Click(object sender, EventArgs e) { // set the values to write SimConnect6DOF cameraData = new SimConnect6DOF(); cameraData.fDeltaX.Value = 12.34f; cameraData.fDeltaY.Value = 12.34f; cameraData.fDeltaZ.Value = 12.34f; cameraData.fPitchDeg.Value = 12.34f; cameraData.fBankDeg.Value = 12.34f; cameraData.fHeadingDeg.Value = 12.34f; // Assign the new structure to the offset value cameraSetRelative.Value = cameraData; // Process the group containing the 'cameraSetRelative' offset FSUIPCConnection.Process("camera"); } private void CameraWriteStructure_Load(object sender, EventArgs e) { FSUIPCConnection.Open(); } private void CameraWriteStructure_FormClosing(object sender, FormClosingEventArgs e) { FSUIPCConnection.Close(); } } }
  12. I got the TestApp created with your code. I'm getting only one compile error: Error 2 'TestApp.Form1.Dispose(bool)': no suitable method found to override c:\users\fresh1011\documents\visual studio 2013\Projects\TestApp\TestApp\Form1.Designer.cs 14 33 TestApp on this method, the Dispose method name: protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); }
  13. I tried copying all of your code into a TestApp but had many errors so I put your code into my main app. Let me try the testApp again and check your DLL location.
  14. OK...its set to: C:\FSUIPCClient3.0_BETA\NET4 which I think is correct for your latest DLL. This line private Offset<SimConnect6DOF> cameraSetRelative = new Offset<SimConnect6DOF>("camera", 0x86A0, true); is giving me a compile error: A first chance exception of type 'System.NullReferenceException' occurred in FSUIPCClient.dll Additional information: Object reference not set to an instance of an object.
×
×
  • 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.