[pyrwi] r8 committed - Path fixes for examples.

8 views
Skip to first unread message

codesite...@google.com

unread,
Nov 13, 2009, 1:19:59 PM11/13/09
to pyrwi...@googlegroups.com
Revision: 8
Author: danielrairigh
Date: Fri Nov 13 10:19:15 2009
Log: Path fixes for examples.
http://code.google.com/p/pyrwi/source/detail?r=8

Modified:
/trunk/docs/examples/Acq-IntClk.py
/trunk/docs/examples/DigitalOut.py

=======================================
--- /trunk/docs/examples/Acq-IntClk.py Sat Sep 5 14:55:38 2009
+++ /trunk/docs/examples/Acq-IntClk.py Fri Nov 13 10:19:15 2009
@@ -19,7 +19,7 @@
#Help can also be found for these functions by using
#'doc(DAQmx.CreateAIVoltageChan)' in a Python terminal or
#'DAQmx.CreateAIVoltageChan?' in IPython
-DAQmx.CreateAIVoltageChan(taskHandle,"Dev1/ai0:1","",DAQmx.Val_Cfg_Default,-10.0,10.0,DAQmx.Val_Volts,None)
+DAQmx.CreateAIVoltageChan(taskHandle,"/Dev1/ai0:1","",DAQmx.Val_Cfg_Default,-10.0,10.0,DAQmx.Val_Volts,None)

#Configure the timing clock for this task

DAQmx.CfgSampClkTiming(taskHandle,"",10000.0,DAQmx.Val_Rising,DAQmx.Val_FiniteSamps,1000)
=======================================
--- /trunk/docs/examples/DigitalOut.py Sat Sep 5 14:55:38 2009
+++ /trunk/docs/examples/DigitalOut.py Fri Nov 13 10:19:15 2009
@@ -1,5 +1,5 @@
import sys
-sys.path.append("..")
+sys.path.append("../..")
import pyrwi
import nidaqmx as DAQmx
import time

Reply all
Reply to author
Forward
0 new messages