Tuesday, January 7, 2020

HOW TO Use PSCockpit with DCS


PSCockpit software allows you to use different sims with different Plane Model configurations by changing the file .ini when you select a different sim from the Sim dropdown list.



This means that you need to configure your .ini every time for each sim you will be using. If you have configured one .ini with your hardware, to save some time, you can copy the configuration from one .ini to another by making a copy of the already configured file to a new .ini file.

In example, if you have already configured your .ini file for Falcon BMS and you want to save that configuration for DCS World follow this procedure:

1. Exit PSCockpit Software

2. Locate the file PSCkptFalconBMS.ini in your PSCcokpit directory, by default “C:\Program Files (x86)\PSCockpit”

3. Make a copy of it in the same directory.

4. Rename the copy of the file to PSCkptDCSWorld.ini

5. Enter PSCockpit Software

6. Select DCS World from the Sim dropdown list.

Even tough, this is the faster way to keep your configuration for the new sim, you will need to make, at least, some changes in your new configuration, such as:

LAUNCHER, Change Sim, Path and Window Name fields for the new sim:


COMMANDS, change keystrokes as per your new sim:


Once you have the configuration for DCS, in order to extract the data from DCS, follow this procedure:

1. Find the following the files in your PSCockpit directory:
- Export.lua
- ExportPSCockpit-A10C.lua
- ExportPSCockpit-F16C-50.lua

2. Locate your DCS scripts working directory, by default, “\Users\USER\Saved Games\DCS\Scripts” where “USER” is your PC user account name. If there is no script folder, create it.

3. Locate file Export.lua in the DCS script directory and rename to ExportOLD.lua

4. Copy the three .lua files from your PSCockpit directory to your DCS scripts working directory.

5. Locate DCS logs directory, by default, “\Users\USER\Saved Games\DCS\Logs” where “USER” is your PC user account name. If there is no script folder, create it.

6. Run PSCockpit Software and check the DCS logs directory address is correct under Settings page:


You are now ready to use DCS World with PSCockpit. Click on Run. enter DCS World and enjoy!!

Regards,
Shep

Saturday, January 4, 2020

HOW TO Configure the AUDIO1&2 Panel


For AUDIO1&2 pcb description, options and how to configure the expander address, see PSCockpit Quick Guide V.5 – AUDIO1&2 PCB. You can access the Quick Guide from Help/Quick Guide menu in the PSCockpit software.


The AUDIO1&2 pcb must be configured either the digital expander and analogue expanders.

AUDIO1&2 Digital Expander

To configure the PSCockpit AUDIO1&2 panel select the correct option from the Expander pull down list in the IOLayout page of the PS Cockpit Software at the correct I2C channel:



In case of there is some data already in the selected expander, the software will prompt you for continue:


The software will also prompt you to add the standard BMS commands for the AUDIO1&2:


If you accept, the software will prompt you to search for your BMS .key file, typically in ..\Falcon BMS vX.X\User\Config folder, and will automatically search for the keystrokes you have set in your .key file for the AUDIO1&2:


If any of the commands hasn't been set you will see a warning indicating how many commands haven't been set and the Commands page of the PSCockpit software will appear:


Once the AUDIO1&2 panel is already configured you can modify the list of inputs/outputs as desire as well as the free I/O of the expander:


Be aware that once the configuration is saved, whenever you enter the IOLayout Page you won’t see “AUDIO1&2” label on the expander anymore but the “16 I/O” label.

AUDIO1&2 Analogue Expander

In the same way as the digital expander, to configure the PSCockpit AUDIO1&2 panel for analogue inputs, select the correct option from the Expander pull down list in the IOLayout page of the PS Cockpit Software at the correct I2C channel in the Main Channel:


You need to repeat the process for AUDIO1 analogue inputs and AUDIO2 analogue inputs in different analogue expander addresses.

In case of there is some data already in the selected expander, the software will prompt you for continue:



The software will prompt you to assign the analogue inputs to VJoy:



If you accept, the software will prompt you to select one of the free available vJoy devices:


The VJoy page will appear. You can select the devices you have previously selected to see the configuration:


For more information about configuring vJoy devices, see:

Once the analogue inputs of the AUDIO1 panel is already configured you can modify the list of analogue inputs as desire:


Be aware that once the configuration is saved, whenever you enter the IOLayout Page you won’t see “AUDIO1 Analogue” label on the expander anymore but the “Analogue” label.

For AUDIO2 analogue inputs you need to repeat the process of the analogue input configuration and the vJoy page and IOLayout should appear like these:


For more information about configuring vJoy devices, see:
https://psfalcon.blogspot.com/2020/01/how-to-use-and-configure-vjoy-in.html



Be aware that once the configuration is saved, whenever you enter the IOLayout Page you won’t see “AUDIO2 Analogue” label on the expander anymore but the “Analogue” label.

Regards,
Shep

HOW TO use and Configure vJoy in PSCockpit


To use vJoy application for PSCockpit you must install the vJoy drivers in your computer. Please refer to http://vjoystick.sourceforge.net/site/ on how to download and install the vJoy device driver.

To use vJoy with PSCockpit you need PSCockpit Software v.1.0.3 or higher and firmware version v.1.0.3 or higher.

To check these versions, click on Help/About menu of the PSCockpit Software.

Refer to this page for latest updates:

https://psfalcon.blogspot.com/2015/05/pscockpit-system-up-to-date-software.html

Once you have installed the vJoy driver you must configure your VJoy devices. Typically, you will need to configure 3 devices for PSCockpit analogue expanders:

-      ICP Rev.1 Analogue
-      AUDIO1 Analogue
-      AUDIO2 Analogue

To do this, open the “Configure vJoy” application and configure one device following the next procedure:

1. Select the device number
2. Select the desired number of axes. In PSCockpit you will need as much as five axes per digital expander.
3. Select the number of buttons. You can select maximum 32 pushbuttons to use them in PSCockpit.
4. Select “Enable vJoy”
5. Click on “Apply”. Be aware that vJoy will ask you to restart your computer, so you might want to configure also device 2 and 3.


Once you have configured your vJoy devices, you can click on vJoy icon of the PSCockpit main screen to configure the analogue and digital inputs to be used with it:


You will be warned about the faults encountered (i.e. wrong vJoy version), otherwise, if everything is correct, the vJoy configuration page will appear, 


You can configure your PSCockpit analogue and digital inputs by following this procedure:

1. Select the vJoy device by clicking on the device number tab. They can appear in different states:

- Shaded icon: vJoy device is not available. You need to configure in “Configure vJoy” application. Please refer at the top of this document.
- Blue arrow icon: vJoy device is configured and free to be acquired for any application.
- Red cross icon: vJoy is configured and has been acquired for other application than PSCockpit.
- Green check icon: vJoy is configured and acquired for PSCockpit.

2. Select the I2C channel and expander you will use to assign inputs on vJoy.
3. Click on one axis label to display the dropdown list where to select the desire input. Available axis will be shown in bold, unavailable axis will be shown in grey.
4. Click on one button label to display the dropdown list where to select the desire input. Available buttons will be shown in bold, unavailable buttons will be shown in grey.
5. Click on one POV label to display the dropdown list where to select the desire input. Available POVs will be shown in bold, unavailable POVs will be shown in grey.
6. Check “Acquired for PSCockpit” and “Enable”. The device number icon should change to Green check icon indicating that this vJoy device has been acquired for PSCockpit.

Use “Reload vJoy Info” button to refresh any change you do on vJoy Config application.

Once configured you will see the vJoy page, i.e. for the ICP panel:



You can now enter in Test mode by clicking on TEST button. The vJoy page will appear as this:


You will be able to test the interaction with vJoy by moving the Axis sliders (1) and clicking on the button number (2). Numbers in green shows the available buttons and numbers in red shows the button pressed.

The interaction with vJoy can be seen by opening the “vJoy Monitor” application of vJoy:


To finish the configuration of the vJoy device in your favourite sim, select the desire axis or DX button for a selected function. In case of BMS, go to Setup/Controllers/Advanced/Avionics Control:



Regards,

Shep

HOW TO Configure the ELEC Panel


For ELEC pcb description, options and how to configure the expander address, see PSCockpit Quick Guide V.5 – ELEC PCB. You can access the Quick Guide from Help/Quick Guide menu in the PSCockpit software.

To configure the PSCockpit ELEC panel select the correct option from the Expander pull down list in the IOLayout page of the PS Cockpit Software at the correct I2C channel:


In case of there is some data already in the selected expander, the software will prompt you for continue:


The software will prompt you to setup the ELEC leds in our Airplane model:




If you accept, the Airplane page will show up with the leds already assigned:


The software will also prompt you to add the standard BMS commands for the ELEC:



If you accept, the software will prompt you to search for your BMS .key file, typically in ..\Falcon BMS vX.X\User\Config folder, and will automatically search for the keystrokes you have set in your .key file for the ELEC panel:

If any of the commands hasn't been set you will see a warning indicating how many commands haven't been set and the Commands page of the PSCockpit software will appear:


Once the ELEC panel is already configured you can modify the list of inputs/outputs as desire as well as the free I/O of the expander:

Be aware that once the configuration is saved, whenever you enter the IOLayout Page you won’t see “ELEC” label on the expander anymore but the “16 I/O” label.


Regards,
Shep

Friday, January 3, 2020

HOW TO Configure the X40 pcb


For X40 pcb description, options and how to configure the expander address, see PSCockpit Quick Guide V.5 – X40 PCB. You can access the Quick Guide from Help/Quick Guide menu in the PSCockpit software.

To configure the PSCockpit X40 pcb, select the correct option from the Expander pull down list in the IOLayout page of the PS Cockpit Software at the correct I2C channel, depending if you want to configure the board as Fuel Indicator or as Clock:


In case of there is some data already in the selected expander, the software will prompt you for continue:




The software will prompt you to setup the X40 steppers in your Airplane model:





If you accept, the Airplane page will show up with the steppers already assigned and you will be warned to set the zero, minimum and maximum values of the steppers:

  
 

X40 PCB AS FUEL INDICATOR:


In case of Fuel Indicator, the software will prompt you to configure the Adafruit display:


If you accept you will be prompted to select the type of Adafruit display:


The Adafruit Display Page will show up with the configuration. Click on “Total Fuel” tab to review it:


The configuration of the X40 pcb for Total Fuel Indicator is now completed and the IOLayout should appear like this:


You can now modify the list of inputs/outputs as desire as well as the free I/O of the expander.
Be aware that once the configuration is saved, whenever you enter the IOLayout Page you won’t see “X40 as Fuel Ind” label on the expander anymore but the “16 I/O” label.

X40 PCB AS FUEL INDICATOR:
The configuration of the X40 pcb for Clock is now completed and the IOLayout should appear like this:


You can now modify the list of inputs/outputs as desire as well as the free I/O of the expander.
Be aware that once the configuration is saved, whenever you enter the IOLayout Page you won’t see “X40 as Clock” label on the expander anymore but the “16 I/O” label.

To configure the stepper motors, see:

Regards,
Shep



Thursday, January 2, 2020

HOW TO Configure the TWP & TWA Panels


For TWP and TWA pcb descriptions, options and how to configure the expander address, see PSCockpit Quick Guide V.5 – TWP PCB page and TWA PCB page. You can access the Quick Guide from Help/Quick Guide menu in the PSCockpit software.

To configure the PSCockpit TWP or TWA panel select the correct option from the Expander pull down list in the IOLayout page of the PS Cockpit Software at the correct I2C channel:


In case of there is some data already in the selected expander, the software will prompt you for continue:



The software will prompt you to setup the TWP leds in our Airplane model:





If you accept, the Airplane page will show up with the leds already assigned:




The software will also prompt you to add the standard BMS commands for the CMDS:


If you accept, the software will prompt you to search for your BMS .key file, typically in ..\Falcon BMS vX.X\User\Config folder, and will automatically search for the keystrokes you have set in your .key file for the TWP:



If any of the commands hasn't been set you will see a warning indicating how many commands haven't been set and the Commands page of the PSCockpit software will appear:


Once the TWP panel is already configured you can modify the list of inputs/outputs as desire as well as the free I/O of the expander:

Be aware that once the configuration is saved, whenever you enter the IOLayout Page you won’t see “TWP” label on the expander anymore but the “40 I/O” label.
The configuring process for the TWA is exactly the same and the IOLayout page should be like this:



Be aware that once the configuration is saved, whenever you enter the IOLayout Page you won’t see “TWA” label on the expander anymore but the “16 I/O” label.

Regards,
Shep