piTest: different verions? -> different behaviour
Posted: 28 Oct 2024, 11:05
Hello,
i downloaded "PiTest Demo with source code (ID: 1149)" from the download section:
https://revolutionpi.com/en/download/11 ... 1730097308
The i compiled the C-sources and testet "my" piTest by reading the RevPILed, which works:
./piTest -r RevPiLED
But it gaves me an internal error, when i want to read variables, which are not defined, e.g.:
./piTest -r xxx
Could not read variable xxx. Internal Error
The i did the same test with the "piTest"-Tool, which is already there in "/usr/bin/piTest":
piTest -r xxx
Cannot find variable 'xxx'
So, the behavior of /usr/bin/piTest makes more sense.
Where are the actual, correct sources of "piTest"?
I found out, the there are sources in /home/pi/demo/piTest.
These sources are a little bit different than the sources from the download.
Especially piControlIf.c and piControlIf.h
i downloaded "PiTest Demo with source code (ID: 1149)" from the download section:
https://revolutionpi.com/en/download/11 ... 1730097308
The i compiled the C-sources and testet "my" piTest by reading the RevPILed, which works:
./piTest -r RevPiLED
But it gaves me an internal error, when i want to read variables, which are not defined, e.g.:
./piTest -r xxx
Could not read variable xxx. Internal Error
The i did the same test with the "piTest"-Tool, which is already there in "/usr/bin/piTest":
piTest -r xxx
Cannot find variable 'xxx'
So, the behavior of /usr/bin/piTest makes more sense.
Where are the actual, correct sources of "piTest"?
I found out, the there are sources in /home/pi/demo/piTest.
These sources are a little bit different than the sources from the download.
Especially piControlIf.c and piControlIf.h