取消
显示结果 
搜索替代 
您的意思是: 

Are there multistable elements in LabView?

 
0 项奖励
1 条消息(共 9 条)
4,169 次查看
Tell us more about this. What is a Multistable element? Is it a “boolean with more states”. What do you want to use it for? If you can pique the interest of someone in the community a helpful reply is more probable!
Yours Sincerely
John
0 项奖励
2 条消息(共 9 条)
4,155 次查看
I mean a conventional trigger flipflop which is triggered by a boolean and gives boolean output states.
0 项奖励
3 条消息(共 9 条)
4,130 次查看
No such primitive exists in LabVIEW, but you can easily generate this function with an uninitialized shift register and an inverter. You can add a case structure and controls for set, reset, or even J-K or D-type functions if you wish. Make a small subVI from this and you can use it as a building block for your logic.

Lynn
0 项奖励
4 条消息(共 9 条)
4,110 次查看
Here is a D flip-flop VI that I created. You can test it by writing a vi that sends an array of data and clock inside a loop. I have also created a JK and an RS flip-flop. So far I don't really see any use for this, but if anybody has any use, I would be glad to send the flip-flop VIs.
- tbob

Inventor of the WORM Global
0 项奖励
5 条消息(共 9 条)
4,106 次查看
Here is a vi that uses the D flip-flop vi to produce a frequency divider. The output is half the frequency of the input.
- tbob

Inventor of the WORM Global
0 项奖励
6 条消息(共 9 条)
4,104 次查看
Hi tbob,
         Thanks for the frequency divider vi, it was what I was looking for, but during editing to suit my purpose I came across a little error.  I have attached the vi, basically i have a 1600Hz wave coming in and simply making it to 800Hz by running it through the d-type flip flop.  but the problem is that when I run the simulated graph through, the output is not a 800Hz graph but instead a constant line at the desired level.  Im pretty confused at this as I believe both signal sources are the same, could you please advise, as the simulated graph will eventually become a signal that I will acquired using my PCI-6052E card and it will be at a frequency of 1600Hz.  Thank you for your time.

Best Regards,
Coato
0 项奖励
7 条消息(共 9 条)
3,679 次查看
The two signal sources are not the same. The implementation that tbob made relies on the signal level's minimum to be 0. Your Simulate Signal Express VI has the signal going between 1 and -1, so the signal is never 0, meaning the D flip-flop doesn't do anything.
0 项奖励
8 条消息(共 9 条)
3,655 次查看
thanks smercurio, that solved my problem.

Coato
0 项奖励
9 条消息(共 9 条)
3,632 次查看