LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Traditonal NiDaq on 6033

Hello Everyone,
I noticed that with NiDAQmx you can configure an individual lines separetly. I have a 6033e card andmost of the other programs I am working on use the tradional NiDAQ, is it possible to configure a single line in the tradional NiDAQ? I am running into conflicts with the tradional NiDAQ initializing the whole port and therefore causing NiDAQMX program not to run..
Any help would be appreciated.
0 Kudos
Message 1 of 2
(2,565 Views)
Hello GHernandez. 
 
Thank you for posting to our discussion forums. 
 
You can configure a single line in Traditional DAQ.  This can be done with the 'Read from Digital Line' VI and the 'Write to Digital Line' VI.  There are great examples in the NI Example Finder that show how to do this.  These examples are 'Write 1 Pt to Dig Line (E).vi' and 'Read 1 Pt from Dig Line (E).vi'. 
 
From your post, it sounds like you are trying to access the same card via Traditional DAQ and DAQmx at the same time.  This is not recommended and should generate an error reporting that the device is already in use by another task.  To avoid this error, I would recommend converting your Traditional DAQ code to DAQmx code.  This will avoid the conflicts that you are seeing currently.  Also, DAQmx is more powerful and user friendly, so it should reduce the development time of future projects.  For some information on how to convert code from Traditional DAQ to DAQmx, please refer to the following knowledge base article:
 
Transition from Traditional NI-DAQ to NI-DAQmx
 
Good luck with your application and let us know if there is anything else we can do for you!
 
Have a great day!
 
Brian F
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,549 Views)