10-31-2014 06:13 AM
Hello,
I would like to simulate the behaviour of a PXI and it's the first timle I'm working with DAQmx. Following some examples that I found in the forum, I could start by creating a virtual channel and using DAQmx functions, but not in the right way appearently because I'm having this error 200460 which says thar "read failed because there's no channels in the task from which data can be read". Nevertheless, I created a channel.
Maybe, I did it wrongly, so can you help me know how to simulate a PXI correctly, starting by creating virtual channels?
Thank you in advance.
10-31-2014 06:18 AM
In MAX (Measurement & Automation eXplorer), you will want to create a simulated device. Then you can create your tasks and channels from that simulated device.
10-31-2014 06:22 AM
I've already done that.
sorry but this doesn't answer my question. thank u any way
10-31-2014 06:35 AM
i'm asking how can I possibly repair this error 200460? What are the exact steps to configure a virtual channels and tasks? I know that this starts in MAX, but I think either I made an error when doing it or I missed a step.
The goal of all this is to simulate a PXI.
Hope you understood me, don't you?
Thank you for your help.
10-31-2014 07:26 AM
11-03-2014 04:58 AM
Hello,
the Channels you are talking abou are created in the VI itself. Have you tried to use the example-VIs, wich are includet in LabVIEW?
Go for: Help->Find Examples in any LV-Window, enter DAQmx and search. Try to communicate to your simulated Device by using the DAQmx Examples (Analog Input/Analog Output, Digital Input/Output ...). If that works, you can compare your VI with the examples to see which differences might occure.
If that doesn't hel, please please attach your VI to the next Post.
Kind regards,
Jan Göbel
Applications Engineer