01-28-2009 04:46 AM
Hi All,
I would like to know how to use the motion controller 7340/ 44 card digital port for the same purpose of 6534 in pattern I/O mode with buffered reading. Or in other way how to read/write the I/O port values in each position (step) at the time of motion. Its running in Axis 1.
In NI help mentioned that buffer reading can configure for analog port of 7344, but I did not found any example for that.
I tried to run the sample program which I found in NI samples for creating buffered break point but the function flex_configure_buffer giving error when buffer type= NIMC_BREAKPOINT_DATA.
So Please help me to solve the problem,
01-29-2009
01:49 AM
- last edited on
10-28-2025
11:04 AM
by
Content Cleaner
Renjith,
the digital ports on NI-Motion boards are meant to be used for simple machine communication tasks. There is no way to read these digital lines in a buffered or synchronized mode. If you need a feature like that you should use a board that supports buffered digital acquisition like all M-Series devices or the 6534 that you have mentioned. To synchronize the digital lines of these devices to the motor position you could either use the breakpoint feature or route an encoder phase to the RTSI connector and use it as an external clock signal.
Please refer also to the shipping examples.
Kind regards,
Jochen Klier
National Instruments
01-29-2009 01:56 AM - edited 01-29-2009 01:56 AM