08-30-2017 11:48 AM
if I wanna send TFTF or TT to my daq should I create this digital wave and then feed it to my daq? Is there a way to control how many true or false is being send to daq? Should I create a pattern?
Solved! Go to Solution.
08-30-2017 12:14 PM
I'm using c series relay module.
http://digital.ni.com/public.nsf/allkb/515BD99CD2AF31EA8625724C0061F342
Here are my questions:
1- as it states c series relay modules are controlled with Boolean signals . So if I wanna send 3 True , should I create a loop with a Boolean signal and run it for 6 times ( TFTFTF)?
2- is it possible to leave the switch closed for a certain amount of time ? So let's say for 300 ms leave the switch closed ( send T signal continuously for 300 ms)?
08-30-2017 01:26 PM
It depends on your DIO. Most use software timing, so a waveform will not work. You will have to use a FOR loop to set your digital line and wait to get the signal you want. But if you do have a hardware timed DIO, then use the digital waveform.
08-30-2017 04:42 PM
Looks like this post is related to this one.
08-31-2017 01:37 AM - edited 08-31-2017 01:38 AM
Hi canucks,
please don't create multiple threads for the same questions. I merged your second question into this thread…
1- as it states c series relay modules are controlled with Boolean signals . So if I wanna send 3 True , should I create a loop with a Boolean signal and run it for 6 times ( TFTFTF)?
When you want to send 3 times a TRUE signal you don't need to send FALSE in between. The relay will stay closed all the time. When the relay should open and close you need to send FALSE and TRUE, respectively - but that isn't clear from your question…
2- is it possible to leave the switch closed for a certain amount of time ? So let's say for 300 ms leave the switch closed ( send T signal continuously for 300 ms)?
Yes, that's possible. And even better: you don't need to send TRUE multiple times within the 300ms period!
Simplest scheme: write TRUE, wait 300ms, write FALSE.