Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital Output to slow for simulating a clock

Hi!

I just want to speed up setting my digital outputs on my PCI-6025E DAQmx Card!
How Can i do this?
Which statement is used?
Can I use

ConfigureSampleClock

for my Digital Output Task, to speed up the setting of the port and the deleting? (0 - 1) ?

Please give me a little example, how to do so..
I only create a task -> Digital Channel and then I use the DigitalSingleChannelWriter!

I need this, because I have to control a LCD display, and therefore I need a clock signal (not more than 500Hz) and a data signal during the falling clock to send bits.
All in All I need 40bits to show a number on the display.
It takes about 30ms now to set and clear all the digital ports in a loop.
I have to speed up this!

Please help!

PCI-6025E
Visual Studio .NET / c# with Measurement Studio



Yours, Klaus

0 Kudos
Message 1 of 3
(3,352 Views)

Hi Klaus,

 

I think you have to use : ConfigureSamplClock(..,..,..) from the Task.Timing class.

Groet'n
 
Eric
0 Kudos
Message 2 of 3
(3,276 Views)

Hi Klaus,

 

Sorry I wan't ready yet.

I think you would need a function like WriteMultiSamplePort(....)  from DigitalSingleChannelWriter.

Look at the attached file for an example (this was written in VB.NET for a PCI6229 card).

Gr.

Eric

0 Kudos
Message 3 of 3
(3,275 Views)