07-19-2019 09:39 AM
Hello everyone,
I am a newbie in Labview and need help. I am using a optical sensor combined with Compact DAQ system with a NI9402 digital input module to measure the rotational frequency of a combustion engine. The sensor sends one impulse each revolution when the crankshaft is at the top dead point.
Furthermore i need to know when the piston was at the top dead point, so at which time the signal was sent.
The last point ist my problem. Until now i only have visualized the rotational speed with my VI. I dont know how to use the signal for both applications simultaneously and how to save the data in one file.
I hope my problem is understandable, otherwise do not hesitate to ask me.
Thanks ahead.
08-08-2019 09:53 AM
You can create a case statement for when your piston is at the top dead point, and then use a timestamp.
For the file writing, take a look at some examples under C:\Program Files (x86)\National Instruments\LabVIEW <versions>\examples\File IO\