Discussion:
error 10401 DIO port config PCI-DIO-32HS
(too old to reply)
Ian Colman
2007-10-15 10:10:08 UTC
Permalink
Hi Steve,


It is possible that LabVIEW is being run
before MAX has assigned a hardware handle for your device. Have a look the
following knowledge base article on our website which should hopefully be of
help to you:


<a href="http://digital.ni.com/public.nsf/websearch/46F78EDD19BA0CC386256CEE007201FC?OpenDocument" target="_blank">http://digital.ni.com/public.nsf/websearch/46F78EDD19BA0CC386256CEE007201FC?OpenDocument</a>


Please let me know how you get on with this
and if this doesn?t help, then could I ask which version of LabVIEW you are using
in your new system?


Regards,


Ian Colman
Applications Engineer
National Instruments
Steve S
2007-10-16 07:10:07 UTC
Permalink
Thanks Ian,
The app was running at start up so I disabled this and ran it after xp had fully booted. I still have the same failure!
The version I have is 8.2.
Steve
Ian Colman
2007-10-16 15:10:18 UTC
Permalink
Hi Steve,


If you saved your existing code with
options, and chose to save it as a development distribution so that you could
bring over the library files to your new system, this is probably the cause of your
error code. If possible, what I?d like you to is return to your old system, then
resave just the VI itself, and if you have any of your personal VI's that are
stored in a .llb file save them as well. Then load the VI and any personal .llb's on the new
system and see if you have any problems.


Let me know if you are able to do this and
if so, how you get on.


Ian C.Message Edited by Ian Colman on 10-16-2007 09:59 AM
Ian Colman
2007-10-22 11:40:07 UTC
Permalink
Hi Steve,


You should be okay but after looking into
this in detail I?m going to need a little bit more information I?m afraid (apologies
for not being able to providing a quick answer to your problem). Are you
working from a .VI file or is it an executable application that doesn?t run properly
on your machine? Can I also ask if you have any non-.vi files for the
application you are dealing with? I?m specifically thinking of any library
files that may be conflicting with the libraries already on your computer.


Many Thanks,


Ian C.
Steve S
2007-10-26 13:10:08 UTC
Permalink
Ian,
I have noticed that after the main VI errors, if the vi is continued, then put back into operation mode, the application seems to run ok. Although, I don't have anything to send the card to test it fully.
I have attached a screenshot of the MAX screen showing the card. The main vi uses several other vi's and as such am unable to attach them here. I have taken a screenshot of the area that is error (or i believe so). The vi that errors is the dig line. Which contains the&nbsp;DIO port config.vi.
I hope this helps. Let me know if I need to send more information.


Main Vi.JPG:
http://forums.ni.com/attachments/ni/70/7665/1/Main Vi.JPG


MAX Screenshot.JPG:
http://forums.ni.com/attachments/ni/70/7665/2/MAX Screenshot.JPG
Ian Colman
2007-10-29 10:10:09 UTC
Permalink
Hi Steve,


That?s a great help thanks. When using
T-DAQ you assign a number to the device in max and then this number is used in
your LabVIEW code to identify which device to access. It is likely that your
device is configured as Device 1 in MAX; but in the ?Write to Digital Line? VI
in your code, the device input is wired as Device 15. You can either change this
to device 1 in your code, or a better option would be to configure your DAQ
card to device 15 in MAX. To do this, right click on the device in the
Traditional DAQ category of MAX, go to properties, and then change the device
number to 15.


Hope this solves your problem,


Ian
Steve S
2007-10-30 16:40:18 UTC
Permalink
Ian,
&nbsp;
Thats done the trick. Thanks. I can't believe I didn't spot that...tut!
&nbsp;
Thanks so much for your help.
&nbsp;
Steve

Loading...