06-27-2018 04:14 AM
Hello everyone!
I am new to Labview. I have programmed two processes in one block diagram through DAQ and outside circuits. I am now using "WAIT" VI to control the time to make sure they work in the same timeline<start and stop in the same time>
1. As I do really hope to control them by HW timed control which set in NI MAX <I hope to change the percentage of high time and low time>, I am stuck on how to design it, could anyone give me a hint or show me examples or snippets?
2. In order to use VI created by NI Multisim, I have finished the design in Multisim, but I can't find it or Control & Simulation Loop or other related stuff. How to deal with this kind of issue?
Thank you, guys!
Sincerely,
Brandonrrs
07-10-2018 11:54 AM - edited 07-10-2018 11:56 AM
Hi Brandonrrs,
Are you using LabVIEW in your application at all? If you are then you would follow the general VI pattern that I have written below.
Are you able write it in LabVIEW and call it in Multisim?
This snippet is using HW timing, based on the 'Rate'. The while loop does not need a 'Wait' function as the DAQmx read will sort out the timing for you. You will have to enter a '# of samples per channel' for the DAQmx read.