10-22-2007 03:52 PM
10-22-2007 04:25 PM
10-23-2007 08:13 AM
10-23-2007 08:30 AM
The 6211 is capable of being hardware timed. Do not confuse the counter/timer measurement circuit with a clock for the analog output.
The analog out of the 6009 does not have a hardware clock. It can only be software timed.
There are a lot of shipping examples for hardware timed output. Just start up the example finder and open up Hardware Input and Output>Analog Generation>Voltage. Start with something basic like Gen Cont Voltage Wfm-Int Clock. The requirements window in the example finder list the hardware that is capable of running the VI.
10-23-2007 10:48 AM
10-23-2007 11:07 AM
In the case of the inexpensive 6008/6009, the sepc sheet says the analog output is software timed. I think you can probably assume that if it doesn't say that, then the analog output is hardware timed.
You can use the digital I/O examples with some modifications. For example, the Write Dig Chan lines is line0:7 and the data is an 8 bit Boolean array. change the lines and make the Boolean array only 4 elements and it should be okay. I'm not sure if the Write Dig Port needs to be changed at all.
10-23-2007 02:46 PM
Hi kcb4365640,
The Write Dig examples can be found in the Example Finder (Help » Find Examples…) if you browse by task to Hardware Input and Output » Digital Generation. If they aren’t appearing there, make sure that you deselect the ‘Limit results to hardware’ checkbox in the lower left corner of the Example Finder. Because of the 4 line DO limitation, these examples won’t run as expected without some modification and therefore, will not appear if you limit your search by hardware.
Write Dig Chan.vi will require you to resize the array to be 4 elements and change the Line value to be something like dev1/port0/line0:3.
Write Dig Port.vi can be left as is since there is no U4 representation. Any value greater than 15 (decimal) will be represented modulo 16.
Please post back if you have any more questions. Have a great day!