11-22-2024 06:17 PM
@Dharmiee wrote:
Hello All,
I know this post is probably old, But i need help.
I'm trying to connect cRIO 9035 directly to my Chemyx OEM Syringe Pump. (One of the communication protocols emulates RS-232)
really need help on how to go about it, in terms of configuring the VISA to the serial ports on the cRIO, and if anyone already have the VI, i would appreciate.
Thanks.
Using the RS-232 Port on My cRIO
11-25-2024 04:42 AM - edited 11-25-2024 04:46 AM
@Dharmiee wrote:
One of the communication protocols emulates RS-232.
I hope that this is some misrepresentation of the fact. Emulating RS-232 means usually that it has an USB interface that can act as virtual COM port. But there are quite a few gotchas with that. Unless it is using internally a well known USB to RS-232 controller chip, you might be hard pressured to get that to work on your system. Such devices might come with a Windows compatible device driver, but that won't help you on Linux, which your cRIO-9035 is in fact running.
If that port is not using an entirely custom USB protocol, you might be able to identify the controller and find some source code for the driver in question and download, compile and install it on your cRIO. But that is not for the faint hearted. SSH terminal sessions, Linux, GCC and bash shell commands should have no secrets for you to get that working. If it is using an FTDI, Microchip PIC, or Prolific PL2303 or similar chip inside it will most likely work if you don't use a very old NI Linux RT version (< 2018 or so). With others it might or might not work.
If it has a physical RS-232 interface, then it is not emulated and all above is irrelevant. Your cRIO-9035 has a RS-232 port and a RS-422/485 port but it uses an RJ-50 connector. That is similar to the standard RJ-45 connector used for your network cables but has 10-pins instead of 8.
11-25-2024 01:06 PM
ok.
Thanks for that.
ATM, my syringe pump is connected directly to the USB Port on cRIO, note that I'm using a USB-to-DB9 adapter.