Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

ptu300 connection with Cr 3000


Fran Dec 9, 2011 01:46 PM

good;

I am trying to configure a Ptb300 the datalogger.
I connected to COM1, so that the sensor sends the message need to send the command "ptu" pra this I wrote the following program:

Const num_tam_total = 60
Public instring As String * 61
Public Send As String

DataTable (Instant, True, -1)
Sample (1, instring, String)
EndTable

BeginProg

SerialOpen (Com1, 4800,10,0, num_tam_total)

Send = "ptu"
Scan (1, Sec 0.0)
SerialOut (com1, Send, "", 0.100)
SerialIn (instring, Com1, 100, "", 61)
CallTable Instant
nextScan
EndProg

Returning the response to it is the command (ptu) itself instead of the message sensor. If someone could guide me on how to fix it.


Thank you very much.

* Last updated by: Fran on 12/9/2011 @ 6:51 AM *

Log in or register to post/reply in the forum.