Some courses and learning paths on NI Learning Center may not appear on learner dashboards. Our team is actively investigating.

If you encounter access issues, please contact services@ni.com and include the learner’s name, email, service ID or EA number, and the list of required courses.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

basic input question

Hi,
I'm having trouble reading in basic voltage inpus. The error 50103 keeps coming up and I can't find a way to amend it. Any Suggestions would be greatly appreciated.
simple.vi (414 kb)

http://forums.ni.com/attachments/ni/250/10264/1/simple.vi
0 Kudos
Message 1 of 5
(3,079 Views)
error -50103 means that the "specified resource is reserved. The operation could not be completed as specified." Having looked at your VI you are using two DAQ ExpressBlocks. Unfortunately the configuration does not copy through. Could you also up-load a copy of configData.nce, this can be created from within MAX by using the export function found in the file menu.

Have you tried just using one DAQ expressVI and then writing to a data log file to verify that everything is working?

Kind regards

Joe W
(NI)
0 Kudos
Message 2 of 5
(3,069 Views)
Emer,

By using two DAQ assistants in this way you are reserving the resources the the AI channels on your card. What you need to do is specify both channels in the same DAQ assistant. I have re-written your application to do this.

Kind Regards

Tristan
Applications Engineer
National Instruments UK & Ireland
0 Kudos
Message 3 of 5
(3,068 Views)
HI,
thank you both. Finally got my system readng in data correctly!! (yeah). I also logged the data and checked that it is working. I was having problems with both inputs and outputs of my overall program. However when I tried to combine the outputs in a similar way it wouldn't let me do it. A ideas again (please!!!)
0 Kudos
Message 4 of 5
(3,063 Views)
Emer,

It looks like both of the AO DAQ assistants are using the same channel, this is not allowed - you must use different Channels and combine them into one DAQ assistant.

Also you should try to keep your code within one screen size and ensure that your data flows from left to right.

Hope This Helps

Tristan
0 Kudos
Message 5 of 5
(3,052 Views)