08-22-2007 02:37 AM - edited 08-22-2007 02:37 AM
Message Edited by ATMA on 08-22-2007 02:38 AM
08-22-2007 03:26 AM
08-22-2007 05:11 PM
Hi ATMA,
The PCI-6520 relays are controlled by NI-DAQmx as if they
were static digital outputs. This means that any example for software-timed
digital output will be effective in controlling your device. Any single-point
digital write functions will work with the 6520 (as long as the functions do
not address more than 8-bit port widths). Digital example programs can be found in the example finder (Help >> Find Examples... >> Hardware Input and Output >> DAQmx >> Digitla Generation or Digital Measurements).
08-22-2007 07:22 PM
08-23-2007 08:34 AM - edited 08-23-2007 08:34 AM
Hi ATMA,
The 6520 actually has 16 lines total – 8 channel-to-channel optically isolated inputs and 8 nonlatching mechanical relay outputs. What I mean by previously stating ‘do not address more than 8-bit port widths’ is that some cards can perform writes to 8, 16, or 32 bits at a time. The 6520 only has 8 Inputs and 8 outputs, therefore should never try to use more than 8 lines in a task configuration. The picture below demonstrates using 8 lines in a task.
This was taken from the shipping example ‘Write Dig chan.vi’. You only need to declare the lines you will be using. This program also shows how you can assign a different value to each line.
I have put a picture below to answer your questions about connections. This was taken from the NI 6520/6521 User Guide, p14.
Message Edited by David L. on 08-23-2007 08:35 AM
08-23-2007 07:11 PM
08-24-2007 04:32 AM
08-24-2007 09:48 AM
ATMA,
Yes, that is correct. Also, in order to control the outputs, you can use the example I mentioned in my previous post. Run the VI and change the switches on the front panel to control the 6520 output lines. Lines 0,1,2 will switch between NC & NO depending on the digital output, and lines 3,4,5,6,7 will switch between open and closed. Please see page 8 of the user manual for diagrams and more information.
02-26-2009 01:03 PM
Hello,
I am trying to use the relays in PCI 6521 and CB 37F LP to control measurement of 6 devices sequentially. I see that in the DAQ assistance properties, there are digital output in that we have line and port, while clicking port, i see port1 and port1-8 what does these two means.
I have 6 devices to do the same IV characteristic using keithley 6430 source measure unit. I plan to use relay to select each device one at a time. Can somebody advice me how to programme the PCI 6521 for this purpose please. I deeply appreciate your help and Thanking you in advance
Manoj
03-16-2016 06:17 AM
Hi Guys
I'm using card PCI6520 with the NI Vision Builder and it's communucating with automate , my question is can i use the same Line of the card ,used in the first programe, with another programe without disturbing the performance of the first programe ?