Populating Combo Box from Remote DAQFactory


Recommended Posts

Posted

I'm trying to populate a combo box component with the channel list from a remote DAQFactory aplication, my atempt doing so is this:

private string ChannList = Server.Channel.ListAll()
 for(private.i = 0 , i < numrows(ChannList), i++)
	  global Combo = Mid(ChannList[i],0,Find(ChannList,"_",0) - 1)
	  //adicionar na combo box!
	  Component.CbGrafico01.AddChoice(Combo,i)
   endfor

The name of the remote DAQFactory is Server.

However, I only get NAN on the combo box's content name... the channels ammount to 262 channels.

Archived

This topic is now archived and is closed to further replies.