02-04-2024 12:54 AM
La función de este simulador es reproducir con la mayor fidelidad posible, la actividad de un sistema automatizado de datos de un pequeño estacionamiento de coches con capacidad para 30 coches.
Una vez que se detecta la presencia de un coche (se oprime el botón de entrada) se deben recopilar la fecha y la hora en que entró el coche, su número de placa con verificación de formato (LLL-NN-NN) y se le debe asignar un cajón libre del estacionamiento; todo esto debe ocurrir de forma automática e indicarse en el panel frontal, excepto el número de placa que se introduce manualmente. Si no hay cajones libres en el estacionamiento el botón de entrada debe inhabilitarse y verse en gris, indicando que no es posible acceder al estacionamiento porque está repleto.
A partir del archivo adjunto, debe de fungir como un SubVi.
Soy muy nuevo en la programación en LabVIEW, por ende me esta costando resolverlo, espero que alguien pueda ayudarme o guiarme para resolverlo, muchas gracias.
02-04-2024 12:55 AM
The function of this simulator is to reproduce as closely as possible, the activity of an automated data system of a small car parking lot with a capacity of 30 cars.
Once the presence of a car is detected (the entry button is pressed) the date and time the car entered, its license plate number with format verification (LLL-NN-NN) should be collected and a free parking space should be assigned to it; all this should occur automatically and be indicated on the front panel, except for the license plate number which is entered manually. If there are no free parking spaces in the parking lot, the entry button should be disabled and grayed out, indicating that it is not possible to access the parking lot because it is full.
From the attached file, it should act as a SubVi.
I am very new to programming in LabVIEW, therefore I am having a hard time solving it, I hope someone can help me or guide me to solve it, thank you very much.
02-06-2024 05:12 AM
Hi AllanUriel,
I understand this is an assignment, I will give you a couple of tips.
1. If it is supposed to be a SubVI, make sure to use the connector pane. It will allow you to have inputs and outputs on your SubVI.
Read through this post to understand connector panes: What is a connector pane pattern? - NI Community
2. You need to write data to a file. Here is an example: Writing Data to a File Using LabVIEW - NI Community. Note that there are many ways of doing this. Do your own research.
The functionality of counting cars and not letting access above 30 is well coded. Try and follow these steps, and let us know if you have any specific issue.
Fort