09-27-2006 10:14 AM
09-28-2006 11:14 AM
Hi there Paul,
Thanks for posting on the NI Forums.
My preliminary research seems to show that the Ext_Strobe pin is infact a digital pin utilised for synchronisation/control between some NI devices. From what I can determine this pin is not something that can be controlled/driven by the user, and I suspect control over that pin resides within the DAQmx driver.
You noted that all of the DIO pins are in use. Have you considered using one of the PXI-6120's counter/timers to drive this timing signal?
Cheers,
Rob
09-28-2006 11:37 AM
Hi Rob,
Thanks for the reply, I had not thought about the timer outputs and will look into this avenue. The 6120 manual definitely states that software drives EXTSTROBE it seems odd that this would be written if it were not available to the user.
It is looking very much like I am going to have to cut and strap my new PCB as soon as it comes through the door.
I would very much appreciate a register write that would toggle this pin, it must be there in the SCXI code. Sadly I have no information on the register addressing of this or in fact any NI device. I have currently assigned an empty function Strobe_Registers (); to gain a little time for your additional thoughts. I will complete it at the latest possible time with the most expedient method, hopefully a Write that will directly cause a strobe from the EXTSTROBE pin.
Thanks
Paul
10-02-2006 10:00 PM
10-03-2006 02:11 AM
Hi Brad,
Thanks for this informative reply.
I have resigned myself to using the counter timer outputs for this activity now. I have never used these outputs before and have not yet located the functions that will give a single pulse. I will search the DaqMx libs and see what I can find.
I fell into the trap of reading into the PXI-6120 manual what I wanted to see with EXTSTROBE. I was under pressure to come up with a test solution in double time and this inevitably ends in tears. The up side is that it is an easy mod to the PCB.
Thanks again Brad and Rob, as a first time user I am favourably impressed with this forum, I have found forums to be subscribed by people with opinions and not knowledge in the past, this one makes a refreshing change.
Regards
Paul.
10-03-2006 04:57 PM
Hi Paul-
Examples to create digital pulses using counters are supplied with the DAQmx CVI installation. They can be found in C:\Program Files\National Instruments\CVI80\samples\DAQmx\Counter\Generate Pulse.
You will find examples for single pulse generation as well as pulse train generation (that would be helpful if you decided to use the correlated DIO functionality Brad suggested). If you choose to go the correlated DIO route, the example C:\Program Files\National Instruments\CVI80\samples\DAQmx\Digital\Read Values\Cont Read Dig Chan-Ext Clk is a good starting point. In that case, the "external" clock source would be something along the lines of "Dev1/ctr0InternalOutput"
Hopefully this helps-
10-04-2006 02:12 AM
Hi Tom,
Thanks for the information.
I have made a note of the correlated capabilities but do not need them on this occasion. I found the required functions in the DaqMx library and will take a look at the sample code today. I didn't spot the sample code so thanks for the tip.
I will do a bit of PCB modification today and hopefully all will be well.
Regards
Paul.