LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Measure current at NI Switch RS 232 serial port by using a Calibrator connected to the NI Switch through GPIB

Hi govindsankar,

 


@govindsankar wrote:

Can you tell me what you mean by communication protocol. Can you give me an example. Because I know my the microcontroller communicated using RS232 serial ports and RS485 ports plus the switching matrix with NI chasis PXIe1078. So what else does it mean by communication protocol or what data is available in communication protocol.


"Communication protocol" not only covers the hardware (which devices, which ports/connections) in your setup. A "protocol" also describes the/certain "software layers": which messages are sent, how are the messages formatted, which kind of responses for which kind of commands, any special port settings (baudrate, etc.), and a lot more…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 21 of 23
(511 Views)

Okay thank you. So isnt it same as VISA Configure Serial Port, i.e configure baud rate, data bits, parity, stop bits and flow control. Other than that I know that it is connected to the Com Port 4 of the PXI 8430 RS232 of the PXIe Chassis 1078. Baud Rate is 115200, 8 bits, parity is none and flow control is none. The devices are the microntroller - RS232 - NI PXIe Chassis 1078. Is this all? 

0 Kudos
Message 22 of 23
(502 Views)

Setting up the hardware is only half of the job.  The other job is to know what the instrument on the other side needs to communicate with you.  The closest analogy I can come up with is you've established that you want to communicate by telephone with someone, and now you have to agree to what language you are going to use to talk to each other.  It's not a perfect analogy, but hopefully you can understand what the next step is.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 23 of 23
(497 Views)