Devices support: Difference between revisions

From ADVACAM Wiki
Jump to navigation Jump to search
Line 31: Line 31:
* Virtual device emulating presence of specific device type and generating noise while "measuring".
* Virtual device emulating presence of specific device type and generating noise while "measuring".
* Need the '''dummy.dll/dummy.so''' hwlib file, enabled in the <nowiki>[Hwlibs]</nowiki> section of the [[Files_and_directories_of_the_Pixet_and_SDK#pixet.ini_file|'''pixet.ini''']] file
* Need the '''dummy.dll/dummy.so''' hwlib file, enabled in the <nowiki>[Hwlibs]</nowiki> section of the [[Files_and_directories_of_the_Pixet_and_SDK#pixet.ini_file|'''pixet.ini''']] file
* 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 [[Files_and_directories_of_the_Pixet_and_SDK#Main_directory_of_the_Pixet_program|'''Pixet directory''']] or [[Files_and_directories_of_the_Pixet_and_SDK#User_data_directory|'''AppData directory''']]
:* '''Count''' > 0 must be set
:* '''Count''' > 0 must be set
:* Set the '''ChipCount''', '''ChipIDs''' list and '''Type''' in the '''<nowiki>[0]</nowiki>''' section (or next section numbers if Count > 1).
:* Set the '''ChipCount''', '''ChipIDs''' list and '''Type''' in the '''<nowiki>[0]</nowiki>''' section (or next section numbers if Count > 1).

Revision as of 14:54, 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 presence of specific device type and generating noise while "measuring".
  • 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 directory or AppData directory
  • Count > 0 must be set
  • Set the ChipCount, ChipIDs list and Type in the [0] section (or next section numbers if Count > 1).
  • 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