10-22-2007 05:02 PM
10-22-2007 09:25 PM
10-22-2007 11:05 PM
Thanks Ravens Fan,
Do you happen to have a simple code to start with and then I could expand from that. Thanks again,
Frank
10-23-2007 12:57 PM
Hi Frank,
I believe that the example programs illustrating digital generation would be of help to you. These programs can be found in the following location. In LabVIEW select help>>find examples>> Hardware Input and Output>> Modular Instruments>> NI-HSDIO>>Dynamic Generation. More Information on Digital Generation can also be found in the HSDIO help file. Which can be found by clicking Start>>All Programs>>National Instruments>>NI-HSDIO>>Documentation>>NI-Digital Waveform Generator-Analyzer Help. Please take a look at these examples and post back if you have any more questions.
10-23-2007 01:17 PM
10-23-2007 03:42 PM
10-23-2007 03:53 PM
10-23-2007 03:58 PM
10-23-2007 04:16 PM
The problem with this VI is that it is software timed, and in reality there is no timing functions in the code so it just executes however fast it can. On a faster or slower PC, the execution rate would change. The "wrong" VI in the previous post is probably more in line with what you want. (I have no way of testing it.)
Create a waveform that has a dt of 100 usec. The waveform data would be a single sample of true followed by 999 falses. This should create a 100 ms second long waveform with a 100 usec pulse at the beginning. (For other waveforms, shift the location of the True.) Set the clock sample, write the waveform, then start. So now you have the writing of a waveform and write it 10 times.
10-23-2007 05:18 PM
Ravens Fan,
I have tried different changes, but not able to get good results. Would you mind to modify above vi per your comments and I will do the test and advise results. Thanks,
Frank