I'm loading waveforms from C++ and noticed that I sometimes get an error saying that even handles can only be used on channel 1 and odd on channel 2. How do I determine what handle is returned by AGN6030A_CreateArbWaveform? I only want to use channel 1, but the example code says I have to load up both.
Hi steevc001,
I haven't used the N8241A for a while but I remember having to load both channel 1 and channel 2 even when only using a single channel. When downloading waveforms to the Arb, it automatically switches between channel 1 and channel 2. The even/oddness of the handle you get back indicates the last channel that was loaded. I designed my driver to always load channel 1 and channel 2 so that I knew that channel 1 was the next channel to load and the handle would be even.
Hope this helps
Pete