03-12-2011 10:44 AM
Hello. I need to connect to different systems with multiple ENet-9213 / 9211 present. I can create a task and communicate with one enet 9213. For a second 9213 I have to create another task, that is identical. All i need is to read the voltage on all channels. The objective is to connect to different systems containing one or more of the enet 9213 or 9211. Is there a way to do this? Your help is much appreciated!
03-13-2011 03:49 AM
Hi,
What you could do is put the following in a for loop and. Allways use the same task, and wire a new address and name for each channel.
03-14-2011 02:07 PM
I tried this with the enet-9213 and virtual inst. .I get error on adding to many channels. I created a task with no channels, got the same error. bummer... this is my first DAQmx device to program... there has to be a way to read voltages from multiple devices...
thanks
03-14-2011 02:14 PM - edited 03-14-2011 02:14 PM
mmm, I'm doing exatly the same With a PXI and 128 channels and it works perfect.
Configuration :
03-14-2011 02:46 PM
Thank you for reply. I must be missing something..I only get error out of too many channels if i connect the task in. (the task in with 16ch or no channels)
03-14-2011 02:48 PM
Hi,
Can you post your VI so we can have a look at it?
03-14-2011 02:59 PM
attached, thanks
my objective is to read voltages from multiple devices on different systems.
Thank you rh
03-15-2011 06:16 PM
hey gone4fishn,
can you attach a screenshot of the error you receive? you look like you are calling the same device twice, which would result in a resources error. you need to call both devices, which you can do by selecting them both in the physical channels drop down menu.
cheers,
kgarrett
03-15-2011 06:31 PM
Hello, thank for the reply,
I attached the front panel and circuit.
I removed all channels from the 'myvoltagetask_16'. Still get the same error.
What am i missing?
Do I have to create a task for each enet-9213? My objective is to connect to multiple 9213's on different systems.
? How do I know what is connected and assign a Task to it?
Thanks
Ralph Hodgin
LLNL
925-423-8135
03-16-2011 02:51 AM
Hi,
Are you sure you cleaned up the task before adding the other channels? It look to me that you're adding 16 channels, while the start VI says you're having 33 channels. Where do the other 17 come from? Try to add a VI clear task before you add other channels.