05-05-2008 03:37 PM
05-06-2008 07:49 AM
05-06-2008 08:39 AM
05-06-2008 08:50 AM - edited 05-06-2008 08:50 AM
05-06-2008 08:53 AM
05-06-2008 10:55 AM
05-06-2008 12:20 PM
05-07-2008 01:03 AM
Hi Brandon,
what for do you need it later? How many digital signals do you have now?
Mike
05-07-2008 07:30 AM
Hi Mike,
Thanks for the reply. Here is what I'm trying to do with this. Currently we don't have any data tracking of any kind for our assembly lines, which is coming, just not implemented yet. What I am trying to accomplish with this is, a part present sensor will be mounted on our assembly line in a predetermined location to track finished parts that come off the line. Whenever the sensor comes on, I was wanting the cDAQ unit and Labview to take a give that signal a time stamp. I will need to run this for a 24 hr. period generating maybe 10,000 samples with time stamps. What I am looking for is everytime my sensor comes on or goes high to time stamp that point and be able to store all my data somewhere in a file. After the 24. period I would like to be able to store the data I received into a file of some sort, preferably excel, but a text file would work too. So the answer to your question is I only have 1 digital input coming from the part present sensor. Your current code that you gave me works for what I can see, but I'm not sure what is happening exactly. Any help you can give would be greatly appreciated. Thanks again Mike.
05-07-2008 07:49 AM
Hi Brandon,
i think in this case it is better to use a counter. With every rising edge you can create your timestamp and save it to a file.
Mike