DASYLab

cancel
Showing results for 
Search instead for 
Did you mean: 

RS232 Input issue

Hi,

 

I'm fairly new to Dasylab having used an older version in the past. 

 

I'm have 3 huber chiller units connect via RS232 to a USB to Serial hub which has 8 ports.  Each of the units is given a different com address.  Am I able to use the RS232 input module to read the 3 different temperatures I need to monitor or are you only able to connect one com port per RS232 input module?  I have initially had a go at attempting this but although I can see that the hubers have connected to the usb to serial device it hasn't picked this up when I set up a RS232 input module, it looks like it's not communicating.

 

Any help would be greatly appreciated.

 

Thanks

0 Kudos
Message 1 of 20
(7,944 Views)

With DASYLab you can configure many RS232 modules assigned to different COM ports.

 

When you open the windows device manager, can you see all the 8 ports under the COM port section?

 

I know that they are USB to multiport devices that do not always work correctly.

 

I personally have a 8 port unit that would not work in one WIN7 machine but would work in another one.

 

Tom Rizzo
InSyS Corp.
www.insyscorp.com
Your DASYLab integrator
0 Kudos
Message 2 of 20
(7,940 Views)

I have attached a screenshot of the device manager.

 

I'm using windows 7. 

 

Huber have their own software and I can connect to that okay but was hoping to use Dasylab as it should be able to offer me more flexability if I can get it to work for me.

 

Cheers

0 Kudos
Message 3 of 20
(7,938 Views)

could you post an example of your code?

 

I use RS232 for multiple devices  and bi-derectional communication all the time without any problem.

Tom Rizzo
InSyS Corp.
www.insyscorp.com
Your DASYLab integrator
0 Kudos
Message 4 of 20
(7,935 Views)

Attached is a screenshot of the settings I'm using, am I missing something that I should be doing.

 

Thanks

0 Kudos
Message 5 of 20
(7,930 Views)

Well, if you are using 3 devices in 3 different ports, you need 3 RS232 modules, each individually setup on the COM setting COM9 COM10, COM11.

 

It should work then. 

Tom Rizzo
InSyS Corp.
www.insyscorp.com
Your DASYLab integrator
0 Kudos
Message 6 of 20
(7,924 Views)

Thanks for your help, I will give it a go.

0 Kudos
Message 7 of 20
(7,920 Views)

Hi,

 

I have had another attempt at setting the hubers up.

 

I have attached another screenshot of the layout but didn't include a write module as would be good to get it to talk first.

 

The settings I used were the following:

 

RS Master - Com 9

9600 Baud

8 Data Bits

1 Stop bit

None Parity

 

RS Master 1 - Com 10

9600 Baud

8 Data Bits

1 Stop bit

None Parity

 

RS Master 2 - Com 11

9600 Baud

8 Data Bits

1 Stop bit

None Parity

 

It still doesn't show anything when running.

 

Any ideas?

 

Thanks

                               

0 Kudos
Message 8 of 20
(7,913 Views)

Well, now you need to set it up and make sure that the correct command are used.

 

For this you need to look at the manual of the controller and see what commands are required to make the controller giving you the responce you are looking at.

 

The RS module has a nice testing area by cliking on the RS232 Monitor button you can experiment with the nemonics to make sure the system is working and integrate it in the data format.

 

If you want to automate your module, after you set up the Measurament Data Format correctly, you can go into the options and setup the Data Request.

 

 

Tom Rizzo
InSyS Corp.
www.insyscorp.com
Your DASYLab integrator
0 Kudos
Message 9 of 20
(7,910 Views)

Because you are working with RS232 directly, you need to be familiar with your device. Does it require a command? What is the command? What is the format of the response to the command? 

 

You can use the RS232 Monitor to send commands and view the response; that can help in determining how to parse the response. 

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 10 of 20
(7,901 Views)