Sign in to follow this  
Andreschrosa

Populating Combo Box from Remote DAQFactory

Recommended Posts

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this