Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

digital I/O configuration

I have question in my labview program( I attach the program). This program is used for control an instrument switch which just change between zero point and meansurement point. I use PCI-6527 card. this card is OK after testing by the MAX.

when I execute my program, the program show the following mistakes, I can not find the reason
Do my program have any problem?

thanks


Error-10100 ocurred at DIO port config
Possible reasons:
NI-DAQ LV: The requested digital port width is not a multiple of the hardware port width or is not attainable by the DAQ hardware
0 Kudos
Message 1 of 2
(3,165 Views)
Ah, I found the reason you are getting the error. In frame 1 of your sequence statement the Write to Digital Port VI has the Device variable number connected to port width instead of the device number.
It is very subtle, but if you put the wiring tool over the device number you will notice that a wire lead appears meaning that nothing is connected. When you do the same to the port width nothing shows up meaning that the "device" wire is actually connected to port width and not the device number.

Simply disconnect the "device" wire in frame 1 from the port width input and connect it to the device number. Frame 0 looks good.
Message 2 of 2
(3,165 Views)