How can I synchronize an event in LabVIEW with an output counter?
I am outputting a counter through a DAQ which controls an external piece of hardware. I have another device which is controlled through a serial port, and I want to synchronize the timiong between these two devices. Is there a way to synchronize a labview event - in this case sending a serial command - to an output timer? Any help would be appreciated and I can provide more information if anything is not clear. Thanks!
Hi Sobriquet,
As far as synchronizing a hardware output signal with other software function calls, the best way that I can recommend is using the Timed Loop structure in LabVIEW. By using the DAQmx Create Timing Source.vi, you can configure the counter output to be used as the signal for iterating the loop. In the block diagram screenshot below, a continuous pulse train is generated on counter 0 at a specified frequency. I hope this helps.
Regards,
Andrew W
National Instruments
Message Edited by TheWoost on 04-16-2007 03:35 PM
Attachments:
CounterExample.JPG 40 KB
Similar Messages
-
How can I read pdf files from LabVIEW with different versions of Acrobat reader?
How can I read pdf files from LabVIEW with different versions of Acrobat reader?
I have made a LabVIEW program where I have possibility to read a PDF document. When I made this LabVIEW program it was Acrobat Reader 5.0.5 that was installed on the PC. Lather when the Acrobat Reader was upgraded to version 6.0, there was an error when VI tries to launch the LabVIEW program. And Later again when we upgraded to Acrobat Reader 7.0.5 I must again do some changes and rebuild the EXE files again
It isn't so very big job to do the changes in one single LabVIEW program, but we have built a lot of LabVIEW programs so this take time to due changes every time vi update Acrobat Reader. (We have build EXE files.)
The job is to right click the ActiveX container and Click "Insert ActiveX Object", then I can brows the computer for the new version of acrobat Reader. After this I must rebuild all the "methods" in the Activex call to make the VI executable again.
Is there a way to build LabVIEW program so I don't have to do this job every time we update Acrobat Reader?
This LabVIEW program is written in LabVIEW 6.1, but I se the problem is the same in LabVIEW 8.2.
Jan Inge Gustavsen
Attachments:
Show PDF-file - Adobe Reader 7-0-5 - LV61.vi 43 KB
Read PDF file.jpg 201 KB
Show PDF-file - Adobe Reader 5-0-5 - LV61.vi 42 KBhi there
try the vi
..vi.lib\platform\browser.llb\Open Acrobat Document.vi
it uses DDE or the command line to run an external application (e.g. Adobe Acrobat)
Best regards
chris
CL(A)Dly bending G-Force with LabVIEW
famous last words: "oh my god, it is full of stars!" -
How can I synchronize my iTunes on PC with my iPod on the iPad?
Hi all,
I do have problems to synchronize my mp3 files which I do have on my pc with my ipad2. iTunes is already installed on the PC (and the mp3 files are already included there). iPad2 2 is connected with the pc. Nevertheless I am not able to shift the mp3 files to the iPad2. What am I doing wrong?
Best regards
ThomsuslYou need to use an IMAP set-up, and not POP. Go to your email provider and find out if they support IMAP.
-
How can I synchronize my iPhoto events? my iTunes doesn't read them and with the app Images in the iPad I can only find Photos, Albums, Faces and Places, not Events.
I had a problem a couple of months ago when iPhotos suddenly rearranged the order of my Events (Why won't iPhoto let me arrange my photos?) . I was told "Use albums not events - events are not a good way to organize - albums and folder are designed for organisation and are very flexible".
Haha! I should have paid attention and read between the lines! My iPhotos were highly organised groupings - not according to date but the way I wanted them - and it was so easy to do! I see now that if I had them all in albums, as per the Apple Apologist suggestion, I wouldn't have this unholy mess I have been left with just to make iPhone & iCloud users happy. I am now going through Photos and making Albums (of what used to be in my Events) ... maybe I'll get this finished before they do another non user friendly update! -
How can I synchronize my ical on my laptop to the one on my home computer?
How can I synchronize my ical on my laptop to the one on my home computer?
Can anyone help?You can synchronize iCal calendars from one Macintosh to another by…
• using .Mac Sync to synchronize event and task data
• using Sync Together to do so, or
• creating Google Calendars and synchronizing them using SpanningSync -
How can I set an event to repeat on a week day rather than a numerical day of each month?
How can I set an event to repeat on a week day rather than a numerical day of each month? I see an option at the bottom of the repeat window .... but I cannot use it. Actually, when I try it freezes up my Calendar.
Lorrene Baum DavisThese scrrenshots are from Snow Leopard - I would think that Lion wouldn't be too much different.
-
How can i clear all events in ical
how can i clear all events in ical
Try typing "." without the exclamation points in the iCal search window. Then simply highlight all the entries > Edit/Delete
-
How can I move an event in my calendar to my "completed" calendar without changing all the events in the series?
As Apple has yet to upgrade iCalendar so I can check off my events as I complete them (no, I do not want to use a task list/reminder list), I want to be able to move my events to my "completed" events calendar as I complete them. The issue is that most of my events are repeating events, and it changes the entire series. How do I change only the event I clicked on using my iPhone?
ThanksIf you change anything in a repeating calendar entry it will give you the option of disconnecting it from the series. So may any random change, choose to not change the series.
-
HOW CAN I DELETE AN EVENT WITHOUT HAVING TO SELECTING IT FROM THE LIBRARY?
I have a big problem.
I want to delete an entire event from my library because everytime I select it imovie freezes and then close itself up. So I have to re-open imovie again. And when I want to select that particular event again the same problem occures. So I can not select that particular event. Therefore I can take NO action on this event.
HOW CAN I DELETE AN EVENT WITHOUT HAVING TO SELECTING IT FROM THE LIBRARY?
(Everytime I select it imovie closes itself up)
All other events work fine. I believe The footage had a problem from capturing. but now it's in my computer and i can't open it.
Please help me, I don't need this event, I can't open it therefore I can't use it and it takes place on my hardrive for nothing.
Thank youOne can delete it from one's computer. In the finder go to homeuser, movies, imovie events, delete the footage.
Then reopen iMovie and see if that helps.
Hugh -
TS3714 how can i set an event in the calander to repeat on 2nd thurday of every month
how can i get an event to show in calander every 2nd thursday every momth
Try the app "Week Cal".
-
How can I insert an event in my clendar and set it to repeat every 3 months?
Anybody knows how can I create an event on my iphone 5 calendar and set it torepeat every 3 months?
If you happen to have Apple computer(s), and you are synching your iPhone calendar to your computer's calendar, you can set up an "every 3 month" period on your computer. Simply use the calendar app on your Apple computer, access the event, access "Repeat", choose "custom", then "Monthly", then set up the interval you want. It will sync with and properly be represented on your iPhone.
-
How can I get the events from a java program?
I want to make a monitor to watch a java program.How can I get the events from the GUI of this program some as mouse cliking, keyinput. So I can watch these in my monitor.
ThanksHi,
To put a monitor to the events occuring in the GHUI u need to register required components with the appropriate EventListeners.
Liek if u want to get notified when a mouse is clicked, then u need to add The MouseListener to the component which u want to be monitored.
Say
myFrame which is the JFrame object which shuld be monitored for the events.
Then in ur program u have to add following code
myFrame.addMouseListener( someObectReference );
Here the someObjectReference should be an instance to a concrete class ..i.e. U write a class like the following
public class MyMouseListener implements MouseListener {
// override the followig methods
public void mouseClicked(MouseEvent me){ sop("MOUSE CLICKED ON THE FRAME");}
public void mousePressed(MouseEvent me){}
public void mouseReleased(MouseEvent me){}
If u dont want to use another class for listening to the events. Then u can make teh current class monitor the events. To do so ur class should implement the appropriate listener and should override the required methods.
and u should say myFrame.addMouseListenet( this );
thats it -
How can i load a VI from LABVIEW ver 6.0.1b3 to LABVIEW ver 6.1
How can i load a VI from LABVIEW ver 6.0.1b3 to LABVIEW ver 6.1......I want to load a vi but i'm getting this error:
LabVIEW load error code 9:VI version (6.1) is newer than LabVIEW version (6.0.1b3)
My LabVIEW ver is 6.1
Please help ......it's important
ThanksI am having similar issues with a *.exe from LV6.1. I have the runtime engine for 6.1 and recently upgraded to 8.2 from 7.1. I've never had 6.1 on my machine. I am able to install this executible and runtime engine on a machine with 7.1 and can run the *.exe fine.
I get a load error and am not sure why. I have had similar issues with old VI's that I have written in 7.1 executing on this machine w/ 8.2
any suggestions.
Attachments:
error.zip 14 KB -
How can I disable the "Events" how can I disable "Faces"
buona sera
how can I disable the "Events"
how can I disable "Faces"
grazieYou can not
Events are one of many views or your photos in your library - as are faces
YOu can simply ignore both but you can disable them
LN -
How can I add an event to my calendar that occurs every third day?
Do you happen to have a Mac? If so, and if you use iCloud to sync your calendars, you can do that on your Mac and your iPad will understand. But you cannot create such a repitition (or something like the third Tuesday of each month) on your iPad.
In Calendar on your Mac, you would create the event, choose "Custom ..." as the repitition frequency, then choose "Days" and choose every 3 days.
Maybe you are looking for
-
Why do I have 2 hard drives?
Why does my computer have 2 hard drives listed in the storage section? I am running low on storing and it looks like the other hard drive is not even being used (Mac HD2). How can I combine them or use some of the storage on the Mac HD 2?
-
How to Delete Multiple/All Files in Reader
How to Delete Multiple/All Files in Reader on iPad3?
-
Help! My ipod keeps forwarding through my tunes but wont play any music!!
Hello all, I am hoping that someone can shed some light on this problem. I was in the gym, litening to my ipod and went to forward a song then it just started to forward though the lot and wont play any songs!!
-
Problem in smartform translation
Hi All, I have copied standrad PO smartform as a Z form with language as English.Now the form has some translated text in German language and I want to make chnages to this German text.I go to SE63 and enter form name and write 'Source Language' as E
-
my ipad2 was restored twice as it will not connect to my network, so what steps must I take to get iCloud and my ipad2 to work together and how do I connect so I am on internet???? I connect tp my mac mini. It is on my own network. Mail and Safari