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
已解决! 转到解答。
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))?
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
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…
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!