-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDeveloperGuide.txt
More file actions
54 lines (43 loc) · 2.11 KB
/
DeveloperGuide.txt
File metadata and controls
54 lines (43 loc) · 2.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Useful Links
--------------------
https://forums.ni.com/t5/NI-Linux-Real-Time-Documents/Example-Using-the-DAQmx-API-on-NI-Linux-Real-Time-Systems/ta-p/3536811
http://www.ni.com/product-documentation/2835/en/
http://zone.ni.com/reference/en-XX/help/370471AA-01/
http://forums.ni.com/t5/NI-Linux-Real-Time-Documents/Tutorial-Installing-Startup-Scripts-on-NI-Linux-Real-Time/ta-p/3527257
General information
----------------------
- This project is basically two programs, ConfigWriter and reader, and
an init script
- ConfigWriter edits the configuration used by reader
- reader uses the user configuration to set recording parameters
and then records using the nidaqmx api
- reader is ran as an init script located at /etc/init.d/reader
- To reload the configuration for reader you need to relaunch the program
either by power cycling the cDAQ-9136 or restarting/stopping and starting
the init process using /etc/init.d/reader start/stop/restart
- To simplify commands for the user aliases are provided in a .profile file.
This allows the user to access /etc/init.d/reader with reader-daemon, to
access /home/admin/reader/reader with reader, and to access
/home/admin/ConfigWriter/ConfigWriter with ConfigWriter
- The folder structure for the cDAQ-9136 is hard-coded into reader
and ConfigWriter, so if you reinstall everything be sure to place it like so
|-- /
|-- etc
|-- init.d
|-- reader
|-- home
|-- admin
|-- .profile
|-- ConfigWriter
|-- ConfigWriter
|-- reader
|-- reader
|-- config
|-- config.ini
|-- quick-config.ini
|-- output
- Also if you reinstalled be sure to install the FTP server and SSH server
on the cDAQ-9136 using NI MAX. Also set the server time using NI MAX. It
would be more accurate to connect the cDAQ-9136 to the internet and download
a NTP client using the built-in package manager instead of manually setting
the time.