07-09-2010 04:49 AM
Debbo acquisire dati da un laser di misura venduto in Italia dalla FAE (modello LS111FA http://www.fae.it/pdf/ls11_12_sw7_0_rev_1.pdf) che comunica col PC tramite la RS232. Sviluppo l'applicazione in LV 2009 SP1. Non ho trovato alcun driver, allora ne sviluppo uno; chiedo suggerimenti per individuare un driver già disponibile da cui partire per creare, modificandolo, quello che mi serve. Il fornitore suggerisce di utilizzare Hyperlink di windows, ma io ho bisogni di maggiori possibilità di elaborazione dei dati.
Il laser usa un protocollo di comunicazione tipo il seguente:
Command |
Description |
DT |
Starts distance tracking |
DS |
Starts distance tracking 7 m |
DW |
Starts distance tracking on white target at 10 Hz |
DX |
Starts distance tracking on white target at 50 Hz (only LS12) |
DF |
Starts remote-triggered single distance measurement (single shot) |
Grazie.
07-09-2010 09:15 AM
translation from here
have to collect data from a distance measurement laser (FAE model LS111FA http://www.fae.it/pdf/ls11_12_sw7_0_rev_1.pdf) wich connects to PC via RS232 The application to manage data is going to be developed in LV 2009 SP1. No driver for LV was found, so a proper one must be developed. Is there any existing driver to base on for developing the one I need?
The laser supplier suggests using Hyperlink (Windows utility), but I need a more powerful tool.
The laser communication protocol is as follow:
---------------------
To create your own driver, you can follow the links on the Instrument Driver Network page.
There are a couple of shipping examples on serial communication. The basic example shows a string control with a *IDN?\r\n. The *IDN? command is not something you would use but be sure to include the \r. This 'slash' code is one way to send a carriage return and as the manual states, you need to terminate each command with this. The string control is set for '\' Codes Display (a right click option).
07-12-2010 03:47 AM
Hi,
as Dennis said, you can find the examples for serial communication in Help>>Find Examples>>Hardware Input and Output>>VISA or Hardware Input and Output>>Serial
Regards,
Serena