LV2013
I've never used DAQmx Events before, and I'm having trouble using an EVENT structure that can accept both regular USER events, and DAQmx Events.
How do you get them all registered?
See this JING: http://www.screencast.com/t/GOyKTvYfugU
The opening frame shows the basic structure I'm using: the EVENTS vi produces a cluster of four user events.
I can register using this cluster, or the individuals, and everything is fine.
However, I want it to ALSO accept a DAQmx event (every N samples scanned into buffer), and I can't get it to register BOTH.
The "AI manager" produces both a TASK out, and it registers an event with the EVERY N SAMPLES, set to "1", and brings out the refnum.
At 0:06, I try to wire the AI Refnum into the REFNUM INPUT of the REGISTER EVENTS node, but that node CHANGES to look just like the register node that's already in the AI MGR vi. Why?
The cluster of events coming out of the ETHERCAT EVENTS vi is still accepted into the EVERY N SAMPLES input - why?
0:25 - as soon as I try to wire the "N" value here, it complains about the cluster connection - why?
0:39 - If I undo all that and wire the TASK into a second input of the REGISTER EVENTS, it is accepted - why?
0:50 - There is no option to choose the EVERY N SAMPLES (or task done or other events) - all I see is the four events from the cluster - why?
1:27 - if I create a second REGISTER EVENTS node, I can wire it to the REGISTER EVENTS node that's already in the AI MGR vi.
1:48 - I can wire that 2nd REGISTER EVENTS node to the event structure and choose the event. Great. But the original USER events are lost.
1:59 - If I wire from the DAQmx events node to the USER events node, the USER events node changes personality into a DAQmx node. why?
2:19 - If i wire in the other order, the DAQmx node changes personality into a USER node - why?
The bottom line is: how do I get the EVENTS structure to have cases for all the USER events AND ALSO a DAQ Mx event?