11-18-2008 01:49 PM - edited 11-18-2008 01:50 PM
I have an experiment where a controller probe needs to be switched on/off to take measurement every 30 seconds or so. It is right now a mechanical switch that needs to be flipped on/off. I'm pretty new to switches and I dont know if there exists one but I'm trying to look for a relay switch that can be programmed and controlled via LabView so that I can automate the process. The switch should be done in real time and needs to be able to control up to 3 separate switches. It doesnt has to be one made by NI, it could be from other companies too.
11-19-2008 11:32 AM
There are several possibilities:
11-19-2008 11:45 AM
I would like to add to Seth's first suggestion:
Be sure to check out the relay driver modules (NI PXI-2567 and NI SCXI-1167) in addition to the general purpose switch modules. If you already have external relays you simply need to drive, then the NI PXI-2567 or SCXI-1167 may just be the solution you're looking for!
Hope this helps!
Switch Product Support Engineer
NI - USA
11-26-2008 04:19 PM
Thank you for your suggestsions. I have found a suitable switch that is perfect for my application. The model number is USB-6525. It is programmable with labview, cheap, and I dont need to get a complete PXI setup.
Thanks again for all your helps.
12-13-2011 05:20 AM
I'm using a 2567 relay model to drive another relay which gets activated when 24v supply is given to it i'm connecting the two wires of the coil
to ch8 and com8 respectively i'm using the below program to connect and disconnect the relay but the relay is not continuosly on wen i run the progam
it is flickering betweeen on and off continuosly when the case is true but i need the relay not flicker and to be in on state till i make the case false and disconnect it pls help me
12-13-2011 10:25 AM
I think the issue that you are having is caused by the fact that the Boolean "Ahead" can only either be true or false. When you click the "Ahead" button, your code goes true for a split second and makes the connections as expected. However after the program loops around, the Boolean "Ahead" is in the false state and it immediately disconnects your connections. This will cause the flickering that you are seeing. In addition, your code has a "disconnect all" function after every iteration, further preventing anything from turning on successfully.
I have made a small example using a state machine to control the connections. It is fully documented so it should explain how it is works within the code. Let me know if you have any questions!
1.) Select your switch device and topology.
2.) Click Run.
3.) Select the switch channels that you want to modify.
4.) Choose the action you want to perform from the drop down list. (Connect, Disconnect or Wait).
5.) Click "Enable Action" button (OK Button). This will perform the action and go to the "Wait" state.
6.) Continue to use by selecting actions and enabling them.
12-15-2011 01:43 AM
There is another problem i'm facing today, i'm operating 3 relays using ch8 ch9 and ch10 using the same program you had sent
it was operating fine in the morning and after some time it stopped working suddenly i've not made any changes in the circuit or program
i dono why it is not working pls help
12-16-2011 04:24 PM
Could you explain how it stopped working? Were you still using it to actively change the switches or did you set it to a configuration an leave it alone for a while? Can you verify that your power source is not being interrupted? The answers to these questions will help give us an idea of what is happening.