Question and error for a newbie[SOLVED]

This is a new forum for the OC4BAv4.
Alain L
Posts: 8
Joined: Fri Mar 31, 2017 5:35 pm

Question and error for a newbie[SOLVED]

Post by Alain L »

Hi! I am new to OC4BA and SIOC. But I know C, C++ and so on...Now I have few questions about this tool.

I have OC cards / PMDG 737NGX on P3D updated versions
I am building my cockpit from 3D printer, etc... switch by switch, So I am configuring most of it
I did make work OC SIOC with A320 airplane include in P3D test was working fine
Purchase this OC4BA to correct the offsets and so on but I have read most of your document and I don't understand how to pass the offsets forPMDG 737ngx in scripts that I build previously and was working as mention earlier...

also...

every time In click on a script in the config screen, I got this error message

OC4BAv4 CONFIG

Unhandle exception has occured in your application. Click continue...etc
Method not found '!!0[] System.Array.Empty()'.

I am a bit lost :)
mvr1918
Site Admin
Posts: 1709
Joined: Thu Aug 30, 2012 3:35 pm

Re: Question and error for a newbie

Post by mvr1918 »

Hi,

Purchase this OC4BA to correct the offsets and so on but I have read most of your document and I don't understand how to pass the offsets forPMDG 737ngx in scripts that I build previously and was working as mention earlier...
In you script you must make sure you use the Event and Variable numbers listed in SIOC offsets for B737_EVENTS.txt and SIOC offsets for B737_VARIABLE.txt.

The simplest way is to use the OCP4NGX script and just modify the INput/Output numbers to match you specific hardware numbers if they differ from the standard OC PP numbers.


Are you running OC4BAv4 4.3.3.0 or an earlier version when you get the fault message?
Alain L
Posts: 8
Joined: Fri Mar 31, 2017 5:35 pm

Re: Question and error for a newbie

Post by Alain L »

thanks for your answer!

I will check this out when back from work later. And I will use the OCP4NGX_v4 script and modify the input/output to match... ShoulD I removed the ones I don't have the hardware yet?

Yes I use V 4.3.3.0

Many thanks !

Alain
mvr1918
Site Admin
Posts: 1709
Joined: Thu Aug 30, 2012 3:35 pm

Re: Question and error for a newbie

Post by mvr1918 »

ShoulD I removed the ones I don't have the hardware yet?
If you use OCP4NGX_v4.0.ssi or OCP4NGX_PP_MIP_v4.1.ssi you do not need to remover the script parts for modules you do not have.
Alain L
Posts: 8
Joined: Fri Mar 31, 2017 5:35 pm

Re: Question and error for a newbie

Post by Alain L »

Hi!

Did the script modification to use the OCP4NGX_v4 script, did the input / output modif, save, compile etc etc then when I click on the script file in the config window, I still receive the error message

OC4BAv4 CONFIG
Unhandle exception has occured in your application. Click continue...etc
Method not found '!!0[] System.Array.Empty()'.


I get out of the config screen, then think about a thing, return in and boum this error message come on

Error # 4 : Connect to SIOC failure #10053 (my SIOC was all ok before all this)

So I thought it would make my life easier! :)
mvr1918
Site Admin
Posts: 1709
Joined: Thu Aug 30, 2012 3:35 pm

Re: Question and error for a newbie

Post by mvr1918 »

HI

What is your SIOC path and do you have all OC4BA files in the SIOC folder?

DO you have the latest .NET Framework installed?

send me an image of your SIOC main window

copy SIOC folder to your ONEDRIVE folder and send me the download link

send to roarkrsp@gmail.com
Alain L
Posts: 8
Joined: Fri Mar 31, 2017 5:35 pm

Re: Question and error for a newbie

Post by Alain L »

HI!

Finally I did re install SIOC and OC4BAv4 and now when I click on the script it's ok but for a reason when I go to the script editing screen and click on my .txt file, the screen at the bottom remain blank

Oh also, I have the latest Net version and I did install Sioc under C:\loceedMartin\sioc and the OC4BA files under SIOC
Alain L
Posts: 8
Joined: Fri Mar 31, 2017 5:35 pm

Re: Question and error for a newbie

Post by Alain L »

UPDATE : A/S the just previous post. When I re install I forgot to update, now done now ok.... work in progres :)
Alain L
Posts: 8
Joined: Fri Mar 31, 2017 5:35 pm

Re: Question and error for a newbie

Post by Alain L »

After re setting my input/output and so on the now working script config screen message is back

OC4BAv4 CONFIG
Unhandle exception has occured in your application. Click continue...etc
Method not found '!!0[] System.Array.Empty()'.

I just don't get it now..
mvr1918
Site Admin
Posts: 1709
Joined: Thu Aug 30, 2012 3:35 pm

Re: Question and error for a newbie

Post by mvr1918 »

Hi, If you want I can connect via TeamViewer and check what is wrong.

Send your TeamViewer ID and PSW to roarkrsp@gmail.com.

Or send me a download link to a copy of your SIOC in your ONEDRIVE
Post Reply