LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital pattern generation with 6034E

Hei,

I want to control a serial device (CLK,DATA,ENABLE) with the 6034E. I would like to generate a digital pattern with the CLK,DATA and ENABLE information. I have achieved using the DAQmxWriteDigitalU8 to write this pattern, but the frequency of the clock signal is high for my device (around 500KHz). I have tried to modify the sampling frequency with DAQmxCfgSampClkTiming command, but I get always an error. Somebody knows how I could change the sampling frequency? Is it possible that the 6034E DAQ has not possibility to change the sampling frequency?

The second question is about the channel itself (CLK,DATA,ENABLE). I want to use data in both directions to read and write the device. I could define CLK and ENABLE as outpus and DATA as input (but all in the same port), but then how I could make the read if for reading a signal I have to execute the DAQmxReadDigitalU8 (to read DATA) and DAQmxWriteDigitalU8 simultaneously and for different channels?

All tips are welcome,

Josue
0 Kudos
Message 1 of 1
(2,747 Views)