LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NiDaqmx with Python

Solved!
Go to solution

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
(1,623 Views)
0 Kudos
Message 2 of 6
(1,587 Views)

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

 

 

 

0 Kudos
Message 3 of 6
(1,557 Views)

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
(1,542 Views)
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
(1,457 Views)

Oh.Ok. I did not realize that.

Thanks for your help.

0 Kudos
Message 6 of 6
(1,451 Views)