Jump to content
The simFlight Network Forums

Not reading VRI data


Scotfleiger
 Share

Recommended Posts

I have been testing FSUIPC7 with LINDA. I am able to output data to the VRInsight MCP panel without problem. However, receiving data (ie buttons) is problematic or intermittent. I was briefly able to read some data but this is inconsistent. Previously FSUIPC was able to log this data for testing purposes. Can you assist?

 

Link to comment
Share on other sites

14 minutes ago, Scotfleiger said:

I have been testing FSUIPC7 with LINDA. I am able to output data to the VRInsight MCP panel without problem. However, receiving data (ie buttons) is problematic or intermittent. I was briefly able to read some data but this is inconsistent.

That code area is the same as before, so I can only think it is some timing problem (the SimConnection problem -- delays and stutters both sides). If so then like the rest of SimConnect users, we are at the mercy of ASOBO/MS updates.

16 minutes ago, Scotfleiger said:

Previously FSUIPC was able to log this data for testing purposes. Can you assist?

The logging should still be there. Try these lines in the [General] section of the FSUIPC7.INI file:

Debug=Please
LogExtras=4

There's also a COM data logger which can be enabled too with

LogExtras=x44 

 (or 68)

Pete

Link to comment
Share on other sites

27 minutes ago, Scotfleiger said:

Just for feedback. With the debug options you suggested and LogOptionProtect=no, I was able to see all read and write to Vri COMPORT and I can confirm that the MCP is working correctly for me.

Okay, thanks for letting me know. Seems to imply that the slight slowing down as a result of the logging actually stops something clogging up. You'd think it would make it worse wouldn't you? Ah well.

Pete

 

Link to comment
Share on other sites

5 minutes ago, Pete Dowson said:

Okay, thanks for letting me know. Seems to imply that the slight slowing down as a result of the logging actually stops something clogging up. You'd think it would make it worse wouldn't you? Ah well.

I do not believe there is any additional slowing down when reading and writing to VRi Combo MCP panel comport. I found I had a coding error (bad reference) that was stopping me getting the read working. Your advice allowed me to track this down and fix it. Using LUA with ipc.control statements does not show any observable delay when changing data (like heading).

 

Link to comment
Share on other sites

3 minutes ago, Scotfleiger said:

I found I had a coding error (bad reference) that was stopping me getting the read working. Your advice allowed me to track this down and fix it.

Ah, yes. That makes a lot more sense!

BTW do you know why a user with a VRI MCP panel using the SerialFP2, on P3D5HF2, should be having the problem of the process hanging when closing P3D down? I've suggested that he should try LINDA instead -- I assume that then does away with the need for SeriallFP2. Is that right?

This is the thread:

Thanks,

Pete

 

Link to comment
Share on other sites

10 minutes ago, Pete Dowson said:

BTW do you know why a user with a VRI MCP panel using the SerialFP2, on P3D5HF2, should be having the problem of the process hanging when closing P3D down? I've suggested that he should try LINDA instead -- I assume that then does away with the need for SeriallFP2. Is that right?

An additional delay was added in FSUIPC6 when it closes to ensure that LINDA could correctly terminate before the VRI MCP connection was terminated. This was because a P3D background task was left hanging. LINDA does not use the SerialFP2. I will read and reply to the thread. 

Edited by Scotfleiger
Correction
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • 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.