Release of new Virtual Panel v.1.2.1! - Page 4 - ED Forums
 


Notices

Reply
 
Thread Tools Display Modes
Old 03-07-2007, 05:17 AM   #31
G3
Member
 
Join Date: Oct 2005
Location: Australia
Posts: 967
Default

following this thread with much anticipation:

getting the same disconnection as walternowi.

long list in error file:
LuaExport::LuaExportAfterNextFrame: closed
LuaExport::LuaExportAfterNextFrame: closed
LuaExport::LuaExportAfterNextFrame: closed
LuaExport::LuaExportAfterNextFrame: closed
LuaExport::LuaExportAfterNextFrame: closed
LuaExport::LuaExportAfterNextFrame: closed
LuaExport::LuaExportStop: closed

copied over files to appropriate folder, disabled firewalls.

starting up the game and vp in correct order,
all is good until S key is pressed.

then lua says its closed?

ps: my error log and config are same as walternowi's

must be something different in our setups, mine i s a pretty basic install?
G3 is offline   Reply With Quote
Old 03-07-2007, 06:09 AM   #32
Mnemonic
Veteran
 
Mnemonic's Avatar
 
Join Date: May 2006
Location: Zurich area, Switzerland
Posts: 3,334
Send a message via ICQ to Mnemonic
Default

hmm...
1 - Are you use downloaded LockOn version, or Disc-version?

2 - Do you have in LockOn directory - luaSocket.dll file? (sure - you have, but please look)

3 - LOVP cannot recognize one or couple of parameters that sended by Lua-script .... (or something else)

4 - At few days I'l try to create some debug-version of LockOn VP, maybe it clear the situation....
Mnemonic is offline   Reply With Quote
Old 03-07-2007, 06:05 PM   #33
walternowi
Member
 
walternowi's Avatar
 
Join Date: Feb 2005
Location: Arcadia, California
Posts: 189
Default

Quote:
Originally Posted by Mnemonic View Post
hmm...
1 - Are you use downloaded LockOn version, or Disc-version?

2 - Do you have in LockOn directory - luaSocket.dll file? (sure - you have, but please look)

3 - LOVP cannot recognize one or couple of parameters that sended by Lua-script .... (or something else)

4 - At few days I'l try to create some debug-version of LockOn VP, maybe it clear the situation....
1 - Disc version, bought from Naturalpoint.

2 - Yes, the dll file is in there.

Thanks again for your effort.
__________________
Intel Xeon E5-1650 v2
ASUS Sabertooth X79
4 x 4GB Crucial Ballistix VLP PC3-12800
ASUS Cerberus GTX 1070 Ti 8 Gb
Seasonic Platinum 860W
Thrustmaster Cougar Uber II Nxt
CH Products PT/TQ/MFP
Slaw Pedals
TrackIR 5
walternowi is offline   Reply With Quote
Old 03-07-2007, 10:51 PM   #34
Mnemonic
Veteran
 
Mnemonic's Avatar
 
Join Date: May 2006
Location: Zurich area, Switzerland
Posts: 3,334
Send a message via ICQ to Mnemonic
Default

Ok... I'll post debug-version soon, think we will catch this bug
Mnemonic is offline   Reply With Quote
Old 03-08-2007, 03:12 AM   #35
Renato71
Member
 
Renato71's Avatar
 
Join Date: Jul 2006
Location: Croatia
Posts: 773
Default

Hi,

Great work Mnemonic! I've just tested it and it works fine on all RU machines
My configuration:
- Win 2003
- Lock On FC - Russian CD version
- Radeon X700 Pro (second monitor on DVI via VGA adaptor)
No problems at all, layout fine from start.

I have two questions for you:
1. Any idea how to export dato to external device (ie, homebuilt cockpit)?
2. Any idea how to export other cockpit functions, like warning lights and RWR?

Also, where can one find a full list of LUA export commands? On main lockon site, under LUA, there is a list of examples, but I cannot find exports for warning lights and RWR.
__________________
I'm selling MiG-21 activation key.
Also selling Suncom F-15E Talon HOTAS with MIDI connectors, several sets.
Contact via PM.
Renato71 is offline   Reply With Quote
Old 03-08-2007, 07:41 AM   #36
zorlac
Member
 
Join Date: Apr 2005
Location: Cambridge, UK
Posts: 409
Default

The export is still pretty limited for a whole load of things

Warning lights - LoGetMCPState()

Radar Threats - LoGetTWSInfo()

EDIT: The full list of available functions are documented in your lockon\Config\export\export.lua file
zorlac is offline   Reply With Quote
Old 03-08-2007, 09:57 AM   #37
Renato71
Member
 
Renato71's Avatar
 
Join Date: Jul 2006
Location: Croatia
Posts: 773
Default

Quote:
Originally Posted by zorlac View Post
The export is still pretty limited for a whole load of things

Warning lights - LoGetMCPState()

Radar Threats - LoGetTWSInfo()

EDIT: The full list of available functions are documented in your lockon\Config\export\export.lua file
I kinda suspected that these two are in question. But waht kind of output they provide? Table? Any info on that?

Any ideo how to implement hardwer for external devices, like in MSFS? For that one you can find numerous variations and examples, but not for LO

BR
__________________
I'm selling MiG-21 activation key.
Also selling Suncom F-15E Talon HOTAS with MIDI connectors, several sets.
Contact via PM.
Renato71 is offline   Reply With Quote
Old 03-08-2007, 11:22 AM   #38
Mnemonic
Veteran
 
Mnemonic's Avatar
 
Join Date: May 2006
Location: Zurich area, Switzerland
Posts: 3,334
Send a message via ICQ to Mnemonic
Default

From export.lua:

--------------------------------------------------------
--For MCP

LoGetMCPState() -- (args - 0, results - 1 (table of key(string).value(boolean))
returned table keys for LoGetMCPState():
"LeftEngineFailure"
"RightEngineFailure"
"HydraulicsFailure"
"ACSFailure"
"AutopilotFailure"
"AutopilotOn"
"MasterWarning"
"LeftTailPlaneFailure"
"RightTailPlaneFailure"
"LeftAileronFailure"
"RightAileronFailure"
"CanopyOpen"
"CannonFailure"
"StallSignalization"
"LeftMainPumpFailure"
"RightMainPumpFailure"
"LeftWingPumpFailure"
"RightWingPumpFailure"
"RadarFailure"
"EOSFailure"
"MLWSFailure"
"RWSFailure"
"ECMFailure"
"GearFailure"
"MFDFailure"
"HUDFailure"
"HelmetFailure"
"FuelTankDamage"


--For TWS / RWR

LoGetTWSInfo() -- return Threat Warning System status (result the table )
result_of_LoGetTWSInfo =
{
Mode = , -- current mode (0 - all ,1 - lock only,2 - launch only
Emitters = {table of emitters}
}
emitter_table =
{
ID =, -- world ID
Type = {level1,level2,level3,level4}, -- world database classification of emitter
Power =, -- power of signal
Azimuth =,
Priority =,-- priority of emitter (int)
SignalType =, -- string with vlues: "scan" ,"lock", "missile_radio_guided","track_while_scan";
}

--------------------------------------------------------
Realization of warning lights in VP are planning for next version!
About TWS I'm thinking too

And about hardware devices. I and my friend V.Antipov are trying to connect real aircraft devices (from Mig-21) to computer, and VirtualPanel planned to control them. But then we realize that it's too hard, and too expensive (big transformators, selsin control schemes, expensive DAC).

Easiest way - to view devices on second screen (maybe masked for real-dashboard).

If we find any low-cost aircraft-gauge-smulation devices, that have lo-voltage and simple construction, only then we will try to connect it again.
Mnemonic is offline   Reply With Quote
Old 03-08-2007, 01:44 PM   #39
Renato71
Member
 
Renato71's Avatar
 
Join Date: Jul 2006
Location: Croatia
Posts: 773
Default

Thanks!
I saw LoGetMCPState list, that kinda give me the idea to ask (for confirmation).
I've ovelooked on LoGetTWSInfo - will try something on that. Or wait for you?

Anyway, you manga, you read my mind - I also have few original devices, hehehe. Hence the question.

Using original instruments in their original form is not possible. Only thing that you can use is their "natural beauty", ie mask and dials and such. You have to build completely new mechanism. You basically need some servo that will turn the dial. Additionally you have to calibrate it.

Such stuff is very common with MSFS community (google on fs simpit or cockpit). But they devised many fsupic interfaces (fsupic is same as lua for MSFS), mainly some PIC-based boards connected to parallel or serial port or similiar. Recently they started with USB interfaces. So, what we need is hardware interface that is able to convert lua export into digital and/or analogue signals. Homemade boards of that kind should not cost more than 50-100 USD. Servos could come from old floppy or hard drives (step motors - could be tweaked to work as servo, thou even a stepper could be usefull).

Never give, never surrender! I can be done, just gotta dig out how.
I'll look more on hardware interfaces that work with lua.
BR
__________________
I'm selling MiG-21 activation key.
Also selling Suncom F-15E Talon HOTAS with MIDI connectors, several sets.
Contact via PM.
Renato71 is offline   Reply With Quote
Old 03-08-2007, 05:56 PM   #40
Mnemonic
Veteran
 
Mnemonic's Avatar
 
Join Date: May 2006
Location: Zurich area, Switzerland
Posts: 3,334
Send a message via ICQ to Mnemonic
Default

Quote:
Originally Posted by Renato71 View Post
Thanks!
I saw LoGetMCPState list, that kinda give me the idea to ask (for confirmation).
I've ovelooked on LoGetTWSInfo - will try something on that. Or wait for you?
As you want
I'm planning to add TWS too.

Quote:
Originally Posted by Renato71 View Post
Never give, never surrender! I can be done, just gotta dig out how.
I'll look more on hardware interfaces that work with lua.
Thanks!
Hmm.... it's interesting, I will think of it
maybe I'l try to create in VP some USB interfaces, but not now


And now...


To Walternowi and ggg87

Here is the some kind of debug VP version:
http://max.in.ua/vp/LOVP_Debug_01.zip

extract EXE end place it into the VP directory,
start LOVP_Debug_01.exe, then start LockOn... (maybe it works)
Try to fly, and then copy the text that may-be appear in white field on top of VP window.

Then post this info here

Thanks again!
Mnemonic is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Panel v.1.2.1 Mnemonic Общее Обсуждение 150 09-24-2017 04:09 AM
For pit builders: LockOn Virtual Panel 1.0.1.beta Poko24 Lock On: Flaming Cliffs 1 & 2 20 09-17-2010 02:30 AM
Virtual Panel 1.0.1.beta Mnemonic Общее Обсуждение 73 03-03-2007 10:12 PM
Virtual Panel! Mnemonic Lock On: Flaming Cliffs 1 & 2 30 01-18-2007 08:52 AM
MOVIE RELEASE: Smoke On - by the Virtual Thunderbirds LawnDart Screenshots and Videos 19 12-16-2006 04:14 PM

All times are GMT. The time now is 05:54 AM. vBulletin Skin by ForumMonkeys. Powered by vBulletin®.
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.