Jaime F
2008-02-20 20:10:07 UTC
Hi
From your post I can infer that you are trying to do a digital output so for example if you are using Port 6 as an output port, you must connect P6.VCC to the positive lead of an external power supply (5-30V DC) and P6.GND to the negative lead of the power supply. The output will then switch between 0V and the supplied voltage.
After looking at the manual I can see you have the correct connections. Yes, there is the possibility that the pin is damage, so let's go through some troubleshooting. Some questions I have for you are: what happens if you change the positive lead from pin 5 to 14, 28 or 27, do you get the same behavior?, How are you measuring the voltage, DMM, SCOPE? What do you read in other lines from port 0 when they are set to high? Can switch the lines from any other port to the correct Vcc but port 0?
Also I would like you to read this knowledge base and check if this is the behavior you are seeing, <a href="http://digital.ni.com/public.nsf/allkb/8D46388A20C5A23E862572B8007E8C82" target="_blank"> Expected Voltage Drop on the Digital Output Lines of NI-651x Devices</a> .
Waiting for your reply
From your post I can infer that you are trying to do a digital output so for example if you are using Port 6 as an output port, you must connect P6.VCC to the positive lead of an external power supply (5-30V DC) and P6.GND to the negative lead of the power supply. The output will then switch between 0V and the supplied voltage.
After looking at the manual I can see you have the correct connections. Yes, there is the possibility that the pin is damage, so let's go through some troubleshooting. Some questions I have for you are: what happens if you change the positive lead from pin 5 to 14, 28 or 27, do you get the same behavior?, How are you measuring the voltage, DMM, SCOPE? What do you read in other lines from port 0 when they are set to high? Can switch the lines from any other port to the correct Vcc but port 0?
Also I would like you to read this knowledge base and check if this is the behavior you are seeing, <a href="http://digital.ni.com/public.nsf/allkb/8D46388A20C5A23E862572B8007E8C82" target="_blank"> Expected Voltage Drop on the Digital Output Lines of NI-651x Devices</a> .
Waiting for your reply