08-07-2007 10:26 AM
08-20-2007 03:05 AM
Hi - first can you tell me with what programm you´re working ? Labview or CVI or C and in what version ?
Can you attach here your code with the error ? I´ve here links to examples with synchronize cards with tclk - perhaps you see here the problem.
The error looks like wrong handling (not sessions synchronize but device can be sychronize...)
Labview
http://zone.ni.com/devzone/cda/epd/p/id/5029
CVI
http://zone.ni.com/devzone/cda/epd/p/id/5064
waveforms
http://zone.ni.com/devzone/cda/epd/p/id/3269
Tutorials
http://zone.ni.com/devzone/cda/tut/p/id/5501
http://zone.ni.com/devzone/cda/tut/p/id/3675
Best Regards
AE Munich
08-23-2007 04:30 AM
Johann.Wagner wrote:
Hi - first can you tell me with what programm you´re working ? Labview or CVI or C and in what version ?
I use Labview 8.2.Can you attach here your code with the error ?
Sorry, at the moment I cannot. I'm working under high pressure, and meanwhile circumvented the problem by using the PF0 connector
to transport the trigger signal. This seems to work at the moment. I also did not keep the code that caused the error, but the message is
(as in my previous post said):
"Two sessions for one physical device are specified in the sessions array.
You can use NI-TClk to synchronize two sessions for one device, but not in the same sessions array."Error code is -250031 (Hmm, maybe there's a typo there and it was -25031...)
I will be out of office for some days, but when I'm back I'll try to provide you with a complete example...
I´ve here links to examples with synchronize cards with tclk - perhaps you see here the problem.
I will have a look at them!
The error looks like wrong handling (not sessions synchronize but device can be sychronize...)
But the error message says that I could ?!
Thank you for your help.
Best regards
Armin
08-23-2007 09:53 AM
External Clocking
If you are using external clocking on your HSDIO devices and wish to synchronize two channels on two boards, follow the basic programming flow as follows:
One caveat is that while this method can synchronize two channels on different devices, channel to channel delay on the same board must still be accounted for. Therefore, while you may be able to synchronize channel 0 of device 1 and channel 0 of device 2 to this resolution, this does not guarantee that channel 1’s of these devices will also be synchronized to this level.
Attached is some LabVIEW code that demonstrates this principle. Two HSDIO devices share a 100 MHz external clock, and generate the same HWS test pattern. The hardware setup is shown in an attached JPG file.
Internal Clocking
If you are using the internal clock on your HSDIO devices and wish to synchronize them, you can also use the Sample Clock Delay on the NI-TClk property node to align the sample clock of one device with the sample clock of another. This property allows you to align the sample clocks on synchronized devices. It is also worth noting that the sample clock delay is only adjustable for generation sessions only.
Data Position Delay Resolution
NI digital waveform generator/analyzers have three internal independent delay mechanisms, one for dynamic generation, one for dynamic acquisition, and one for the exported Sample clock. The delay mechanisms are capable of delaying the data and clock positions by up to one full Sample clock period, for Sample clock frequencies of 25 MHz and above. Refer to the specifications document for your device for valid frequencies and ranges for delays.
08-23-2007 09:56 AM