Datlogger (name needed!) is an application to control and acquire data from scientific instruments.
Toggle DevTools.
- macOS: Cmd Alt I or F12
- Linux: Ctrl Shift I or F12
- Windows: Ctrl Shift I or F12
Force reload the window.
- macOS: Cmd R or F5
- Linux: Ctrl R or F5
- Windows: Ctrl R or F5
Open DevTools and focus the Element Inspector tool.
- macOS: Cmd Shift C
- Linux: Ctrl Shift C
- Windows: Ctrl Shift C
This application is designed to run on node 6. Please use nvm to install node 6 and use it:
- nvm install 6
- nmv use 6
- nmv alias default 6
Please use included Vagrant images:
- ubuntu
- ubuntu_desktop
- windows
- arch (still not working, misses a few dependencies to build)
- fedora (test only)
If you want to develop without the vagrant images, install the required dependencies described here
You will need to have a working node-gyp since this app uses many native extensions
logs can be found following this instructions
If you're developing on macOS, run yarn patchlibusb
after install, otherwise data-chan will not find libusb, since they're linked together for production and not for development
If you're developing on macOS, run yarn patchlibpthread
after install, otherwise data-chan will not find libwinpthread-1, since it's not included inside windows by default.
Developing on Windows is messy. As long as you get node-gyp to work correctly (following ALL steps), you'll be fine.
Common errors we had in the past:
- "%1 is not a win32 application" you've built the app using wine and mono. You need to use a native Windows environment.
- "Win32 [...] error 126" You're missing pthread, check data-chan docs or run
yarn patchlibpthread
- "Dynamic linking error, win32 error 193": you've built for windows ia32, while all the data-chan stuff is for x64. Check you're using 64bit nodejs and building with the "yarn dist:win" command
- "MSBUILD error MSB4132 The tools version "2.0" is unrecognized: run
npm config set msvs_version 2015
This software is automatically built by:
- Travis CI: Linux and macOS
- Appveyor: Windows
Dev builds go to s3://fermiumlabs-software-builds/nng-logger/{{COMMIT HASH}} Dist builds go to s3://fermiumlabs-software/nng-logger/
Please open pull requests against develop, not master.
With the latest fixes should work like a charm. Still some work to do on scidavis, but fixes are on their way.
USB permission fixed
The USB permissions now works like a charm
Should work like a charm. Ok, Windows suck.