Hello Duc,
Thank you for contacting National Instruments.
Regarding your digital I/O question, have you checked the sample finder for sample programs related to digital I/O? To access the sample finder, go to 「ヘルプ (Help Menu)」 >> 「サンプルを検索 (Search for Examples)」. Example programs are grouped by category. Several can be found by going to 「ハードウェア入力と出力 (Hardware Input and Output」→「DAQmx」→「デジタル生成 (Digital Generation)」。This is probably a good place to get started. I recommend taking a look at "Write Dig Chan.vi" first.
To synchronize two boards, you have several options.
- Use a RTSI cable to physically connect the two cards and allow them to share a sample clock
- If you use a BNC terminal or any breakout terminal, have the cards share the same sample clock by wiring the appropriate pins.
- If you don't need extremely precise timing, use software timing. Which means, whenever the write is called, it performs the output operation for the respective task.
Also, a help file exists specifically for the NI-6534 and NI-DAQmx Programming. Please take a look at the link below.
http://digital.ni.com/manuals.nsf/websearch/CCB88DC67022A750862573A7007ACAB7Let me know if you need further assistance.
Mas Chano
Applications Engineer
National Instruments Japan
このメッセージは
03-20-2008 08:21 PMに M.Chano が編集しています。