Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Export sample clock PCI 6534

I'm pretty new at all this so have been trying to figure this out by looking at all the examples. I am using VB 6.0 for my application.
 
I am using the 6534 to control a DSP. I want to create a 300KHz clock and output it to a port. First, is it possible to get 300KHz?  Is the sample clock the best way to do this?
I know about the DAQmxExportSignal Function. Do I need to set the SamTimingType?? I also try configuring the Sample Clock, but always get an error.
 
I need to do more than just output a clock, but one thing at a time, right?
 
Any help would be great! Thanks!
0 Kudos
Message 1 of 5
(4,134 Views)

Krstn,

 

 

Probably an easier way to get a 300kHz clock out of the 6534 is to setup a correlated/hardware timed digital input (to get the internal clock to generate at 300kHz). This internal clock for input operations is automatically routed to the PCLK which is an external line (pins 5 or 6 for PCLK 1 and 2 respectively). Then from there you can externally/physically wire this clock signal where ever you need it. This is going to be easier then trying to internally route it, if that is what you were trying to do. Here is a link to the 6534 manual if you need to look up some more info about this.

 

 

Hope this has helped. Good luck with the rest of your project.

 

 

-GDE

 
0 Kudos
Message 2 of 5
(4,113 Views)

Since you appear to be using NI-DAQmx, this version of the manual may be more helpful, since it uses the DAQmx terminology.

0 Kudos
Message 3 of 5
(4,107 Views)
Yes, I am using DAQmx. Is there a way to set the PCLK in DAQmx? THe user manual has no mention of the PCLK
0 Kudos
Message 4 of 5
(4,083 Views)
The PCLK signal names is only used in Traditional NI-DAQ. I think NI-DAQmx just uses PFI 4 and PFI 5.
0 Kudos
Message 5 of 5
(4,078 Views)