取消
显示结果 
搜索替代 
您的意思是: 

Counter USB-6212 doesn't work

已解决!
转到解答

Hello everyone,

I've got a question regarding the USB-6212. We want to use the 2 counters implemented in this module but we've got some issues there. In the pictures you can see how we created the DAQ Assistant (sorry for the bad quality). The thing is that our "student" module (myDAQ) works completely fine using the setup as seen in the pictures but the USB-6212 isn't. Does anyone have any idea why the USB-6212 isn't working? When using the USB-6212, we connect the channels PFI01 and PFI12. 

Thanks

Sebastian

下载全部
0 项奖励
1 条消息(共 6 条)
2,436 次查看

Hi bastipa,

 


@bastipa93 wrote:

We want to use the 2 counters implemented in this module but we've got some issues there. In the pictures you can see how we created the DAQ Assistant (sorry for the bad quality). The thing is that our "student" module (myDAQ) works completely fine using the setup as seen in the pictures but the USB-6212 isn't. Does anyone have any idea why the USB-6212 isn't working?


Do you mind to provide useful information?

What are those "issues"?

How is the USB6212 "not working completely fine"?

Why is the USB6212 "not working at all"?

Which errors do you encounter?

Why don't you attach your code (aka VI file(s))?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 项奖励
2 条消息(共 6 条)
2,428 次查看

Hey Gerd,

sorry for not providing any further information. I've attached the VIs we used to test the modules. When starting the VI for the myDAQ, the numeric indicator counts up as intended. When using the same VI (of course with the DAQ Assistants for the USB-6212), nothing happens and the indicator remains at 0.

Best regards,

bastipa93

0 项奖励
3 条消息(共 6 条)
2,369 次查看
解答
已被主题作者 bastipa93 接受

Hi bastipa,

 

which pins do you use on your USB6212?

Did you verify (using a simple DMM) you output a signal on your "port0/line0" pin?

Did you verify (in MAX) you are using the correct pin for "ctr0"? In MAX you get images how/where to connect your signals!

 

Btw. did you ever tried to use "plain" DAQmx functions instead of the DAQAssistent ExpressVI? They are very simple

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
4 条消息(共 6 条)
2,365 次查看
解答
已被主题作者 bastipa93 接受

Your USB-6212 example counts Edges on PFI8. Perhaps you should fix that, try to count the pulses on PFI0, where you create your output.

 

Regards, Jens

Kudos are welcome...
5 条消息(共 6 条)
2,360 次查看

Yes, in fact the problem was that we put the signal on the wrong pin - although we checked every pin manually, but nevermind. Problem solved and thanks for the help!

0 项奖励
6 条消息(共 6 条)
2,323 次查看