Hi,
For some reason I cannot read data from the OCM 3 Milltronics with the redlion PTV.
I tried it with the Hyperterminal and everything works fine. When I try to program RedLion to replicate Hyperteminal, I am running into problems.
In Hyperterminal I enter /t1/ and read /t1/0.000000. I do not have to press "Enter" to get the data out.
In RedLion I am using the following code:
PortPrint(2, "/T1/");
INPUTVALUE = PortInput(2,0, 10, 1000, 12);
I was told this code has been proven to work with numerous OCM3 installations.
The INPUTVALUE only reads /T1/.
I just would like the RedLion to read this one string and replicate Hyperterminal.
Any ideas? Does OCM3 need to be configured before data is read?
For some reason I cannot read data from the OCM 3 Milltronics with the redlion PTV.
I tried it with the Hyperterminal and everything works fine. When I try to program RedLion to replicate Hyperteminal, I am running into problems.
In Hyperterminal I enter /t1/ and read /t1/0.000000. I do not have to press "Enter" to get the data out.
In RedLion I am using the following code:
PortPrint(2, "/T1/");
INPUTVALUE = PortInput(2,0, 10, 1000, 12);
I was told this code has been proven to work with numerous OCM3 installations.
The INPUTVALUE only reads /T1/.
I just would like the RedLion to read this one string and replicate Hyperterminal.
Any ideas? Does OCM3 need to be configured before data is read?