Questions tagged [qnx]

QNX mainly known as a Real-Time Operating System that is both full-featured and robust, but can also scale down to meet the constrained resource requirements of realtime embedded systems. It features a UNIX like environment, microkernel based design and POSIX compliance. There are other software products that now carry the name QNX.

QNX is the name of a family of products focused on real time and safety critical embedded systems written by QNX Software Systems. It is most widely associated with the Real Time Operating Systems of the same name, but their portfolio has expanded to include development systems, middleware and services under the name QNX. Some examples include:

RIM own QNX Software Systems and their development tools, such as the QNX Momentics IDE (based on Eclipse) and qcc compiler (based on gcc), are provided as the Native Development Kit for the Blackberry Tablet. The Blackberry Tablet OS runs on top of the QNX Neutrino RTOS.

Software going under the name of QNX

RTOS

QNX is most famous for being the Real Time Operating System of which there are two versions: QNX RTOS v4 is an older product but is still used in many existing systems and still supported by the company. More recently QNX Neutrino RTOS (v6) was released. It is based on a microkernel architecture, modular design and message passing to make it robust and scalable.

HMI and Graphics

QNX Core Graphics provides underlying libraries that developers can target for hardware accelerated 2D and 3D rendering with little CPU overhead (based on OpenGL ES) or the need for screen/widget builder tools.

QNX Photon microGUI is a windowing system for small embedded HMIs providing the developer with a widget toolkit, callback based event handlers and remote graphical connections via Phindows.

Multimedia

QNX Aviage is a pair of frameworks for multimedia applications and acoustic processing. The multimedia suite allows you to create anything from simple media players to in-car entertainment systems. The acoustics processing suite focuses on improving voice communications (such as in-car telephony) and recognition.

Development Tools

QNX Momentics is the name of the development suite that QNX provides to target its RTOSes and libraries. It is based on Eclipse as the IDE and gcc as the toolchain, but there are many other tools included such as a system builder (for building and configuring your embedded system image), application/system profiler and memory analysis.

What kinds of questions should have this tag?

This tag should be applied to questions which are asking about programming for the QNX RTOSes, using the QNX development tools or are programming against the QNX libraries, middleware APIs or frameworks.

Questions about using the QNX development software to target the Blackberry Tablet OS Native development kit are suitable for this tag. Questions specifically about the Blackberry Tablet OS should probably not have this tag unless you are coding directly against the underlying QNX Neutrino RTOS APIs.

Important Links

495 questions
0
votes
1 answer

USB performance issues

I am trying to transfer data over USB. These are packets of at most 64 bytes which get sent at a frequency of 4KHz. This gives a bit rate of about 2Mb/s. The software task that picks up this data runs at 2.5 KHz. Ideally we never want packets to get…
0
votes
2 answers

Why is my Memory dumping soo slow?

The idea behind this program is to simply access the ram and download the data from it to a txt file. Later Ill convert the txt file to jpeg and hopefully it will be readable . However when I try and read from the RAM using NEW[] it takes waaaaaay…
0
votes
1 answer

Getting thread name from different process

We have different exes running for our application in qnx environment. And each exe inturn has several threads. Now i want to get thread names of all the threads of all processes from a particular process. Ex: we have 10 processes with 10 threads…
Manjunath K Mayya
  • 1,078
  • 1
  • 11
  • 20
0
votes
3 answers

Find amount of installed memory on QNX system

How do I find the amount of memory installed on my QNX Neutrino system? uname -a doesn't show it top only shows how much memory is available I've looked at pidin syspage without success pidin mem shows all the used memory in gory detail
kmort
  • 2,848
  • 2
  • 32
  • 54
0
votes
1 answer

Does executing a binary on a RAMDisk reload the executable into memory?

Let's say I have two copies of the same 10MB binary executable, A and B. If I have plenty of available memory and run ./A, my understanding is that A will be loaded into memory and run from there. This will take around 10MB of RAM to accomplish. If…
kmort
  • 2,848
  • 2
  • 32
  • 54
0
votes
1 answer

Unable to send push message on server (Blackberry - Android Runtime)

I have successfully getting registration id (pin) from my device, but i stuck on server side development, I hope someone could help me :Helpsmilie: I have followed these 3…
Victorio Pui
  • 358
  • 1
  • 3
  • 11
0
votes
1 answer

Not receiving UDP and outputting data in multi-threaded program

uint64_t GetTimeStamp() { struct timespec start; if ((clock_gettime( CLOCK_MONOTONIC, &start)) == -1) { perror("clock gettime\n"); } return(start.tv_sec + start.tv_nsec * 1e-9); // seconds } const struct…
0
votes
1 answer

Printing Wrong version Number when i run ssh -V

I am upgrading the openssl & openssh versions for QNX platform, from openssl 1.0.0e to 1.0.1g & openssh-5.6p1 to openssh-6.6p1 So using my linux machine I am cross compiling to generate binaries for QNX. After doing all the steps mentioned below…
yvk
  • 1
  • 1
  • 4
0
votes
1 answer

how to get the results of the current time in microseconds?

#include #include #include #include #include typedef unsigned int uint32; uint32 a; int main() { struct timespec start; if((clock_gettime( CLOCK_REALTIME, &start)) == -1 ) …
0
votes
2 answers

what is the error in the below c program?

a.c: #include "a.h" double GetTimeStamp() { struct timespec start; if((clock_gettime( CLOCK_REALTIME, &start)) == -1 ) { perror("clock gettime\n"); } /* I am calculating the Clock…
0
votes
1 answer

debugging macro related errors on QNX

I am trying to complile one project on QNX which uses libxml. I have installed libxml on system with support for xmlschema turned on. But still I get below error message 'xmlSchemaParserCtxtPtr' undeclared (first use in this function) On going…
user3494614
  • 603
  • 1
  • 7
  • 20
0
votes
1 answer

Finding the heap usage of the process thread wise in qnx

My application running on a qnx machine is leading to serious memory leak over a period of time.It has 8 threads.I want to see a trend of heap usage by individual threads over a period of time to narrow down the problem. Using the flags available in…
Rajesh
  • 356
  • 1
  • 5
  • 15
0
votes
1 answer

how to solve this Unresolved breakpoint warning?

int id1; //variables used in the isr should be volatile int chid; void *ConfigureISR(void) //void *ISR (void *arg) { /* the software must tell the OS that it wishes to associate the ISR with a particular source of interrupts * / * On…
0
votes
1 answer

what is the command to find which interrupt driver is using in the hardware?

I am using Embedded PC (FIT PC2) with QNX RTOS. I planned to create a handler and taking the timestamp when the interrupt occurs. but I am not successful in that. So someone please help me how to find or the command to know which and where is the…
0
votes
0 answers

what are the changes from the linux code to qnx code?

int CreateSocket() { //pthread_attr_t attr; // Socket creation for UDP acceptSocket = socket(AF_INET,SOCK_DGRAM,0); if(acceptSocket == -1) { printf("Failure: socket creation is failed, failure code\n"); return…