LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I communicate with an NI-6503 device, with simple switches & LEDs

I am a new user trying to figure out how to communicate with a NI-6503. I've used the NI-DAQ test panel and all the lights and switches work. I'm trying to control/read from the NI-6503 PCI based hardware to go with the program I've made. I haven't been able to figure out if I should use the DAQ assistant, and if I do how do I set up the software to control/read each pin with simple boolean values.
0 Kudos
Message 1 of 3
(2,734 Views)
With the 6503 you can use DAQmx and the assistant. I would suggest first of all Going into MAX and setting up your channels in there. See Manual or help. Or you can use the assistant to do this for you. Drop the assistant onto the block diagram and let it come up then select digital I/O. from there you can select port input/output or line input/output. You just need to figure if you want the whole port to become an input or output or if you need to do it individually by line. there are a bunch of examples for this in the help under digital I/O it is not really that hard to do. If you still have trouble after looking at the examples let us know and maybe post your code so that we can see if there is anything else going on.


Joe



Joe.
"NOTHING IS EVER EASY"
Message 2 of 3
(2,734 Views)
I've tried setting up the channels in MAX but it won't let me access the properties (its greyed/not functional). So I can't create any new channels, also in MAX it lists the device as an "PXI system (Unidentified)" under the PXI devices option. It also lists the device (NI-6503, which is the correct device) under the PXI Bus 1 (not PXI Bus 0). Also in the I/O Asst it will only let me write commands for either the "Read and Parse", "Write" or "Query and Parse" Steps after the first step "Select Device".
0 Kudos
Message 3 of 3
(2,734 Views)