Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

sample program for pwm for PCI-6221

We have a PCI-6221 board and LabView 7.0 Please supply a sample program for producing pwm on the lower 8 bits of port 0.
0 Kudos
Message 1 of 4
(4,118 Views)
Hi,
 
Thankyou for posting to the National Instruments Discussion Forums. You can program your 6259 board using NI-DAQmx.
 
The NI-DAQmx driver comes with examples in the example finder (from LabVIEW go to Help >> Find Examples... >> Hardware Input and Output >> NI-DAQmx)
 
You can also try and use this example here.
 
Essentially you need to perform a correlated digital output on your board with the program writing to all lines on port 0. Please note that correlated digital output requires an external clock.
 
Hope this helps!
 

Message Edited by Abhinav T on 05-02-2007 11:17 AM

Abhinav T.
Applications Engineering
National Instruments India

LabVIEW Introduction Course - Six Hours
Getting Started with NI-DAQmx
Measurement Fundamentals
0 Kudos
Message 2 of 4
(4,105 Views)
Abhinav,
       We have PCI-6221 boards not 6259. We ar looking for example program for PCI-6221 board running under LabView 7. Can you help?
 
Thanks,
Ray
0 Kudos
Message 3 of 4
(4,098 Views)

Ray,

Sorry about that. The same examples will work for both 6259 and 6221.

 

Abhinav T.
Applications Engineering
National Instruments India

LabVIEW Introduction Course - Six Hours
Getting Started with NI-DAQmx
Measurement Fundamentals
0 Kudos
Message 4 of 4
(4,094 Views)