11-22-2022 10:52 AM
Hello,
I know this is an old discussion but I am quite desperate for a solution. I am using a PXIe-5433 function generator and when trying to run the vi posted as a solution, it throws me an error when trying to create a waveform for one of the channels only:
Error -1074135025 occurred at niFgen Create Waveform (DBL).vi
This function applied to all configured channels. Please use the configured channels string or empty string as the Channel Name input string.
Basically, it only works when I call this function with the two channels using "0,1" as an input.
I found a workaround solution by interleaving the data for channels 0 and 1, and inputting the interleaved array to this function (cf. modified vi attached). However, this is less than optimal because I cannot use arrays of different lengths for the two channels.
I'd like to know if anyone knows about a better solution. I bought this card with two channels thinking the two channels were truly independent, as claimed, but in practice, this is far from being the case. Ideally, I'd like to use an arbitrary sequence on one channel and a frequency list on the other channel. Any tips on this would be greatly appreciated.
Thanks,
Jacques
11-22-2022 12:27 PM
Hello,
I know this is an old discussion but I am quite desperate for a solution. I am using a PXIe-5543 function generator and when trying to run the vi posted as a solution, it throws me an error when trying to create a waveform on one of the channels only:
"Error -1074135025 occurred at niFgen Create Waveform (DBL).vi
This function applied to all configured channels. Please use the configured channels string or empty string as the Channel name input string."
Basically, it only works when I call this function with the two channels using "0,1" as an input string.
I found a workaround solution by interleaving the data for channel 0 and 1, and inputting the interleaved array to this function (see modified vi attached). However, this is less than optimal because I cannot use arrays of different lengths for the two channels.
I'd like to know if anyone knows of a better solution. I bought this card with two channels thinking the two channels were truly independent, as claimed, but in practice, this is far from being the case (to my knowledge at least). Ideally, I'd like to use an arbitrary sequence on one channel and a frequency list on the other one but it doesn’t seem possible. Any tips on all of this would be greatly appreciated.
Thank you,
Jacques