10-22-2007 05:27 AM
10-22-2007 06:10 AM
why not switch to DAQmx? things are much easier to set with the new drivers
i am not remembering well operations with traditional DAQ on the 6533, but could it be that you have to set the hanshaking mode to Burst (all other unchanged)?
or, you need to put the handshake source to internal (you are not doing a handshaking operation, are you?).
also, i see you configure port 0 and 1, (meaning you aquire u16 data) but at the read your indicator is an array of u8. seems wrong to me.
clock frequency is undefined.
finally, you might want to keep track of the aquired data. put it in a shift register.
update me if it helps.
10-22-2007 08:24 AM
10-23-2007 06:02 PM
Hi AutoTEC,
If I understand you correctly, you want to drive a pin with your internal clock source. The Route Signal.vi can be used to route an internal signal to one of your PFI/PCLK pins. To do this place the VI (Measurement I/O » Traditional DAQ » Calibration and Configuration » Rout Signal.vi) before starting your operation. Wire your taskID in and create constants for the signal name and signal source input terminals. For the signal name, select which line you would like to drive (i.e. PFI0/ACK0) in the constant you created. For the signal source, select the internal signal that you want to route to signal name (i.e. stable 10 MHz).
There are several examples included with the DAQ driver that may prove useful. You can find them if you browse by Directory Structure in the NI Example Finder (Help » Find Examples…) to daq » digital » 653x.llb.
Please post back if you have any questions. Have a great day!
10-24-2007 09:39 AM
10-26-2007 02:21 AM
10-27-2007 02:31 AM