Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

What type of connections do I have to make to the pins of PCI 619 DAQ card? Do I have to give the ground and the Vcc on the pins of the connector myself? What should be the value of the Vcc that I need to give tot he pin?

Solved!
Go to solution

Hm. Unfortunately I'm not sure why you're not seeing the 24V on the output, or why the output fluctuates.

 

I don't have a 6519 handy, and maybe I'm too much of a software guy, but reading through the documentation it seems that with 24V on pin 19, GND on one or all of 10/28/29, and your output to one of the DO lines (one of the ones off of port2 or port3, to one of pins 11-18 or 30-37), when you toggle the line in a task or in the MAX Test Panels you should see 24V on the output.

 

You shouldn't need to select any physical addresses. What are you seeing that would suggest that?

——
Brandon Streiff
ni.com/compactdaq · ni.com/daq
0 Kudos
Message 11 of 24
(1,444 Views)

How do i toggle the line in a task? Can you please send me a sample code that i could run in C++ to toggle the output?

 

And when i run the sample code in C++, do i need to do something in MAX as well or should i simply run the code from the C++ compiler?

0 Kudos
Message 12 of 24
(1,437 Views)

And yes i have connected ground to all the pins, and the outputs seem to be stable. But when i set one of the lines, the voltage level shown is not 24VCC. It is different for each line. Some show as 3.2V, some as 9.1 V and some have 4.0V.

Can you please help me with this. Has it to do something with the software?

0 Kudos
Message 13 of 24
(1,435 Views)

Hi Shafin,

 

What sort of programming environment are you developing your code in?  Is it LabWindows/CVI?  Or are you using Measurement Studio?  I would recommend looking through the examples provided with the install of DAQmx.  To access those files, go to:
Start Menu >> All Programs >> National Instruments >> NI-DAQ >> Text-Based Code Support

 

From there, you can view .NET examples or ANSI C.

 

 

Regards, 

Che T.
Applications Engineer
National Instruments
0 Kudos
Message 14 of 24
(1,425 Views)

Actually sir i am not using any programming enviornment. I am currently making a task in NI DAQ Measurement & Automation software. And i am trying to set the outputs high by using that task. But i am not getting the results i want. I have supplied 24 VCC on pin 19 and ground on pins 10,28,29. And i am setting port 2 high, but i do not get 24 VCC on the lines. Is this the correct way or i should be doing it some other way?

 

I have also tried the sample code present in the ANSI C examples. It is th one which generates the digital outputs. I simply load the C++ file and run it. But still don't get the desired result. Is this also not the right way?

 

How can i just simple get 24VCC on one line of the port or as many lines as i want by using MAX or C++? I want to keep all of this simple.

 

PLEASE HELP ME. THIS IS A PART OF MY FINAL YEAR PROJECT.

0 Kudos
Message 15 of 24
(1,419 Views)

Hi Shafin,

 

What is your load and how are you connecting it?  The 6519 has sinking outputs, so your load should be between VCC and the output lines as shown in the user manual:

 

 

2011-05-04_170340.png

 

When the line is driven low, the 6519 sinks current and VCC should be dropped across the load.

 

Connecting the load between the output line and GND would be one possible explaination of the behavior you are seeing.

 

 

 

Best Regards,

John Passiak
Message 16 of 24
(1,413 Views)

Hi,

 

The output is certainly showing up now with reference to the VCC when measured through a  voltmeter. My load is a single wire input to a robot card. The card takes 24V as input. And the input is taken with reference to the ground of the card. So i am finding it difficult to make the conncetions as shown by the CONNCETIONS diagram you provided. How should i connect a single wire between the VCC and the pin? Where as my robot card takes the input with reference to the ground.

 

0 Kudos
Message 17 of 24
(1,394 Views)

So when i connect the single input of the robot to one of the pins, the robot does not read it because it takes the reference with respect to ground. SO what connections should i make?

0 Kudos
Message 18 of 24
(1,393 Views)

Hi Shafin,

 

If you're trying to program the power-up through MAX, then please reread the posts that bstreiff has posted.  In regards to connecting the circuit, the diagram that John referenced you is helpful.  

 

I will describe how the setup will be.  DO NOT CONNECT THIS YET UNTIL I RECEIVE MORE INFORMATION FROM YOU, otherwise you may damage your hardware.  You will be connecting the 24 volt signal from VCC to the input of your card.  Then, choose 1 line from Port 2 or 3, lines 0 through 7 for the ground

 

I do need more information about your robot card.  Do you have a manual that goes with it?  My concern with connecting it is a possible ground loop.  So, please provide information on how your robot card is powered, and details on the pinout.  Please see the following article regarding grounds.

https://www.ni.com/en/shop/data-acquisition/measurement-fundamentals/analog-fundamentals/grounding-c...

 

Regards,

 

Che T.
Applications Engineer
National Instruments
0 Kudos
Message 19 of 24
(1,371 Views)

Hi,

 

I want to simply set a line to 24V one at at time. And i asked if that is possible by using the test panels in MAX or by creating a task in MAX?

 

Yes i want some help with the connections. My robot card is a DSQC 327 I/O card manufactured by ABB. It has 16 inputs and 16 outputs. It takes 24V and 0V on two of it's pins ( 9 and 10 ) on the OUTPUT channel. And it takes OV on it's pin 9 on the INPUT channel. The rest of the pins are used for input and output.

 

So you mean to say that i should connect one end of a wire to the 24VCC of the connector block and connect the other end of the wire to the input of my card?

But what do you mean by connecting a ground to the output pins of the connector block? Where should the ground come from?

 

I guess that you might be right with the ground thing. How about i connect the output from one of the line from port ( 2or 3) to the robot card on the pin where i connect the ground (pin 9). I hope you get what i am trying to say. So that way, when i turn the line low, it acts as a ground and the input is automatically set high.

 

Please find a way i can make the setup work.

0 Kudos
Message 20 of 24
(1,366 Views)