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.
There are several possibilities:
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
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.
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
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.
Thanks Frank the program is working fine for my application,ill ve to connect many relays to my 2567 in future, ill let u know if any assistence is required
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
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.