02-02-2007 08:21 AM
Hi,
Please bear with me while I explain what I’m trying to do 🙂 Basically, in the attached LabView file (“flow vis + trigger-m.vi”), I am generating 2 signals: a sinusoidal waveform (used to drive an actuator) and a square waveform (used as a TTL signal to trigger image capture on a CCD camera). Currently when I run the program using LabView 7, both signals are started simultaneously. I would like to introduce a time delay that can be manually specified in the VI, such that when the program is started (i.e. at time t0), the sinusoidal waveform also starts (i.e. at time t0) before the square waveform (i.e. at time t0 + delay time). In a practical sense, this means allowing the actuator to run for several seconds before capturing any images.
It sounds like it should be quite straightforward to do, but I’m not so sure how to progress. I have begun to modify the original VI (“flow vis + trigger-m_2.vi”, as attached), but would be much appreciative of any help or suggestions on how I can complete the VI to meet the above requirement.
Many thanks,
Mark
02-02-2007 02:36 PM
02-05-2007 10:09 AM
02-05-2007 10:26 AM
Hi Way S.,
Thanks for the edited VI, unfortunately however, I cannot open it as I am using an older version of LabView (Version 7.0). Is there any chance you can send me the modified VI again, created in LabView 7 instead of version 8.2?
Regards,
Mark
02-05-2007 12:28 PM
Hi Mark,
Here you go. Let me know if this works.
Regards
Way S.
NI-UK Applications Engineer
02-06-2007 08:10 AM
Hi Way S.,
Thanks for the VI again. I tried it but got an error message - I've attached a screenshot of the message. I initially specified a time delay of 1sec (although, realistically I would be looking more of the order of 20secs). Does the delay need to be defined according to the freqeuncy and/or number of samples? Please advise.
Best regards,
Mark
02-06-2007 09:20 AM
02-06-2007 12:02 PM