LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NiDaqmx with Python

Solved!
Go to solution
Highlighted

Hi,

I want to use NIdaqmx with Python. Followed the procedure .But after completing installation, when I am testing it, it just seems to not doing anything, as in the attached screenshot. Can anyone give me a clue about what may be happening here?

 

Thanks in advance

0 Kudos
Message 1 of 6
(208 Views)
Highlighted
0 Kudos
Message 2 of 6
(172 Views)
Highlighted

Shouldn't that second line by task.add ......   and not task_ai_channels.add  ...   ?

 

 

 

0 Kudos
Message 3 of 6
(142 Views)
Highlighted

Thanks for your reply. Tried but did not work.

But I was finally able to run it by changing task_ai_channels  to task.ai_channels

 

 

 

0 Kudos
Message 4 of 6
(127 Views)
Highlighted
Solution
Accepted by topic author maccapple

And that is exactly what I said, but just flipping it around.

 

I said shouldn't it be  (but I typed "by" by mistake) task.add ...... and not task_ai_channels.add ...

 

And you said "I was finally able to run it by changing task_ai_channels to task.ai_channels"

 

So you did exactly what I told you to do!

0 Kudos
Message 5 of 6
(42 Views)
Highlighted

Oh.Ok. I did not realize that.

Thanks for your help.

0 Kudos
Message 6 of 6
(36 Views)