08-16-2007 03:41 PM
Hello,
I'm new to NI Motion control VI instruments and I'm amazed at the wealth of NI support and information that is available. I'm finally ready for some real on-line help.
I’ve been trying to synchronize a Motion Controller PCI-7433 with a PCI-6120-S DAQ (with NI BNC-2110 h/w I/O box) device. I found a few examples on the NI web site that seemed to suit my needs nicely. However, when I executed the vi's I had some issues.
1. I also ran 25114.vi-Motion synchronization with DAQ via RTSI (encoder-External scan clock). The motor runs fine, then the DAQ times out (red light comes on), no encoder pulses apear, and program stops. I change number of scans, target position, and source with no change. What's am I missing?
2. I also down loaded file 202925.vi-RTSI with DAQmx (breakpoint-external sample clock). The motor moves, breakpoint indicator comes on, then after 10 seconds I get the error shown by attached file. I have made several adjustments to sample clock parameters and brakpoint position with no success. The encoder position pulse train never appears in the Waveform Chart?
I prefer to use the RTSI to synch activities in example 1 above, but I am at a loss why neither synch option works?
I look forward to learning and working with you in this forum.
Staffan
08-20-2007 10:25 AM
Hi Steffan,
Could you link me the examples you are refering to. That way I know I am looking at the exact ones you are refering to. Also I would first try the examples that are int eh example finder to see if they work. I found some good ones by going to the example finder (with the browser tab selected), and going to the folder Hardware Input and Output->Motion Control->RTSI Synchronization.
I found one called "RTSI with DAQmx (encoder-external scan clock Continuous).vi" which looks to be exactly what you are looking for.
You may also want to start by testing just the DAQ board first with some of the built in examples. That way we are able to tell if it is the DAQ card or the DAQ card with the Motion control.
08-21-2007 02:47 PM
08-29-2007 05:50 PM
Hi Brian,
I ran the VI that you proposed above and encountered the attached error message. I had reinitialized the motion controler and reset the DAQmx card prior to runing the VI. In addition, when I loaded the VI none of the sub-vi's for the DAQmx were recognized. I had to manually add them form the functions palet. Please advise.
08-30-2007 12:37 PM
08-30-2007 03:59 PM
Hi Brandon,
With a little experimentation I discovered your trick, and it worked well. The error is now gone. However, when I run the VI, the motor runs, but I do not get a waveform signal (from the DAQ) on the screen. I reviewed all my NI software and deremined that I needed to upgrade many drivers including move to LabView 8.2.1. In the process, I discovered that my PCI-6120 DAQmx card was NOT registered with NI. Could this be part of the problem?
08-31-2007 09:36 AM
08-31-2007 12:02 PM
Justin,
I'm using DAQmx 8.5, Yes, 6120 DAQ is present (and fuctioning) in MAX 4.2.
When I updated the drivers for DAQ and Motion Controler, upon PC restart, I was notified that the PCI-6120 was not registered. I skipped the step, thinking I would do this later, using the 14 day delay option.
09-04-2007 11:29 AM
09-04-2007 03:25 PM
Brandon,
Everything with the 6120 is working OK, under MAX. However, I'm not getting the waveform on the "RTSI with DAQmx (encoder-external scan clock Continuous).vi". No errors, and motor runs like it should. Not clear why not?