Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

DIO with PCI-6534

Hi,
i'm using DAQmax  to genrate finite pulses  (no.of pulses-controllable),but am unable to control pulses it gives continously pulses
i have used one case structure once applied true it gives me limited pulses (depend on no of samples)since it's mechanical action is latch when pressed if i increased no.of pulses more than 130 it gives me limited pulses please mechanical action since  tell  me solution on this application


Regards
Mandar
0 Kudos
Message 21 of 29
(2,923 Views)
Mandar,
 
I'm not sure that I understand how you are trying to do this - are you using SW timing to toggle values to generate a pulse train, or outputting a waveform? The best way to do this would be to generate the pulse train in SW as a digital waveform, and generate it using the "Write Dig Chan-Int Clk-Dig Start" example. You can remove the digital start if needed.
 
Hope this helps,
Andrew S
0 Kudos
Message 22 of 29
(2,911 Views)
Hi,
  i'm using Compact rio-NICRIO-9002,DIO-NI9401 since i'm new to compact Rio..i want to genrate on various digital outputs lines as a variable frequnciese ouput
please help me regarding this application


Regards

Mnadar
0 Kudos
Message 23 of 29
(2,872 Views)
Hi Mandar,

As this is now a new question, please post this on the LabVIEW FPGA or RT forums, along with more information on what exactly you are trying to do with digital output.

Best regards,

-Sam F, DAQ Marketing Manager
0 Kudos
Message 24 of 29
(2,853 Views)
HI,
i'm using PCI 6534 Card .i want to read the serial data on the external clock
i have used DAQ MAX but i am unable to read from external clock as input to read serial data instead of that im using /Dev1/Dig0/SampleClockTimebase AS a clock source but i'm not sure that reads at it's +ve edge(rising) since i want to use external clock source
please tell me how to proceed for this application


please reply me
mandar

(see attachment)

0 Kudos
Message 25 of 29
(2,762 Views)
Hello mandar,

To use an external clock source you need to select a Programmable Function Interface (PFI) line as the source input to the DAQmx Timing (Sample Clock).vi. There is a tutorial online here which discusses this topic. There is also an example program called Cont Read Dig Chan-Ext Clk.vi, which demonstrates how to input a continuous digital waveform using an external clock. You can find this example program using the NI Example Finder. To open this utility from LabVIEW click on the Help menu and select Find Examples.... Once you have opened the NI Example Finder you can find this example by browsing to Hardware Input and Output>>DAQmx>>Digital Measurements.


Matt Anderson

Hardware Services Marketing Manager
National Instruments
0 Kudos
Message 26 of 29
(2,747 Views)
Hi,
Thank you, for your help but still i am not  getting about that  external clock source  i.e PFI0,RTSI0 etc....
please  could you explain me regarding this external clock source how do i use it.

please reply me


Regards
Mandar
0 Kudos
Message 27 of 29
(2,732 Views)
Hi,
Thank you, for your help but still i am not  getting about that  external clock source  i.e PFI0,RTSI0 etc....
please  could you explain me regarding this external clock source how do i use it. & where to connect source.

please reply me


Regards
Mandar
0 Kudos
Message 28 of 29
(2,734 Views)
Hello Mandar,

I apologize if I was unclear before. What aspect of the external clock are you having problems with, specifically? Are you wondering about the physical connections or the programming? It sounds like you are somewhat new to programming NI-DAQmx in LabVIEW, so I would recommend a couple introductory tutorials. First, you can find a document called "Learn 10 Functions in NI-DAQmx and Handle 80 Percent of Your Data Acquisition Applications" here. You can also find the Complete Data Acquisition Tutorial here.

In addition to these tutorials, the PCI-6534 documentation is a valuable resource for using this device. You can find the NI 6533/6534 Devices for NI-DAQmx Help here. Included in this documentation is a section entitled "External Sample Clock Source" which states:

"Use an external Sample clock when you want to time data transfers using an external signal on the PFI <2..3> or PFI <6..7> pin of the I/O connector. You can configure the active edge of the external Sample clock signal using DAQmx. The low time and high time of the Sample clock signal must each be >20 ns. The minimum duration for a period of the Sample clock signal is 50 ns."

This section goes on to describe the use of an external sample clock and provides timing diagrams and other information. If you want more details regarding the connections you may want to examine the section entitled "Signal Descriptions" which lists the Pins, Signal Names, Signal Types and Signal Descriptions for the NI 6533/6534.


Matt Anderson

Hardware Services Marketing Manager
National Instruments
0 Kudos
Message 29 of 29
(2,720 Views)