Hi Ron,
when I use the NI-DAQ function: Set_DAQ_Device_Info(board,ND_Pattern_Generation_Loop_Enabled, ND_ON);
the following error appears: "Varible not defined"
Then I tried to define ND_Pattern_Generation_Loop_Enabled and ND_ON as Variant. Now no errors were caused, but it doesn´t work. It seemd that NI-DAQ doesn´t know this function, although he is defined in the "NI-DAQ Windows - Function Prototypes for Visual Basic" (see Attachment (1))
To the second question. My programm outputs a clock-signal (T = 3-6µs) at one line and short pulses (100-500ns) with different delays to the clock-signal on four other lines of port C. I calculate a period of these signals and want to output it continuously. The code works till about T=4µs (see Attachment (2)).
For T<4µs the signals are biassed, but the buffer-content is ok. I contolled it manually and see it on the CWGraph. For examble with T=4µs the buffer contains 4µs/50ns=80 samples, every 50ns one sample is send.
I hope it helps
Lars