LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I autoindexing data from vi that read the serial port (CODE)

Hello. I´m working in a proyect in the company, the proyect consist in read two incremental encoders for the inspection of automotors supension. I have a Digital Read Out System that read the 2 linear encoders, the DRO it has a serial RS-232 interface, i can read the data from the DRO to my computer, but now, I want to storage the information in Arrays (for autoindexing) for then make a graphic, If you want check the program, and if you tell me information, or a example code  thanks for yor help.

 

P.D. Only if the data is diferent is sotraged. (I have LabVIEW 5.1.1)

 

Atn. Ing. Jorge Cardozo. San Luis Rassini Corporation. Piedras Negras Coahuila Mexico.

 

Thank you for your help.

0 Kudos
Message 1 of 3
(2,514 Views)

hi there

to collect scalar data in an array you can use a so called "Shift register". To display the history of scalar data you can use a Waveform Chart (not a "Graph", a "Chart"). See attachments. because i can't save the vi as 5.1 i appended some screenshots of the front panel and the block diagramm.

 

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
Download All
Message 2 of 3
(2,501 Views)
Thank you very much Chris, God Bless you. See you.
0 Kudos
Message 3 of 3
(2,469 Views)