From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
04-08-2009 10:35 AM
Hi,
Following advice from several other posts, I'm trying to select multiple physical channels from the dropdown list so that I can then use the "unflatten channel string" function later on. It looks like if I hold down either shift or cntrl I should be able to select multiple channels from the list, however, this doesn't work for me. I tried going into the "key navigations" property for the task channel control but it doesn't have any associations listed. Has anyone else come across this and found a fix? I have previously got around this by stating multiple channels with a colon (eg. ai1:3) but this doesn't work for the unflatten function.
Thanks,
Claire.
Solved! Go to Solution.
04-08-2009 11:16 AM
Ctrl or Shift will work but you have to first select 'Browse' and use that list.
You will get a colon separating consecutive channels and this should work just fine with the Unflatten Channel Strings. If it doesn't for you, post an exampe that demonstrates the problem.
04-08-2009 11:47 AM
Thanks for your reply Dennis, I see what you mean, unfortunately that doesn't solve my problem so I'm missing something else. I've attached my VIs. I expected that the output from the unflattenstring block would be an array of either the channel references or the names I had given them, and that therefore the "array size" in the 4th pane would be "9" (equal to the number of channels). Instead the output is a an "unnamed task#(some number)" when I look at it with a probe. Perhaps I'm misunderstanding how the task naming works?
THanks,
Claire.
04-08-2009 12:13 PM - edited 04-08-2009 12:13 PM
If I understand correctly, I think what you need to do is use a DAQmx Task property. Try using the Channels property to get an array of channels.
04-08-2009 01:07 PM
thanks Dennis, that worked nicely, although not what I expected to have to do. I'm going to post to new thread a different problem concerning the same (but slightly different) VI for some help with initialising arrays of waveform and building arrays.
Claire.