04-17-2008 09:26 AM
04-21-2008 08:21 AM
Which example do you use exactly? If this example uses the "waveform mode" then it will not work with your hardware. You would need a 4070 for example to use the waveform-mode.
Could you post the example, or the source-code of the exampel you use?
André
04-22-2008 02:47 AM
04-22-2008 08:08 AM
To use a software-trigger you have to changes some things:
1. If CheckError(niDMM_ConfigureTrigger(VI, NIDMM_VAL_IMMEDIATE, 0)) change to If CheckError(niDMM_ConfigureTrigger(VI, NIDMM_VAL_SOFTWARE_TRIG, 0))
2. The line Call niDMM_SendSoftwareTrigger(VI) must be moved below the line If CheckError(niDMM_Initiate(VI))
If all this does not help, you will have to do a little bit more debugging. What happens after the initiaalisation? Does the fetch - function returns invalid or no data, or does it return 0?