DASYLab

cancel
Showing results for 
Search instead for 
Did you mean: 

RS232 input module problem

Solved!
Go to solution
Solution
Accepted by sajad2006

Hi,

HEX didnot help, but I figured it out anyway.

Seems that PC had a problem with the port, everytime it wanted to connect to the balance, i.e. sending request for data, somehow the port was missed from PC, although it Device Manager showed it is still working properly.

Anyway, I fixed this by opening the all ports, but still no data.

Finally, I found out that if I active the correct baudrate on the balance settings AS WELL AS activating AUTOPRINT PC there, it works, ALTHOUGH on the balance manual says only one of them should be activated and they cannot be ON at the same time!

 

Thanks ALL!

0 Kudos
Message 11 of 25
(6,282 Views)

Thanks for the update.

 

I'm glad that you were able to work it out. 

Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.
0 Kudos
Message 12 of 25
(6,278 Views)

Hello,

Thank you very much for the reply. 

I am pretty much facing the same problem, I receive respond through command for  the weights. however I think there is a problem with RS232 configuration in Dasylab. would you please explain why did you use s\r\n ? is there any other combination?

 

 

0 Kudos
Message 13 of 25
(3,697 Views)

When I reviewed the manual for the scale, as I said above, the command for a stable value was 

 

s<CR><LF>

 

To send that command in the Data Request command, you change it to 

 

s\r\n

 

It's easier to help and follow a conversation if you create a new topic. 

 

When requesting support for DASYLab

  • DO NOT post your full DASYLab serial number
  • Please tell us 
    • the version of your DASYLab software, 
    • the level of your software (Lite, Basic, Full, Pro)
    • the exact DAQ device by manufacturer and model,
    • your operating system and computer,
    • and, if appropriate, a copy of your worksheet.
Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.
Message 14 of 25
(3,692 Views)

Data request via RS232 monitor works (all the commands works) however when I use ''s\r\n'' or ''W'' I only get 0 and when I use the defines ''\r'' I have no reading.

  1. I am connecting kern scale (Gab30) via rs232 (CFS-A01)
  2. DasyLab 10 Basic
  3. Windows 10 
  4. worksheet is attached 

It would be great if you have a look,

Regards.


@CJ_Butler__DASYLab_Pro
0 Kudos
Message 15 of 25
(3,680 Views)

DASYLab 10 is not supported on Windows 10!

 

Is the device configured correctly to send data? Many devices need a setting turned on to respond to commands or to output data continually.

Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.
Message 16 of 25
(3,662 Views)

Thank you very much 

I have installed everything on windows 7 and also you are totally right the auto-print was disable and had to enable it from the scale itself please have a look at my rs232 monitor(attachment). Although I have auto print I still do not get the correct reading. I still get 0.

Do you have further advise?

0 Kudos
Message 17 of 25
(3,656 Views)

Excellent progress. 

 

Now change the Data Format form a\r to 

 

a\r\n 2x

 

Tell me how that works. 

 

If it doesn't, then try

 

2x a\r\n

The first data point may be garbled, but the rest should be okay.

Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.
0 Kudos
Message 18 of 25
(3,638 Views)

I appreciate your quick reply.

I tried both 2x a\r\n and a\r\n 2x still I get 0. Do you think it might be something to do with Baud number? as I have limited knowledge on this I am asking? I also tried Hex and ASCII but both gave the same results.

0 Kudos
Message 19 of 25
(3,633 Views)

If the RS232 Monitor is showing clear numbers, then it's not the baud rate. 

 

Try this

 

a 2x \r\n

 

If it doesn't work, send me screen shots of both the ASCII and the HEX in the RS232 Monitor.

Also, attach the simple worksheet with just the one RS232 Input and a List module. 

Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.
0 Kudos
Message 20 of 25
(3,625 Views)