From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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

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

 

 

 

0 Kudos
Message 3 of 6
(1,560 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,545 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,460 Views)

Oh.Ok. I did not realize that.

Thanks for your help.

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