04-10-2012 07:33 AM
Hi everybody!
First off, I apologize if this is in the wrong forum board. I'm not too sure where it belongs. And i am newbie in labview.
I want to control a instrument like regulator temperature with labview. This regulator uses a serial communication protocole ( RS-485). I think i can use a library Visa to etablish a communication. But my PC and my regulator locate in two room . I want to use the module NI 9401 (High-Speed Bidirectional Digital I/O Module), the NI CB-68LPR (Unshielded 68-pin I/O Connector Block) in the first room . Then i want to use an other NI CB-68LPR (Unshielded 68-pin I/O Connector Block) and in the second room.
My question is : Can i use this solution to communicate with regulator?
You can find in the attachments. This attachements describes what i want to do.
Thank you for your help.
Chako
PS: Sorry for my bad english !
04-10-2012 09:25 AM
RS-485 allows for long distance connections (~4000 feet) so no problem there. The 9401 and the connector blocks would have nothing at all to do with the connection. You would use a RS-485 card/adapter in the pc. Trying to write your own serial protocol for the 9401 would be a huge effort.
04-10-2012 10:14 AM
Hi Dennis_Knutson,
Thanks for your response. So i found another option , i can connect the 9401 with another block ( the 25-Pin D-SUB) . I can use this connector instead of the NI CB-68LPR. What you think about this option.
Thanks !
Charko
04-10-2012 10:23 AM
Does not make any more sense than your first idea. Do you really think the type of dumb terminal block is going to make a difference in how you write your program for the 9401? You already said you were going to use VISA so why are you now abandoning that idea to write a serial protocol from scratch? Do you really have any idea how much time this would take? What do you have against an inexpensive RS-485 adapter?
Perhaps doing a little basic research on RS-485 as well as understanding what the 9401 can and cannot do would be in order.
04-10-2012 10:41 AM
Ok thanks for your suggestion. I will test this option .
thanks !