12-21-2005 01:27 AM
12-21-2005 03:29 PM
Thank you for contacting National Instruments. I believe that Select_Signal is the command that you are looking for. You will want it to look something like this:
Select_Signal(devicenumber,ND_OUT_UPDATE_CLOCK_TIMEBASE,ND_PFI_0,ND_LOW_TO_HIGH OR ND_HIGH_TO_LOW)
where devicenumber is the actual device number and the ND_LOW_TO_HIGH OR ND_HIGH_TO_LOW parameter will be one or the other. You can read more about this by looking at the Select_Signal in the Traditional NI-DAQ help. The Signal Name Equivalenices Table tells you that the UISource is called by the name ND_OUT_UPDATE_CLOCK_TIMEBASE. Then, you can read into the parameters for this by clicking on the link that says:
"Parameter Discussion for E Series, I Series, 671X, 673X, NI 5411, and DSA Devices"
Then, click on the ND_OUT_UPDATE_CLOCK_TIMEBASE link in the table. This will give you the possible parameter values for the source and sourcespec parameters.
Hope this is helpful!
Jeff P.
National Instruments Applications Engineer
12-21-2005 04:41 PM
12-21-2005 05:24 PM
No, you're right, ND_PFI_7 is right. I was copying code from the help file to save myself from Carpel Tunnel ! That is the only call I could find that references the external clock. The help files say that this is the call that you are using. You might want to consider using the internal clock as default just to verify that the rest of your code is accurate, and then go back and try to configure this external timebase.
Happy Holidays! -Jeff P.
12-21-2005 11:31 PM
12-22-2005 09:11 AM
It is called Traditional NI-DAQ Function Reference Help. I normally access it through the start menu of Windows
Start --> Programs --> National Instruments --> NI DAQ --> Traditional NI-DAQ Function Reference Help
OR
You can just browse to it. It is a little different depending what versoin of DAQ you have, but it will be something like the following:
C:\Program Files\National Instruments\NI-DAQ\Docs\nidaqpc
-Jeff P