Devices support: Difference between revisions

From ADVACAM Wiki
Jump to navigation Jump to search
No edit summary
Line 33: Line 33:
* Using the '''dummy.ini''' configuration file (in the '''Pixet or appData''' directory - [[Files_and_directories_of_the_Pixet_and_SDK#Main_directory_of_the_Pixet_program|Pixet directory]])
* Using the '''dummy.ini''' configuration file (in the '''Pixet or appData''' directory - [[Files_and_directories_of_the_Pixet_and_SDK#Main_directory_of_the_Pixet_program|Pixet directory]])
:* '''Count''' > 0 must be set
:* '''Count''' > 0 must be set
:* Set the '''ChipCount''', '''ChipIDs''' list and '''Type''' in the '''<nowiki>[0]</nowiki>''' (or next numbers if '''Count''' > 1)
:* Set the '''ChipCount''', '''ChipIDs''' list and '''Type''' in the '''<nowiki>[0]</nowiki>''' (or next numbers if Count > 1) section
* Every dummy device need it's own [[Files_and_directories_of_the_Pixet_and_SDK#Configuration_XML_files|'''XML config file''']]
:* File name must be '''Dummy-CHIPID.xml''', Dummy-I08-W0060.xml for example.
:* User can simple copy your device config file and set the corresponding type in the dummy.ini
:: Example: '''Minipix-I08-W0060.xml''' -> '''Dummy-I08-W0060.xml''', Type=3

Revision as of 14:41, 3 July 2025

This page contains hints for using and troubleshooting of our devices.

Quick links

Widepix

Widepix L

Widepix PoE

Widepix PoE v2

Virtual devices

The Pixet core suppots virtual devices for testing without a hardware present. There are two typed of devices available:

  • File device - Generic frame-based device using selected data file for emulating of the measurement.
  • Dummy device - Virtual device emulating selected device type with properties by the config file.

File device

  • Default virtual device if no physical devices found.
  • User can disable it using the FileDeviceWhenNoDevs=false in the [Settings] section of the pixet.ini file
  • User can force it using the FileDevice=true in the [Settings] section of the pixet.ini file
  • In the Pixet program can be selected some predefined data set or a custom data file. The file must be frame-based.
  • The device has no hwlib and any config file.
  • The device has the currentFrameIndex() method in the Python API.

Dummy device

  • Virtual device emulating specific device type.
  • Need the dummy.dll/dummy.so hwlib file, enabled in the [Hwlibs] section of the pixet.ini file
  • Using the dummy.ini configuration file (in the Pixet or appData directory - Pixet directory)
  • Count > 0 must be set
  • Set the ChipCount, ChipIDs list and Type in the [0] (or next numbers if Count > 1) section
  • File name must be Dummy-CHIPID.xml, Dummy-I08-W0060.xml for example.
  • User can simple copy your device config file and set the corresponding type in the dummy.ini
Example: Minipix-I08-W0060.xml -> Dummy-I08-W0060.xml, Type=3