07-23-2013 05:56 AM
Hi,
here is a very basic example:
to initiate the board, you need to send the command 4200
and then 4301 for the switch 1, 4302 for the switch 2, 4304 for the switch 3 and 4308 for the switch 4 (4303, 4305, 4306, 4307 will switch two or three of them simultaneously).
cmd 4300 will switch off all them.
I hope this helps.
07-23-2013 06:23 AM
Great!
Thank you very much!
I didn't know about this VISA thing.
07-24-2013 02:26 AM
Hi again,
If you have more complex examples, it will be very nice.
Thank you again.
07-24-2013 05:46 AM
Hi,
I am afraid I actually have a very simple use of the board:
I just need the switch 1 to switch on and off in order to send the command "withdraw" to a stepper motor controller
and the switch 2 on and off in order to send the command "inject".
Attached is an example of what I use for automation: I would then use local variables of the "CMD Pump" in my Sequence Structure (put as an example here) to send various commands to the switch board.
What are you trying to do exactly?
01-26-2014 11:26 PM
Hello Seth,
I am doing same kind of thing. I want to operate 4 SPDT relay (5V DC) using NI DAQ device and through LabView, It should be automated. Kindly suggest any simpler DAQ device for my application. And what are important parameters remember to select a proper DAQ device.
Thanks & Regards,
SKUP
01-27-2014 10:29 AM
If you'd rather not use NI's existing switch products, you can create your own:
1. Use anything with four digital outputs. NI's USB-6008 is USB-powered and has four digital outputs.
2. Since DO Ioutmax is typically less than the relay's required coil current, you'll need to add a series transistor between the DO and each relay to drive the relay coils from some external +5V souce.
Happy clicking!
01-28-2014 02:18 AM
Thanks for ur suggestion.
Is it possible this without using amplifier stage or any other DAQ device which can provide sufficient relay coil current so that relay will be switched from one position to other position?
-------------
Regards,
SKUP
01-28-2014 05:08 PM
That will depend on the drive current of the relay you use. One other caveat when using digital lines is that you'll need to assume Vout(min) is the output voltage and verify the relay coil will still work at that lower voltage. If you're looking for the USB form factor, I'd recommend the USB-6525, which has eight built in 500mA solid state relays you can use to drive bigger external relays.
01-28-2014 05:09 PM
One more caveat if you're new to switching relays: Make sure you add a flyback diode reverse biased in parallel with each relay coil... otherwise, when you attempt to turn the relay off, you'll see a VERY large (hundreds of volts) flyback voltage, which will damage whatever you're using to drive the coil.