08-26-2008 03:21 PM
hello there,
I am trying to use "flex_set_breakpoint_output_momo" in order to get a high state on BreakPoint 3 on my 7344, the question is that, I tried it by reading Motion Control help as follow:
status = flex_set_breakpoint_output_momo( boardID, NIMC_AXIS_CTRL, 8, 0, INPUTVECTOR);
but i dont get the high voltage on Bp 3, I monitoring the port using a voltmeter,
how can I manage to send a high voltage to BP3 port, i need it to trigger an external recording device, i am using axis 1 and 2 only. and my understanding is that regardless of which axes i am using, i can use BPs, do I need to configure them before using one!?
Thank you
08-27-2008 04:12 PM
Please can you help me, how i can use "flex_set_breakpoint_output_momo", function to get 5V on my BP 3, how can I check for the BP3 port, to see if the 5 V is there or not? is it simply by using a Voltmeter or Oscillescope can be checked?
I am new to the Ni Motion Devices, I am writing C++ code to syncronize a outside recording device with my system,
Thank you
08-27-2008 05:31 PM
Hello Aliak,
Do you have an encoder connected to axis 3? Have you entered any function commands to enable the breakpoints before setting the breakpoint output? Have you tried doing this on the breakpoint outputs of axis 1 or 2?
08-28-2008 10:43 AM
Dear Vivek
I dont have an encoder connected to axis 3, I have only axis 1 and 2 in use and which are mapped to encoders 1 and 2.
Yes, I tried doing this on Bp outputs of axes 1 and 2,
as per the guide, the Breakpoint should be disabled in order for me to control it using this command,
my question is, should I do any configuration for Breakpoints or axis (encorder) before applying "flex_set_breakpoint_output_momo"?
08-28-2008 10:49 AM
the other thing is that i tried to use "flex_set_breakpoint_output_momo" byt directing the command to encoder 3 (encoder 1 and 2 are assigned to axes 1 and 2), but I couldnt see the high 5V on BP3, ( Encoder/Axis 3 is mapped to Bp 3, I suppose)!
I am using a voltmeter to check for the high voltage state, but I couldnt get it!
Thanks for your help