Hi Pavel!
Thank you very much for your post! All the info you gave me really helped me to start getting some useful progress!! it's a HUGE thank you!!
As mentioned before - i have no big experience in C and before I wrote only some simple things in gedit, without including extra libraries so simple gcc compilation was enough. The biggest issue for me was compilation on RP with inclusion of extra stuff during compilation (everything required to work with RP) - i had problems with SDK form main web page and that how I got to your SD card - but your suggestions let me compile first things! Thank you again!!
As for web interface - i agree with you in here, and for normal data acquisition I'm going to use plink to Matlab (since this is the environment I usually work with), but final deliverable of this project is for observation only by non-scientists and that's why I was thinking about web-interface.. but I'll still consider that.
I'd like to ask few more questions about your ecosystem
- can I still use wifi dongle and make RP as access point as it was available in standard 0.92 version? when I plug in my dongle i see RP network and i can connect to it, but have no idea on what address to communicate with RP - standard 192.168.128.1 seems not working.. (right now I'm using only direct LAN connection - if I plug it to network then RP webpage cannot find it via MAC
)
- is it possible to remote control RP with your Ecosystem? I still have plenty of my previous code where i use directly Matlab via SCPI to talk with RP, but i fail to connect to set SCPI server with your ecosystem - does it support SCPI server? what's the command to set it (nor the old nor the new one seem to work for me
)
- when I go via ssh to RP then first few lines say about linux being free and no warranty etc, but then it says that last login from 192.168.1.101 (my address on static IP) was on 1 Jan 1970 - never mind how many times I've logged in already - do you think that there something funny with my settings?
- I noticed that for compiling all the examples you use 'make' command. I tried it for individual file and then it gives warning that "File 'Makefile' has modification time 143270569 s in the future", "myfile is up to date", "Clock skew detected. Your build may be incomplete". Again as above - I'm worried that some of my settings are wrong - could you advise? (however - when I just use the gcc command with all the parameters as you suggested in above post it compiles without errors so it's not a big issue - just curious).
- the last questions and at the same time the one which give me most worries right now - I'm busy with the code using setting values to slow analog outputs and reading from slow analog input. i managed to write what I thought as a correct c file, but whatever I do, reading values from slow AI always fail (most of the time give value 0V, sometimes some strange value not related to anything i would expect). I tried to check it with very simple code - set value on AO pin and read it on AI but I have nothing - the same result again. (it is also the case with the read analog voltage example from examples folder). I checked setting value with multi-meter, and this works ok, only read AI gives problems. I checked many times my code and physical connections and do not know what may be the reason of this issue. Have you noticed anything like this before? I expect that it's me making some mistakes but I don't know where i could make them - when I change SD card for the one with ecosystem 0.92 and run the same task with SCPI in Matlab then it works ok.
I'm really puzzled and wonder if there may be something deeper in ecosystem preventing me reading slow AI??....
I would be (again!!) grateful for your opinion!
All the best
Adam